From 49b5e4afcb651dbcb706f0d31e6863c9aa640d85 Mon Sep 17 00:00:00 2001 From: Manohar Vavilapalli Date: Fri, 15 May 2020 18:44:09 +0530 Subject: [PATCH] ARM: dts: msm: Add support for SA6155P ADP STAR LPASS Add initial DTS files to support SA6155P ADP LPASS Audio PLL sourced from eMAC PPO ("Star"). Change-Id: If4cc2847df389c2ad79d3cf5e19d006c64c58cea Signed-off-by: Manohar Vavilapalli --- arch/arm64/boot/dts/qcom/Makefile | 3 +++ .../qcom/sa6155p-adp-star-lpass-overlay.dts | 27 +++++++++++++++++++ .../boot/dts/qcom/sa6155p-adp-star-lpass.dts | 24 +++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sa6155p-adp-star-lpass-overlay.dts create mode 100644 arch/arm64/boot/dts/qcom/sa6155p-adp-star-lpass.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index b39565f14cf7..a52b10ea5d15 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -39,6 +39,7 @@ ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y) dtbo-$(CONFIG_ARCH_SM6150) += \ sa6155-adp-star-overlay.dtbo \ sa6155p-adp-star-overlay.dtbo \ + sa6155p-adp-star-lpass-overlay.dts \ sa6155-adp-air-overlay.dtbo \ sa6155p-adp-air-overlay.dtbo \ sa6155p-v2-adp-star-overlay.dtbo \ @@ -46,6 +47,7 @@ ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y) sa6155-adp-star-overlay.dtbo-base := sa6155.dtb sa6155p-adp-star-overlay.dtbo-base := sa6155p.dtb +sa6155p-adp-star-lpass-overlay.dtbo-base :=sa6155p.dtb sa6155p-v2-adp-star-overlay.dtbo-base := sa6155p.dtb sa6155-adp-air-overlay.dtbo-base := sa6155.dtb sa6155p-adp-air-overlay.dtbo-base := sa6155p.dtb @@ -53,6 +55,7 @@ sa6155p-v2-adp-air-overlay.dtbo-base := sa6155p.dtb else dtb-$(CONFIG_ARCH_SM6150) += sa6155-adp-star.dtb \ sa6155p-adp-star.dtb \ + sa6155p-adp-star-lpass.dtb \ sa6155-adp-air.dtb \ sa6155p-adp-air.dtb \ sa6155p-v2-adp-star.dtb \ diff --git a/arch/arm64/boot/dts/qcom/sa6155p-adp-star-lpass-overlay.dts b/arch/arm64/boot/dts/qcom/sa6155p-adp-star-lpass-overlay.dts new file mode 100644 index 000000000000..5fa1f763324b --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sa6155p-adp-star-lpass-overlay.dts @@ -0,0 +1,27 @@ +/* Copyright (c) 2018-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 +#include + +#include "sa6155-adp-star.dtsi" + +/ { + model = "LPASS Audio PLL sourced from eMAC PPO ("Star")"; + compatible = "qcom,sa6155p-adp-star", "qcom,sa6155p", "qcom,adp-star"; + qcom,msm-id = <377 0x0>, <380 0>; + qcom,board-id = <0x01010019 0>; +}; + diff --git a/arch/arm64/boot/dts/qcom/sa6155p-adp-star-lpass.dts b/arch/arm64/boot/dts/qcom/sa6155p-adp-star-lpass.dts new file mode 100644 index 000000000000..a98998f74167 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sa6155p-adp-star-lpass.dts @@ -0,0 +1,24 @@ +/* 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/; + +#include "sa6155p.dtsi" +#include "sa6155-adp-star.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. SA6155P LPASS Audio PLL sourced + from eMAC PPO ("Star")"; + compatible = "qcom,sa6155p-adp-star", "qcom,sa6155p", "qcom,adp-star"; + qcom,board-id = <0x01010019 0>; +}; +