dt-bindings: input: convert gpio-mouse to json-schema
Subsystems (3)
PATCH 1/1 dt-bindings: input: convert gpio-mouse to json-schema
Convert device tree binding documentation for GPIO attached mouse to json-schema.
--- .../devicetree/bindings/input/gpio-mouse.txt | 32 --------- .../devicetree/bindings/input/gpio-mouse.yaml | 68 +++++++++++++++++++ 2 files changed, 68 insertions(+), 32 deletions(-) delete mode 100644 Documentation/devicetree/bindings/input/gpio-mouse.txt create mode 100644 Documentation/devicetree/bindings/input/gpio-mouse.yaml
Documentation/devicetree/bindings/input/gpio-mouse.txt deleted +0 -32
@@ -1,32 +0,0 @@ -Device-Tree bindings for GPIO attached mice - -This simply uses standard GPIO handles to define a simple mouse connected -to 5-7 GPIO lines. - -Required properties: - - compatible: must be "gpio-mouse" - - scan-interval-ms: The scanning interval in milliseconds - - up-gpios: GPIO line phandle to the line indicating "up" - - down-gpios: GPIO line phandle to the line indicating "down" - - left-gpios: GPIO line phandle to the line indicating "left" - - right-gpios: GPIO line phandle to the line indicating "right" - -Optional properties: - - button-left-gpios: GPIO line handle to the left mouse button - - button-middle-gpios: GPIO line handle to the middle mouse button - - button-right-gpios: GPIO line handle to the right mouse button -Example: - -#include <dt-bindings/gpio/gpio.h> - -gpio-mouse { - compatible = "gpio-mouse"; - scan-interval-ms = <50>; - up-gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; - down-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; - left-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; - right-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; - button-left-gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; - button-middle-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; - button-right-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; -};
Documentation/devicetree/bindings/input/gpio-mouse.yaml new file +68 -0
68 lines not on this page · raw message
Signature · 1 line
2.42.1
Quoted 6 lines · Anshul Dalal
Convert device tree binding documentation for GPIO attached mouse to json-schema.
Signed-off-by Anshul Dalal <[email protected]>Reviewed-by Linus Walleij <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>
You cannot have v1 being already reviewed. This is some newer version.
Quoted 1 line
---
Missing changelog.
Best regards,
Krzysztof
Quoted 8 lines · Krzysztof Kozlowski
Quoted 6 lines · Anshul Dalal
Convert device tree binding documentation for GPIO attached mouse to json-schema.
Signed-off-by Anshul Dalal <[email protected]>Reviewed-by Linus Walleij <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>
Quoted 5 lines
You cannot have v1 being already reviewed. This is some newer version.
Quoted 1 line
---
Missing changelog.
This is a copy of an earlier patch[1]. Since the patch had been sitting idle for past 10 days, I reposed it with the Reviewed-by tags added in. Please let me know if this is the right way or if there is need for a changelog.
[1]:
https://lore.kernel.org/lkml/[email protected]/
Best regards,
Anshul
Quoted 17 lines · Anshul Dalal
Quoted 8 lines · Krzysztof Kozlowski
Quoted 6 lines · Anshul Dalal
Convert device tree binding documentation for GPIO attached mouse to json-schema.
Signed-off-by Anshul Dalal <[email protected]>Reviewed-by Linus Walleij <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>Quoted 5 lines
You cannot have v1 being already reviewed. This is some newer version.
Quoted 1 line
---
Missing changelog.
Quoted 7 lines
This is a copy of an earlier patch[1]. Since the patch had been sitting idle for past 10 days, I reposed it with the Reviewed-by tags added in. Please let me know if this is the right way or if there is need for a changelog.
OK, then it should be: "[PATCH RESEND] ...." with a short changelog like:
---
Resending with collected tags.
...
(Sharing this for future, no need to resend it now)
Best regards,
Krzysztof
Quoted 6 lines · Anshul Dalal
Convert device tree binding documentation for GPIO attached mouse to json-schema.
Signed-off-by Anshul Dalal <[email protected]>Reviewed-by Linus Walleij <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry