mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
04dbd86539
The $id path checks were inadequately checking the path part of the $id value. With the check fixed, there's a number of errors that need to be fixed. Most of the errors are including 'bindings/' in the path which should not be as that is considered the root. Cc: Andy Gross <agross@kernel.org> Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Cc: Michael Turquette <mturquette@baylibre.com> Cc: Shawn Guo <shawnguo@kernel.org> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Pengutronix Kernel Team <kernel@pengutronix.de> Cc: Fabio Estevam <festevam@gmail.com> Cc: NXP Linux Team <linux-imx@nxp.com> Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com> Cc: Alexandre Torgue <alexandre.torgue@st.com> Cc: "Nuno Sá" <nuno.sa@analog.com> Cc: Jean Delvare <jdelvare@suse.com> Cc: Stefan Popa <stefan.popa@analog.com> Cc: Jonathan Cameron <jic23@kernel.org> Cc: Hartmut Knaack <knaack.h@gmx.de> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net> Cc: Marcus Folkesson <marcus.folkesson@gmail.com> Cc: Kent Gustavsson <kent@minoris.se> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: linux-clk@vger.kernel.org Cc: linux-iio@vger.kernel.org Cc: linux-input@vger.kernel.org Reviewed-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Rob Herring <robh@kernel.org>
74 lines
1.7 KiB
YAML
74 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:
|
|
oneOf:
|
|
- items:
|
|
- enum:
|
|
- socionext,milbeaut-m10v-ccu
|
|
clocks:
|
|
maxItems: 1
|
|
description: external clock
|
|
|
|
'#clock-cells':
|
|
const: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- '#clock-cells'
|
|
|
|
examples:
|
|
# Clock controller node:
|
|
- |
|
|
m10v-clk-ctrl@1d021000 {
|
|
compatible = "socionext,milbeaut-m10v-clk-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>;
|
|
};
|
|
|
|
...
|