]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: net: qcom,ipa: Add sram property for describing IMEM slice
authorKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Mon, 2 Mar 2026 15:58:44 +0000 (16:58 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 4 Mar 2026 01:22:14 +0000 (17:22 -0800)
commitf5a598abfdd9dc73a9537b9628d4f26a3069c707
tree83f0b61696610ae54762fa576c2db974385db9ab
parentca4c7771a059fb2665fecc7d5954672d09475089
dt-bindings: net: qcom,ipa: Add sram property for describing IMEM slice

The IPA driver currently grabs a slice of IMEM through hardcoded
addresses. Not only is that ugly and against the principles of DT,
but it also creates a situation where two distinct platforms
implementing the same version of IPA would need to be hardcoded
together and matched at runtime.

Instead, do the sane thing and accept a handle to said region directly.

Don't make it required on purpose, as it's not there on ancient
implementations (currently unsupported) and we're not yet done with
filling the data across al DTs.

Reviewed-by: Alex Elder <elder@riscstar.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://patch.msgid.link/20260302-topic-ipa_imem-v6-2-c0ebbf3eae9f@oss.qualcomm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/qcom,ipa.yaml