* [PATCH v2 0/2] Describe IMEM on Milos
@ 2026-04-07 15:11 Luca Weiss
2026-04-07 15:11 ` [PATCH v2 1/2] dt-bindings: sram: Document qcom,milos-imem Luca Weiss
2026-04-07 15:11 ` [PATCH v2 2/2] arm64: dts: qcom: milos: Add IMEM node Luca Weiss
0 siblings, 2 replies; 8+ messages in thread
From: Luca Weiss @ 2026-04-07 15:11 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio
Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm, devicetree,
linux-kernel, Luca Weiss
Add a compatible and describe the IMEM for the Milos SoC.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
Changes in v2:
- Use mmio-sram for describing IMEM
- Link to v1: https://patch.msgid.link/20260403-milos-imem-v1-0-4244ebb47017@fairphone.com
---
Luca Weiss (2):
dt-bindings: sram: Document qcom,milos-imem
arm64: dts: qcom: milos: Add IMEM node
Documentation/devicetree/bindings/sram/sram.yaml | 1 +
arch/arm64/boot/dts/qcom/milos.dtsi | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+)
---
base-commit: 83acad05dee54a5cff0c98dd7962e55d4c6b145a
change-id: 20260403-milos-imem-3a034224946a
Best regards,
--
Luca Weiss <luca.weiss@fairphone.com>
^ permalink raw reply [flat|nested] 8+ messages in thread* [PATCH v2 1/2] dt-bindings: sram: Document qcom,milos-imem
2026-04-07 15:11 [PATCH v2 0/2] Describe IMEM on Milos Luca Weiss
@ 2026-04-07 15:11 ` Luca Weiss
2026-04-08 7:33 ` Krzysztof Kozlowski
2026-04-07 15:11 ` [PATCH v2 2/2] arm64: dts: qcom: milos: Add IMEM node Luca Weiss
1 sibling, 1 reply; 8+ messages in thread
From: Luca Weiss @ 2026-04-07 15:11 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio
Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm, devicetree,
linux-kernel, Luca Weiss
Add compatible for Milos SoC IMEM.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
Documentation/devicetree/bindings/sram/sram.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/sram/sram.yaml b/Documentation/devicetree/bindings/sram/sram.yaml
index c451140962c8..cb2e11c73d98 100644
--- a/Documentation/devicetree/bindings/sram/sram.yaml
+++ b/Documentation/devicetree/bindings/sram/sram.yaml
@@ -35,6 +35,7 @@ properties:
- nvidia,tegra194-sysram
- nvidia,tegra234-sysram
- qcom,kaanapali-imem
+ - qcom,milos-imem
- qcom,rpm-msg-ram
- rockchip,rk3288-pmu-sram
--
2.53.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [PATCH v2 1/2] dt-bindings: sram: Document qcom,milos-imem
2026-04-07 15:11 ` [PATCH v2 1/2] dt-bindings: sram: Document qcom,milos-imem Luca Weiss
@ 2026-04-08 7:33 ` Krzysztof Kozlowski
0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2026-04-08 7:33 UTC (permalink / raw)
To: Luca Weiss
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, ~postmarketos/upstreaming, phone-devel,
linux-arm-msm, devicetree, linux-kernel
On Tue, Apr 07, 2026 at 05:11:10PM +0200, Luca Weiss wrote:
> Add compatible for Milos SoC IMEM.
>
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
> ---
> Documentation/devicetree/bindings/sram/sram.yaml | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2 2/2] arm64: dts: qcom: milos: Add IMEM node
2026-04-07 15:11 [PATCH v2 0/2] Describe IMEM on Milos Luca Weiss
2026-04-07 15:11 ` [PATCH v2 1/2] dt-bindings: sram: Document qcom,milos-imem Luca Weiss
@ 2026-04-07 15:11 ` Luca Weiss
2026-04-08 7:34 ` Krzysztof Kozlowski
2026-04-08 13:26 ` Konrad Dybcio
1 sibling, 2 replies; 8+ messages in thread
From: Luca Weiss @ 2026-04-07 15:11 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio
Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm, devicetree,
linux-kernel, Luca Weiss
Add a node for the IMEM found on Milos, which contains pil-reloc-info
and the modem tables for IPA, among others.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
Not happy about the names of the subnodes. pil-reloc-sram is not allowed
it seems. Glymur calls it "pil-sram@94c", not sure this is wanted?
Please advice.
---
arch/arm64/boot/dts/qcom/milos.dtsi | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/milos.dtsi b/arch/arm64/boot/dts/qcom/milos.dtsi
index 4a64a98a434b..0c69d5810f5e 100644
--- a/arch/arm64/boot/dts/qcom/milos.dtsi
+++ b/arch/arm64/boot/dts/qcom/milos.dtsi
@@ -2289,6 +2289,26 @@ scl-pins {
};
};
+ sram@14680000 {
+ compatible = "qcom,milos-imem", "mmio-sram";
+ reg = <0x0 0x14680000 0x0 0x2c000>;
+ ranges = <0 0 0x14680000 0x2c000>;
+
+ no-memory-wc;
+
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ pilreloc-sram@94c {
+ compatible = "qcom,pil-reloc-info";
+ reg = <0x94c 0xc8>;
+ };
+
+ ipa_modem_tables: modemtables-sram@3000 {
+ reg = <0x3000 0x2000>;
+ };
+ };
+
apps_smmu: iommu@15000000 {
compatible = "qcom,milos-smmu-500", "qcom,smmu-500", "arm,mmu-500";
reg = <0x0 0x15000000 0x0 0x100000>;
--
2.53.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [PATCH v2 2/2] arm64: dts: qcom: milos: Add IMEM node
2026-04-07 15:11 ` [PATCH v2 2/2] arm64: dts: qcom: milos: Add IMEM node Luca Weiss
@ 2026-04-08 7:34 ` Krzysztof Kozlowski
2026-04-08 8:11 ` Luca Weiss
2026-04-08 13:26 ` Konrad Dybcio
1 sibling, 1 reply; 8+ messages in thread
From: Krzysztof Kozlowski @ 2026-04-08 7:34 UTC (permalink / raw)
To: Luca Weiss
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, ~postmarketos/upstreaming, phone-devel,
linux-arm-msm, devicetree, linux-kernel
On Tue, Apr 07, 2026 at 05:11:11PM +0200, Luca Weiss wrote:
> Add a node for the IMEM found on Milos, which contains pil-reloc-info
> and the modem tables for IPA, among others.
>
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
> ---
> Not happy about the names of the subnodes. pil-reloc-sram is not allowed
> it seems. Glymur calls it "pil-sram@94c", not sure this is wanted?
>
> Please advice.
> ---
> arch/arm64/boot/dts/qcom/milos.dtsi | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/milos.dtsi b/arch/arm64/boot/dts/qcom/milos.dtsi
> index 4a64a98a434b..0c69d5810f5e 100644
> --- a/arch/arm64/boot/dts/qcom/milos.dtsi
> +++ b/arch/arm64/boot/dts/qcom/milos.dtsi
> @@ -2289,6 +2289,26 @@ scl-pins {
> };
> };
>
> + sram@14680000 {
> + compatible = "qcom,milos-imem", "mmio-sram";
> + reg = <0x0 0x14680000 0x0 0x2c000>;
> + ranges = <0 0 0x14680000 0x2c000>;
Use hex here as well.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH v2 2/2] arm64: dts: qcom: milos: Add IMEM node
2026-04-08 7:34 ` Krzysztof Kozlowski
@ 2026-04-08 8:11 ` Luca Weiss
2026-04-08 8:36 ` Krzysztof Kozlowski
0 siblings, 1 reply; 8+ messages in thread
From: Luca Weiss @ 2026-04-08 8:11 UTC (permalink / raw)
To: Krzysztof Kozlowski, Luca Weiss
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, ~postmarketos/upstreaming, phone-devel,
linux-arm-msm, devicetree, linux-kernel
Hi Krzysztof,
On Wed Apr 8, 2026 at 9:34 AM CEST, Krzysztof Kozlowski wrote:
> On Tue, Apr 07, 2026 at 05:11:11PM +0200, Luca Weiss wrote:
>> Add a node for the IMEM found on Milos, which contains pil-reloc-info
>> and the modem tables for IPA, among others.
>>
>> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
>> ---
>> Not happy about the names of the subnodes. pil-reloc-sram is not allowed
>> it seems. Glymur calls it "pil-sram@94c", not sure this is wanted?
>>
>> Please advice.
>> ---
>> arch/arm64/boot/dts/qcom/milos.dtsi | 20 ++++++++++++++++++++
>> 1 file changed, 20 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/milos.dtsi b/arch/arm64/boot/dts/qcom/milos.dtsi
>> index 4a64a98a434b..0c69d5810f5e 100644
>> --- a/arch/arm64/boot/dts/qcom/milos.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/milos.dtsi
>> @@ -2289,6 +2289,26 @@ scl-pins {
>> };
>> };
>>
>> + sram@14680000 {
>> + compatible = "qcom,milos-imem", "mmio-sram";
>> + reg = <0x0 0x14680000 0x0 0x2c000>;
>> + ranges = <0 0 0x14680000 0x2c000>;
>
> Use hex here as well.
Will do: ranges = <0x0 0x0 0x14680000 0x2c000>;
Do you also have a comment around the name of the subnodes? Do you think
they're okay as-is, or should they be changed?
Regards
Luca
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH v2 2/2] arm64: dts: qcom: milos: Add IMEM node
2026-04-08 8:11 ` Luca Weiss
@ 2026-04-08 8:36 ` Krzysztof Kozlowski
0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2026-04-08 8:36 UTC (permalink / raw)
To: Luca Weiss
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, ~postmarketos/upstreaming, phone-devel,
linux-arm-msm, devicetree, linux-kernel
On 08/04/2026 10:11, Luca Weiss wrote:
>>> };
>>>
>>> + sram@14680000 {
>>> + compatible = "qcom,milos-imem", "mmio-sram";
>>> + reg = <0x0 0x14680000 0x0 0x2c000>;
>>> + ranges = <0 0 0x14680000 0x2c000>;
>>
>> Use hex here as well.
>
> Will do: ranges = <0x0 0x0 0x14680000 0x2c000>;
>
> Do you also have a comment around the name of the subnodes? Do you think
> they're okay as-is, or should they be changed?
I think they follow what the binding expects, so not much to discuss here :)
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 2/2] arm64: dts: qcom: milos: Add IMEM node
2026-04-07 15:11 ` [PATCH v2 2/2] arm64: dts: qcom: milos: Add IMEM node Luca Weiss
2026-04-08 7:34 ` Krzysztof Kozlowski
@ 2026-04-08 13:26 ` Konrad Dybcio
1 sibling, 0 replies; 8+ messages in thread
From: Konrad Dybcio @ 2026-04-08 13:26 UTC (permalink / raw)
To: Luca Weiss, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bjorn Andersson, Konrad Dybcio
Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm, devicetree,
linux-kernel
On 4/7/26 5:11 PM, Luca Weiss wrote:
> Add a node for the IMEM found on Milos, which contains pil-reloc-info
> and the modem tables for IPA, among others.
>
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
> ---
> Not happy about the names of the subnodes. pil-reloc-sram is not allowed
> it seems. Glymur calls it "pil-sram@94c", not sure this is wanted?
Not really.. I had a patch for that, I'll send it rn
Konrad
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-04-08 13:26 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-07 15:11 [PATCH v2 0/2] Describe IMEM on Milos Luca Weiss
2026-04-07 15:11 ` [PATCH v2 1/2] dt-bindings: sram: Document qcom,milos-imem Luca Weiss
2026-04-08 7:33 ` Krzysztof Kozlowski
2026-04-07 15:11 ` [PATCH v2 2/2] arm64: dts: qcom: milos: Add IMEM node Luca Weiss
2026-04-08 7:34 ` Krzysztof Kozlowski
2026-04-08 8:11 ` Luca Weiss
2026-04-08 8:36 ` Krzysztof Kozlowski
2026-04-08 13:26 ` Konrad Dybcio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox