Commit 094e0933 authored by Guido Gunther's avatar Guido Gunther
Browse files

arm64: dts: librem5-devkit: Hog speaker-mute GPIO

This makes sure the handset speaker is on.
parent 26a95ef9
Pipeline #64488 passed with stage
in 62 minutes and 9 seconds
...@@ -86,18 +86,13 @@ ...@@ -86,18 +86,13 @@
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gpio_leds>, <&pinctrl_mute>, <&pinctrl_micsel>; pinctrl-0 = <&pinctrl_gpio_leds>, <&pinctrl_micsel>;
led1 { led1 {
label = "LED 1"; label = "LED 1";
gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
spk_mute {
label = "SPK_MUTE";
gpios = <&gpio5 3 GPIO_ACTIVE_LOW>;
default-state = "off";
};
mic_sel { mic_sel {
label = "MIC_SEL"; label = "MIC_SEL";
gpios = <&gpio5 5 GPIO_ACTIVE_LOW>; gpios = <&gpio5 5 GPIO_ACTIVE_LOW>;
...@@ -321,6 +316,18 @@ ...@@ -321,6 +316,18 @@
}; };
}; };
&gpio5 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_mute>;
spk-mute-hog {
gpio-hog;
gpios = <3 GPIO_ACTIVE_LOW>;
output-low;
line-name = "spk-mute";
};
};
&hdmi { &hdmi {
compatible = "nxp,imx8mq-cdns-hdmi"; compatible = "nxp,imx8mq-cdns-hdmi";
lane-mapping = <0xe4>; lane-mapping = <0xe4>;
...@@ -747,7 +754,7 @@ ...@@ -747,7 +754,7 @@
pinctrl_mute: mute { pinctrl_mute: mute {
fsl,pins = < fsl,pins = <
MX8MQ_IOMUXC_SPDIF_TX_GPIO5_IO3 0x86 /* MUTE */ MX8MQ_IOMUXC_SPDIF_TX_GPIO5_IO3 0x81 /* MUTE */
>; >;
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment