Skip to content

Commit c7d8b85

Browse files
visitorckwgregkh
authored andcommitted
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>
1 parent 9e03134 commit c7d8b85

2 files changed

Lines changed: 41 additions & 17 deletions

File tree

Documentation/devicetree/bindings/goldfish/tty.txt

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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+
};

0 commit comments

Comments
 (0)