Skip to content

Commit

Permalink
ARM: dts: fix spdif pinmux configuration
Browse files Browse the repository at this point in the history
The spdif pinmux configuration must be connected to the spdif device to
take effect, not the spdif-transmitter.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King committed Feb 8, 2014
1 parent 38dbfb5 commit 87f9260
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
10 changes: 3 additions & 7 deletions arch/arm/boot/dts/imx6dl-hummingboard.dts
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@
};
};

codec: spdif-transmitter {
compatible = "linux,spdif-dit";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hummingboard_spdif>;
};

sound-spdif {
compatible = "fsl,imx-audio-spdif";
model = "imx-spdif";
Expand Down Expand Up @@ -111,7 +105,7 @@
};

pinctrl_hummingboard_spdif: hummingboard-spdif {
fsl,pins = <MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x1b0b0>;
fsl,pins = <MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x13091>;
};

pinctrl_hummingboard_usbh1_vbus: hummingboard-usbh1-vbus {
Expand Down Expand Up @@ -142,6 +136,8 @@
};

&spdif {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hummingboard_spdif>;
status = "okay";
};

Expand Down
10 changes: 3 additions & 7 deletions arch/arm/boot/dts/imx6qdl-cubox-i.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@
};
};

codec: spdif-transmitter {
compatible = "linux,spdif-dit";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_cubox_i_spdif>;
};

sound-spdif {
compatible = "fsl,imx-audio-spdif";
model = "imx-spdif";
Expand Down Expand Up @@ -89,7 +83,7 @@
};

pinctrl_cubox_i_spdif: cubox-i-spdif {
fsl,pins = <MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x1b0b0>;
fsl,pins = <MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x13091>;
};

pinctrl_cubox_i_usbh1_vbus: cubox-i-usbh1-vbus {
Expand Down Expand Up @@ -121,6 +115,8 @@
};

&spdif {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_cubox_i_spdif>;
status = "okay";
};

Expand Down

0 comments on commit 87f9260

Please sign in to comment.