]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dt-bindings: remoteproc: mediatek: Make l1tcm reg exclusive to mt819x
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Wed, 11 May 2022 19:54:51 +0000 (15:54 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jun 2022 16:41:17 +0000 (18:41 +0200)
commit1530186c83196876e44535192120f5ce6541f6cf
tree6c49de65c21ba0b0fe4f65bbace01d80853dd5d5
parentb96e96ead6e74b2e87ebfc461957fc899599a558
dt-bindings: remoteproc: mediatek: Make l1tcm reg exclusive to mt819x

[ Upstream commit 6bbe1065121b8cd3b3e734ef8cd99f142bdab241 ]

Commit ca23ecfdbd44 ("remoteproc/mediatek: support L1TCM") added support
for the l1tcm memory region on the MT8192 SCP, adding a new da_to_va
callback that handles l1tcm while keeping the old one for
back-compatibility with MT8183. However, since the mt8192 compatible was
missing from the dt-binding, the accompanying dt-binding commit
503c64cc42f1 ("dt-bindings: remoteproc: mediatek: add L1TCM memory region")
mistakenly added this reg as if it were for mt8183. And later
it became common to all platforms as their compatibles were added.

Fix the dt-binding so that the l1tcm reg can be present only on the
supported platforms: mt8192 and mt8195.

Fixes: 503c64cc42f1 ("dt-bindings: remoteproc: mediatek: add L1TCM memory region")
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220511195452.871897-2-nfraprado@collabora.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml