84e85359f4
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>
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/clock/fsl,sai-clock.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Freescale SAI bitclock-as-a-clock
|
|
|
|
maintainers:
|
|
- Michael Walle <michael@walle.cc>
|
|
|
|
description: |
|
|
It is possible to use the BCLK pin of a SAI module as a generic clock
|
|
output. Some SoC are very constrained in their pin multiplexer
|
|
configuration. Eg. pins can only be changed groups. For example, on the
|
|
LS1028A SoC you can only enable SAIs in pairs. If you use only one SAI,
|
|
the second pins are wasted. Using this binding it is possible to use the
|
|
clock of the second SAI as a MCLK clock for an audio codec, for example.
|
|
|
|
This is a composite of a gated clock and a divider clock.
|
|
|
|
properties:
|
|
compatible:
|
|
const: fsl,vf610-sai-clock
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
'#clock-cells':
|
|
const: 0
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- '#clock-cells'
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
soc {
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
|
|
mclk: clock-mclk@f130080 {
|
|
compatible = "fsl,vf610-sai-clock";
|
|
reg = <0x0 0xf130080 0x0 0x80>;
|
|
#clock-cells = <0>;
|
|
clocks = <&parentclk>;
|
|
};
|
|
};
|