mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 19:43:43 -04:00
Adding checks for undocumented compatible strings reveals a bunch of warnings in the DT binding examples. Fix the cases which are typos, just a mismatch between the schema and the example, or aren't documented at all. In a couple of cases, fixing the compatible revealed some schema errors which are fixed. There's a bunch of others remaining after this which have bindings, but those aren't converted to schema yet. Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Pavel Machek <pavel@ucw.cz> Cc: linux-clk@vger.kernel.org Cc: dmaengine@vger.kernel.org Cc: linux-i3c@lists.infradead.org Cc: linux-iio@vger.kernel.org Cc: linux-leds@vger.kernel.org Cc: linux-pm@vger.kernel.org Cc: linux-serial@vger.kernel.org Cc: linux-spi@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Mark Brown <broonie@kernel.org> Acked-by: Stephen Boyd <sboyd@kernel.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Kishon Vijay Abraham I <kishon@ti.com> Acked-by: Sebastian Reichel <sre@kernel.org> Acked-by: Maxime Ripard <maxime@cerno.tech> Acked-by: Vinod Koul <vkoul@kernel.org> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Acked-by: Alain Volmat <alain.volmat@foss.st.com> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/20210316194918.3528417-1-robh@kernel.org
78 lines
1.7 KiB
YAML
78 lines
1.7 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/clock/milbeaut-clock.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Milbeaut SoCs Clock Controller Binding
|
|
|
|
maintainers:
|
|
- Taichi Sugaya <sugaya.taichi@socionext.com>
|
|
|
|
description: |
|
|
Milbeaut SoCs Clock controller is an integrated clock controller, which
|
|
generates and supplies to all modules.
|
|
|
|
This binding uses common clock bindings
|
|
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- socionext,milbeaut-m10v-ccu
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
description: external clock
|
|
|
|
'#clock-cells':
|
|
const: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- '#clock-cells'
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
# Clock controller node:
|
|
- |
|
|
m10v-clk-ctrl@1d021000 {
|
|
compatible = "socionext,milbeaut-m10v-ccu";
|
|
reg = <0x1d021000 0x4000>;
|
|
#clock-cells = <1>;
|
|
clocks = <&clki40mhz>;
|
|
};
|
|
|
|
# Required an external clock for Clock controller node:
|
|
- |
|
|
clocks {
|
|
clki40mhz: clki40mhz {
|
|
compatible = "fixed-clock";
|
|
#clock-cells = <0>;
|
|
clock-frequency = <40000000>;
|
|
};
|
|
/* other clocks */
|
|
};
|
|
|
|
# The clock consumer shall specify the desired clock-output of the clock
|
|
# controller as below by specifying output-id in its "clk" phandle cell.
|
|
# 2: uart
|
|
# 4: 32-bit timer
|
|
# 7: UHS-I/II
|
|
- |
|
|
serial@1e700010 {
|
|
compatible = "socionext,milbeaut-usio-uart";
|
|
reg = <0x1e700010 0x10>;
|
|
interrupts = <0 141 0x4>, <0 149 0x4>;
|
|
interrupt-names = "rx", "tx";
|
|
clocks = <&clk 2>;
|
|
};
|
|
|
|
...
|