Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: input: google,goldfish-events-keypad: Convert to DT schema

Convert the Android Goldfish Events Keypad binding to DT schema format.
Move the file to the input directory to match the subsystem.
Update the example node name to 'keypad' to comply with generic node
naming standards.

Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260113092602.3197681-4-visitorckw@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Kuan-Wei Chiu and committed by
Dmitry Torokhov
c6b2deed 5383e764

+41 -17
-17
Documentation/devicetree/bindings/goldfish/events.txt
··· 1 - Android Goldfish Events Keypad 2 - 3 - Android goldfish events keypad device generated by android emulator. 4 - 5 - Required properties: 6 - 7 - - compatible : should contain "google,goldfish-events-keypad" to match emulator 8 - - reg : <registers mapping> 9 - - interrupts : <interrupt mapping> 10 - 11 - Example: 12 - 13 - goldfish-events@9040000 { 14 - compatible = "google,goldfish-events-keypad"; 15 - reg = <0x9040000 0x1000>; 16 - interrupts = <0x5>; 17 - };
+41
Documentation/devicetree/bindings/input/google,goldfish-events-keypad.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/input/google,goldfish-events-keypad.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Android Goldfish Events Keypad 8 + 9 + maintainers: 10 + - Kuan-Wei Chiu <visitorckw@gmail.com> 11 + 12 + allOf: 13 + - $ref: input.yaml# 14 + 15 + description: 16 + Android goldfish events keypad device generated by android emulator. 17 + 18 + properties: 19 + compatible: 20 + const: google,goldfish-events-keypad 21 + 22 + reg: 23 + maxItems: 1 24 + 25 + interrupts: 26 + maxItems: 1 27 + 28 + required: 29 + - compatible 30 + - reg 31 + - interrupts 32 + 33 + unevaluatedProperties: false 34 + 35 + examples: 36 + - | 37 + keypad@9040000 { 38 + compatible = "google,goldfish-events-keypad"; 39 + reg = <0x9040000 0x1000>; 40 + interrupts = <5>; 41 + };