mirror of
https://github.com/armbian/build.git
synced 2025-08-12 22:26:57 +02:00
* sunxi-5.19: Initial state for megous patches * Add the ability to do 5.19 * Move to 5.19 - tested both - removed broken Opi Zero xradio driver https://armbian.atlassian.net/browse/AR-1280 * sunxi-5.19: fix tag for switch * sunxi-5.19: Initial state for armbian patches * sunxi-5.19: Add armbian patches to series.conf file * sanxi-5.19: Add other 2 patches * sunxi-5.19: Limit to use the 'wireless/xradio' module Limit the kernel version to less than 5.19 to use the 'wireless/xradio' module Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
37 lines
1.0 KiB
Diff
37 lines
1.0 KiB
Diff
From d121ae29111c8f10eac159a0b54516f62355421a 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 016/417] 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 2384465ea..082ac0647 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
|
|
|