mirror of
https://github.com/armbian/build.git
synced 2025-08-12 06:06:58 +02:00
* sunxi-5.18: initial state: add patches megous * sunxi-5.18: Adapt patches for error-free application * remove unused patches * Add the ability to compile sunxi-5.18
37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
From 3a65f5304ec799c946cec1d6ee97b4e5bb830d33 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= <megi@xff.cz>
|
|
Date: Sun, 23 Feb 2020 00:00:00 +0100
|
|
Subject: [PATCH 014/515] 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 <megi@xff.cz>
|
|
---
|
|
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.35.3
|
|
|