Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1264699 > unrolled thread
| Started by | Simran Rai <ssimran@broadcom.com> |
|---|---|
| First post | 2015-11-07 03:30 +0100 |
| Last post | 2015-11-09 17:40 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v3 1/3] dt-bindings: sound: Add DT bindings for Broadcom Cygnus audio Simran Rai <ssimran@broadcom.com> - 2015-11-07 03:30 +0100
Re: [PATCH v3 1/3] dt-bindings: sound: Add DT bindings for Broadcom Cygnus audio Rob Herring <robh@kernel.org> - 2015-11-09 17:40 +0100
| From | Simran Rai <ssimran@broadcom.com> |
|---|---|
| Date | 2015-11-07 03:30 +0100 |
| Subject | [PATCH v3 1/3] dt-bindings: sound: Add DT bindings for Broadcom Cygnus audio |
| Message-ID | <qs1qq-4vk-7@gated-at.bofh.it> |
Add bindings for audio driver in Broadcom Cygnus.
Signed-off-by: Lori Hikichi <lhikichi@broadcom.com>
Signed-off-by: Simran Rai <ssimran@broadcom.com>
Reviewed-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
---
.../bindings/sound/brcm,cygnus-audio.txt | 54 ++++++++++++++++++++
1 file changed, 54 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/brcm,cygnus-audio.txt
diff --git a/Documentation/devicetree/bindings/sound/brcm,cygnus-audio.txt b/Documentation/devicetree/bindings/sound/brcm,cygnus-audio.txt
new file mode 100644
index 0000000..3c06001
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/brcm,cygnus-audio.txt
@@ -0,0 +1,54 @@
+BROADCOM Cygnus Audio I2S/TDM/SPDIF controller
+
+Required properties:
+ - compatible : "brcm,cygnus-audio"
+ - #address-cells: 32bit valued, 1 cell.
+ - #size-cells: 32bit valued, 0 cell.
+ - reg : Should contain audio registers location and length
+ - reg-names: names of the registers listed in "reg" property
+ Valid names are "aud" and "i2s_in". "aud" contains a
+ set of DMA, I2S_OUT and SPDIF registers. "i2s_in" contains
+ a set of I2S_IN registers.
+ - clocks: PLL and leaf clocks used by audio ports
+ - clock-names: names of 3 leaf clocks used by audio ports
+ Valid names are "ch0_audio", "ch1_audio", "ch2_audio"
+ - interrupts: audio DMA interrupt number
+
+SSP Subnode properties:
+- reg: The index of ssp port interface to use
+ Valid value are 0, 1, 2, or 3 (for spdif)
+
+
+Example:
+ cygnus_audio: audio@180ae000 {
+ compatible = "brcm,cygnus-audio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x180ae000 0xafd>, <0x180aec00 0x1f8>;
+ reg-names = "aud", "i2s_in";
+ clocks = <&audiopll BCM_CYGNUS_AUDIOPLL_CH0>,
+ <&audiopll BCM_CYGNUS_AUDIOPLL_CH1>,
+ <&audiopll BCM_CYGNUS_AUDIOPLL_CH2>;
+ clock-names = "ch0_audio", "ch1_audio", "ch2_audio";
+ interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
+
+ ssp0: ssp_port@0 {
+ reg = <0>;
+ status = "okay";
+ };
+
+ ssp1: ssp_port@1 {
+ reg = <1>;
+ status = "disabled";
+ };
+
+ ssp2: ssp_port@2 {
+ reg = <2>;
+ status = "disabled";
+ };
+
+ spdif: spdif_port@3 {
+ reg = <3>;
+ status = "disabled";
+ };
+ };
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2015-11-09 17:40 +0100 |
| Subject | Re: [PATCH v3 1/3] dt-bindings: sound: Add DT bindings for Broadcom Cygnus audio |
| Message-ID | <qsXE6-pE-29@gated-at.bofh.it> |
| In reply to | #1264699 |
On Fri, Nov 06, 2015 at 06:22:43PM -0800, Simran Rai wrote:
> Add bindings for audio driver in Broadcom Cygnus.
>
> Signed-off-by: Lori Hikichi <lhikichi@broadcom.com>
> Signed-off-by: Simran Rai <ssimran@broadcom.com>
> Reviewed-by: Ray Jui <rjui@broadcom.com>
> Reviewed-by: Scott Branden <sbranden@broadcom.com>
Acked-by: Rob Herring <robh@kernel.org>
> ---
> .../bindings/sound/brcm,cygnus-audio.txt | 54 ++++++++++++++++++++
> 1 file changed, 54 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/sound/brcm,cygnus-audio.txt
>
> diff --git a/Documentation/devicetree/bindings/sound/brcm,cygnus-audio.txt b/Documentation/devicetree/bindings/sound/brcm,cygnus-audio.txt
> new file mode 100644
> index 0000000..3c06001
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/brcm,cygnus-audio.txt
> @@ -0,0 +1,54 @@
> +BROADCOM Cygnus Audio I2S/TDM/SPDIF controller
> +
> +Required properties:
> + - compatible : "brcm,cygnus-audio"
> + - #address-cells: 32bit valued, 1 cell.
> + - #size-cells: 32bit valued, 0 cell.
> + - reg : Should contain audio registers location and length
> + - reg-names: names of the registers listed in "reg" property
> + Valid names are "aud" and "i2s_in". "aud" contains a
> + set of DMA, I2S_OUT and SPDIF registers. "i2s_in" contains
> + a set of I2S_IN registers.
> + - clocks: PLL and leaf clocks used by audio ports
> + - clock-names: names of 3 leaf clocks used by audio ports
> + Valid names are "ch0_audio", "ch1_audio", "ch2_audio"
> + - interrupts: audio DMA interrupt number
> +
> +SSP Subnode properties:
> +- reg: The index of ssp port interface to use
> + Valid value are 0, 1, 2, or 3 (for spdif)
> +
> +
> +Example:
> + cygnus_audio: audio@180ae000 {
> + compatible = "brcm,cygnus-audio";
> + #address-cells = <1>;
> + #size-cells = <0>;
> + reg = <0x180ae000 0xafd>, <0x180aec00 0x1f8>;
> + reg-names = "aud", "i2s_in";
> + clocks = <&audiopll BCM_CYGNUS_AUDIOPLL_CH0>,
> + <&audiopll BCM_CYGNUS_AUDIOPLL_CH1>,
> + <&audiopll BCM_CYGNUS_AUDIOPLL_CH2>;
> + clock-names = "ch0_audio", "ch1_audio", "ch2_audio";
> + interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
> +
> + ssp0: ssp_port@0 {
> + reg = <0>;
> + status = "okay";
> + };
> +
> + ssp1: ssp_port@1 {
> + reg = <1>;
> + status = "disabled";
> + };
> +
> + ssp2: ssp_port@2 {
> + reg = <2>;
> + status = "disabled";
> + };
> +
> + spdif: spdif_port@3 {
> + reg = <3>;
> + status = "disabled";
> + };
> + };
> --
> 1.7.9.5
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web