dt_bindings: sound: ti,pcm186x: convert to dtschema
Subsystems (3)
PATCH v3 1/1 dt_bindings: sound: ti,pcm186x: convert to dtschema
convert the Texas Instruments PCM186x Universal audio ADC bindings to DT schema.
---
Convert the Texas Instruments PCM186x audio ADC bindings to DT schema.
---
Changes in v3:
- Unicode FEFF character was present in the begining of the file,
- Removed unicode character.
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Fixes as per the reviews suggested for the v1.
- Link to v1: https://lore.kernel.org/r/[email protected]
--- .../devicetree/bindings/sound/pcm186x.txt | 42 --------------- .../devicetree/bindings/sound/ti,pcm186x.yaml | 61 ++++++++++++++++++++++ 2 files changed, 61 insertions(+), 42 deletions(-)
Documentation/devicetree/bindings/sound/pcm186x.txt deleted +0 -42
@@ -1,42 +0,0 @@ -Texas Instruments PCM186x Universal Audio ADC - -These devices support both I2C and SPI (configured with pin strapping -on the board). - -Required properties: - - - compatible : "ti,pcm1862", - "ti,pcm1863", - "ti,pcm1864", - "ti,pcm1865" - - - reg : The I2C address of the device for I2C, the chip select - number for SPI. - - - avdd-supply: Analog core power supply (3.3v) - - dvdd-supply: Digital core power supply - - iovdd-supply: Digital IO power supply - See regulator/regulator.txt for more information - -CODEC input pins: - * VINL1 - * VINR1 - * VINL2 - * VINR2 - * VINL3 - * VINR3 - * VINL4 - * VINR4 - -The pins can be used in referring sound node's audio-routing property. - -Example: - - pcm186x: audio-codec@4a { - compatible = "ti,pcm1865"; - reg = <0x4a>; - - avdd-supply = <®_3v3_analog>; - dvdd-supply = <®_3v3>; - iovdd-supply = <®_1v8>; - };
Documentation/devicetree/bindings/sound/ti,pcm186x.yaml new file +61 -0
61 lines not on this page · raw message
---
base-commit: 211ddde0823f1442e4ad052a2f30f050145ccada
change-id: 20251021-dtbs-3a31f699c461
Best regards,
Signature · 1 line
Ranganath V N <[email protected]>
Documentation/devicetree/bindings/sound/ti,pcm186x.yaml line 24
Quoted 13 lines · Ranganath V N
convert the Texas Instruments PCM186x Universal audio ADC bindings to DT schema.
Signed-off-by Ranganath V N <[email protected]>Documentation/devicetree/bindings/sound/ti,pcm186x.yaml +7
-0+properties: + compatible: + enum: + - ti,pcm1862 + - ti,pcm1863 + - ti,pcm1864 + - ti,pcm1865
Usually we want the filename to match one of compatibles in the file, rather than have wildcards.
Secondly, the subject is not really as expected for a binding, let alone one in sound. It should be "ASoC: dt-bindings: ".
With those,
pw-bot: changes-requested