[PATCH v2 19/20] arm64: dts: mt6359: Add accessory detect node
Macpaul Lin (林智斌)
Macpaul.Lin at mediatek.com
Sun Mar 2 18:30:24 PST 2025
On Sun, 2025-03-02 at 13:30 -0300, Nícolas F. R. A. Prado wrote:
>
> Add audio jack detection node. PMIC accessory detect driver will
> create an input device that will send key events on jack
> insertion/removal or accessory device key presses.
>
> Co-developed-by: Andrew Perepech <andrew.perepech at mediatek.com>
> Signed-off-by: Andrew Perepech <andrew.perepech at mediatek.com>
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado at collabora.com>
> ---
> arch/arm64/boot/dts/mediatek/mt6359.dtsi | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt6359.dtsi
> b/arch/arm64/boot/dts/mediatek/mt6359.dtsi
> index
> 7b10f9c59819a9ad02319f00938f35c931091f9f..e24e4aeb3b9cafa2af56c62bc4c
> 549df27d0ec73 100644
> --- a/arch/arm64/boot/dts/mediatek/mt6359.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt6359.dtsi
> @@ -15,6 +15,10 @@ pmic_adc: adc {
> #io-channel-cells = <1>;
> };
>
> + accdet: accdet {
> + compatible = "mediatek,mt6359-accdet";
> + };
> +
> mt6359codec: audio-codec {
> compatible = "mediatek,mt6359-codec";
> };
>
> --
> 2.48.1
>
Reviewed-by: Macpaul Lin <macpaul.lin at mediatek.com>
Thanks!
Macpaul Lin
More information about the linux-arm-kernel
mailing list