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: misc: google,android-pipe: Convert to DT schema

Convert the Android Goldfish QEMU Pipe binding to DT schema format.
Move the file to the misc directory as it represents a miscellaneous
communication device.
Update the example node name to 'pipe' to comply with generic node
naming standards and fix the mismatch between unit address and reg
property in the original example.

Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260113092602.3197681-3-visitorckw@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Kuan-Wei Chiu and committed by
Greg Kroah-Hartman
b0e930a6 e48407ba

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