Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: brcm: DSL/PON SoC device tree bindings of audio driver

Signed-off-by: Kevin Li <kevin-ke.li@broadcom.com>
Link: https://lore.kernel.org/r/20200312223242.2843-1-kevin-ke.li@broadcom.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Kevin Li and committed by
Mark Brown
2834a736 88eb404c

+29
+29
Documentation/devicetree/bindings/sound/brcm,bcm63xx-audio.txt
··· 1 + Broadcom DSL/PON BCM63xx Audio I2S controller 2 + 3 + Required properties: 4 + - compatible: Should be "brcm,bcm63xx-i2s". 5 + - #address-cells: 32bit valued, 1 cell. 6 + - #size-cells: 32bit valued, 0 cell. 7 + - reg: Should contain audio registers location and length 8 + - interrupts: Should contain the interrupt for the controller. 9 + - clocks: Must contain an entry for each entry in clock-names. 10 + Please refer to clock-bindings.txt. 11 + - clock-names: One of each entry matching the clocks phandles list: 12 + - "i2sclk" (generated clock) Required. 13 + - "i2sosc" (fixed 200MHz clock) Required. 14 + 15 + (1) : The generated clock is required only when any of TX and RX 16 + works on Master Mode. 17 + (2) : The fixed 200MHz clock is from internal chip and always on 18 + 19 + Example: 20 + 21 + i2s: bcm63xx-i2s { 22 + #address-cells = <1>; 23 + #size-cells = <0>; 24 + compatible = "brcm,bcm63xx-i2s"; 25 + reg = <0xFF802080 0xFF>; 26 + interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 27 + clocks = <&i2sclk>, <&osc>; 28 + clock-names = "i2sclk","i2sosc"; 29 + };