Thread (15 messages) flat view 15 messages, 3 authors, 2016-03-09

RE: [PATCH v3 3/7] QE: Add uqe_serial document to bindings

From: Qiang Zhao <qiang.zhao@nxp.com>
Date: 2016-03-07 02:51:35
Also in: linux-devicetree, lkml

On Tue, Mar 05, 2016 at 12:26PM, Rob Herring wrote:
-----Original Message-----
From: Rob Herring [mailto:robh@kernel.org]
Sent: Saturday, March 05, 2016 12:26 PM
To: Qiang Zhao <qiang.zhao@nxp.com>
Cc: oss@buserror.net; Yang-Leo Li <redacted>; Xiaobo Xie
[off-list ref]; linux-kernel@vger.kernel.org;
devicetree@vger.kernel.org; linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH v3 3/7] QE: Add uqe_serial document to bindings
=20
On Tue, Mar 01, 2016 at 03:09:39PM +0800, Zhao Qiang wrote:
quoted
Add uqe_serial document to
Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/uqe_serial.txt

Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
---
Changes for v2
	- modify tx/rx-clock-name specification Changes for v2
	- NA

 .../bindings/powerpc/fsl/cpm_qe/uqe_serial.txt        | 19
+++++++++++++++++++
quoted
 1 file changed, 19 insertions(+)
 create mode 100644
Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/uqe_serial.txt

diff --git
a/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/uqe_serial.txt
b/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/uqe_serial.txt
new file mode 100644
index 0000000..436c71c
--- /dev/null
+++ b/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/uqe_serial.
+++ txt
@@ -0,0 +1,19 @@
+* Serial
+
+Currently defined compatibles:
+- ucc_uart
=20
I guess this is in use already and okay. However, looking at the driver t=
here
really should be SoC specific compatible strings here since the driver is=
 looking
up the SoC compatible string and composing the firmware filename from tha=
t.

Ok, I will changed both driver and this compatible.
=20
quoted
+
+Properties for ucc_uart:
+port-number : port number of UCC-UART tx/rx-clock-name : should be
+"brg1"-"brg16" for internal clock source,
+		   should be "clk1"-"clk28" for external clock source.
+
+Example:
+
+	ucc_serial: ucc@2200 {
+		device_type =3D "serial";
=20
Drop device_type. It should only be used in a few legacy cases.
=20
Looks like the driver is matching on this. Please drop it from the driver=
 too. I'd
leave dts files for now, but they should be updated too later.
Ok, Thank you for your Reviewing, I will drop it
=20
quoted
+		compatible =3D "ucc_uart";
+		port-number =3D <1>;
+		rx-clock-name =3D "brg2";
+		tx-clock-name =3D "brg2";
+	};
--
2.1.0.27.g96db324
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help