Re: [PATCH v4 01/10] dt-bindings: soc: google: add google,gs101-dtzpc
From: Rob Herring <robh@kernel.org>
Date: 2026-01-29 16:55:32
Also in:
linux-devicetree, linux-pm, linux-samsung-soc, lkml
On Wed, Jan 28, 2026 at 04:10:50PM +0000, André Draszik wrote:
The Exynos Distributed TruztZone Protection Control (D_TZPC) provides an interface to the protection bits that are included in the TrustZone design in a secure system. It configures each area of the memory as secure or non-secure.
This sounds like what access-controllers binding is for. Does that work here?
quoted hunk ↗ jump to hunk
Signed-off-by: André Draszik <andre.draszik@linaro.org> --- .../bindings/soc/google/google,gs101-dtzpc.yaml | 42 ++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 43 insertions(+)diff --git a/Documentation/devicetree/bindings/soc/google/google,gs101-dtzpc.yaml b/Documentation/devicetree/bindings/soc/google/google,gs101-dtzpc.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a8c61ce069d6910c47753bf14a792eb58e6ae182 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/google/google,gs101-dtzpc.yaml@@ -0,0 +1,42 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/google/google,gs101-dtzpc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos Distributed TruztZone Protection Control. + +description: + Distributed TrustZone Protection Control (D_TZPC) provides an interface to the + protection bits that are included in the TrustZone design in a secure system. + It configures each area of the memory as secure or non-secure. + +maintainers: + - André Draszik <andre.draszik@linaro.org> + +properties: + compatible: + const: google,gs101-dtzpc + + clocks: + maxItems: 1 + + reg: + maxItems: 1 + +required: + - compatible + - clocks + - reg + +additionalProperties: false + +examples: + - | + #include <dt-bindings/clock/google,gs101.h> + + dtzpc_hsi0: dtzpc@11010000 { + compatible = "google,gs101-dtzpc"; + reg = <0x11010000 0x10000>; + clocks = <&cmu_hsi0 CLK_GOUT_HSI0_D_TZPC_HSI0_PCLK>; + };diff --git a/MAINTAINERS b/MAINTAINERS index a56f8f00aebb938aa765a8a6d66dfeb7f062dac8..98b2ef47c809ac0232e6941c9483b19d7c798bb4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS@@ -10833,6 +10833,7 @@ P: Documentation/process/maintainer-soc-clean-dts.rst C: irc://irc.oftc.net/pixel6-kernel-dev F: Documentation/devicetree/bindings/clock/google,gs101-clock.yaml F: Documentation/devicetree/bindings/phy/google,lga-usb-phy.yaml +F: Documentation/devicetree/bindings/soc/google/google,gs101-dtzpc.yaml F: Documentation/devicetree/bindings/soc/google/google,gs101-pmu-intr-gen.yaml F: Documentation/devicetree/bindings/usb/google,lga-dwc3.yaml F: arch/arm64/boot/dts/exynos/google/-- 2.52.0.457.g6b5491de43-goog