mirror of
https://github.com/armbian/build.git
synced 2025-08-11 05:36:57 +02:00
* Rework patches for sunxi 5.15.4 * Rework patches sunxi for 5.15.5 * Kernel switch tag=v5.15.5 for sunxi EDGE * Temporarily disabled, requires rework. drivers/clk/sunxi-ng/sun8i-de33.c: In function ‘sunxi_de33_clk_probe’: drivers/clk/sunxi-ng/sun8i-de33.c:155:8: error: implicit declaration of function ‘sunxi_ccu_probe’; did you mean ‘of_sunxi_ccu_probe’? [-Werror=implicit-function-declarati> ret = sunxi_ccu_probe(pdev->dev.of_node, reg, ccu_desc); ^~~~~~~~~~~~~~~ of_sunxi_ccu_probe cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:277: drivers/clk/sunxi-ng/sun8i-de33.o] Error 1 make[2]: *** [scripts/Makefile.build:540: drivers/clk/sunxi-ng] Error 2 * Correct the comment.
37 lines
1.0 KiB
Diff
37 lines
1.0 KiB
Diff
From a7e1be41d14edadf41a8ceed2db59b54d831c484 Mon Sep 17 00:00:00 2001
|
|
From: Ondrej Jirman <megous@megous.com>
|
|
Date: Sun, 23 Feb 2020 00:00:00 +0100
|
|
Subject: [PATCH 113/467] 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 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.34.0
|
|
|