arm64/dts: Sar sensor bringup.

Sar sensor bringup:
support ABOV A96T346HW.

Change-Id: Ia09705337ed994efe8868eb7d8a83002564a3e8e
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1510807
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Wen Xie authored and Carlos Pinho committed 2023-05-31 17:01:00 -03:00
1 parent f324808100
commit 34abd7b945
1 file changed
+38
+38
View File
@@ -36,6 +36,20 @@
};
};
&tlmm{
capsense_sar_gpio_pins: capsense_sar_gpio_pins {
mux {
pins = "gpio96", "gpio97";
function = "gpio";
};
config {
pins = "gpio96", "gpio97";
drive-strength = <2>;
bias-pull-up;
};
};
};
&soc {
gpio_keys {
@@ -138,3 +152,27 @@
<17>;
};
};
&qupv3_se0_i2c {
status = "ok"
abov_sar@20 {
status = "ok"
compatible = "abov,abov_sar_mmi_overlay";
reg = <0x20>;
cap_vdd-supply = <&L21A>;
cap_svdd-supply = <&L21A>;
interrupt-parent = <&tlmm>;
interrupts = <36 0x2>;
gpios = <&tlmm 36 0x2>;
pinctrl-names = "default";
pinctrl-0 = <&capsense_sar_gpio_pins>;
reg_array_len = <0x03>;
reg_array_val = <0x07 0x00 0x08 0x1B 0xFB 0x01>;
cap,use_channel_ch1 = <0x00>;
cap,use_channel_ch0 = <0x01>;
ch0_name = "capsense_top";
ch1_name = "capsense_bottom";
label = "AbovCapSense";
cap,channel_number = <0x02>;
};
};