ARM: dts: msm: Add skeleton for all SM8150 and SA8155 DT files

Add skeleton for all SM8150 and SA8155 device tree files
based on msm-5.4, also add relevant changes in the Makefile.

Change-Id: Ic9e31428830f1e1796ceb2af29be693dd139eee3
This commit is contained in:
Abhishek Shah
2022-01-05 03:47:58 +05:30
committed by Veera Vegivada
parent 44f06a0d2e
commit 820b0da51d
19 changed files with 163 additions and 0 deletions

View File

@@ -65,6 +65,23 @@ cinder-dtb-$(CONFIG_ARCH_CINDER) += cinder-rumi.dtb \
cinder-ru-idp.dtb \
cinder-du-idp.dtb
dtb-y += $(cinder-dtb-y)
SA8155_BASE_DTB += sa8155.dtb sa8155-v2.dtb
SA8155P_BASE_DTB += sa8155p.dtb sa8155p-v2.dtb
SA8155_BOARDS += \
sa8155-adp-star-overlay.dtbo \
sa8155-adp-air-overlay.dtbo
SA8155P_BOARDS += \
sa8155p-adp-star-overlay.dtbo \
sa8155p-adp-air-overlay.dtbo
gen3auto-dtb-$(CONFIG_ARCH_SA8155) += \
$(call add-overlays, $(SA8155_BOARDS),$(SA8155_BASE_DTB))\
$(call add-overlays, $(SA8155P_BOARDS),$(SA8155P_BASE_DTB))
gen3auto-overlays-dtb-$(CONFIG_ARCH_SA8155) += $(SA8155_BOARDS) $(SA8155P_BOARDS) $(SA8155_BASE_DTB) $(SA8155P_BASE_DTB)
dtb-y += $(gen3auto-dtb-y)
endif
ifeq ($(CONFIG_ARCH_KALAMA), y)

View File

@@ -0,0 +1,11 @@
/dts-v1/;
/plugin/;
#include "sa8155-adp-common.dtsi"
/ {
model = "ADP-AIR";
compatible = "qcom,sa8155-v2-adp-air", "qcom,sa8155",
"qcom,adp-air";
qcom,board-id = <0X01000019 0>;
};

View File

@@ -0,0 +1,7 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/* Empty node to generate minimal overlay fragment */
&soc {
};

View File

@@ -0,0 +1,11 @@
/dts-v1/;
/plugin/;
#include "sa8155-adp-star.dtsi"
/ {
model = "ADP-STAR";
compatible = "qcom,sa8155-adp-star", "qcom,sa8155",
"qcom,adp-star";
qcom,board-id = <25 0>;
};

View File

@@ -0,0 +1 @@
#include "sa8155-adp-common.dtsi"

9
qcom/sa8155-v1.dtsi Normal file
View File

@@ -0,0 +1,9 @@
#include "sm8150.dtsi"
#include "sa8155.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8155";
compatible = "qcom,sa8155";
qcom,msm-name = "SA8155 V1";
qcom,msm-id = <362 0x10000>;
};

10
qcom/sa8155-v2.dts Normal file
View File

@@ -0,0 +1,10 @@
/dts-v1/;
#include "sa8155-v2.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8155 v2 SoC";
compatible = "qcom,sa8155";
qcom,pmic-name = "PM8150";
qcom,board-id = <0 0>;
};

8
qcom/sa8155-v2.dtsi Normal file
View File

@@ -0,0 +1,8 @@
#include "sm8150-v2.dtsi"
#include "sa8155.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8155 V2";
qcom,msm-name = "SA8155 V2";
qcom,msm-id = <362 0x20000>;
};

10
qcom/sa8155.dts Normal file
View File

@@ -0,0 +1,10 @@
/dts-v1/;
#include "sa8155-v1.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8155 SoC";
compatible = "qcom,sa8155";
qcom,pmic-name = "PM8150";
qcom,board-id = <0 0>;
};

1
qcom/sa8155.dtsi Normal file
View File

@@ -0,0 +1 @@
#include <dt-bindings/gpio/gpio.h>

View File

@@ -0,0 +1,11 @@
/dts-v1/;
/plugin/;
#include "sa8155-adp-common.dtsi"
/ {
model = "ADP-AIR";
compatible = "qcom,sa8155p-v2-adp-air", "qcom,sa8155p",
"qcom,adp-air";
qcom,board-id = <0x01000019 0>;
};

View File

@@ -0,0 +1,11 @@
/dts-v1/;
/plugin/;
#include "sa8155-adp-star.dtsi"
/ {
model = "ADP-STAR";
compatible = "qcom,sa8155p-adp-star", "qcom,sa8155p",
"qcom,adp-star";
qcom,board-id = <25 0>;
};

10
qcom/sa8155p-v2.dts Normal file
View File

@@ -0,0 +1,10 @@
/dts-v1/;
#include "sa8155p-v2.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8155P v2 SoC";
compatible = "qcom,sa8155p";
qcom,pmic-name = "PM8150";
qcom,board-id = <0 0>;
};

7
qcom/sa8155p-v2.dtsi Normal file
View File

@@ -0,0 +1,7 @@
#include "sa8155-v2.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8155P v2";
qcom,msm-name = "SA8155P v2";
qcom,msm-id = <367 0x20000>;
};

10
qcom/sa8155p.dts Normal file
View File

@@ -0,0 +1,10 @@
/dts-v1/;
#include "sa8155p.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8155P SoC";
compatible = "qcom,sa8155p";
qcom,pmic-name = "PM8150";
qcom,board-id = <0 0>;
};

8
qcom/sa8155p.dtsi Normal file
View File

@@ -0,0 +1,8 @@
#include "sa8155-v1.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SA8155P ";
qcom,msm-name = "SA8155P V1";
compatible = "qcom,sa8155p";
qcom,msm-id = <367 0x10000>;
};

7
qcom/sm8150-v2.dtsi Normal file
View File

@@ -0,0 +1,7 @@
#include "sm8150.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SM8150 V2";
qcom,msm-name = "SM8150 V2";
qcom,msm-id = <339 0x20000>;
};

7
qcom/sm8150p-v2.dtsi Normal file
View File

@@ -0,0 +1,7 @@
#include "sm8150-v2.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SM8150P v2";
qcom,msm-name = "SM8150P v2";
qcom,msm-id = <361 0x20000>;
};

7
qcom/sm8150p.dtsi Normal file
View File

@@ -0,0 +1,7 @@
#include "sm8150.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SM8150P v1";
qcom,msm-name = "SM8150P v1";
qcom,msm-id = <361 0x10000>;
};