mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-28 08:58:25 +00:00

Replace the deprecated "hp-det-gpio" property by "hp-det-gpios" in Audio Graph Card and Realtek RT5651 Audio Codec device nodes. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/717e7c9527139c3a3e5246dd367a3ad98c5c81b6.1727438777.git.geert+renesas@glider.be Signed-off-by: Heiko Stuebner <heiko@sntech.de>
26 lines
575 B
Plaintext
26 lines
575 B
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2019 Akash Gajjar <Akash_Gajjar@mentor.com>
|
|
* Copyright (c) 2019 Pragnesh Patel <Pragnesh_Patel@mentor.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "rk3399-op1.dtsi"
|
|
#include "rk3399-rock-pi-4.dtsi"
|
|
|
|
/ {
|
|
model = "Radxa ROCK Pi 4A+";
|
|
compatible = "radxa,rockpi4a-plus", "radxa,rockpi4", "rockchip,rk3399";
|
|
};
|
|
|
|
&es8316 {
|
|
pinctrl-0 = <&hp_detect &hp_int>;
|
|
pinctrl-names = "default";
|
|
interrupt-parent = <&gpio1>;
|
|
interrupts = <RK_PA1 IRQ_TYPE_LEVEL_HIGH>;
|
|
};
|
|
|
|
&sound {
|
|
hp-det-gpios = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
|
|
};
|