From 2bf79d8c1a1e953aa80bd13a9e9077666d0f91b2 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Sun, 1 May 2022 18:52:16 +0530 Subject: [PATCH] documentation: Add DT binding document for Tegra KFuse Add Device Tree binding document for the Tegra KFuse Bug 3625675 Change-Id: I8bc4fd3b1353d4ae8ca253e9aeed9d0116d8af93 Signed-off-by: Laxman Dewangan Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2705642 GVS: Gerrit_Virtual_Submit --- .../bindings/soc/nvidia/tegra/kfuse.yaml | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/nvidia/tegra/kfuse.yaml diff --git a/Documentation/devicetree/bindings/soc/nvidia/tegra/kfuse.yaml b/Documentation/devicetree/bindings/soc/nvidia/tegra/kfuse.yaml new file mode 100644 index 00000000..2b13cbe8 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/nvidia/tegra/kfuse.yaml @@ -0,0 +1,59 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/nvidia/tegra/kfuse.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Device tree binding for NVIDIA Tegra KFUSE + +maintainers: + - Laxman Dewangan + +description: | + The kfuse block stores downstream and upstream HDCP keys for use by the HDMI module. + +properties: + compatible: + enum: + - nvidia,tegra194-kfuse + - nvidia,tegra186-kfuse + - nvidia,tegra210-kfuse + - nvidia,tegra124-kfuse + + reg: + maxItems: 1 + description: | + Physical base address and length of registers for Kfuse HW. + + clocks: + maxItems: 1 + description: | + Specifies the kfuse hw ref clock. + + clock-names: + description: | + Specifies the name kfuse hw ref clock. Valid name is "kfuse". + +required: + - compatible + - reg + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #define TEGRA194_CLK_KFUSE 70U + soc { + #address-cells = <2>; + #size-cells = <2>; + + kfuse@3830000 { + compatible = "nvidia,tegra194-kfuse"; + reg = <0x0 0x3830000 0x0 0x10000>; + clocks = <&bpmp_clks TEGRA194_CLK_KFUSE>; + clock-names = "kfuse"; + }; + }; +...