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: serial: google,goldfish-tty: Convert to DT schema

Convert the Google Goldfish TTY binding to DT schema format.
Move the file to the serial directory to match the subsystem.
Update the example node name to 'serial' 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-2-visitorckw@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Kuan-Wei Chiu and committed by
Greg Kroah-Hartman
c7d8b85b 9e031343

+41 -17
-17
Documentation/devicetree/bindings/goldfish/tty.txt
··· 1 - Android Goldfish TTY 2 - 3 - Android goldfish tty device generated by android emulator. 4 - 5 - Required properties: 6 - 7 - - compatible : should contain "google,goldfish-tty" to match emulator 8 - - reg : <registers mapping> 9 - - interrupts : <interrupt mapping> 10 - 11 - Example: 12 - 13 - goldfish_tty@1f004000 { 14 - compatible = "google,goldfish-tty"; 15 - reg = <0x1f004000 0x1000>; 16 - interrupts = <0xc>; 17 - };
+41
Documentation/devicetree/bindings/serial/google,goldfish-tty.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/serial/google,goldfish-tty.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Google Goldfish TTY 8 + 9 + maintainers: 10 + - Kuan-Wei Chiu <visitorckw@gmail.com> 11 + 12 + allOf: 13 + - $ref: /schemas/serial/serial.yaml# 14 + 15 + description: 16 + Android goldfish TTY device generated by Android emulator. 17 + 18 + properties: 19 + compatible: 20 + const: google,goldfish-tty 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 + serial@1f004000 { 38 + compatible = "google,goldfish-tty"; 39 + reg = <0x1f004000 0x1000>; 40 + interrupts = <12>; 41 + };