linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] powerpc/85xx: Add binding for SCFG
@ 2015-08-14  3:12 Dongsheng Wang
  2015-08-14  3:12 ` [PATCH v2 2/2] powerpc/mpc85xx:Add SCFG device tree support of T104x Dongsheng Wang
  2015-08-17  5:50 ` [PATCH v2 1/2] powerpc/85xx: Add binding for SCFG Wang Dongsheng
  0 siblings, 2 replies; 3+ messages in thread
From: Dongsheng Wang @ 2015-08-14  3:12 UTC (permalink / raw)
  To: scottwood; +Cc: Priyanka.Jain, devicetree, linuxppc-dev, Wang Dongsheng

From: Wang Dongsheng <dongsheng.wang@freescale.com>

SCFG provides SoC specific configuration and status registers for
the chip. Add this for powerpc platform.

Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
---
*V2*
- Remove scfg description in board.txt and create scfg.txt for scfg.
- Change "fsl,<board>-scfg" to "fsl,<chip>-scfg"

diff --git a/Documentation/devicetree/bindings/powerpc/fsl/scfg.txt b/Documentation/devicetree/bindings/powerpc/fsl/scfg.txt
new file mode 100644
index 0000000..0532c46
--- /dev/null
+++ b/Documentation/devicetree/bindings/powerpc/fsl/scfg.txt
@@ -0,0 +1,18 @@
+Freescale Supplement configuration unit (SCFG)
+
+SCFG is the supplemental configuration unit, that provides SoC specific
+configuration and status registers for the chip. Such as getting PEX port
+status.
+
+Required properties:
+
+- compatible: should be "fsl,<chip>-scfg"
+- reg: should contain base address and length of SCFG memory-mapped
+registers
+
+Example:
+
+	scfg: global-utilities@fc000 {
+		compatible = "fsl,t1040-scfg";
+		reg = <0xfc000 0x1000>;
+	};
-- 
2.1.0.27.g96db324

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

* [PATCH v2 2/2] powerpc/mpc85xx:Add SCFG device tree support of T104x
  2015-08-14  3:12 [PATCH v2 1/2] powerpc/85xx: Add binding for SCFG Dongsheng Wang
@ 2015-08-14  3:12 ` Dongsheng Wang
  2015-08-17  5:50 ` [PATCH v2 1/2] powerpc/85xx: Add binding for SCFG Wang Dongsheng
  1 sibling, 0 replies; 3+ messages in thread
From: Dongsheng Wang @ 2015-08-14  3:12 UTC (permalink / raw)
  To: scottwood; +Cc: Priyanka.Jain, devicetree, linuxppc-dev, Wang Dongsheng

From: Wang Dongsheng <dongsheng.wang@freescale.com>

Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
---
*V2*
No changes.
diff --git a/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi b/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi
index 9e9f7e2..9770d02 100644
--- a/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi
+++ b/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi
@@ -484,6 +484,11 @@
 		reg	   = <0xea000 0x4000>;
 	};
 
+	scfg: global-utilities@fc000 {
+		compatible = "fsl,t1040-scfg";
+		reg = <0xfc000 0x1000>;
+	};
+
 /include/ "elo3-dma-0.dtsi"
 /include/ "elo3-dma-1.dtsi"
 /include/ "qoriq-espi-0.dtsi"
-- 
2.1.0.27.g96db324

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

* RE: [PATCH v2 1/2] powerpc/85xx: Add binding for SCFG
  2015-08-14  3:12 [PATCH v2 1/2] powerpc/85xx: Add binding for SCFG Dongsheng Wang
  2015-08-14  3:12 ` [PATCH v2 2/2] powerpc/mpc85xx:Add SCFG device tree support of T104x Dongsheng Wang
@ 2015-08-17  5:50 ` Wang Dongsheng
  1 sibling, 0 replies; 3+ messages in thread
From: Wang Dongsheng @ 2015-08-17  5:50 UTC (permalink / raw)
  To: Wang Dongsheng, Scott Wood
  Cc: Priyanka Jain, devicetree@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org

Hi Scott,

Could you apply the patches?

Regards,
-Dongsheng

> -----Original Message-----
> From: Dongsheng Wang [mailto:dongsheng.wang@freescale.com]
> Sent: Friday, August 14, 2015 11:12 AM
> To: Wood Scott-B07421
> Cc: Jain Priyanka-B32167; devicetree@vger.kernel.org; linuxppc-
> dev@lists.ozlabs.org; Wang Dongsheng-B40534
> Subject: [PATCH v2 1/2] powerpc/85xx: Add binding for SCFG
>=20
> From: Wang Dongsheng <dongsheng.wang@freescale.com>
>=20
> SCFG provides SoC specific configuration and status registers for
> the chip. Add this for powerpc platform.
>=20
> Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
> ---
> *V2*
> - Remove scfg description in board.txt and create scfg.txt for scfg.
> - Change "fsl,<board>-scfg" to "fsl,<chip>-scfg"
>=20
> diff --git a/Documentation/devicetree/bindings/powerpc/fsl/scfg.txt
> b/Documentation/devicetree/bindings/powerpc/fsl/scfg.txt
> new file mode 100644
> index 0000000..0532c46
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/powerpc/fsl/scfg.txt
> @@ -0,0 +1,18 @@
> +Freescale Supplement configuration unit (SCFG)
> +
> +SCFG is the supplemental configuration unit, that provides SoC specific
> +configuration and status registers for the chip. Such as getting PEX por=
t
> +status.
> +
> +Required properties:
> +
> +- compatible: should be "fsl,<chip>-scfg"
> +- reg: should contain base address and length of SCFG memory-mapped
> +registers
> +
> +Example:
> +
> +	scfg: global-utilities@fc000 {
> +		compatible =3D "fsl,t1040-scfg";
> +		reg =3D <0xfc000 0x1000>;
> +	};
> --
> 2.1.0.27.g96db324

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

end of thread, other threads:[~2015-08-17  5:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-14  3:12 [PATCH v2 1/2] powerpc/85xx: Add binding for SCFG Dongsheng Wang
2015-08-14  3:12 ` [PATCH v2 2/2] powerpc/mpc85xx:Add SCFG device tree support of T104x Dongsheng Wang
2015-08-17  5:50 ` [PATCH v2 1/2] powerpc/85xx: Add binding for SCFG Wang Dongsheng

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).