@@ -15,6 +15,7 @@ touchscreen2: touchscreen@34 {
reg = <0x34>;
interrupt-parent = <&pio>;
interrupts = <88 IRQ_TYPE_LEVEL_LOW>;
+ status = "fail-needs-probe-touchscreen";
};
/*
@@ -28,6 +29,7 @@ touchscreen3: touchscreen@20 {
hid-descr-addr = <0x0020>;
interrupt-parent = <&pio>;
interrupts = <88 IRQ_TYPE_LEVEL_LOW>;
+ status = "fail-needs-probe-touchscreen";
};
};
@@ -44,6 +46,7 @@ trackpad2: trackpad@2c {
reg = <0x2c>;
hid-descr-addr = <0x0020>;
wakeup-source;
+ status = "fail-needs-probe-trackpad";
};
};
@@ -68,3 +71,11 @@ pins_wp {
};
};
};
+
+&touchscreen {
+ status = "fail-needs-probe-touchscreen";
+};
+
+&trackpad {
+ status = "fail-needs-probe-trackpad";
+};
Instead of having them all available, mark them all as "fail-needs-probe-*" and have the implementation try to probe which one is present. Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> --- arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)