[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181016091915.19909-15-songjun.wu@linux.intel.com>
Date: Tue, 16 Oct 2018 17:19:15 +0800
From: Songjun Wu <songjun.wu@...ux.intel.com>
To: yixin.zhu@...ux.intel.com, chuanhua.lei@...ux.intel.com,
hauke.mehrtens@...el.com
Cc: gregkh@...uxfoundation.org, paul.burton@...s.com, jslaby@...e.com,
Songjun Wu <songjun.wu@...ux.intel.com>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Rob Herring <robh+dt@...nel.org>, linux-serial@...r.kernel.org,
Mark Rutland <mark.rutland@....com>
Subject: [RESEND PATCH 14/14] dt-bindings: serial: lantiq: Add optional properties for CCF
Clocks and clock-names are updated in device tree binding.
Reviewed-by: Rob Herring <robh@...nel.org>
Signed-off-by: Songjun Wu <songjun.wu@...ux.intel.com>
---
Documentation/devicetree/bindings/serial/lantiq_asc.txt | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/Documentation/devicetree/bindings/serial/lantiq_asc.txt b/Documentation/devicetree/bindings/serial/lantiq_asc.txt
index 3acbd309ab9d..40e81a5818f6 100644
--- a/Documentation/devicetree/bindings/serial/lantiq_asc.txt
+++ b/Documentation/devicetree/bindings/serial/lantiq_asc.txt
@@ -6,8 +6,23 @@ Required properties:
- interrupts: the 3 (tx rx err) interrupt numbers. The interrupt specifier
depends on the interrupt-parent interrupt controller.
+Optional properties:
+- clocks: Should contain frequency clock and gate clock
+- clock-names: Should be "freq" and "asc"
+
Example:
+asc0: serial@...00000 {
+ compatible = "lantiq,asc";
+ reg = <0x16600000 0x100000>;
+ interrupt-parent = <&gic>;
+ interrupts = <GIC_SHARED 103 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SHARED 105 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SHARED 106 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cgu CLK_SSX4>, <&cgu GCLK_UART>;
+ clock-names = "freq", "asc";
+};
+
asc1: serial@...0c00 {
compatible = "lantiq,asc";
reg = <0xE100C00 0x400>;
--
2.11.0
Powered by blists - more mailing lists