mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 07:31:29 +00:00
c681c6fcc5
As schematics at [1] and [2] show C- and plus-revisions have interrupt and headphone detection lines of ES8316 codec connected. Add them to the respective device trees. [1] https://dl.radxa.com/rockpi4/docs/hw/rockpi4/rockpi_4c_v12_sch_20200620.pdf [2] https://dl.radxa.com/rockpi4/docs/hw/rockpi4/rockpi4b_plus_v16_sch_20200628.pdf Signed-off-by: Alex Bee <knaerzche@gmail.com> Link: https://lore.kernel.org/r/20211027143726.165809-2-knaerzche@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
26 lines
578 B
Plaintext
26 lines
578 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-rock-pi-4.dtsi"
|
|
#include "rk3399-op1-opp.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-gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
|
|
};
|