linux-loongson/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts
Hsin-Te Yuan baa898850f
arm64: dts: mediatek: mt8183: Switch to Elan touchscreen driver
After commit 2be404486c ("HID: i2c-hid-of: Add reset GPIO support to
i2c-hid-of"), the i2c-hid-of driver used by some mt8183 devices resets
the touchscreen without having enough post-reset delay. This makes those
touchscreen fail to get probed.

Switch to Elan touchscreen driver, which has enough post-reset delay.

Fixes: 2be404486c ("HID: i2c-hid-of: Add reset GPIO support to i2c-hid-of")
Signed-off-by: Hsin-Te Yuan <yuanhsinte@chromium.org>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
2025-02-25 09:57:35 +01:00

37 lines
650 B
Plaintext

// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
* Copyright 2021 Google LLC
*/
/dts-v1/;
#include "mt8183-kukui-jacuzzi.dtsi"
#include "mt8183-kukui-audio-da7219-max98357a.dtsi"
/ {
model = "Google damu board";
chassis-type = "convertible";
compatible = "google,damu", "mediatek,mt8183";
};
&touchscreen {
compatible = "elan,ekth6a12nay";
pinctrl-names = "default";
pinctrl-0 = <&touchscreen_pins>;
vcc33-supply = <&pp3300_alw>;
vccio-supply = <&pp1800_alw>;
};
&mt6358codec {
mediatek,dmic-mode = <1>; /* one-wire */
};
&qca_wifi {
qcom,ath10k-calibration-variant = "GO_DAMU";
};
&i2c2 {
i2c-scl-internal-delay-ns = <20000>;
};