Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: crypto: Convert stm32 CRC bindings to json-schema

Convert the STM32 CRC binding to DT schema format using json-schema

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Benjamin Gaignard and committed by
Rob Herring
30f78c33 56fb34d8

+38 -16
-16
Documentation/devicetree/bindings/crypto/st,stm32-crc.txt
··· 1 - * STMicroelectronics STM32 CRC 2 - 3 - Required properties: 4 - - compatible: Should be "st,stm32f7-crc". 5 - - reg: The address and length of the peripheral registers space 6 - - clocks: The input clock of the CRC instance 7 - 8 - Optional properties: none 9 - 10 - Example: 11 - 12 - crc: crc@40023000 { 13 - compatible = "st,stm32f7-crc"; 14 - reg = <0x40023000 0x400>; 15 - clocks = <&rcc 0 12>; 16 - };
+38
Documentation/devicetree/bindings/crypto/st,stm32-crc.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/crypto/st,stm32-crc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: STMicroelectronics STM32 CRC bindings 8 + 9 + maintainers: 10 + - Lionel Debieve <lionel.debieve@st.com> 11 + 12 + properties: 13 + compatible: 14 + const: st,stm32f7-crc 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + clocks: 20 + maxItems: 1 21 + 22 + required: 23 + - compatible 24 + - reg 25 + - clocks 26 + 27 + additionalProperties: false 28 + 29 + examples: 30 + - | 31 + #include <dt-bindings/clock/stm32mp1-clks.h> 32 + crc@40023000 { 33 + compatible = "st,stm32f7-crc"; 34 + reg = <0x40023000 0x400>; 35 + clocks = <&rcc 0 12>; 36 + }; 37 + 38 + ...