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

Convert the Android Goldfish Audio binding to DT schema format.
Move the file to the sound directory to match the subsystem.
Update the example node name to 'sound' 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-6-visitorckw@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Kuan-Wei Chiu and committed by
Mark Brown
10303b32 850c9884

+38 -17
-17
Documentation/devicetree/bindings/goldfish/audio.txt
··· 1 - Android Goldfish Audio 2 - 3 - Android goldfish audio device generated by android emulator. 4 - 5 - Required properties: 6 - 7 - - compatible : should contain "google,goldfish-audio" to match emulator 8 - - reg : <registers mapping> 9 - - interrupts : <interrupt mapping> 10 - 11 - Example: 12 - 13 - goldfish_audio@9030000 { 14 - compatible = "google,goldfish-audio"; 15 - reg = <0x9030000 0x100>; 16 - interrupts = <0x4>; 17 - };
+38
Documentation/devicetree/bindings/sound/google,goldfish-audio.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/sound/google,goldfish-audio.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Android Goldfish Audio 8 + 9 + maintainers: 10 + - Kuan-Wei Chiu <visitorckw@gmail.com> 11 + 12 + description: 13 + Android goldfish audio device generated by Android emulator. 14 + 15 + properties: 16 + compatible: 17 + const: google,goldfish-audio 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 + sound@9030000 { 35 + compatible = "google,goldfish-audio"; 36 + reg = <0x9030000 0x100>; 37 + interrupts = <4>; 38 + };