dt-bindings: rng: mediatek: convert to yaml schema
PATCH v2 1/2 dt-bindings: rng: mediatek: convert to yaml schema
Convert the RNG binding for MediaTek to use YAML schema.
Signed-off-by Fabien Parent <[email protected]>
---
v2: Write the compatibles in a more compact way
.../devicetree/bindings/rng/mtk-rng.txt | 22 -------- .../devicetree/bindings/rng/mtk-rng.yaml | 53 +++++++++++++++++++ 2 files changed, 53 insertions(+), 22 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rng/mtk-rng.txt create mode 100644 Documentation/devicetree/bindings/rng/mtk-rng.yaml
Documentation/devicetree/bindings/rng/mtk-rng.txt deleted +0 -22
@@ -1,22 +0,0 @@ -Device-Tree bindings for Mediatek random number generator -found in MediaTek SoC family - -Required properties: -- compatible : Should be - "mediatek,mt7622-rng", "mediatek,mt7623-rng" : for MT7622 - "mediatek,mt7629-rng", "mediatek,mt7623-rng" : for MT7629 - "mediatek,mt7623-rng" : for MT7623 - "mediatek,mt8516-rng", "mediatek,mt7623-rng" : for MT8516 -- clocks : list of clock specifiers, corresponding to - entries in clock-names property; -- clock-names : Should contain "rng" entries; -- reg : Specifies base physical address and size of the registers - -Example: - -rng: rng@1020f000 { - compatible = "mediatek,mt7623-rng"; - reg = <0 0x1020f000 0 0x1000>; - clocks = <&infracfg CLK_INFRA_TRNG>; - clock-names = "rng"; -};
Documentation/devicetree/bindings/rng/mtk-rng.yaml new file +53 -0
53 lines not on this page · raw message
Signature · 7 lines
2.31.1 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH v2 2/2 dt-bindings: rng: mediatek: add mt8365 to mtk rng binding
Add RNG binding for MT8365 SoC.
Signed-off-by Fabien Parent <[email protected]>
---
v2: Write the compatible in a more compact way
Documentation/devicetree/bindings/rng/mtk-rng.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/rng/mtk-rng.yaml +1 -0
@@ -21,6 +21,7 @@ properties: - enum: - mediatek,mt7622-rng - mediatek,mt7629-rng + - mediatek,mt8365-rng - mediatek,mt8516-rng - const: mediatek,mt7623-rng
Signature · 7 lines
2.31.1 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH v2 2/2] dt-bindings: rng: mediatek: add mt8365 to mtk rng binding
Quoted 10 lines · Fabien Parent
Add RNG binding for MT8365 SoC.
Signed-off-by Fabien Parent <[email protected]>---
v2: Write the compatible in a more compact way
Documentation/devicetree/bindings/rng/mtk-rng.yaml | 1 + 1 file changed, 1 insertion(+)
Applied, thanks!
Quoted 5 lines · Fabien Parent
Convert the RNG binding for MediaTek to use YAML schema.
Signed-off-by Fabien Parent <[email protected]>---
Quoted 8 lines
v2: Write the compatibles in a more compact way
.../devicetree/bindings/rng/mtk-rng.txt | 22 -------- .../devicetree/bindings/rng/mtk-rng.yaml | 53 +++++++++++++++++++ 2 files changed, 53 insertions(+), 22 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rng/mtk-rng.txt create mode 100644 Documentation/devicetree/bindings/rng/mtk-rng.yaml
Applied, thanks!