lkml.org 
[lkml]   [2022]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH 0/7] Introduce STM32 system bus
Date
Document STM32 System Bus. This bus is intended to control firewall
access for the peripherals connected to it.

For every peripheral, the bus checks the firewall registers to see
if the peripheral is configured as non-secure. If the peripheral
is configured as secure, the node is marked populated, so the
device won't be probed.

This is useful as a firewall configuration sanity check and avoid
platform crashes in case peripherals are incorrectly configured.

The STM32 System Bus implements the feature-domain-controller
bindings. It is used by peripherals to reference a domain
controller, in this case the firewall feature domain.
The bus uses the ID referenced by the feature-domains property to
know where to look in the firewall to get the security configuration
for the peripheral. This allows a device tree description rather
than a hardcoded peripheral table in the bus driver.

On STM32MP13/15 platforms, the firewall bus is represented by the
ETZPC node, which is responsible for the securing / MCU isolating
the capable peripherals.

STM32MP13/15 device trees are updated in this series to implement
the bus. All peripherals that are securable or MCU isolation capable
by the ETZPC are connected to the bus.

Gatien Chevallier (6):
dt-bindings: bus: add STM32 System Bus
dt-bindings: bus: add STM32MP15 ETZPC firewall bus bindings
dt-bindings: bus: add STM32MP13 ETZPC firewall bus bindings
bus: stm32_sys_bus: add support for STM32MP15 and STM32MP13 system bus
ARM: dts: stm32: add ETZPC as a system bus for STM32MP15x boards
ARM: dts: stm32: add ETZPC as a system bus for STM32MP13x boards

Oleksii Moisieiev (1):
dt-bindings: Document common device controller bindings

.../devicetree/bindings/bus/st,sys-bus.yaml | 88 +
.../feature-domain-controller.yaml | 84 +
MAINTAINERS | 6 +
arch/arm/boot/dts/stm32mp131.dtsi | 242 +-
arch/arm/boot/dts/stm32mp151.dtsi | 2737 +++++++++--------
drivers/bus/Kconfig | 9 +
drivers/bus/Makefile | 1 +
drivers/bus/stm32_sys_bus.c | 180 ++
include/dt-bindings/bus/stm32mp13_sys_bus.h | 60 +
include/dt-bindings/bus/stm32mp15_sys_bus.h | 98 +
10 files changed, 2062 insertions(+), 1443 deletions(-)
create mode 100644 Documentation/devicetree/bindings/bus/st,sys-bus.yaml
create mode 100644 Documentation/devicetree/bindings/feature-controllers/feature-domain-controller.yaml
create mode 100644 drivers/bus/stm32_sys_bus.c
create mode 100644 include/dt-bindings/bus/stm32mp13_sys_bus.h
create mode 100644 include/dt-bindings/bus/stm32mp15_sys_bus.h

--
2.25.1

\
 
 \ /
  Last update: 2023-03-26 23:17    [W:0.154 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site