SDM670 shared memory and socinfo
cover SDM670 shared memory and socinfo
This adds the smem region to the SDM670 device tree and adds the SDM670 SoC ID to the socinfo driver. In addition to socinfo, the shared memory region is also used for SMP2P and the remote processors, but they are not added yet.
Richard Acayan (3):
dt-bindings: arm: qcom,ids: Add SoC ID for SDM670
soc: qcom: socinfo: Add SDM670 SoC ID table entry
arm64: dts: qcom: sdm670: add smem region
arch/arm64/boot/dts/qcom/sdm670.dtsi | 18 ++++++++++++++++++ drivers/soc/qcom/socinfo.c | 1 + include/dt-bindings/arm/qcom,ids.h | 1 + 3 files changed, 20 insertions(+)
Signature · 1 line
2.45.1
PATCH 1/3 dt-bindings: arm: qcom,ids: Add SoC ID for SDM670
The socinfo driver uses SoC IDs from the device tree bindings. Add the SoC ID for SDM670.
--- include/dt-bindings/arm/qcom,ids.h | 1 + 1 file changed, 1 insertion(+)
include/dt-bindings/arm/qcom,ids.h +1 -0
@@ -175,6 +175,7 @@#define QCOM_ID_SDA630 327#define QCOM_ID_MSM8905 331#define QCOM_ID_SDX202 333 +#define QCOM_ID_SDM670 336#define QCOM_ID_SDM450 338#define QCOM_ID_SM8150 339#define QCOM_ID_SDA845 341
Signature · 1 line
2.45.1
Re: [PATCH 1/3] dt-bindings: arm: qcom,ids: Add SoC ID for SDM670
Quoted 5 lines · Richard Acayan
The socinfo driver uses SoC IDs from the device tree bindings. Add the SoC ID for SDM670.
Signed-off-by Richard Acayan <[email protected]>---
Konrad
Re: [PATCH 1/3] dt-bindings: arm: qcom,ids: Add SoC ID for SDM670
In reply to Richard AcayanQuoted 8 lines · Richard Acayan
The socinfo driver uses SoC IDs from the device tree bindings. Add the SoC ID for SDM670.
Signed-off-by Richard Acayan <[email protected]>--- include/dt-bindings/arm/qcom,ids.h | 1 + 1 file changed, 1 insertion(+)
Best regards,
Krzysztof
PATCH 2/3 soc: qcom: socinfo: Add SDM670 SoC ID table entry
In reply to Richard AcayanThere is support for SDM670 already, but not recognized by the socinfo driver. Add the table entry so SDM670 can be found in sysfs.
--- drivers/soc/qcom/socinfo.c | 1 + 1 file changed, 1 insertion(+)
drivers/soc/qcom/socinfo.c +1 -0
@@ -347,6 +347,7 @@ static const struct soc_id soc_id[] = { { qcom_board_id(SDA630) }, { qcom_board_id(MSM8905) }, { qcom_board_id(SDX202) }, + { qcom_board_id(SDM670) }, { qcom_board_id(SDM450) }, { qcom_board_id(SM8150) }, { qcom_board_id(SDA845) },
Signature · 1 line
2.45.1
Re: [PATCH 2/3] soc: qcom: socinfo: Add SDM670 SoC ID table entry
Quoted 5 lines · Richard Acayan
There is support for SDM670 already, but not recognized by the socinfo driver. Add the table entry so SDM670 can be found in sysfs.
Signed-off-by Richard Acayan <[email protected]>---
Konrad
PATCH 3/3 arm64: dts: qcom: sdm670: add smem region
In reply to Richard AcayanThe shared memory region is used for information about the SoC and communication with remote processors. Add the smem region for SDM670.
--- arch/arm64/boot/dts/qcom/sdm670.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
arch/arm64/boot/dts/qcom/sdm670.dtsi +18 -0
@@ -509,6 +509,18 @@ aop_cmd_db_mem: aop-cmd-db-mem@85fe0000 { no-map; }; + smem@86000000 { + compatible = "qcom,smem"; + reg = <0 0x86000000 0 0x200000>; + no-map; + hwlocks = <&tcsr_mutex 3>; + }; + + tz_mem: tz@86200000 { + reg = <0 0x86200000 0 0x2d00000>; + no-map; + }; + camera_mem: camera-mem@8ab00000 { reg = <0 0x8ab00000 0 0x500000>; no-map;
@@ -1139,6 +1151,12 @@ mmss_noc: interconnect@1740000 { qcom,bcm-voters = <&apps_bcm_voter>; }; + tcsr_mutex: hwlock@1f40000 { + compatible = "qcom,tcsr-mutex"; + reg = <0 0x01f40000 0 0x20000>; + #hwlock-cells = <1>; + }; + tlmm: pinctrl@3400000 { compatible = "qcom,sdm670-tlmm"; reg = <0 0x03400000 0 0xc00000>;
Signature · 1 line
2.45.1
Re: (subset) [PATCH 0/3] SDM670 shared memory and socinfo
In reply to Richard AcayanQuoted 11 lines · Richard Acayan
This adds the smem region to the SDM670 device tree and adds the SDM670 SoC ID to the socinfo driver. In addition to socinfo, the shared memory region is also used for SMP2P and the remote processors, but they are not added yet.
Richard Acayan (3):
dt-bindings: arm: qcom,ids: Add SoC ID for SDM670
soc: qcom: socinfo: Add SDM670 SoC ID table entry
arm64: dts: qcom: sdm670: add smem region[...]
Applied, thanks!
[3/3] arm64: dts: qcom: sdm670: add smem region
commit: 265d9989df5012adc5bec8e894dff0572c195a0c
Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>
Re: (subset) [PATCH 0/3] SDM670 shared memory and socinfo
In reply to Richard AcayanQuoted 11 lines · Richard Acayan
This adds the smem region to the SDM670 device tree and adds the SDM670 SoC ID to the socinfo driver. In addition to socinfo, the shared memory region is also used for SMP2P and the remote processors, but they are not added yet.
Richard Acayan (3):
dt-bindings: arm: qcom,ids: Add SoC ID for SDM670
soc: qcom: socinfo: Add SDM670 SoC ID table entry
arm64: dts: qcom: sdm670: add smem region[...]
Applied, thanks!
[1/3] dt-bindings: arm: qcom,ids: Add SoC ID for SDM670
commit: 1866407831deb945a16c60c38246f28c2475b28a
[2/3] soc: qcom: socinfo: Add SDM670 SoC ID table entry
commit: 48e4da7919bea2f5c0e20b218385ffe8d5492ab2Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>