devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] imx8mp: add support for the IMX AIPSTZ bridge
@ 2025-02-21 19:19 Laurentiu Mihalcea
  2025-02-21 19:19 ` [PATCH 1/5] dt-bindings: bus: add documentation " Laurentiu Mihalcea
                   ` (4 more replies)
  0 siblings, 5 replies; 25+ messages in thread
From: Laurentiu Mihalcea @ 2025-02-21 19:19 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Fabio Estevam, Daniel Baluta, Shengjiu Wang
  Cc: Pengutronix Kernel Team, devicetree, imx, linux-arm-kernel,
	linux-kernel

From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>

The AIPSTZ bridge offers some security-related configurations which can
be used to restrict master access to certain peripherals on the bridge.

Normally, this could be done from a secure environment such as ATF before
Linux boots but the configuration of AIPSTZ5 is lost each time the power
domain is powered off and then powered on. Because of this, it has to be
configured each time the power domain is turned on and before any master
tries to access the peripherals (e.g: AP, CM7, DSP, on i.MX8MP).

The child-parent relationship between the bridge and its peripherals
should guarantee that the bridge is configured before the AP attempts
to access the IPs.

Other masters should use the 'access-controllers' property to enforce
a dependency between their device and the bridge device (see the DSP,
for example).

At the moment, we only want to apply a default, more relaxed
configuration, which is why the number of access controller cells
is 0.

The initial version of the series can be found at [1]. The new version
should provide better management of the device dependencies.

[1]: https://lore.kernel.org/linux-arm-kernel/20241119130726.2761726-1-daniel.baluta@nxp.com/


Laurentiu Mihalcea (5):
  dt-bindings: bus: add documentation for the IMX AIPSTZ bridge
  dt-bindings: dsp: fsl,dsp: document 'access-controllers' property
  bus: add driver for IMX AIPSTZ bridge
  arm64: dts: imx8mp: convert 'aips5' to 'aipstz5'
  arm64: dts: imx8mp: make 'dsp' node depend on 'aips5'

 .../bindings/bus/fsl,imx8mp-aipstz.yaml       | 62 +++++++++++++
 .../devicetree/bindings/dsp/fsl,dsp.yaml      |  3 +
 arch/arm64/boot/dts/freescale/imx8mp.dtsi     |  9 +-
 drivers/bus/Kconfig                           |  6 ++
 drivers/bus/Makefile                          |  1 +
 drivers/bus/imx-aipstz.c                      | 92 +++++++++++++++++++
 6 files changed, 170 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/bus/fsl,imx8mp-aipstz.yaml
 create mode 100644 drivers/bus/imx-aipstz.c

-- 
2.34.1


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2025-03-11 12:05 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-21 19:19 [PATCH 0/5] imx8mp: add support for the IMX AIPSTZ bridge Laurentiu Mihalcea
2025-02-21 19:19 ` [PATCH 1/5] dt-bindings: bus: add documentation " Laurentiu Mihalcea
2025-02-21 19:35   ` Frank Li
2025-02-23 11:50   ` Krzysztof Kozlowski
2025-02-21 19:19 ` [PATCH 2/5] dt-bindings: dsp: fsl,dsp: document 'access-controllers' property Laurentiu Mihalcea
2025-02-21 19:37   ` Frank Li
2025-02-24 17:35   ` Rob Herring (Arm)
2025-02-21 19:19 ` [PATCH 3/5] bus: add driver for IMX AIPSTZ bridge Laurentiu Mihalcea
2025-02-21 19:44   ` Frank Li
2025-02-24  7:55   ` Marco Felsch
2025-02-24 10:07     ` Mihalcea Laurentiu
2025-02-21 19:19 ` [PATCH 4/5] arm64: dts: imx8mp: convert 'aips5' to 'aipstz5' Laurentiu Mihalcea
2025-02-21 19:56   ` Frank Li
2025-02-25 14:14     ` Mihalcea Laurentiu
2025-02-25 16:16       ` Frank Li
2025-02-27 10:57       ` Marc Kleine-Budde
2025-02-27 16:45         ` Frank Li
2025-02-28  8:11           ` Marc Kleine-Budde
2025-02-28 10:19           ` Marco Felsch
2025-03-04 16:11             ` Laurentiu Mihalcea
2025-03-07 15:22               ` Marco Felsch
2025-03-10 20:24                 ` Laurentiu Mihalcea
2025-03-11 12:05                   ` Marco Felsch
2025-02-21 19:19 ` [PATCH 5/5] arm64: dts: imx8mp: make 'dsp' node depend on 'aips5' Laurentiu Mihalcea
2025-02-21 19:59   ` Frank Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).