All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: add fsl-dpaa2-console node for DPAA2 platforms
  2019-03-26 19:23 [PATCH 0/2] arm64: dts: add fsl-dpaa2-console node Ioana Ciornei
@ 2019-03-26 19:23 ` Ioana Ciornei
  2019-04-11  2:05   ` Shawn Guo
  2019-03-26 19:23 ` [PATCH 2/2] Documentation: DT: Add entry for DPAA2 console Ioana Ciornei
  1 sibling, 1 reply; 8+ messages in thread
From: Ioana Ciornei @ 2019-03-26 19:23 UTC (permalink / raw)
  To: shawnguo; +Cc: Leo Li, devicetree, Ioana Ciornei

Add the fsl-dpaa2-console device tree node for the following
DPAA2 based platforms: LS1088A, LS2080A, LS2088A and LX2160A.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 5 +++++
 arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 5 +++++
 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 5 +++++
 3 files changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
index de93b42b1f51..5eee5db3ed6c 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
@@ -571,6 +571,11 @@
 			clock-names = "apb_pclk", "wdog_clk";
 		};
 
+		fsl-dpaa2-console@0x08340020 {
+			compatible = "fsl,dpaa2-console";
+			reg = <0x00000000 0x08340020 0 0x2>;
+		};
+
 		fsl_mc: fsl-mc@80c000000 {
 			compatible = "fsl,qoriq-mc";
 			reg = <0x00000008 0x0c000000 0 0x40>,	 /* MC portal base */
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
index 6d6ca166f86b..f1521e6d8da0 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
@@ -321,6 +321,11 @@
 			};
 		};
 
+		fsl-dpaa2-console@0x08340020 {
+			compatible = "fsl,dpaa2-console";
+			reg = <0x00000000 0x08340020 0 0x2>;
+		};
+
 		fsl_mc: fsl-mc@80c000000 {
 			compatible = "fsl,qoriq-mc";
 			reg = <0x00000008 0x0c000000 0 0x40>,	 /* MC portal base */
diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
index 660e78e46268..8febaa517913 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
@@ -777,6 +777,11 @@
 			dma-coherent;
 		};
 
+		fsl-dpaa2-console@0x08340020 {
+			compatible = "fsl,dpaa2-console";
+			reg = <0x00000000 0x08340020 0 0x2>;
+		};
+
 		fsl_mc: fsl-mc@80c000000 {
 			compatible = "fsl,qoriq-mc";
 			reg = <0x00000008 0x0c000000 0 0x40>,
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 0/2] arm64: dts: add fsl-dpaa2-console node
@ 2019-03-26 19:23 Ioana Ciornei
  2019-03-26 19:23 ` [PATCH 1/2] arm64: dts: add fsl-dpaa2-console node for DPAA2 platforms Ioana Ciornei
  2019-03-26 19:23 ` [PATCH 2/2] Documentation: DT: Add entry for DPAA2 console Ioana Ciornei
  0 siblings, 2 replies; 8+ messages in thread
From: Ioana Ciornei @ 2019-03-26 19:23 UTC (permalink / raw)
  To: shawnguo; +Cc: Leo Li, devicetree, Ioana Ciornei

This patch set adds the fsl-dpaa2-console device tree node for DPAA2 based
platforms and adds its corresponding documentation.

Ioana Ciornei (2):
  arm64: dts: add fsl-dpaa2-console node for DPAA2 platforms
  Documentation: DT: Add entry for DPAA2 console

 Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt | 11 +++++++++++
 MAINTAINERS                                                  |  1 +
 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi               |  5 +++++
 arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi               |  5 +++++
 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi               |  5 +++++
 5 files changed, 27 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt

-- 
1.9.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 2/2] Documentation: DT: Add entry for DPAA2 console
  2019-03-26 19:23 [PATCH 0/2] arm64: dts: add fsl-dpaa2-console node Ioana Ciornei
  2019-03-26 19:23 ` [PATCH 1/2] arm64: dts: add fsl-dpaa2-console node for DPAA2 platforms Ioana Ciornei
