arm/dts: enable tps61280 boost ic for guamna

boost ic is supported on guamna sku2
tps62280 bringup
Change-Id: I4fe0cf9098c718bc67eaa88115f017dbcc2a7ad8
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1552401
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
This commit is contained in:
zhaoxp3 authored and Carlos Pinho committed 2023-05-31 17:01:00 -03:00
1 parent 8c3fecbbf7
commit 2522a8abb3
4 files changed
+74

No files matched your search

+2
View File
@@ -20,9 +20,11 @@ bengal-guamp-evt-overlay.dtbo-base := bengal-moto-base.dtb
bengal-guamp-dvt-overlay.dtbo-base := bengal-moto-base.dtb bengal-guamp-dvt-overlay.dtbo-base := bengal-moto-base.dtb
dtbo-$(CONFIG_GUAMNA_DTB) += \ dtbo-$(CONFIG_GUAMNA_DTB) += \
bengal-guamna-gwlc-evt-overlay.dtbo \
bengal-guamna-evt-overlay.dtbo bengal-guamna-evt-overlay.dtbo
bengal-guamna-evt-overlay.dtbo-base := bengal-moto-base.dtb bengal-guamna-evt-overlay.dtbo-base := bengal-moto-base.dtb
bengal-guamna-gwlc-evt-overlay.dtbo-base := bengal-moto-base.dtb
dtbo-$(CONFIG_BORNEO_DTB) += \ dtbo-$(CONFIG_BORNEO_DTB) += \
bengal-borneo-evt-overlay.dtbo bengal-borneo-evt-overlay.dtbo
+3
View File
@@ -12,6 +12,7 @@
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
#include "bengal-moto-common-overlay.dtsi" #include "bengal-moto-common-overlay.dtsi"
#include "bengal-guamna-pinctrl-overlay.dtsi"
#include "bengal-guam-display.dtsi" #include "bengal-guam-display.dtsi"
#include "bengal-audio-overlay.dtsi" #include "bengal-audio-overlay.dtsi"
#include "bengal-guam-touchscreen-overlay.dtsi" #include "bengal-guam-touchscreen-overlay.dtsi"
@@ -19,6 +20,8 @@
#include "bengal-guam-fps.dtsi" #include "bengal-guam-fps.dtsi"
#include "bengal-guam-moto-thermal.dtsi" #include "bengal-guam-moto-thermal.dtsi"
#define GUAMNA_RADIO_GWLC 2
&qupv3_se4_2uart { &qupv3_se4_2uart {
status = "ok" status = "ok"
}; };
+43
View File
@@ -0,0 +1,43 @@
/* 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 "bengal-guamna-common-overlay.dtsi"
#include "bengal-guam-awinic-audio-overlay.dtsi"
/ {
model = "guamna";
compatible = "qcom,bengal-guamna", "qcom,bengal-moto", "qcom,bengal";
qcom,msm-id = <417 0x10000>;
qcom,board-id = <(GUAMNA_RADIO_GWLC << 8) 0xA000>;
};
/*
* Guam NA HW rev specific changes go here
*/
&qupv3_se1_i2c {
status = "okay";
tps61280@75 {
compatible = "ti,tps61280";
reg = <0x75>;
ti,config = <0x0D>;
ti,vout-floor = <0x0D>;
ti,vout-roof = <0x1F>;/*0x1F*/
ti,ilim = <0x0F>;
pinctrl-names = "default";
pinctrl-0 = <&tps61280_en_default>;
};
};
+26
View File
@@ -0,0 +1,26 @@
/*
* Copyright (c) 2017-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.
*/
&tlmm {
tps61280_en_default: tps61280_en_default {
mux {
pins = "gpio108";
function = "gpio";
};
config {
pins = "gpio108";
drive-strength = <8>;
output-high;
};
};
};