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:
1 parent
c8ef47d4c8
commit
4970db65e7
1 file changed
+13
-11
@@ -40,12 +40,12 @@
|
|||||||
&tlmm{
|
&tlmm{
|
||||||
capsense_sar_gpio_pins: capsense_sar_gpio_pins {
|
capsense_sar_gpio_pins: capsense_sar_gpio_pins {
|
||||||
mux {
|
mux {
|
||||||
pins = "gpio36";
|
pins = "gpio34";
|
||||||
function = "gpio";
|
function = "gpio";
|
||||||
};
|
};
|
||||||
|
|
||||||
config {
|
config {
|
||||||
pins = "gpio36";
|
pins = "gpio34";
|
||||||
drive-strength = <2>;
|
drive-strength = <2>;
|
||||||
bias-pull-up;
|
bias-pull-up;
|
||||||
input-enable;
|
input-enable;
|
||||||
@@ -165,19 +165,21 @@
|
|||||||
reg = <0x20>;
|
reg = <0x20>;
|
||||||
cap_vdd-supply = <&L21A>;
|
cap_vdd-supply = <&L21A>;
|
||||||
interrupt-parent = <&tlmm>;
|
interrupt-parent = <&tlmm>;
|
||||||
interrupts = <36 0x2>;
|
interrupts = <34 0x2>;
|
||||||
gpios = <&tlmm 36 0x2>;
|
gpios = <&tlmm 34 0x2>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&capsense_sar_gpio_pins>;
|
pinctrl-0 = <&capsense_sar_gpio_pins>;
|
||||||
reg_array_len = <0x03>;
|
reg_array_len = <0x03>;
|
||||||
reg_array_val = <0x07 0x00 0x08 0x1B 0xFB 0x01>;
|
reg_array_val = <0x07 0x00 0x08 0x1F 0xFB 0x01>;
|
||||||
cap,use_channel_ch1 = <0x00>;
|
cap,use_channel_ch0 = <0x00>;
|
||||||
cap,use_channel_ch0 = <0x01>;
|
cap,use_channel_ch1 = <0x01>;
|
||||||
ch0_name = "capsense_top";
|
cap,use_channel_ch2 = <0x02>;
|
||||||
ch1_name = "capsense_bottom";
|
ch0_name = "capsense_bottom_right";
|
||||||
|
ch1_name = "capsense_bottom_left";
|
||||||
|
ch2_name = "capsense_top";
|
||||||
label = "AbovCapSense";
|
label = "AbovCapSense";
|
||||||
cap,channel_number = <0x02>;
|
cap,channel_number = <0x03>;
|
||||||
cap,fw_mode_ret = <0x3A>;
|
cap,fw_mode_ret = <0x39>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user