@ 2019-03-26 19:23 ` Ioana Ciornei
  2019-04-03  9:23   ` Shawn Guo
                     ` (2 more replies)
  1 sibling, 3 replies; 8+ messages in thread
From: Ioana Ciornei @ 2019-03-26 19:23 UTC (permalink / raw)
  To: shawnguo; +Cc: Leo Li, devicetree, Ioana Ciornei

This patch adds a devicetree binding documentation for
FSL's DPAA2 console.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
---
 Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt | 11 +++++++++++
 MAINTAINERS                                                  |  1 +
 2 files changed, 12 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt

diff --git a/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt b/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt
new file mode 100644
index 000000000000..1442ba5d2d98
--- /dev/null
+++ b/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt
@@ -0,0 +1,11 @@
+DPAA2 console support
+
+Required properties:
+
+    - compatible
+        Value type: <string>
+        Definition: Must be "fsl,dpaa2-console".
+    - reg
+        Value type: <prop-encoded-array>
+        Definition: A standard property.  Specifies the region where the MCFBA
+                    (MC firmware base address) register can be found.
diff --git a/MAINTAINERS b/MAINTAINERS
index 32d444476a90..aed85fc7c783 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -6127,6 +6127,7 @@ M:	Li Yang <leoyang.li@nxp.com>
 L:	linuxppc-dev@lists.ozlabs.org
 L:	linux-arm-kernel@lists.infradead.org
 S:	Maintained
+F:	Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt
 F:	Documentation/devicetree/bindings/soc/fsl/
 F:	drivers/soc/fsl/
 F:	include/linux/fsl/
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/2] Documentation: DT: Add entry for DPAA2 console
  2019-03-26 19:23 ` [PATCH 2/2] Documentation: DT: Add entry for DPAA2 console Ioana Ciornei
@ 2019-04-03  9:23   ` Shawn Guo
  2019-04-03  9:31   ` Shawn Guo
       [not found]   ` <5ca0614d.1c69fb81.acc38.6e23@mx.google.com>
  2 siblings, 0 replies; 8+ messages in thread
From: Shawn Guo @ 2019-04-03  9:23 UTC (permalink / raw)
  To: Ioana Ciornei; +Cc: Leo Li, devicetree

On Tue, Mar 26, 2019 at 07:23:31PM +0000, Ioana Ciornei wrote:
> This patch adds a devicetree binding documentation for
> FSL's DPAA2 console.
> 
> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
> ---
>  Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt | 11 +++++++++++
>  MAINTAINERS                                                  |  1 +
>  2 files changed, 12 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt
> 
> diff --git a/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt b/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt
> new file mode 100644
> index 000000000000..1442ba5d2d98
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt
> @@ -0,0 +1,11 @@
> +DPAA2 console support
> +
> +Required properties:
> +
> +    - compatible
> +        Value type: <string>
> +        Definition: Must be "fsl,dpaa2-console".
> +    - reg
> +        Value type: <prop-encoded-array>
> +        Definition: A standard property.  Specifies the region where the MCFBA
> +                    (MC firmware base address) register can be found.
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 32d444476a90..aed85fc7c783 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -6127,6 +6127,7 @@ M:	Li Yang <leoyang.li@nxp.com>
>  L:	linuxppc-dev@lists.ozlabs.org
>  L:	linux-arm-kernel@lists.infradead.org
>  S:	Maintained
> +F:	Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt
>  F:	Documentation/devicetree/bindings/soc/fsl/
>  F:	drivers/soc/fsl/
>  F:	include/linux/fsl/

I think the MAINTAINERS change should be a separate patch to be handled
by Leo.

Shawn

> -- 
> 1.9.1
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/2] Documentation: DT: Add entry for DPAA2 console
  2019-03-26 19:23 ` [PATCH 2/2] Documentation: DT: Add entry for DPAA2 console Ioana Ciornei
  2019-04-03  9:23   ` Shawn Guo
@ 2019-04-03  9:31   ` Shawn Guo
  2019-04-03 16:59     ` Li Yang
       [not found]   ` <5ca0614d.1c69fb81.acc38.6e23@mx.google.com>
  2 siblings, 1 reply; 8+ messages in thread
