From 66028fb4f6a3c0dd3236bfcafcdebca2d53d8588 Mon Sep 17 00:00:00 2001 From: PRANAY BHARGAV BHAVARAJU Date: Thu, 6 Jun 2024 10:12:08 +0530 Subject: [PATCH] eSE-devicetree: Added support for eSE on multiple boards As eSE is present in multiple boards, added the board and msm id's for all the revellant boards. Change-Id: Iac8c898c447059eaca4229fac65472b48e653584 --- Kbuild | 7 +++++++ sun-ese-atp.dts | 19 +++++++++++++++++++ sun-ese-mtp-kiwi-v8.dts | 18 ++++++++++++++++++ sun-ese-mtp.dts | 2 +- sun-ese-qrd-sku1-v8.dts | 18 ++++++++++++++++++ sun-ese-qrd-sku1.dts | 18 ++++++++++++++++++ sun-ese-qrd-sku2-v8.dts | 19 +++++++++++++++++++ sun-ese-rcm-v8.dts | 17 +++++++++++++++++ sun-ese-rcm.dts | 17 +++++++++++++++++ 9 files changed, 134 insertions(+), 1 deletion(-) create mode 100644 sun-ese-atp.dts create mode 100644 sun-ese-mtp-kiwi-v8.dts create mode 100644 sun-ese-qrd-sku1-v8.dts create mode 100644 sun-ese-qrd-sku1.dts create mode 100644 sun-ese-qrd-sku2-v8.dts create mode 100644 sun-ese-rcm-v8.dts create mode 100644 sun-ese-rcm.dts diff --git a/Kbuild b/Kbuild index 1a38e81b..41a345ae 100644 --- a/Kbuild +++ b/Kbuild @@ -1,5 +1,12 @@ ifeq ($(CONFIG_ARCH_SUN),y) dtbo-y += sun-ese-mtp.dtbo +dtbo-y += sun-ese-rcm-v8.dtbo +dtbo-y += sun-ese-rcm.dtbo +dtbo-y += sun-ese-mtp-kiwi-v8.dtbo +dtbo-y += sun-ese-atp.dtbo +dtbo-y += sun-ese-qrd-sku1.dtbo +dtbo-y += sun-ese-qrd-sku1-v8.dtbo +dtbo-y += sun-ese-qrd-sku2-v8.dtbo dtbo-y += sun-ese-cdp.dtbo dtbo-y += sun-ese-qrd.dtbo dtbo-y += sun-v2-ese-mtp.dtbo diff --git a/sun-ese-atp.dts b/sun-ese-atp.dts new file mode 100644 index 00000000..a36c1ddc --- /dev/null +++ b/sun-ese-atp.dts @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: BSD-3-Clause + +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; +/plugin/; + +#include "sun-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Sun ATP"; + compatible = "qcom,sun-atp", "qcom,sun", "qcom,sunp-atp", "qcom,sunp", + "qcom,atp"; + qcom,msm-id = <618 0x10000>, <618 0x20000>, + <0x100026a 0x10000>, <0x100026a 0x20000>; + qcom,board-id = <0x10021 0>; +}; diff --git a/sun-ese-mtp-kiwi-v8.dts b/sun-ese-mtp-kiwi-v8.dts new file mode 100644 index 00000000..bfa091eb --- /dev/null +++ b/sun-ese-mtp-kiwi-v8.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: BSD-3-Clause + +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; +/plugin/; + +#include "sun-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Sun MTP Kiwi WLAN V8 Power Grid"; + compatible = "qcom,sun-mtp", "qcom,sun", "qcom,sunp-mtp", "qcom,sunp", + "qcom,mtp"; + qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>; + qcom,board-id = <0x50008 0>; +}; diff --git a/sun-ese-mtp.dts b/sun-ese-mtp.dts index 8e7f74a0..58ecf3c7 100644 --- a/sun-ese-mtp.dts +++ b/sun-ese-mtp.dts @@ -15,5 +15,5 @@ qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>, <0x100026a 0x10000>, <0x100026a 0x20000>, <0x100027f 0x10000>, <0x100027f 0x20000>; - qcom,board-id = <0x8 0>, <0x20008 0>, <0x40008 0>; + qcom,board-id = <0x8 0>, <0x20008 0>, <0x40008 0>, <0x50008 0>; }; diff --git a/sun-ese-qrd-sku1-v8.dts b/sun-ese-qrd-sku1-v8.dts new file mode 100644 index 00000000..3e164a53 --- /dev/null +++ b/sun-ese-qrd-sku1-v8.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: BSD-3-Clause + +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; +/plugin/; + +#include "sun-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Sun QRD SKU1 V8 Power Grid"; + compatible = "qcom,sun-qrd", "qcom,sun", "qcom,sunp-qrd", "qcom,sunp", "qcom,qrd"; + qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>, + <0x100026a 0x10000>, <0x100026a 0x20000>; + qcom,board-id = <0x3000B 0>; +}; diff --git a/sun-ese-qrd-sku1.dts b/sun-ese-qrd-sku1.dts new file mode 100644 index 00000000..f316c688 --- /dev/null +++ b/sun-ese-qrd-sku1.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: BSD-3-Clause + +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; +/plugin/; + +#include "sun-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Sun QRD SKU1"; + compatible = "qcom,sun-qrd", "qcom,sun", "qcom,sunp-qrd", "qcom,sunp", "qcom,qrd"; + qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>, + <0x100026a 0x10000>, <0x100026a 0x20000>; + qcom,board-id = <0x1000B 0>; +}; diff --git a/sun-ese-qrd-sku2-v8.dts b/sun-ese-qrd-sku2-v8.dts new file mode 100644 index 00000000..159fc97d --- /dev/null +++ b/sun-ese-qrd-sku2-v8.dts @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: BSD-3-Clause + +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; +/plugin/; + +#include "sun-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Sun QRD SKU2 V8 Power Grid"; + compatible = "qcom,sun-qrd", "qcom,sun", "qcom,sunp-qrd", "qcom,sunp","qcom,qrd"; + qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>, + <0x100026a 0x10000>, <0x100026a 0x20000>, + <0x100027f 0x10000>, <0x100027f 0x20000>; + qcom,board-id = <0x2000B 0>; +}; diff --git a/sun-ese-rcm-v8.dts b/sun-ese-rcm-v8.dts new file mode 100644 index 00000000..7f7eda2a --- /dev/null +++ b/sun-ese-rcm-v8.dts @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: BSD-3-Clause + +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; +/plugin/; + +#include "sun-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Sun RCM V8 Power Grid"; + compatible = "qcom,sun-rcm", "qcom,sun", "qcom,sunp-rcm", "qcom,sunp", "qcom,rcm"; + qcom,msm-id = <618 0x10000>, <618 0x20000>, <0x100026a 0x10000>,<0x100026a 0x20000>; + qcom,board-id = <0x30015 0>; +}; diff --git a/sun-ese-rcm.dts b/sun-ese-rcm.dts new file mode 100644 index 00000000..4927d5f2 --- /dev/null +++ b/sun-ese-rcm.dts @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: BSD-3-Clause + +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; +/plugin/; + +#include "sun-ese-common.dtsi" +/ { + model = "Qualcomm Technologies, Inc. Sun RCM"; + compatible = "qcom,sun-rcm", "qcom,sun", "qcom,sunp", "qcom,rcm"; + qcom,msm-id = <618 0x10000>, <618 0x20000>, + <0x100026a 0x10000>, <0x100026a 0x20000>; + qcom,board-id = <0x15 0>; +};