mirror of
https://github.com/armbian/build.git
synced 2025-08-11 05:36:57 +02:00
* Add a series of patches for sunxi 5.10 Patches from the repository https://github.com/megous/linux branches of orange-pi-5.10 * Patches adapted to the kernel version v5.10.81 * Remove unnecessary patches 5.10.19-5.10.75 * Kernel switch tag=v5.10.81 for the current sunxi * Adjust broken patches, build tested on sunxi and sunxi64 * Remove patch added by mistake Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
37 lines
1.0 KiB
Diff
37 lines
1.0 KiB
Diff
From 93bcd2cf0261a5651c492bd8300d07c9e8546e4c Mon Sep 17 00:00:00 2001
|
|
From: Ondrej Jirman <megous@megous.com>
|
|
Date: Sun, 23 Feb 2020 00:00:00 +0100
|
|
Subject: [PATCH 013/351] dt-bindings: input: gpio-vibrator: Don't require
|
|
enable-gpios
|
|
|
|
It is possible to turn the motor on/off just by enabling/disabling
|
|
the vcc-supply. Change the binding to require either enable-gpios
|
|
or vcc-supply or both.
|
|
|
|
Signed-off-by: Ondrej Jirman <megous@megous.com>
|
|
---
|
|
Documentation/devicetree/bindings/input/gpio-vibrator.yaml | 7 ++++++-
|
|
1 file changed, 6 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/Documentation/devicetree/bindings/input/gpio-vibrator.yaml b/Documentation/devicetree/bindings/input/gpio-vibrator.yaml
|
|
index 2384465eaa19..082ac06471db 100644
|
|
--- a/Documentation/devicetree/bindings/input/gpio-vibrator.yaml
|
|
+++ b/Documentation/devicetree/bindings/input/gpio-vibrator.yaml
|
|
@@ -24,7 +24,12 @@ properties:
|
|
|
|
required:
|
|
- compatible
|
|
- - enable-gpios
|
|
+
|
|
+anyOf:
|
|
+ - required:
|
|
+ - enable-gpios
|
|
+ - required:
|
|
+ - vcc-supply
|
|
|
|
additionalProperties: false
|
|
|
|
--
|
|
2.34.0
|
|
|