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

dt-bindings: mmc: convert sdhci-dove to JSON schema

Convert the sdhci-dove binding to JSON schema. The optional clocks
property was not in the original binding document but has been in the
dove.dtsi since commit 5b03df9ace68 ("ARM: dove: switch to DT clock
providers").

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20220419024611.1327525-5-chris.packham@alliedtelesis.co.nz
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Chris Packham and committed by
Ulf Hansson
a18f3e46 a778dbd9

+44 -14
+44
Documentation/devicetree/bindings/mmc/marvell,dove-sdhci.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/mmc/marvell,dove-sdhci.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Marvell sdhci-dove controller 8 + 9 + maintainers: 10 + - Adrian Hunter <adrian.hunter@intel.com> 11 + - Ulf Hansson <ulf.hansson@linaro.org> 12 + 13 + allOf: 14 + - $ref: mmc-controller.yaml# 15 + 16 + properties: 17 + compatible: 18 + const: marvell,dove-sdhci 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + interrupts: 24 + minItems: 1 25 + maxItems: 2 26 + 27 + clocks: 28 + maxItems: 1 29 + 30 + required: 31 + - compatible 32 + - reg 33 + - interrupts 34 + 35 + unevaluatedProperties: false 36 + 37 + examples: 38 + - | 39 + sdio0: mmc@92000 { 40 + compatible = "marvell,dove-sdhci"; 41 + reg = <0x92000 0x100>; 42 + interrupts = <35>; 43 + clocks = <&gate_clk 9>; 44 + };
-14
Documentation/devicetree/bindings/mmc/sdhci-dove.txt
··· 1 - * Marvell sdhci-dove controller 2 - 3 - This file documents differences between the core properties in mmc.txt 4 - and the properties used by the sdhci-pxav2 and sdhci-pxav3 drivers. 5 - 6 - - compatible: Should be "marvell,dove-sdhci". 7 - 8 - Example: 9 - 10 - sdio0: sdio@92000 { 11 - compatible = "marvell,dove-sdhci"; 12 - reg = <0x92000 0x100>; 13 - interrupts = <35>; 14 - };