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.

ASoC: dt-bindings: Convert brcm,bcm2835-i2s to DT schema

Convert the Broadcom BCM2835 I2S/PCM binding to DT schema format. It's a
straightforward conversion.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20250812203356.735234-1-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Rob Herring (Arm) and committed by
Mark Brown
bab4ab48 d06f389c

+51 -24
-24
Documentation/devicetree/bindings/sound/brcm,bcm2835-i2s.txt
··· 1 - * Broadcom BCM2835 SoC I2S/PCM module 2 - 3 - Required properties: 4 - - compatible: "brcm,bcm2835-i2s" 5 - - reg: Should contain PCM registers location and length. 6 - - clocks: the (PCM) clock to use 7 - - dmas: List of DMA controller phandle and DMA request line ordered pairs. 8 - - dma-names: Identifier string for each DMA request line in the dmas property. 9 - These strings correspond 1:1 with the ordered pairs in dmas. 10 - 11 - One of the DMA channels will be responsible for transmission (should be 12 - named "tx") and one for reception (should be named "rx"). 13 - 14 - Example: 15 - 16 - bcm2835_i2s: i2s@7e203000 { 17 - compatible = "brcm,bcm2835-i2s"; 18 - reg = <0x7e203000 0x24>; 19 - clocks = <&clocks BCM2835_CLOCK_PCM>; 20 - 21 - dmas = <&dma 2>, 22 - <&dma 3>; 23 - dma-names = "tx", "rx"; 24 - };
+51
Documentation/devicetree/bindings/sound/brcm,bcm2835-i2s.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/brcm,bcm2835-i2s.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Broadcom BCM2835 SoC I2S/PCM module 8 + 9 + maintainers: 10 + - Florian Fainelli <florian.fainelli@broadcom.com> 11 + 12 + properties: 13 + compatible: 14 + const: brcm,bcm2835-i2s 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + clocks: 20 + maxItems: 1 21 + 22 + dmas: 23 + items: 24 + - description: Transmission DMA controller phandle and request line. 25 + - description: Reception DMA controller phandle and request line. 26 + 27 + dma-names: 28 + items: 29 + - const: tx 30 + - const: rx 31 + 32 + required: 33 + - compatible 34 + - reg 35 + - clocks 36 + - dmas 37 + - dma-names 38 + 39 + additionalProperties: false 40 + 41 + examples: 42 + - | 43 + #include <dt-bindings/clock/bcm2835.h> 44 + 45 + i2s@7e203000 { 46 + compatible = "brcm,bcm2835-i2s"; 47 + reg = <0x7e203000 0x24>; 48 + clocks = <&clocks BCM2835_CLOCK_PCM>; 49 + dmas = <&dma 2>, <&dma 3>; 50 + dma-names = "tx", "rx"; 51 + };