diff mbox

[3/5] i2c: sh_mobile: Document SoC-specific bindings

Message ID 1415274730-310-4-git-send-email-geert+renesas@glider.be
State Accepted, archived
Commit fc3756faa71e51664e3d43b401c273723047a049
Headers show

Commit Message

Geert Uytterhoeven Nov. 6, 2014, 11:52 a.m. UTC
Explicitly list the various SoC-specific compatible properties.
This allows checkpatch to validate DTSes.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Simon Horman Nov. 7, 2014, 4:17 a.m. UTC | #1
On Thu, Nov 06, 2014 at 12:52:08PM +0100, Geert Uytterhoeven wrote:
> Explicitly list the various SoC-specific compatible properties.
> This allows checkpatch to validate DTSes.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Acked-by: Simon Horman <horms+renesas@verge.net.au>

> ---
>  Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt b/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt
> index d2153ce36fa81404..c33e9a32d496ef10 100644
> --- a/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt
> +++ b/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt
> @@ -2,6 +2,15 @@ Device tree configuration for Renesas IIC (sh_mobile) driver
>  
>  Required properties:
>  - compatible      : "renesas,iic-<soctype>". "renesas,rmobile-iic" as fallback
> +		     Examples with soctypes are:
> +			- "renesas,iic-r8a73a4" (R-Mobile APE6)
> +			- "renesas,iic-r8a7740" (R-Mobile A1)
> +			- "renesas,iic-r8a7790" (R-Car H2)
> +			- "renesas,iic-r8a7791" (R-Car M2-W)
> +			- "renesas,iic-r8a7792" (R-Car V2H)
> +			- "renesas,iic-r8a7793" (R-Car M2-N)
> +			- "renesas,iic-r8a7794" (R-Car E2)
> +			- "renesas,iic-sh73a0" (SH-Mobile AG5)
>  - reg             : address start and address range size of device
>  - interrupts      : interrupt of device
>  - clocks          : clock for device
> -- 
> 1.9.1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Wolfram Sang Nov. 7, 2014, 5:53 p.m. UTC | #2
On Thu, Nov 06, 2014 at 12:52:08PM +0100, Geert Uytterhoeven wrote:
> Explicitly list the various SoC-specific compatible properties.
> This allows checkpatch to validate DTSes.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Applied to for-next, thanks! I guess the other patches go via Simon.
Simon Horman Nov. 10, 2014, 1:05 a.m. UTC | #3
On Fri, Nov 07, 2014 at 06:53:48PM +0100, Wolfram Sang wrote:
> On Thu, Nov 06, 2014 at 12:52:08PM +0100, Geert Uytterhoeven wrote:
> > Explicitly list the various SoC-specific compatible properties.
> > This allows checkpatch to validate DTSes.
> > 
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> 
> Applied to for-next, thanks! I guess the other patches go via Simon.

Thanks, I have picked up patches 1, 4 and 5.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt b/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt
index d2153ce36fa81404..c33e9a32d496ef10 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt
+++ b/Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt
@@ -2,6 +2,15 @@  Device tree configuration for Renesas IIC (sh_mobile) driver
 
 Required properties:
 - compatible      : "renesas,iic-<soctype>". "renesas,rmobile-iic" as fallback
+		     Examples with soctypes are:
+			- "renesas,iic-r8a73a4" (R-Mobile APE6)
+			- "renesas,iic-r8a7740" (R-Mobile A1)
+			- "renesas,iic-r8a7790" (R-Car H2)
+			- "renesas,iic-r8a7791" (R-Car M2-W)
+			- "renesas,iic-r8a7792" (R-Car V2H)
+			- "renesas,iic-r8a7793" (R-Car M2-N)
+			- "renesas,iic-r8a7794" (R-Car E2)
+			- "renesas,iic-sh73a0" (SH-Mobile AG5)
 - reg             : address start and address range size of device
 - interrupts      : interrupt of device
 - clocks          : clock for device