diff --git a/qcom/Makefile b/qcom/Makefile index 6c707ce77829..5a7a9b19336b 100644 --- a/qcom/Makefile +++ b/qcom/Makefile @@ -93,10 +93,12 @@ khaje-hawao-evt-overlay.dtbo-base := khaje-moto-base.dtb dtbo-$(CONFIG_DEVON_DTB) += \ khaje-devon-evt-overlay.dtbo \ - khaje-devon-dvt2-overlay.dtbo + khaje-devon-dvt2-overlay.dtbo \ + khaje-devon-pvt-overlay.dtbo khaje-devon-evt-overlay.dtbo-base := khaje-moto-base.dtb khaje-devon-dvt2-overlay.dtbo-base := khaje-moto-base.dtb +khaje-devon-pvt-overlay.dtbo-base := khaje-moto-base.dtb else ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y) diff --git a/qcom/khaje-devon-pvt-overlay.dts b/qcom/khaje-devon-pvt-overlay.dts new file mode 100644 index 000000000000..ef3e44f42fa2 --- /dev/null +++ b/qcom/khaje-devon-pvt-overlay.dts @@ -0,0 +1,52 @@ +/* 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 0xC000>; +}; + +&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"; + }; +};