mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 2/2] ASoC: brcm:  DSL/PON SoC device tree bindings of audio driver
@ 2020-03-12 22:32 Kevin Li
  2020-03-12 22:32 ` [PATCH v2 1/2] ASoC: brcm: Add DSL/PON SoC " Kevin Li
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Kevin Li @ 2020-03-12 22:32 UTC (permalink / raw)
  To: Mark Brown
  Cc: Takashi Iwai, Liam Girdwood, Ray Jui, Jaroslav Kysela,
	Scott Branden, bcm-kernel-feedback-list, Stephen Boyd,
	Kuninori Morimoto, alsa-devel, linux-arm-kernel, linux-kernel,
	Kevin Li

Signed-off-by: Kevin Li <kevin-ke.li@broadcom.com>
---
 .../bindings/sound/brcm,bcm63xx-audio.txt     | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/brcm,bcm63xx-audio.txt

diff --git a/Documentation/devicetree/bindings/sound/brcm,bcm63xx-audio.txt b/Documentation/devicetree/bindings/sound/brcm,bcm63xx-audio.txt
new file mode 100644
index 000000000000..007f524b4d15
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/brcm,bcm63xx-audio.txt
@@ -0,0 +1,29 @@
+Broadcom DSL/PON BCM63xx Audio I2S controller
+
+Required properties:
+- compatible:     Should be "brcm,bcm63xx-i2s".
+- #address-cells: 32bit valued, 1 cell.
+- #size-cells:    32bit valued, 0 cell.
+- reg:            Should contain audio registers location and length
+- interrupts:     Should contain the interrupt for the controller.
+- clocks:         Must contain an entry for each entry in clock-names.
+                  Please refer to clock-bindings.txt.
+- clock-names:    One of each entry matching the clocks phandles list:
+                  - "i2sclk" (generated clock) Required.
+                  - "i2sosc" (fixed 200MHz clock) Required.
+
+(1) : The generated clock is required only when any of TX and RX
+      works on Master Mode.
+(2) : The fixed 200MHz clock is from internal chip and always on
+
+Example:
+
+		i2s: bcm63xx-i2s {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "brcm,bcm63xx-i2s";
+			reg = <0xFF802080 0xFF>;
+			interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&i2sclk>, <&osc>;
+			clock-names = "i2sclk","i2sosc";
+		};
-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-03-13 16:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-12 22:32 [PATCH v2 2/2] ASoC: brcm: DSL/PON SoC device tree bindings of audio driver Kevin Li
2020-03-12 22:32 ` [PATCH v2 1/2] ASoC: brcm: Add DSL/PON SoC " Kevin Li
2020-03-13 16:17   ` Applied "ASoC: brcm: Add DSL/PON SoC audio driver" to the asoc tree Mark Brown
2020-03-12 22:32 ` [PATCH v2 0/2] ASoC: brcm: add dsl and pon chip audio driver Kevin Li
2020-03-13 16:17 ` Applied "ASoC: brcm: DSL/PON SoC device tree bindings of audio driver" to the asoc tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®