mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 02:53:36 +02:00
arm64: dts: mediatek: mt8192-asurada-spherion: Mark trackpads as fail-needs-probe
Different Spherion variants use different trackpads on the same I2C2 bus. Instead of enabling all of them by default, mark them as "fail-needs-probe" and let the implementation determine which one is actually present. Additionally, move the trackpad pinctrl entry back to the individual trackpad nodes. Signed-off-by: Laura Nao <laura.nao@collabora.com> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org> Reviewed-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> Tested-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20250318102259.189289-3-laura.nao@collabora.com Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
This commit is contained in:
parent
85c767d2d3
commit
1fcb7608a0
|
|
@ -85,8 +85,15 @@ &i2c2 {
|
|||
trackpad@2c {
|
||||
compatible = "hid-over-i2c";
|
||||
reg = <0x2c>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&trackpad_pins>;
|
||||
hid-descr-addr = <0x20>;
|
||||
interrupts-extended = <&pio 15 IRQ_TYPE_LEVEL_LOW>;
|
||||
wakeup-source;
|
||||
status = "fail-needs-probe";
|
||||
};
|
||||
};
|
||||
|
||||
&trackpad {
|
||||
status = "fail-needs-probe";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -346,11 +346,13 @@ &i2c2 {
|
|||
clock-frequency = <400000>;
|
||||
clock-stretch-ns = <12600>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c2_pins>, <&trackpad_pins>;
|
||||
pinctrl-0 = <&i2c2_pins>;
|
||||
|
||||
trackpad@15 {
|
||||
trackpad: trackpad@15 {
|
||||
compatible = "elan,ekth3000";
|
||||
reg = <0x15>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&trackpad_pins>;
|
||||
interrupts-extended = <&pio 15 IRQ_TYPE_LEVEL_LOW>;
|
||||
vcc-supply = <&pp3300_u>;
|
||||
wakeup-source;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user