arm64/dts:modify sarsensor dts config

-add abov device node
-modify sarsensor dts config according to HW

Change-Id: I2cf3c2971b50bb9d68cdd5f1e5dd4e797b0d1d86
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1586825
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hongshu Lou <louhs1@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
chenlj2 authored and Carlos Pinho committed 2023-05-31 17:01:00 -03:00
1 parent c8ef47d4c8
commit 4970db65e7
1 file changed
+13 -11
+13 -11
View File
@@ -40,12 +40,12 @@
&tlmm{
capsense_sar_gpio_pins: capsense_sar_gpio_pins {
mux {
pins = "gpio36";
pins = "gpio34";
function = "gpio";
};
config {
pins = "gpio36";
pins = "gpio34";
drive-strength = <2>;
bias-pull-up;
input-enable;
@@ -165,19 +165,21 @@
reg = <0x20>;
cap_vdd-supply = <&L21A>;
interrupt-parent = <&tlmm>;
interrupts = <36 0x2>;
gpios = <&tlmm 36 0x2>;
interrupts = <34 0x2>;
gpios = <&tlmm 34 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";
reg_array_val = <0x07 0x00 0x08 0x1F 0xFB 0x01>;
cap,use_channel_ch0 = <0x00>;
cap,use_channel_ch1 = <0x01>;
cap,use_channel_ch2 = <0x02>;
ch0_name = "capsense_bottom_right";
ch1_name = "capsense_bottom_left";
ch2_name = "capsense_top";
label = "AbovCapSense";
cap,channel_number = <0x02>;
cap,fw_mode_ret = <0x3A>;
cap,channel_number = <0x03>;
cap,fw_mode_ret = <0x39>;
};
};