Merge "ARM: dts: msm: Add initial device tree support for SM8150P" into msm-4.14

This commit is contained in:
Linux Build Service Account 2018-04-13 11:32:13 -07:00 committed by Gerrit - the friendly Code Review server
commit 52ca05f163
15 changed files with 310 additions and 1 deletions

View File

@ -132,6 +132,9 @@ compatible = "qcom,sm8150-rumi"
compatible = "qcom,sm8150-mtp"
compatible = "qcom,sm8150-cdp"
compatible = "qcom,sm8150-qrd"
compatible = "qcom,sm8150p-cdp"
compatible = "qcom,sm8150p-mtp"
compatible = "qcom,sm8150p-qrd"
compatible = "qcom,sdmshrike-rumi"
compatible = "qcom,sdmshrike-mtp"
compatible = "qcom,sdmshrike-cdp"

View File

@ -16,6 +16,9 @@ ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
sm8150-mtp-overlay.dtbo \
sm8150-rumi-overlay.dtbo \
sm8150-qrd-overlay.dtbo \
sm8150p-cdp-overlay.dtbo \
sm8150p-mtp-overlay.dtbo \
sm8150p-qrd-overlay.dtbo \
sm8150-sdx50m-cdp-overlay.dtbo \
sm8150-sdx50m-mtp-overlay.dtbo
@ -25,6 +28,8 @@ sm8150-rumi-overlay.dtbo-base := sm8150.dtb sm8150-v2.dtb
sm8150-qrd-overlay.dtbo-base := sm8150.dtb sm8150-v2.dtb
sm8150-sdx50m-cdp-overlay.dtbo-base := sm8150.dtb sm8150-v2.dtb
sm8150-sdx50m-mtp-overlay.dtbo-base := sm8150.dtb sm8150-v2.dtb
sm8150p-mtp-overlay.dtbo-base := sm8150p.dtb sm8150p-v2.dtb
sm8150p-qrd-overlay.dtbo-base := sm8150p.dtb sm8150p-v2.dtb
else
dtb-$(CONFIG_ARCH_SM8150) += sm8150-rumi.dtb \
sm8150-mtp.dtb \
@ -33,7 +38,13 @@ dtb-$(CONFIG_ARCH_SM8150) += sm8150-rumi.dtb \
sm8150-v2-rumi.dtb \
sm8150-v2-mtp.dtb \
sm8150-v2-cdp.dtb \
sm8150-v2-qrd.dtb
sm8150-v2-qrd.dtb \
sm8150p-mtp.dtb \
sm8150p-cdp.dtb \
sm8150p-qrd.dtb \
sm8150p-v2-mtp.dtb \
sm8150p-v2-cdp.dtb \
sm8150p-v2-qrd.dtb
endif
ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)

View File

@ -0,0 +1,27 @@
/* Copyright (c) 2018, 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 <dt-bindings/clock/qcom,gcc-sm8150.h>
#include <dt-bindings/clock/qcom,camcc-sm8150.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "sm8150-cdp.dtsi"
/ {
model = "CDP";
compatible = "qcom,sm8150p-cdp", "qcom,sm8150p", "qcom,cdp";
qcom,board-id = <1 0>;
};

View File

@ -0,0 +1,22 @@
/* Copyright (c) 2018, 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/;
#include "sm8150p.dtsi"
#include "sm8150-cdp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SM8150P CDP";
compatible = "qcom,sm8150p-cdp", "qcom,sm8150p", "qcom,cdp";
qcom,board-id = <1 0>;
};

View File

@ -0,0 +1,27 @@
/* Copyright (c) 2018, 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 <dt-bindings/clock/qcom,gcc-sm8150.h>
#include <dt-bindings/clock/qcom,camcc-sm8150.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "sm8150-mtp.dtsi"
/ {
model = "MTP";
compatible = "qcom,sm8150p-mtp", "qcom,sm8150p", "qcom,mtp";
qcom,board-id = <8 0>;
};

View File

@ -0,0 +1,22 @@
/* Copyright (c) 2018, 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/;
#include "sm8150p.dtsi"
#include "sm8150-mtp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SM8150P MTP";
compatible = "qcom,sm8150p-mtp", "qcom,sm8150p", "qcom,mtp";
qcom,board-id = <8 0>;
};

View File

@ -0,0 +1,27 @@
/* Copyright (c) 2018, 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 <dt-bindings/clock/qcom,gcc-sm8150.h>
#include <dt-bindings/clock/qcom,camcc-sm8150.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "sm8150-qrd.dtsi"
/ {
model = "QRD";
compatible = "qcom,sm8150p-qrd", "qcom,sm8150p", "qcom,qrd";
qcom,board-id = <11 0>;
};

View File

@ -0,0 +1,22 @@
/* Copyright (c) 2018, 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/;
#include "sm8150p.dtsi"
#include "sm8150-qrd.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SM8150P QRD";
compatible = "qcom,sm8150p-qrd", "qcom,sm8150p", "qcom,qrd";
qcom,board-id = <11 0>;
};

View File

@ -0,0 +1,22 @@
/* Copyright (c) 2018, 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/;
#include "sm8150p-v2.dtsi"
#include "sm8150-cdp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SM8150P V2 CDP";
compatible = "qcom,sm8150p-cdp", "qcom,sm8150p", "qcom,cdp";
qcom,board-id = <1 0>;
};

View File

@ -0,0 +1,22 @@
/* Copyright (c) 2018, 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/;
#include "sm8150p-v2.dtsi"
#include "sm8150-mtp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SM8150P V2 MTP";
compatible = "qcom,sm8150p-mtp", "qcom,sm8150p", "qcom,mtp";
qcom,board-id = <8 0>;
};

View File

@ -0,0 +1,22 @@
/* Copyright (c) 2018, 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/;
#include "sm8150p-v2.dtsi"
#include "sm8150-qrd.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SM8150P V2 QRD";
compatible = "qcom,sm8150p-qrd", "qcom,sm8150p", "qcom,qrd";
qcom,board-id = <11 0>;
};

View File

@ -0,0 +1,22 @@
/* Copyright (c) 2018, 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/;
#include "sm8150p-v2.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SM8150P v2 SoC";
compatible = "qcom,sm8150p";
qcom,pmic-name = "PM855";
qcom,board-id = <0 0>;
};

View File

@ -0,0 +1,19 @@
/* Copyright (c) 2018, 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.
*/
#include "sm8150-v2.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SM8150P v2";
qcom,msm-name = "SM8150P v2";
qcom,msm-id = <356 0x20000>;
};

View File

@ -0,0 +1,22 @@
/* Copyright (c) 2018, 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/;
#include "sm8150p.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SM8150P v1 SoC";
compatible = "qcom,sm8150p";
qcom,pmic-name = "PM855";
qcom,board-id = <0 0>;
};

View File

@ -0,0 +1,19 @@
/* Copyright (c) 2018, 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.
*/
#include "sm8150.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SM8150P v1";
qcom,msm-name = "SM8150P v1";
qcom,msm-id = <356 0x10000>;
};