mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-29 19:07:20 +00: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>
75 lines
1.4 KiB
YAML
75 lines
1.4 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/i2c/i2c-pxa.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Marvell MMP I2C controller
|
|
|
|
maintainers:
|
|
- Rob Herring <robh+dt@kernel.org>
|
|
|
|
allOf:
|
|
- $ref: /schemas/i2c/i2c-controller.yaml#
|
|
- if:
|
|
not:
|
|
required:
|
|
- mrvl,i2c-polling
|
|
then:
|
|
required:
|
|
- interrupts
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- mrvl,mmp-twsi
|
|
- mrvl,pxa-i2c
|
|
- marvell,armada-3700-i2c
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
minItems: 1
|
|
|
|
resets:
|
|
minItems: 1
|
|
|
|
mrvl,i2c-polling:
|
|
$ref: /schemas/types.yaml#/definitions/flag
|
|
description: |
|
|
Disable interrupt of i2c controller. Polling status register of i2c
|
|
controller instead.
|
|
|
|
mrvl,i2c-fast-mode:
|
|
$ref: /schemas/types.yaml#/definitions/flag
|
|
description: Enable fast mode of i2c controller.
|
|
|
|
unevaluatedProperties: false
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- clocks
|
|
- '#address-cells'
|
|
- '#size-cells'
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/marvell,mmp2.h>
|
|
i2c@d4011000 {
|
|
compatible = "mrvl,mmp-twsi";
|
|
reg = <0xd4011000 0x1000>;
|
|
interrupts = <7>;
|
|
clocks = <&soc_clocks MMP2_CLK_TWSI1>;
|
|
mrvl,i2c-fast-mode;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|
|
|
|
...
|