Devon:seperated DVT1/DVT2 sar sensor firmware

WHY:sar sensor need seperated firmware
HOW:support multi firmware

Change-Id: I72121ab36032097b1da34d8e3552d2c438129473
Signed-off-by: wunan3 <wunan3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2237387
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Hong Zhang <zhangh12@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
This commit is contained in:
wunan3 authored and Carlos Pinho committed 2023-05-31 17:01:05 -03:00
1 parent 5c6415925f
commit 2b5355c5f3
3 files changed
+55 -1

No files matched your search

+3 -1
View File
@@ -92,9 +92,11 @@ dtbo-$(CONFIG_HAWAO_DTB) += \
khaje-hawao-evt-overlay.dtbo-base := khaje-moto-base.dtb
dtbo-$(CONFIG_DEVON_DTB) += \
khaje-devon-evt-overlay.dtbo
khaje-devon-evt-overlay.dtbo \
khaje-devon-dvt2-overlay.dtbo
khaje-devon-evt-overlay.dtbo-base := khaje-moto-base.dtb
khaje-devon-dvt2-overlay.dtbo-base := khaje-moto-base.dtb
else
ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
+1
View File
@@ -109,6 +109,7 @@
ch3_name = "Ch3capsense_reference";
ch4_name = "Ch4capsense_bottom";
ref_channel = <0x9>;
hardware_version = <0>;
aw9610x,using-firmware;
aw9610x,firmware_name = "aw9610x_0";
};
+51
View File
@@ -0,0 +1,51 @@
/* Copyright (c) 2020, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
/dts-v1/;
/plugin/;
#include "khaje-devon-common-overlay.dtsi"
#include "khaje-devon-audio-overlay.dtsi"
/ {
model = "devon";
compatible = "qcom,khaje-devon", "qcom,khaje-moto", "qcom,khaje";
qcom,msm-id = <518 0x10000>;
qcom,board-id = <0 0xA000>;
};
&qupv3_se2_i2c {
status = "ok"
aw9610x_sar@12 {
compatible = "awinic,aw9610x_sar_0";
reg = <0x12>;
sar-gpio-vcc-enable;
sar-gpio_3v0_en = <&tlmm 67 0x00>;
pinctrl-names = "default";
pinctrl-0 = <&capsense_sar_gpio_pins>;
interrupt-parent = <&tlmm>;
interrupts = <106 0x02>;
irq-gpio = <&tlmm 106 0x02>;
chip_name = "AW96105";
sar-num = <0>;
cap_vcc-supply = <&pm6125_l21>;
aw9610x,channel_number = <0x5>;
ch0_name = "Ch0capsense_reference";
ch1_name = "Ch1capsense_top_left";
ch2_name = "Ch2capsense_top_right";
ch3_name = "Ch3capsense_reference";
ch4_name = "Ch4capsense_bottom";
ref_channel = <0x9>;
hardware_version = <1>;
aw9610x,using-firmware;
aw9610x,firmware_name = "aw9610x_0";
};
};