diff mbox

[v2,1/2] powerpc/85xx: Add binding for SCFG

Message ID 1439521930-28191-1-git-send-email-dongsheng.wang@freescale.com (mailing list archive)
State Accepted
Delegated to: Scott Wood
Headers show

Commit Message

Dongsheng Wang Aug. 14, 2015, 3:12 a.m. UTC
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"

Comments

Dongsheng Wang Aug. 17, 2015, 5:50 a.m. UTC | #1
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
> 
> 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
diff mbox

Patch

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>;
+	};