* [PATCH v2 5/8] ARM64: dts: meson-gxbb: add i2s output pins
2017-03-26 17:19 [PATCH v2 0/8] pinctrl: meson: add audio output pins Jerome Brunet
@ 2017-03-26 17:19 ` Jerome Brunet
2017-03-26 17:19 ` [PATCH v2 6/8] ARM64: dts: meson-gxbb: add spdif " Jerome Brunet
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Jerome Brunet @ 2017-03-26 17:19 UTC (permalink / raw)
To: Linus Walleij, Carlo Caione, Kevin Hilman
Cc: Jerome Brunet, linux-gpio, linux-arm-kernel, linux-amlogic,
devicetree, linux-kernel
Add EE and AO domains pins for the i2s output clocks and data to the gxbb
device tree.
Acked-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 63 +++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
index 34168a3b0dd1..a9cacbd6a1d6 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
@@ -192,6 +192,48 @@
function = "pwm_ao_b";
};
};
+
+ i2s_am_clk_pins: i2s_am_clk {
+ mux {
+ groups = "i2s_am_clk";
+ function = "i2s_out_ao";
+ };
+ };
+
+ i2s_out_ao_clk_pins: i2s_out_ao_clk {
+ mux {
+ groups = "i2s_out_ao_clk";
+ function = "i2s_out_ao";
+ };
+ };
+
+ i2s_out_lr_clk_pins: i2s_out_lr_clk {
+ mux {
+ groups = "i2s_out_lr_clk";
+ function = "i2s_out_ao";
+ };
+ };
+
+ i2s_out_ch01_ao_pins: i2s_out_ch01_ao {
+ mux {
+ groups = "i2s_out_ch01_ao";
+ function = "i2s_out_ao";
+ };
+ };
+
+ i2s_out_ch23_ao_pins: i2s_out_ch23_ao {
+ mux {
+ groups = "i2s_out_ch23_ao";
+ function = "i2s_out_ao";
+ };
+ };
+
+ i2s_out_ch45_ao_pins: i2s_out_ch45_ao {
+ mux {
+ groups = "i2s_out_ch45_ao";
+ function = "i2s_out_ao";
+ };
+ };
};
};
@@ -432,6 +474,27 @@
function = "hdmi_i2c";
};
};
+
+ i2sout_ch23_y_pins: i2sout_ch23_y {
+ mux {
+ groups = "i2sout_ch23_y";
+ function = "i2s_out";
+ };
+ };
+
+ i2sout_ch45_y_pins: i2sout_ch45_y {
+ mux {
+ groups = "i2sout_ch45_y";
+ function = "i2s_out";
+ };
+ };
+
+ i2sout_ch67_y_pins: i2sout_ch67_y {
+ mux {
+ groups = "i2sout_ch67_y";
+ function = "i2s_out";
+ };
+ };
};
};
--
2.9.3
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH v2 6/8] ARM64: dts: meson-gxbb: add spdif output pins
2017-03-26 17:19 [PATCH v2 0/8] pinctrl: meson: add audio output pins Jerome Brunet
2017-03-26 17:19 ` [PATCH v2 5/8] ARM64: dts: meson-gxbb: add i2s " Jerome Brunet
@ 2017-03-26 17:19 ` Jerome Brunet
2017-03-26 17:19 ` [PATCH v2 7/8] ARM64: dts: meson-gxl: add i2s " Jerome Brunet
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Jerome Brunet @ 2017-03-26 17:19 UTC (permalink / raw)
To: Linus Walleij, Carlo Caione, Kevin Hilman
Cc: Jerome Brunet, linux-gpio, linux-arm-kernel, linux-amlogic,
devicetree, linux-kernel
Add EE and AO domains pins for the spdif output to the gxbb device tree.
Acked-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
index a9cacbd6a1d6..d1dc6a49df13 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
@@ -234,6 +234,20 @@
function = "i2s_out_ao";
};
};
+
+ spdif_out_ao_6_pins: spdif_out_ao_6 {
+ mux {
+ groups = "spdif_out_ao_6";
+ function = "spdif_out_ao";
+ };
+ };
+
+ spdif_out_ao_13_pins: spdif_out_ao_13 {
+ mux {
+ groups = "spdif_out_ao_13";
+ function = "spdif_out_ao";
+ };
+ };
};
};
@@ -495,6 +509,13 @@
function = "i2s_out";
};
};
+
+ spdif_out_y_pins: spdif_out_y {
+ mux {
+ groups = "spdif_out_y";
+ function = "spdif_out";
+ };
+ };
};
};
--
2.9.3
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH v2 7/8] ARM64: dts: meson-gxl: add i2s output pins
2017-03-26 17:19 [PATCH v2 0/8] pinctrl: meson: add audio output pins Jerome Brunet
2017-03-26 17:19 ` [PATCH v2 5/8] ARM64: dts: meson-gxbb: add i2s " Jerome Brunet
2017-03-26 17:19 ` [PATCH v2 6/8] ARM64: dts: meson-gxbb: add spdif " Jerome Brunet
@ 2017-03-26 17:19 ` Jerome Brunet
2017-03-26 17:19 ` [PATCH v2 8/8] ARM64: dts: meson-gxl: add spdif " Jerome Brunet
2017-03-28 19:33 ` [PATCH v2 0/8] pinctrl: meson: add audio " Kevin Hilman
4 siblings, 0 replies; 6+ messages in thread
From: Jerome Brunet @ 2017-03-26 17:19 UTC (permalink / raw)
To: Linus Walleij, Carlo Caione, Kevin Hilman
Cc: Jerome Brunet, linux-gpio, linux-arm-kernel, linux-amlogic,
devicetree, linux-kernel
Add EE and AO domains pins for the i2s output clocks and data the gxl
device tree
Acked-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 62 ++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
index 269458b05fd4..3dde55856234 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
@@ -160,6 +160,20 @@
function = "pwm_ao_b";
};
};
+
+ i2s_out_ch23_ao_pins: i2s_out_ch23_ao {
+ mux {
+ groups = "i2s_out_ch23_ao";
+ function = "i2s_out_ao";
+ };
+ };
+
+ i2s_out_ch45_ao_pins: i2s_out_ch45_ao {
+ mux {
+ groups = "i2s_out_ch45_ao";
+ function = "i2s_out_ao";
+ };
+ };
};
};
@@ -385,6 +399,54 @@
function = "hdmi_i2c";
};
};
+
+ i2s_am_clk_pins: i2s_am_clk {
+ mux {
+ groups = "i2s_am_clk";
+ function = "i2s_out";
+ };
+ };
+
+ i2s_out_ao_clk_pins: i2s_out_ao_clk {
+ mux {
+ groups = "i2s_out_ao_clk";
+ function = "i2s_out";
+ };
+ };
+
+ i2s_out_lr_clk_pins: i2s_out_lr_clk {
+ mux {
+ groups = "i2s_out_lr_clk";
+ function = "i2s_out";
+ };
+ };
+
+ i2s_out_ch01_pins: i2s_out_ch01 {
+ mux {
+ groups = "i2s_out_ch01";
+ function = "i2s_out";
+ };
+ };
+ i2sout_ch23_z_pins: i2sout_ch23_z {
+ mux {
+ groups = "i2sout_ch23_z";
+ function = "i2s_out";
+ };
+ };
+
+ i2sout_ch45_z_pins: i2sout_ch45_z {
+ mux {
+ groups = "i2sout_ch45_z";
+ function = "i2s_out";
+ };
+ };
+
+ i2sout_ch67_z_pins: i2sout_ch67_z {
+ mux {
+ groups = "i2sout_ch67_z";
+ function = "i2s_out";
+ };
+ };
};
eth-phy-mux {
--
2.9.3
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH v2 8/8] ARM64: dts: meson-gxl: add spdif output pins
2017-03-26 17:19 [PATCH v2 0/8] pinctrl: meson: add audio output pins Jerome Brunet
` (2 preceding siblings ...)
2017-03-26 17:19 ` [PATCH v2 7/8] ARM64: dts: meson-gxl: add i2s " Jerome Brunet
@ 2017-03-26 17:19 ` Jerome Brunet
2017-03-28 19:33 ` [PATCH v2 0/8] pinctrl: meson: add audio " Kevin Hilman
4 siblings, 0 replies; 6+ messages in thread
From: Jerome Brunet @ 2017-03-26 17:19 UTC (permalink / raw)
To: Linus Walleij, Carlo Caione, Kevin Hilman
Cc: Jerome Brunet, linux-gpio, linux-arm-kernel, linux-amlogic,
devicetree, linux-kernel
Add EE and AO domains pins for the spdif output to the gxl device tree.
Acked-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
index 3dde55856234..8a08ad552e7a 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
@@ -174,6 +174,20 @@
function = "i2s_out_ao";
};
};
+
+ spdif_out_ao_6_pins: spdif_out_ao_6 {
+ mux {
+ groups = "spdif_out_ao_6";
+ function = "spdif_out_ao";
+ };
+ };
+
+ spdif_out_ao_9_pins: spdif_out_ao_9 {
+ mux {
+ groups = "spdif_out_ao_9";
+ function = "spdif_out_ao";
+ };
+ };
};
};
@@ -447,6 +461,13 @@
function = "i2s_out";
};
};
+
+ spdif_out_h_pins: spdif_out_ao_h {
+ mux {
+ groups = "spdif_out_h";
+ function = "spdif_out";
+ };
+ };
};
eth-phy-mux {
--
2.9.3
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH v2 0/8] pinctrl: meson: add audio output pins
2017-03-26 17:19 [PATCH v2 0/8] pinctrl: meson: add audio output pins Jerome Brunet
` (3 preceding siblings ...)
2017-03-26 17:19 ` [PATCH v2 8/8] ARM64: dts: meson-gxl: add spdif " Jerome Brunet
@ 2017-03-28 19:33 ` Kevin Hilman
4 siblings, 0 replies; 6+ messages in thread
From: Kevin Hilman @ 2017-03-28 19:33 UTC (permalink / raw)
To: Jerome Brunet
Cc: Linus Walleij, Carlo Caione, linux-gpio, linux-arm-kernel,
linux-amlogic, devicetree, linux-kernel
Jerome Brunet <jbrunet@baylibre.com> writes:
> This patchset adds the pinctrl definition and the related device-tree
> bindings of the i2s output and spdif output pins on the meson gxbb and
> gxl SoCs.
>
> This is part of the ongoing work to bring audio output support on the
> meson family. It was tested on the gxbb p200 and gxl p230.
>
> Changes since v1: [0]
> * add a few comments in the changelog
> * patched rebased on pinctrl/for-next + Neil patch on missing pins [1]
>
> [0]: https://marc.info/?i=20170323165101.29262-1-jbrunet%40baylibre.com
> [1]: https://marc.info/?i=20170323104112.16558-2-narmstrong%40baylibre.com
>
> Jerome Brunet (8):
> pinctrl: meson: gxbb: add i2s output pins
> pinctrl: meson: gxbb: add spdif output pins
> pinctrl: meson: gxl: add i2s output pins
> pinctrl: meson: gxl: add spdif output pins
> ARM64: dts: meson-gxbb: add i2s output pins
> ARM64: dts: meson-gxbb: add spdif output pins
> ARM64: dts: meson-gxl: add i2s output pins
> ARM64: dts: meson-gxl: add spdif output pins
DT patches applied to amlogic v4.12/dt64 branch,
Thanks for the respin,
Kevin
^ permalink raw reply [flat|nested] 6+ messages in thread