mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 01:53:29 +02:00
arm64: dts: mediatek: mt8186-steelix: Mark second source components for probing
Steelix design has two possible trackpad component sources. Currently they are all marked as available, along with having workarounds for shared pinctrl muxing and GPIOs. Instead, mark them all as "fail-needs-probe" and have the implementation try to probe which one is present. Also remove the shared resource workaround by moving the pinctrl entry for the trackpad interrupt line back into the individual trackpad nodes. Cc: stable+noautosel@kernel.org # Needs accompanying new driver to work Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Link: https://lore.kernel.org/r/20250617082004.1653492-5-wenst@chromium.org Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
This commit is contained in:
parent
8101382c24
commit
8609434f64
|
|
@ -123,8 +123,11 @@ trackpad@2c {
|
|||
reg = <0x2c>;
|
||||
hid-descr-addr = <0x20>;
|
||||
interrupts-extended = <&pio 11 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&trackpad_pin>;
|
||||
vdd-supply = <&pp3300_s3>;
|
||||
wakeup-source;
|
||||
status = "fail-needs-probe";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -197,3 +200,7 @@ pins-vreg-en {
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
&trackpad {
|
||||
status = "fail-needs-probe";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@ trackpad@15 {
|
|||
compatible = "hid-over-i2c";
|
||||
reg = <0x15>;
|
||||
interrupts-extended = <&pio 11 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&trackpad_pin>;
|
||||
hid-descr-addr = <0x0001>;
|
||||
vdd-supply = <&pp3300_s3>;
|
||||
wakeup-source;
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@ trackpad@15 {
|
|||
compatible = "hid-over-i2c";
|
||||
reg = <0x15>;
|
||||
interrupts-extended = <&pio 11 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&trackpad_pin>;
|
||||
hid-descr-addr = <0x0001>;
|
||||
vdd-supply = <&pp3300_s3>;
|
||||
wakeup-source;
|
||||
|
|
|
|||
|
|
@ -398,19 +398,17 @@ &i2c1 {
|
|||
|
||||
&i2c2 {
|
||||
pinctrl-names = "default";
|
||||
/*
|
||||
* Trackpad pin put here to work around second source components
|
||||
* sharing the pinmux in steelix designs.
|
||||
*/
|
||||
pinctrl-0 = <&i2c2_pins>, <&trackpad_pin>;
|
||||
pinctrl-0 = <&i2c2_pins>;
|
||||
clock-frequency = <400000>;
|
||||
i2c-scl-internal-delay-ns = <10000>;
|
||||
status = "okay";
|
||||
|
||||
trackpad@15 {
|
||||
trackpad: trackpad@15 {
|
||||
compatible = "elan,ekth3000";
|
||||
reg = <0x15>;
|
||||
interrupts-extended = <&pio 11 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&trackpad_pin>;
|
||||
vcc-supply = <&pp3300_s3>;
|
||||
wakeup-source;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user