From: Shawn Guo @ 2019-04-03  9:31 UTC (permalink / raw)
  To: Ioana Ciornei; +Cc: Leo Li, devicetree

On Tue, Mar 26, 2019 at 07:23:31PM +0000, Ioana Ciornei wrote:
> This patch adds a devicetree binding documentation for
> FSL's DPAA2 console.
> 
> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
> ---
>  Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt | 11 +++++++++++
>  MAINTAINERS                                                  |  1 +
>  2 files changed, 12 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt
> 
> diff --git a/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt b/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt
> new file mode 100644
> index 000000000000..1442ba5d2d98
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt
> @@ -0,0 +1,11 @@
> +DPAA2 console support
> +
> +Required properties:
> +
> +    - compatible
> +        Value type: <string>
> +        Definition: Must be "fsl,dpaa2-console".
> +    - reg
> +        Value type: <prop-encoded-array>
> +        Definition: A standard property.  Specifies the region where the MCFBA
> +                    (MC firmware base address) register can be found.

Which kernel driver is using the bindings?

Shawn

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/2] Documentation: DT: Add entry for DPAA2 console
  2019-04-03  9:31   ` Shawn Guo
@ 2019-04-03 16:59     ` Li Yang
  0 siblings, 0 replies; 8+ messages in thread
From: Li Yang @ 2019-04-03 16:59 UTC (permalink / raw)
  To: Shawn Guo; +Cc: Ioana Ciornei, devicetree

On Wed, Apr 3, 2019 at 4:32 AM Shawn Guo <shawnguo@kernel.org> wrote:
>
> On Tue, Mar 26, 2019 at 07:23:31PM +0000, Ioana Ciornei wrote:
> > This patch adds a devicetree binding documentation for
> > FSL's DPAA2 console.
> >
> > Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
> > ---
> >  Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt | 11 +++++++++++
> >  MAINTAINERS                                                  |  1 +
> >  2 files changed, 12 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt
> >
> > diff --git a/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt b/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt
> > new file mode 100644
> > index 000000000000..1442ba5d2d98
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt
> > @@ -0,0 +1,11 @@
> > +DPAA2 console support
> > +
> > +Required properties:
> > +
> > +    - compatible
> > +        Value type: <string>
> > +        Definition: Must be "fsl,dpaa2-console".
> > +    - reg
> > +        Value type: <prop-encoded-array>
> > +        Definition: A standard property.  Specifies the region where the MCFBA
> > +                    (MC firmware base address) register can be found.
>
> Which kernel driver is using the bindings?

The driver is submitted here at https://lkml.org/lkml/2019/3/26/1074,
probably I can take this patch together with the driver after I
finished reviewing it.

Regards,
Leo

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/2] Documentation: DT: Add entry for DPAA2 console
       [not found]   ` <5ca0614d.1c69fb81.acc38.6e23@mx.google.com>
@ 2019-04-08 20:21     ` Li Yang
  0 siblings, 0 replies; 8+ messages in thread
From: Li Yang @ 2019-04-08 20:21 UTC (permalink / raw)
  To: Rob Herring; +Cc: Ioana Ciornei, shawnguo, devicetree

