提交 79da07de 编写于 作者: A Andrey Smirnov 提交者: Shawn Guo

ARM: dts: imx51-zii-rdu1: Do not specify "power-gpio" for hpa1

TPA6130A2 SD pin on RDU1 is not really controlled by SoC and instead
is only meant to notify the system that audio was "muted" by external
actors. To accommodate that, drop "power-gpio" property of hpa1 node as
well as specify a name for that GPIO so that userspace can access it.
Signed-off-by: NAndrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: NFabio Estevam <festevam@gmail.com>
Tested-by: NChris Healy <cphealy@gmail.com>
Signed-off-by: NShawn Guo <shawnguo@kernel.org>
上级 81c0039b
...@@ -478,6 +478,15 @@ ...@@ -478,6 +478,15 @@
}; };
&gpio1 { &gpio1 {
gpio-line-names = "", "", "", "",
"", "", "", "",
"", "hp-amp-shutdown-b", "", "",
"", "", "", "",
"", "", "", "",
"", "", "", "",
"", "", "", "",
"", "", "", "";
unused-sd3-wp-gpio { unused-sd3-wp-gpio {
/* /*
* See pinctrl_esdhc1 below for more details on this * See pinctrl_esdhc1 below for more details on this
...@@ -502,9 +511,6 @@ ...@@ -502,9 +511,6 @@
hpa1: amp@60 { hpa1: amp@60 {
compatible = "ti,tpa6130a2"; compatible = "ti,tpa6130a2";
reg = <0x60>; reg = <0x60>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ampgpio>;
power-gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>;
Vdd-supply = <&reg_3p3v>; Vdd-supply = <&reg_3p3v>;
}; };
...@@ -678,7 +684,10 @@ ...@@ -678,7 +684,10 @@
}; };
&iomuxc { &iomuxc {
pinctrl_ampgpio: ampgpiogrp { pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog>;
pinctrl_hog: hoggrp {
fsl,pins = < fsl,pins = <
MX51_PAD_GPIO1_9__GPIO1_9 0x5e MX51_PAD_GPIO1_9__GPIO1_9 0x5e
>; >;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册