From 2b4b16ef3c15be3f390e2fdd9245f71ed633f20d Mon Sep 17 00:00:00 2001 From: Ravi Kumar Bokka Date: Wed, 2 Oct 2024 03:42:49 +0530 Subject: [PATCH 1/3] eSE-devicetree: Added support for eSE on multiple tuna boards As eSE is present in multiple tuna boards, added the board and msm id's for all the revellant tuna boards. Change-Id: Ia04cab5be445331dbd8c79ea3e4edb7566bfd74e --- Kbuild | 11 +++++++++++ tuna-ese-cdp.dts | 18 ++++++++++++++++++ tuna-ese-common.dtsi | 15 +++++++++++++++ tuna-ese-mtp-kiwi-overlay.dts | 17 +++++++++++++++++ tuna-ese-mtp-qmp1000-overlay.dts | 17 +++++++++++++++++ tuna-ese-mtp.dts | 17 +++++++++++++++++ tuna-ese-oemvm-mtp-kiwi.dts | 15 +++++++++++++++ tuna-ese-oemvm-rcm-kiwi.dts | 15 +++++++++++++++ tuna-ese-qrd.dts | 17 +++++++++++++++++ tuna-ese-rcm-kiwi-overlay.dts | 17 +++++++++++++++++ 10 files changed, 159 insertions(+) create mode 100644 tuna-ese-cdp.dts create mode 100644 tuna-ese-common.dtsi create mode 100644 tuna-ese-mtp-kiwi-overlay.dts create mode 100644 tuna-ese-mtp-qmp1000-overlay.dts create mode 100644 tuna-ese-mtp.dts create mode 100644 tuna-ese-oemvm-mtp-kiwi.dts create mode 100644 tuna-ese-oemvm-rcm-kiwi.dts create mode 100644 tuna-ese-qrd.dts create mode 100644 tuna-ese-rcm-kiwi-overlay.dts diff --git a/Kbuild b/Kbuild index 048d86e4..cba6dc19 100644 --- a/Kbuild +++ b/Kbuild @@ -15,6 +15,17 @@ dtbo-y += sun-v2-ese-cdp.dtbo dtbo-y += sun-v2-ese-qrd.dtbo endif +ifeq ($(CONFIG_ARCH_TUNA),y) +dtbo-y += tuna-ese-cdp.dtbo +dtbo-y += tuna-ese-mtp.dtbo +dtbo-y += tuna-ese-qrd.dtbo +dtbo-y += tuna-ese-mtp-kiwi-overlay.dtbo +dtbo-y += tuna-ese-rcm-kiwi-overlay.dtbo +dtbo-y += tuna-ese-mtp-qmp1000-overlay.dtbo +dtbo-y += tuna-ese-oemvm-mtp-kiwi.dtbo +dtbo-y += tuna-ese-oemvm-rcm-kiwi.dtbo +endif + always-y := $(dtb-y) $(dtbo-y) subdir-y := $(dts-dirs) clean-files := *.dtb *.dtbo diff --git a/tuna-ese-cdp.dts b/tuna-ese-cdp.dts new file mode 100644 index 00000000..5a526396 --- /dev/null +++ b/tuna-ese-cdp.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 "tuna-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Tuna CDP"; + compatible = "qcom,tuna-cdp", "qcom,tuna", "qcom,tunap-cdp", "qcom,tunap", + "qcom,cdp"; + + qcom,msm-id = <681 0x10000>, <655 0x10000>; + qcom,board-id = <1 0>; +}; diff --git a/tuna-ese-common.dtsi b/tuna-ese-common.dtsi new file mode 100644 index 00000000..b62dfa44 --- /dev/null +++ b/tuna-ese-common.dtsi @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: BSD-3-Clause + +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +&soc { + st54spi_gpio { + status = "ok"; + compatible = "st,st54spi_gpio"; + /* gpio used as SE_nRESET */ + gpio-power_nreset = <&tlmm 111 0x00>; + }; +}; + diff --git a/tuna-ese-mtp-kiwi-overlay.dts b/tuna-ese-mtp-kiwi-overlay.dts new file mode 100644 index 00000000..5739bedf --- /dev/null +++ b/tuna-ese-mtp-kiwi-overlay.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 "tuna-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Tuna MTP + kiwi WLAN"; + compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap", + "qcom,mtp"; + qcom,msm-id = <681 0x10000>, <655 0x10000>; + qcom,board-id = <8 2>; +}; diff --git a/tuna-ese-mtp-qmp1000-overlay.dts b/tuna-ese-mtp-qmp1000-overlay.dts new file mode 100644 index 00000000..4c77d4a7 --- /dev/null +++ b/tuna-ese-mtp-qmp1000-overlay.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 "tuna-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Tuna MTP QMP1000"; + compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap", + "qcom,mtp"; + qcom,msm-id = <681 0x10000>, <655 0x10000>; + qcom,board-id = <8 1>; +}; diff --git a/tuna-ese-mtp.dts b/tuna-ese-mtp.dts new file mode 100644 index 00000000..846f1af9 --- /dev/null +++ b/tuna-ese-mtp.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 "tuna-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Tuna MTP"; + compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap", + "qcom,mtp"; + qcom,msm-id = <681 0x10000>, <655 0x10000>; + qcom,board-id = <8 0>; +}; diff --git a/tuna-ese-oemvm-mtp-kiwi.dts b/tuna-ese-oemvm-mtp-kiwi.dts new file mode 100644 index 00000000..bee3c533 --- /dev/null +++ b/tuna-ese-oemvm-mtp-kiwi.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; + +#include "tuna-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Tuna OEMVM MTP + kiwi WLAN"; + compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap", + "qcom,mtp"; + qcom,board-id = <8 2>; +}; diff --git a/tuna-ese-oemvm-rcm-kiwi.dts b/tuna-ese-oemvm-rcm-kiwi.dts new file mode 100644 index 00000000..6e76a031 --- /dev/null +++ b/tuna-ese-oemvm-rcm-kiwi.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; + +#include "tuna-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Tuna OEMVM RCM + kiwi WLAN"; + compatible = "qcom,tuna-rcm", "qcom,tuna", "qcom,tunap-rcm", "qcom,tunap", + "qcom,rcm"; + qcom,board-id = <21 1>; +}; diff --git a/tuna-ese-qrd.dts b/tuna-ese-qrd.dts new file mode 100644 index 00000000..a562ed96 --- /dev/null +++ b/tuna-ese-qrd.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 "tuna-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Tuna QRD"; + compatible = "qcom,tuna-qrd", "qcom,tuna", "qcom,tunap-qrd", "qcom,tunap", + "qcom,qrd"; + qcom,msm-id = <681 0x10000>, <655 0x10000>; + qcom,board-id = <11 0>; +}; diff --git a/tuna-ese-rcm-kiwi-overlay.dts b/tuna-ese-rcm-kiwi-overlay.dts new file mode 100644 index 00000000..afe90060 --- /dev/null +++ b/tuna-ese-rcm-kiwi-overlay.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 "tuna-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Tuna RCM + kiwi WLAN"; + compatible = "qcom,tuna-rcm", "qcom,tuna", "qcom,tunap-rcm", "qcom,tunap", + "qcom,rcm"; + qcom,msm-id = <681 0x10000>, <655 0x10000>; + qcom,board-id = <21 1>; +}; From 17b4ed6452ab502e097430d70425191457fbe953 Mon Sep 17 00:00:00 2001 From: Ravi Kumar Bokka Date: Tue, 12 Nov 2024 16:59:09 +0530 Subject: [PATCH 2/3] eSE-devicetree: Added support for eSE on multiple kera boards As eSE is present in multiple kera boards, added the board and msm id's for all the revellant kera boards. Change-Id: I9f3e75c4c5570c1471a77f5c38226bd3bc6867c8 --- Kbuild | 25 +++++++++++++++++++++++++ kera-ese-atp.dts | 18 ++++++++++++++++++ kera-ese-cdp-qca6750-ufs2.dts | 18 ++++++++++++++++++ kera-ese-cdp-qca6750-ufs3.dts | 18 ++++++++++++++++++ kera-ese-cdp-qca6750-ufs4.dts | 18 ++++++++++++++++++ kera-ese-cdp.dts | 18 ++++++++++++++++++ kera-ese-common.dtsi | 13 +++++++++++++ kera-ese-mtp-qca6750-qmp1000.dts | 17 +++++++++++++++++ kera-ese-mtp-qca6750.dts | 17 +++++++++++++++++ kera-ese-mtp-wcn7750-qmp1000.dts | 17 +++++++++++++++++ kera-ese-mtp-wcn7750-ufs3.dts | 17 +++++++++++++++++ kera-ese-mtp-wcn7750-ufs4.dts | 18 ++++++++++++++++++ kera-ese-mtp.dts | 17 +++++++++++++++++ kera-ese-oemvm-mtp.dts | 16 ++++++++++++++++ kera-ese-oemvm-rcm.dts | 16 ++++++++++++++++ kera-ese-qrd-wcn7750-ufs2.dts | 17 +++++++++++++++++ kera-ese-qrd-wcn7750-ufs3.dts | 17 +++++++++++++++++ kera-ese-qrd.dts | 17 +++++++++++++++++ kera-ese-rcm-qca6750-ufs2.dts | 17 +++++++++++++++++ kera-ese-rcm-qca6750-ufs3.dts | 17 +++++++++++++++++ kera-ese-rcm-wcn7750-ufs2.dts | 17 +++++++++++++++++ kera-ese-rcm-wcn7750-ufs3.dts | 17 +++++++++++++++++ kera-ese-rcm-wcn7750-ufs4.dts | 17 +++++++++++++++++ kera-ese-rcm.dts | 17 +++++++++++++++++ 24 files changed, 416 insertions(+) create mode 100644 kera-ese-atp.dts create mode 100644 kera-ese-cdp-qca6750-ufs2.dts create mode 100644 kera-ese-cdp-qca6750-ufs3.dts create mode 100644 kera-ese-cdp-qca6750-ufs4.dts create mode 100644 kera-ese-cdp.dts create mode 100644 kera-ese-common.dtsi create mode 100644 kera-ese-mtp-qca6750-qmp1000.dts create mode 100644 kera-ese-mtp-qca6750.dts create mode 100644 kera-ese-mtp-wcn7750-qmp1000.dts create mode 100644 kera-ese-mtp-wcn7750-ufs3.dts create mode 100644 kera-ese-mtp-wcn7750-ufs4.dts create mode 100644 kera-ese-mtp.dts create mode 100644 kera-ese-oemvm-mtp.dts create mode 100644 kera-ese-oemvm-rcm.dts create mode 100644 kera-ese-qrd-wcn7750-ufs2.dts create mode 100644 kera-ese-qrd-wcn7750-ufs3.dts create mode 100644 kera-ese-qrd.dts create mode 100644 kera-ese-rcm-qca6750-ufs2.dts create mode 100644 kera-ese-rcm-qca6750-ufs3.dts create mode 100644 kera-ese-rcm-wcn7750-ufs2.dts create mode 100644 kera-ese-rcm-wcn7750-ufs3.dts create mode 100644 kera-ese-rcm-wcn7750-ufs4.dts create mode 100644 kera-ese-rcm.dts diff --git a/Kbuild b/Kbuild index cba6dc19..351dfbea 100644 --- a/Kbuild +++ b/Kbuild @@ -26,6 +26,31 @@ dtbo-y += tuna-ese-oemvm-mtp-kiwi.dtbo dtbo-y += tuna-ese-oemvm-rcm-kiwi.dtbo endif +ifeq ($(CONFIG_ARCH_KERA),y) +dtbo-y += kera-ese-atp.dtbo +dtbo-y += kera-ese-cdp-qca6750-ufs2.dtbo +dtbo-y += kera-ese-cdp-qca6750-ufs3.dtbo +dtbo-y += kera-ese-cdp-qca6750-ufs4.dtbo +dtbo-y += kera-ese-cdp.dtbo +dtbo-y += kera-ese-mtp-qca6750-qmp1000.dtbo +dtbo-y += kera-ese-mtp-qca6750.dtbo +dtbo-y += kera-ese-mtp-wcn7750-qmp1000.dtbo +dtbo-y += kera-ese-mtp-wcn7750-ufs3.dtbo +dtbo-y += kera-ese-mtp-wcn7750-ufs4.dtbo +dtbo-y += kera-ese-mtp.dtbo +dtbo-y += kera-ese-oemvm-mtp.dtbo +dtbo-y += kera-ese-oemvm-rcm.dtbo +dtbo-y += kera-ese-qrd-wcn7750-ufs2.dtbo +dtbo-y += kera-ese-qrd-wcn7750-ufs3.dtbo +dtbo-y += kera-ese-qrd.dtbo +dtbo-y += kera-ese-rcm-qca6750-ufs2.dtbo +dtbo-y += kera-ese-rcm-qca6750-ufs3.dtbo +dtbo-y += kera-ese-rcm-wcn7750-ufs2.dtbo +dtbo-y += kera-ese-rcm-wcn7750-ufs3.dtbo +dtbo-y += kera-ese-rcm-wcn7750-ufs4.dtbo +dtbo-y += kera-ese-rcm.dtbo +endif + always-y := $(dtb-y) $(dtbo-y) subdir-y := $(dts-dirs) clean-files := *.dtb *.dtbo diff --git a/kera-ese-atp.dts b/kera-ese-atp.dts new file mode 100644 index 00000000..3b10660b --- /dev/null +++ b/kera-ese-atp.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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera ATP"; + compatible = "qcom,kera-atp", "qcom,kera", "qcom,kerap-atp", "qcom,kerap", + "qcom,atp"; + + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <33 0>; +}; diff --git a/kera-ese-cdp-qca6750-ufs2.dts b/kera-ese-cdp-qca6750-ufs2.dts new file mode 100644 index 00000000..901d3649 --- /dev/null +++ b/kera-ese-cdp-qca6750-ufs2.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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera CDP + QCA6750 + UFS2.0"; + compatible = "qcom,kera-cdp", "qcom,kera", "qcom,kerap-cdp", "qcom,kerap", + "qcom,cdp"; + + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <0x30001 0>; +}; diff --git a/kera-ese-cdp-qca6750-ufs3.dts b/kera-ese-cdp-qca6750-ufs3.dts new file mode 100644 index 00000000..3b46b570 --- /dev/null +++ b/kera-ese-cdp-qca6750-ufs3.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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera CDP + QCA6750 + UFS3.0"; + compatible = "qcom,kera-cdp", "qcom,kera", "qcom,kerap-cdp", "qcom,kerap", + "qcom,cdp"; + + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <0x20001 0>; +}; diff --git a/kera-ese-cdp-qca6750-ufs4.dts b/kera-ese-cdp-qca6750-ufs4.dts new file mode 100644 index 00000000..a97cdd99 --- /dev/null +++ b/kera-ese-cdp-qca6750-ufs4.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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera CDP + QCA6750 + UFS4.0"; + compatible = "qcom,kera-cdp", "qcom,kera", "qcom,kerap-cdp", "qcom,kerap", + "qcom,cdp"; + + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <0x40001 0>; +}; diff --git a/kera-ese-cdp.dts b/kera-ese-cdp.dts new file mode 100644 index 00000000..9e4d8148 --- /dev/null +++ b/kera-ese-cdp.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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera CDP"; + compatible = "qcom,kera-cdp", "qcom,kera", "qcom,kerap-cdp", "qcom,kerap", + "qcom,cdp"; + + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <0x10001 0>; +}; diff --git a/kera-ese-common.dtsi b/kera-ese-common.dtsi new file mode 100644 index 00000000..d4a12e52 --- /dev/null +++ b/kera-ese-common.dtsi @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +&soc { + st54spi_gpio { + status = "ok"; + compatible = "st,st54spi_gpio"; + /* gpio used as SE_nRESET */ + gpio-power_nreset = <&tlmm 117 0x00>; + }; +}; diff --git a/kera-ese-mtp-qca6750-qmp1000.dts b/kera-ese-mtp-qca6750-qmp1000.dts new file mode 100644 index 00000000..c793ef42 --- /dev/null +++ b/kera-ese-mtp-qca6750-qmp1000.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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera MTP + QCA6750 + QMP1000"; + compatible = "qcom,kera-mtp", "qcom,kera", "qcom,kerap-mtp", "qcom,kerap", + "qcom,mtp"; + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <0x30008 0>; +}; diff --git a/kera-ese-mtp-qca6750.dts b/kera-ese-mtp-qca6750.dts new file mode 100644 index 00000000..3fc83680 --- /dev/null +++ b/kera-ese-mtp-qca6750.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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera MTP + QCA6750"; + compatible = "qcom,kera-mtp", "qcom,kera", "qcom,kerap-mtp", "qcom,kerap", + "qcom,mtp"; + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <0x20008 0>; +}; diff --git a/kera-ese-mtp-wcn7750-qmp1000.dts b/kera-ese-mtp-wcn7750-qmp1000.dts new file mode 100644 index 00000000..066003f5 --- /dev/null +++ b/kera-ese-mtp-wcn7750-qmp1000.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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera MTP + WCN7750 + QMP1000"; + compatible = "qcom,kera-mtp", "qcom,kera", "qcom,kerap-mtp", "qcom,kerap", + "qcom,mtp"; + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <0x30008 1>; +}; diff --git a/kera-ese-mtp-wcn7750-ufs3.dts b/kera-ese-mtp-wcn7750-ufs3.dts new file mode 100644 index 00000000..388a55f2 --- /dev/null +++ b/kera-ese-mtp-wcn7750-ufs3.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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera MTP + WCN7750 + UFS3.0"; + compatible = "qcom,kera-mtp", "qcom,kera", "qcom,kerap-mtp", "qcom,kerap", + "qcom,mtp"; + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <0x20008 1>; +}; diff --git a/kera-ese-mtp-wcn7750-ufs4.dts b/kera-ese-mtp-wcn7750-ufs4.dts new file mode 100644 index 00000000..7187b717 --- /dev/null +++ b/kera-ese-mtp-wcn7750-ufs4.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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera MTP + WCN7750 + UFS4.0"; + compatible = "qcom,kera-mtp", "qcom,kera", "qcom,kerap-mtp", "qcom,kerap", + "qcom,mtp"; + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <0x10008 1>; +}; + diff --git a/kera-ese-mtp.dts b/kera-ese-mtp.dts new file mode 100644 index 00000000..97474ba2 --- /dev/null +++ b/kera-ese-mtp.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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera MTP"; + compatible = "qcom,kera-mtp", "qcom,kera", "qcom,kerap-mtp", "qcom,kerap", + "qcom,mtp"; + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <0x10008 0>; +}; diff --git a/kera-ese-oemvm-mtp.dts b/kera-ese-oemvm-mtp.dts new file mode 100644 index 00000000..b090e369 --- /dev/null +++ b/kera-ese-oemvm-mtp.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; +/plugin/; + +#include "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera OEMVM MTP"; + compatible = "qcom,kera-mtp", "qcom,kera", "qcom,kerap-mtp", "qcom,kerap", + "qcom,mtp"; + qcom,board-id = <0x10008 0>, <0x10008 1>, <0x20008 0>, <0x20008 1>, <0x30008 0>, <0x30008 1>; +}; diff --git a/kera-ese-oemvm-rcm.dts b/kera-ese-oemvm-rcm.dts new file mode 100644 index 00000000..0f9e5a27 --- /dev/null +++ b/kera-ese-oemvm-rcm.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; +/plugin/; + +#include "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera OEMVM RCM"; + compatible = "qcom,kera-rcm", "qcom,kera", "qcom,kerap-rcm", "qcom,kerap", + "qcom,rcm"; + qcom,board-id = <0x10015 0>, <0x10015 1>, <0x20015 0>, <0x20015 1>, <0x30015 0>, <0x30015 1>; +}; diff --git a/kera-ese-qrd-wcn7750-ufs2.dts b/kera-ese-qrd-wcn7750-ufs2.dts new file mode 100644 index 00000000..1ddcde3d --- /dev/null +++ b/kera-ese-qrd-wcn7750-ufs2.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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera QRD"; + compatible = "qcom,kera-qrd", "qcom,kera", "qcom,kerap-qrd", "qcom,kerap", + "qcom,qrd"; + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <0x3000B 0>; +}; diff --git a/kera-ese-qrd-wcn7750-ufs3.dts b/kera-ese-qrd-wcn7750-ufs3.dts new file mode 100644 index 00000000..474e01ea --- /dev/null +++ b/kera-ese-qrd-wcn7750-ufs3.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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera QRD + WCN7750 + UFS3.0"; + compatible = "qcom,kera-qrd", "qcom,kera", "qcom,kerap-qrd", "qcom,kerap", + "qcom,qrd"; + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <0x2000B 0>; +}; diff --git a/kera-ese-qrd.dts b/kera-ese-qrd.dts new file mode 100644 index 00000000..1ba51a68 --- /dev/null +++ b/kera-ese-qrd.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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera QRD"; + compatible = "qcom,kera-qrd", "qcom,kera", "qcom,kerap-qrd", "qcom,kerap", + "qcom,qrd"; + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <0x1000B 0>; +}; diff --git a/kera-ese-rcm-qca6750-ufs2.dts b/kera-ese-rcm-qca6750-ufs2.dts new file mode 100644 index 00000000..5c45124e --- /dev/null +++ b/kera-ese-rcm-qca6750-ufs2.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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera RCM + QCA6750 + UFS2.0"; + compatible = "qcom,kera-rcm", "qcom,kera", "qcom,kerap-rcm", "qcom,kerap", + "qcom,rcm"; + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <0x30015 0>; +}; diff --git a/kera-ese-rcm-qca6750-ufs3.dts b/kera-ese-rcm-qca6750-ufs3.dts new file mode 100644 index 00000000..87a1720a --- /dev/null +++ b/kera-ese-rcm-qca6750-ufs3.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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera RCM + QCA6750 + UFS3.0"; + compatible = "qcom,kera-rcm", "qcom,kera", "qcom,kerap-rcm", "qcom,kerap", + "qcom,rcm"; + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <0x20015 0>; +}; diff --git a/kera-ese-rcm-wcn7750-ufs2.dts b/kera-ese-rcm-wcn7750-ufs2.dts new file mode 100644 index 00000000..abec6f9b --- /dev/null +++ b/kera-ese-rcm-wcn7750-ufs2.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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera RCM + WCN7750 + UFS2.0"; + compatible = "qcom,kera-rcm", "qcom,kera", "qcom,kerap-rcm", "qcom,kerap", + "qcom,rcm"; + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <0x30015 1>; +}; diff --git a/kera-ese-rcm-wcn7750-ufs3.dts b/kera-ese-rcm-wcn7750-ufs3.dts new file mode 100644 index 00000000..e96c11bf --- /dev/null +++ b/kera-ese-rcm-wcn7750-ufs3.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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. KERA RCM + WCN7750 + UFS3.0"; + compatible = "qcom,kera-rcm", "qcom,kera", "qcom,kerap-rcm", "qcom,kerap", + "qcom,rcm"; + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <0x20015 1>; +}; diff --git a/kera-ese-rcm-wcn7750-ufs4.dts b/kera-ese-rcm-wcn7750-ufs4.dts new file mode 100644 index 00000000..befb90e6 --- /dev/null +++ b/kera-ese-rcm-wcn7750-ufs4.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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera RCM + WCN7750 + UFS4.0"; + compatible = "qcom,kera-rcm", "qcom,kera", "qcom,kerap-rcm", "qcom,kerap", + "qcom,rcm"; + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <0x10015 1>; +}; diff --git a/kera-ese-rcm.dts b/kera-ese-rcm.dts new file mode 100644 index 00000000..fd05e13f --- /dev/null +++ b/kera-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 "kera-ese-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. Kera RCM"; + compatible = "qcom,kera-rcm", "qcom,kera", "qcom,kerap-rcm", "qcom,kerap", + "qcom,rcm"; + qcom,msm-id = <686 0x10000>, <659 0x10000>; + qcom,board-id = <0x10015 0>; +}; From 87ac15179856ec5139e84913d34ce9027a4f2345 Mon Sep 17 00:00:00 2001 From: Akhil Budampati Date: Fri, 22 Nov 2024 16:15:21 +0530 Subject: [PATCH 3/3] eSE-devicetree: Resolving compilation failures for tuna As eSE is present in multiple tuna boards, added the board and msm id's for all the revellant tuna boards. Change-Id: I97689ed94861ae890ec23eec1f9a0c6d19ea3dce --- tuna-ese-cdp.dts | 2 +- tuna-ese-mtp-kiwi-overlay.dts | 2 +- tuna-ese-mtp-qmp1000-overlay.dts | 2 +- tuna-ese-mtp.dts | 2 +- tuna-ese-oemvm-mtp-kiwi.dts | 1 + tuna-ese-oemvm-rcm-kiwi.dts | 1 + tuna-ese-qrd.dts | 2 +- tuna-ese-rcm-kiwi-overlay.dts | 2 +- 8 files changed, 8 insertions(+), 6 deletions(-) diff --git a/tuna-ese-cdp.dts b/tuna-ese-cdp.dts index 5a526396..1600660f 100644 --- a/tuna-ese-cdp.dts +++ b/tuna-ese-cdp.dts @@ -13,6 +13,6 @@ compatible = "qcom,tuna-cdp", "qcom,tuna", "qcom,tunap-cdp", "qcom,tunap", "qcom,cdp"; - qcom,msm-id = <681 0x10000>, <655 0x10000>; + qcom,msm-id = <681 0x10000>, <655 0x10000>, <694 0x10000>; qcom,board-id = <1 0>; }; diff --git a/tuna-ese-mtp-kiwi-overlay.dts b/tuna-ese-mtp-kiwi-overlay.dts index 5739bedf..d8049440 100644 --- a/tuna-ese-mtp-kiwi-overlay.dts +++ b/tuna-ese-mtp-kiwi-overlay.dts @@ -12,6 +12,6 @@ model = "Qualcomm Technologies, Inc. Tuna MTP + kiwi WLAN"; compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap", "qcom,mtp"; - qcom,msm-id = <681 0x10000>, <655 0x10000>; + qcom,msm-id = <681 0x10000>, <655 0x10000>, <694 0x10000>; qcom,board-id = <8 2>; }; diff --git a/tuna-ese-mtp-qmp1000-overlay.dts b/tuna-ese-mtp-qmp1000-overlay.dts index 4c77d4a7..da03ac74 100644 --- a/tuna-ese-mtp-qmp1000-overlay.dts +++ b/tuna-ese-mtp-qmp1000-overlay.dts @@ -12,6 +12,6 @@ model = "Qualcomm Technologies, Inc. Tuna MTP QMP1000"; compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap", "qcom,mtp"; - qcom,msm-id = <681 0x10000>, <655 0x10000>; + qcom,msm-id = <681 0x10000>, <655 0x10000>, <694 0x10000>; qcom,board-id = <8 1>; }; diff --git a/tuna-ese-mtp.dts b/tuna-ese-mtp.dts index 846f1af9..eb61fa85 100644 --- a/tuna-ese-mtp.dts +++ b/tuna-ese-mtp.dts @@ -12,6 +12,6 @@ model = "Qualcomm Technologies, Inc. Tuna MTP"; compatible = "qcom,tuna-mtp", "qcom,tuna", "qcom,tunap-mtp", "qcom,tunap", "qcom,mtp"; - qcom,msm-id = <681 0x10000>, <655 0x10000>; + qcom,msm-id = <681 0x10000>, <655 0x10000>, <694 0x10000>; qcom,board-id = <8 0>; }; diff --git a/tuna-ese-oemvm-mtp-kiwi.dts b/tuna-ese-oemvm-mtp-kiwi.dts index bee3c533..f93ff046 100644 --- a/tuna-ese-oemvm-mtp-kiwi.dts +++ b/tuna-ese-oemvm-mtp-kiwi.dts @@ -4,6 +4,7 @@ */ /dts-v1/; +/plugin/; #include "tuna-ese-common.dtsi" diff --git a/tuna-ese-oemvm-rcm-kiwi.dts b/tuna-ese-oemvm-rcm-kiwi.dts index 6e76a031..62ba6cd0 100644 --- a/tuna-ese-oemvm-rcm-kiwi.dts +++ b/tuna-ese-oemvm-rcm-kiwi.dts @@ -4,6 +4,7 @@ */ /dts-v1/; +/plugin/; #include "tuna-ese-common.dtsi" diff --git a/tuna-ese-qrd.dts b/tuna-ese-qrd.dts index a562ed96..eed37258 100644 --- a/tuna-ese-qrd.dts +++ b/tuna-ese-qrd.dts @@ -12,6 +12,6 @@ model = "Qualcomm Technologies, Inc. Tuna QRD"; compatible = "qcom,tuna-qrd", "qcom,tuna", "qcom,tunap-qrd", "qcom,tunap", "qcom,qrd"; - qcom,msm-id = <681 0x10000>, <655 0x10000>; + qcom,msm-id = <681 0x10000>, <655 0x10000>, <694 0x10000>; qcom,board-id = <11 0>; }; diff --git a/tuna-ese-rcm-kiwi-overlay.dts b/tuna-ese-rcm-kiwi-overlay.dts index afe90060..921f0c48 100644 --- a/tuna-ese-rcm-kiwi-overlay.dts +++ b/tuna-ese-rcm-kiwi-overlay.dts @@ -12,6 +12,6 @@ model = "Qualcomm Technologies, Inc. Tuna RCM + kiwi WLAN"; compatible = "qcom,tuna-rcm", "qcom,tuna", "qcom,tunap-rcm", "qcom,tunap", "qcom,rcm"; - qcom,msm-id = <681 0x10000>, <655 0x10000>; + qcom,msm-id = <681 0x10000>, <655 0x10000>, <694 0x10000>; qcom,board-id = <21 1>; };