On Sun, Mar 31, 2019 at 1:43 AM Rob Herring <robh@kernel.org> wrote:
>
> On Tue, 26 Mar 2019 19:23:31 +0000, Ioana Ciornei wrote:
> > This patch adds a devicetree binding documentation for
> > FSL's DPAA2 console.
> >
> > Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
> > ---
> >  Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt | 11 +++++++++++
> >  MAINTAINERS                                                  |  1 +
> >  2 files changed, 12 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt
> >
>
> Reviewed-by: Rob Herring <robh@kernel.org>
>

Applied for next.  Thanks.

Regards,
Leo

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/2] arm64: dts: add fsl-dpaa2-console node for DPAA2 platforms
  2019-03-26 19:23 ` [PATCH 1/2] arm64: dts: add fsl-dpaa2-console node for DPAA2 platforms Ioana Ciornei
@ 2019-04-11  2:05   ` Shawn Guo
  0 siblings, 0 replies; 8+ messages in thread
From: Shawn Guo @ 2019-04-11  2:05 UTC (permalink / raw)
  To: Ioana Ciornei; +Cc: Leo Li, devicetree

On Tue, Mar 26, 2019 at 07:23:29PM +0000, Ioana Ciornei wrote:
> Add the fsl-dpaa2-console device tree node for the following
> DPAA2 based platforms: LS1088A, LS2080A, LS2088A and LX2160A.
> 
> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
> ---
>  arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 5 +++++
>  arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 5 +++++
>  arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 5 +++++
>  3 files changed, 15 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
> index de93b42b1f51..5eee5db3ed6c 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
> @@ -571,6 +571,11 @@
>  			clock-names = "apb_pclk", "wdog_clk";
>  		};
>  
> +		fsl-dpaa2-console@0x08340020 {

The node name should be generic, 'console' maybe?  Also, the
unit-address shouldn't have 0x and leading zeros.

Shawn

> +			compatible = "fsl,dpaa2-console";
> +			reg = <0x00000000 0x08340020 0 0x2>;
> +		};
> +
>  		fsl_mc: fsl-mc@80c000000 {
>  			compatible = "fsl,qoriq-mc";
>  			reg = <0x00000008 0x0c000000 0 0x40>,	 /* MC portal base */
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
> index 6d6ca166f86b..f1521e6d8da0 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
> @@ -321,6 +321,11 @@
>  			};
>  		};
>  
> +		fsl-dpaa2-console@0x08340020 {
> +			compatible = "fsl,dpaa2-console";
> +			reg = <0x00000000 0x08340020 0 0x2>;
> +		};
> +
>  		fsl_mc: fsl-mc@80c000000 {
>  			compatible = "fsl,qoriq-mc";
>  			reg = <0x00000008 0x0c000000 0 0x40>,	 /* MC portal base */
> diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
> index 660e78e46268..8febaa517913 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
> @@ -777,6 +777,11 @@
>  			dma-coherent;
>  		};
>  
> +		fsl-dpaa2-console@0x08340020 {
> +			compatible = "fsl,dpaa2-console";
> +			reg = <0x00000000 0x08340020 0 0x2>;
> +		};
> +
>  		fsl_mc: fsl-mc@80c000000 {
>  			compatible = "fsl,qoriq-mc";
>  			reg = <0x00000008 0x0c000000 0 0x40>,
> -- 
> 1.9.1
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-04-11  2:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-26 19:23 [PATCH 0/2] arm64: dts: add fsl-dpaa2-console node Ioana Ciornei
2019-03-26 19:23 ` [PATCH 1/2] arm64: dts: add fsl-dpaa2-console node for DPAA2 platforms Ioana Ciornei
2019-04-11  2:05   ` Shawn Guo
2019-03-26 19:23 ` [PATCH 2/2] Documentation: DT: Add entry for DPAA2 console Ioana Ciornei
2019-04-03  9:23   ` Shawn Guo
2019-04-03  9:31   ` Shawn Guo
2019-04-03 16:59     ` Li Yang
     [not found]   ` <5ca0614d.1c69fb81.acc38.6e23@mx.google.com>
2019-04-08 20:21     ` Li Yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.