* [PATCH 1/2] dt: serial: Add Renesas RZ/N1 binding documentation
[not found] <1531312174-17489-1-git-send-email-phil.edworthy@renesas.com>
@ 2018-07-11 12:29 ` Phil Edworthy
2018-07-11 12:39 ` Geert Uytterhoeven
0 siblings, 1 reply; 3+ messages in thread
From: Phil Edworthy @ 2018-07-11 12:29 UTC (permalink / raw)
To: Rob Herring, Greg Kroah-Hartman, Mark Rutland
Cc: Geert Uytterhoeven, Simon Horman, linux-serial, linux-renesas-soc,
Phil Edworthy, devicetree
The RZ/N1 UART is a modified Synopsys DesignWare UART.
The modifications only relate to DMA so you could actually use the
controller with the Synopsys compatible string if you are not using
DMA, but you should not do so.
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
---
Documentation/devicetree/bindings/serial/renesas,rzn1-uart.txt | 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 Documentation/devicetree/bindings/serial/renesas,rzn1-uart.txt
diff --git a/Documentation/devicetree/bindings/serial/renesas,rzn1-uart.txt b/Documentation/devicetree/bindings/serial/renesas,rzn1-uart.txt
new file mode 100644
index 0000000..4d40587
--- /dev/null
+++ b/Documentation/devicetree/bindings/serial/renesas,rzn1-uart.txt
@@ -0,0 +1,10 @@
+Renesas RZ/N1 UART
+
+This controller is based on the Synopsys DesignWare ABP UART and inherits all
+properties defined in snps-dw-apb-uart.txt except for the compatible property.
+
+Required properties:
+- compatible : The device specific string followed by the generic RZ/N1 string.
+ Therefore it must be one of:
+ "renesas,uart-r9a06g032", "renesas,uart-rzn1"
+ "renesas,uart-r9a06g033", "renesas,uart-rzn1"
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] dt: serial: Add Renesas RZ/N1 binding documentation
2018-07-11 12:29 ` [PATCH 1/2] dt: serial: Add Renesas RZ/N1 binding documentation Phil Edworthy
@ 2018-07-11 12:39 ` Geert Uytterhoeven
[not found] ` <TY1PR01MB1769F2878EB466D0A1BB4268F5590@TY1PR01MB1769.jpnprd01.prod.outlook.com>
0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2018-07-11 12:39 UTC (permalink / raw)
To: Phil Edworthy
Cc: Rob Herring, Greg KH, Mark Rutland, Simon Horman,
open list:SERIAL DRIVERS, Linux-Renesas,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
Hi Phil,
On Wed, Jul 11, 2018 at 2:30 PM Phil Edworthy <phil.edworthy@renesas.com> wrote:
> The RZ/N1 UART is a modified Synopsys DesignWare UART.
> The modifications only relate to DMA so you could actually use the
> controller with the Synopsys compatible string if you are not using
> DMA, but you should not do so.
>
> Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Thanks for your patch!
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/serial/renesas,rzn1-uart.txt
> @@ -0,0 +1,10 @@
> +Renesas RZ/N1 UART
> +
> +This controller is based on the Synopsys DesignWare ABP UART and inherits all
> +properties defined in snps-dw-apb-uart.txt except for the compatible property.
> +
> +Required properties:
> +- compatible : The device specific string followed by the generic RZ/N1 string.
> + Therefore it must be one of:
> + "renesas,uart-r9a06g032", "renesas,uart-rzn1"
"renesas,r9a06g032-uart", "renesas,rzn1-uart"
> + "renesas,uart-r9a06g033", "renesas,uart-rzn1"
"renesas,r9a06g033-uart", "renesas,rzn1-uart"
I assume you plan to describe the DMA-related properties later?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] dt: serial: Add Renesas RZ/N1 binding documentation
[not found] ` <TY1PR01MB1769F2878EB466D0A1BB4268F5590@TY1PR01MB1769.jpnprd01.prod.outlook.com>
@ 2018-07-13 7:47 ` Simon Horman
0 siblings, 0 replies; 3+ messages in thread
From: Simon Horman @ 2018-07-13 7:47 UTC (permalink / raw)
To: Phil Edworthy
Cc: Geert Uytterhoeven, Rob Herring, Greg KH, Mark Rutland,
open list:SERIAL DRIVERS, Linux-Renesas,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
On Thu, Jul 12, 2018 at 12:05:21PM +0000, Phil Edworthy wrote:
> Hi Geert,
>
> On 11 July 2018 13:39, Geert Uytterhoeven wrote:
> > On Wed, Jul 11, 2018 at 2:30 PM Phil Edworthy wrote:
> > > The RZ/N1 UART is a modified Synopsys DesignWare UART.
> > > The modifications only relate to DMA so you could actually use the
> > > controller with the Synopsys compatible string if you are not using
> > > DMA, but you should not do so.
> > >
> > > Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
> >
> > Thanks for your patch!
> >
> > > --- /dev/null
> > > +++ b/Documentation/devicetree/bindings/serial/renesas,rzn1-uart.txt
> > > @@ -0,0 +1,10 @@
> > > +Renesas RZ/N1 UART
> > > +
> > > +This controller is based on the Synopsys DesignWare ABP UART and
> > > +inherits all properties defined in snps-dw-apb-uart.txt except for the
> > compatible property.
> > > +
> > > +Required properties:
> > > +- compatible : The device specific string followed by the generic RZ/N1
> > string.
> > > + Therefore it must be one of:
> > > + "renesas,uart-r9a06g032", "renesas,uart-rzn1"
> >
> > "renesas,r9a06g032-uart", "renesas,rzn1-uart"
> >
> > > + "renesas,uart-r9a06g033", "renesas,uart-rzn1"
> >
> > "renesas,r9a06g033-uart", "renesas,rzn1-uart"
> I followed the renesas convention of renesas,peripheral-device that is used for
> most R-Car drivers, but happy to change.
Please do. The "Renesas convention" is a hold over from early work on
DT bindings. The format Geert describes is now preferred.
> > I assume you plan to describe the DMA-related properties later?
> Yes, it will take a while to sort out.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-07-13 7:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1531312174-17489-1-git-send-email-phil.edworthy@renesas.com>
2018-07-11 12:29 ` [PATCH 1/2] dt: serial: Add Renesas RZ/N1 binding documentation Phil Edworthy
2018-07-11 12:39 ` Geert Uytterhoeven
[not found] ` <TY1PR01MB1769F2878EB466D0A1BB4268F5590@TY1PR01MB1769.jpnprd01.prod.outlook.com>
2018-07-13 7:47 ` Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).