mirror of
https://github.com/torvalds/linux.git
synced 2026-04-27 19:12:29 -04:00
The Devicetree bindings document does not have to say in the title that
it is a "binding", but instead just describe the hardware.
Drop trailing "bindings" in various forms (also with trailing full
stop):
find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
-not -name 'trivial-devices.yaml' \
-exec sed -i -e 's/^title: \(.*\) [bB]indings\?\.\?$/title: \1/' {} \;
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Matti Vaittinen <mazziesaccount@gmail.com> # ROHM
Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # MMC
Acked-by: Stephen Boyd <sboyd@kernel.org> # clk
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> # input
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> # media
Acked-by: Sebastian Reichel <sre@kernel.org> # power
Acked-by: Viresh Kumar <viresh.kumar@linaro.org> # cpufreq
Link: https://lore.kernel.org/r/20221216163815.522628-7-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
68 lines
1.5 KiB
YAML
68 lines
1.5 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/mmc/microchip,dw-sparx5-sdhci.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Microchip Sparx5 Mobile Storage Host Controller
|
|
|
|
allOf:
|
|
- $ref: "mmc-controller.yaml"
|
|
|
|
maintainers:
|
|
- Lars Povlsen <lars.povlsen@microchip.com>
|
|
|
|
# Everything else is described in the common file
|
|
properties:
|
|
compatible:
|
|
const: microchip,dw-sparx5-sdhci
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
description:
|
|
Handle to "core" clock for the sdhci controller.
|
|
|
|
clock-names:
|
|
items:
|
|
- const: core
|
|
|
|
microchip,clock-delay:
|
|
description: Delay clock to card to meet setup time requirements.
|
|
Each step increase by 1.25ns.
|
|
$ref: "/schemas/types.yaml#/definitions/uint32"
|
|
minimum: 1
|
|
maximum: 15
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- clocks
|
|
- clock-names
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
#include <dt-bindings/clock/microchip,sparx5.h>
|
|
sdhci0: mmc@600800000 {
|
|
compatible = "microchip,dw-sparx5-sdhci";
|
|
reg = <0x00800000 0x1000>;
|
|
pinctrl-0 = <&emmc_pins>;
|
|
pinctrl-names = "default";
|
|
clocks = <&clks CLK_ID_AUX1>;
|
|
clock-names = "core";
|
|
assigned-clocks = <&clks CLK_ID_AUX1>;
|
|
assigned-clock-rates = <800000000>;
|
|
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
|
|
bus-width = <8>;
|
|
microchip,clock-delay = <10>;
|
|
};
|