devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] clk: shmobile: Document mandatory compatible fallbacks
@ 2015-05-29  9:36 Geert Uytterhoeven
  2015-05-29  9:36 ` [PATCH 1/3] clk: shmobile: mstp: Document mandatory compatible fallback Geert Uytterhoeven
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2015-05-29  9:36 UTC (permalink / raw)
  To: Mike Turquette, Stephen Boyd
  Cc: Simon Horman, linux-clk, devicetree, linux-sh, Geert Uytterhoeven

	Hi Mike, Stephen,

Several DT binding docs for shmobile clock drivers declare that the
compatible value should be one out of a list of SoC-specific values and
a generic value.
However, the driver only binds against the generic value.
Hence document that the generic value is a mandatory fallback.

Thanks for applying!

Geert Uytterhoeven (3):
  clk: shmobile: mstp: Document mandatory compatible fallback
  clk: shmobile: rcar-gen2: Document mandatory compatible fallback
  clk: shmobile: rz: Document mandatory compatible fallback

 Documentation/devicetree/bindings/clock/renesas,cpg-mstp-clocks.txt     | 2 +-
 .../devicetree/bindings/clock/renesas,rcar-gen2-cpg-clocks.txt          | 2 +-
 Documentation/devicetree/bindings/clock/renesas,rz-cpg-clocks.txt       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

-- 
1.9.1

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] 4+ messages in thread

* [PATCH 1/3] clk: shmobile: mstp: Document mandatory compatible fallback
  2015-05-29  9:36 [PATCH 0/3] clk: shmobile: Document mandatory compatible fallbacks Geert Uytterhoeven
@ 2015-05-29  9:36 ` Geert Uytterhoeven
  2015-05-29  9:36 ` [PATCH 2/3] clk: shmobile: " Geert Uytterhoeven
       [not found] ` <1432892191-24039-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
  2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2015-05-29  9:36 UTC (permalink / raw)
  To: Mike Turquette, Stephen Boyd
  Cc: Simon Horman, linux-clk, devicetree, linux-sh, Geert Uytterhoeven

The generic MSTP gate clocks compatible value is mandatory, as the
driver uses only this value for matching.  Document that this is a
fallback that must be present.

Also fix a typo (missing plural "s") in the compatible value.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 Documentation/devicetree/bindings/clock/renesas,cpg-mstp-clocks.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/clock/renesas,cpg-mstp-clocks.txt b/Documentation/devicetree/bindings/clock/renesas,cpg-mstp-clocks.txt
index 0a80fa70ca265c0f..237ff1c8dd632fc3 100644
--- a/Documentation/devicetree/bindings/clock/renesas,cpg-mstp-clocks.txt
+++ b/Documentation/devicetree/bindings/clock/renesas,cpg-mstp-clocks.txt
@@ -18,7 +18,7 @@ Required Properties:
     - "renesas,r8a7791-mstp-clocks" for R8A7791 (R-Car M2) MSTP gate clocks
     - "renesas,r8a7794-mstp-clocks" for R8A7794 (R-Car E2) MSTP gate clocks
     - "renesas,sh73a0-mstp-clocks" for SH73A0 (SH-MobileAG5) MSTP gate clocks
-    - "renesas,cpg-mstp-clock" for generic MSTP gate clocks
+    and "renesas,cpg-mstp-clocks" as a fallback.
   - reg: Base address and length of the I/O mapped registers used by the MSTP
     clocks. The first register is the clock control register and is mandatory.
     The second register is the clock status register and is optional when not
-- 
1.9.1


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

* [PATCH 2/3] clk: shmobile: Document mandatory compatible fallback
  2015-05-29  9:36 [PATCH 0/3] clk: shmobile: Document mandatory compatible fallbacks Geert Uytterhoeven
  2015-05-29  9:36 ` [PATCH 1/3] clk: shmobile: mstp: Document mandatory compatible fallback Geert Uytterhoeven
@ 2015-05-29  9:36 ` Geert Uytterhoeven
       [not found] ` <1432892191-24039-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
  2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2015-05-29  9:36 UTC (permalink / raw)
  To: Mike Turquette, Stephen Boyd
  Cc: Simon Horman, linux-clk, devicetree, linux-sh, Geert Uytterhoeven

The generic R-Car Gen2 CPG compatible value is mandatory, as the driver
uses only this value for matching.  Document that this is a fallback
that must be present.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 .../devicetree/bindings/clock/renesas,rcar-gen2-cpg-clocks.txt          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/clock/renesas,rcar-gen2-cpg-clocks.txt b/Documentation/devicetree/bindings/clock/renesas,rcar-gen2-cpg-clocks.txt
index aa2b94511f4d9e05..1dc65fc741b3b4a3 100644
--- a/Documentation/devicetree/bindings/clock/renesas,rcar-gen2-cpg-clocks.txt
+++ b/Documentation/devicetree/bindings/clock/renesas,rcar-gen2-cpg-clocks.txt
@@ -12,7 +12,7 @@ Required Properties:
     - "renesas,r8a7791-cpg-clocks" for the r8a7791 CPG
     - "renesas,r8a7793-cpg-clocks" for the r8a7793 CPG
     - "renesas,r8a7794-cpg-clocks" for the r8a7794 CPG
-    - "renesas,rcar-gen2-cpg-clocks" for the generic R-Car Gen2 CPG
+    and "renesas,rcar-gen2-cpg-clocks" as a fallback.
 
   - reg: Base address and length of the memory resource used by the CPG
 
-- 
1.9.1


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

* [PATCH 3/3] clk: shmobile: rz: Document mandatory compatible fallback
       [not found] ` <1432892191-24039-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
@ 2015-05-29  9:36   ` Geert Uytterhoeven
  0 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2015-05-29  9:36 UTC (permalink / raw)
  To: Mike Turquette, Stephen Boyd
  Cc: Simon Horman, linux-clk-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-sh-u79uwXL29TY76Z2rM5mHXA, Geert Uytterhoeven

The generic RZ CPG compatible value is mandatory, as the driver uses
only this value for matching.  Document that this is a fallback that
must be present.

Signed-off-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
---
 Documentation/devicetree/bindings/clock/renesas,rz-cpg-clocks.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/clock/renesas,rz-cpg-clocks.txt b/Documentation/devicetree/bindings/clock/renesas,rz-cpg-clocks.txt
index c5666288e409ebd2..2a2c509f5f9d8553 100644
--- a/Documentation/devicetree/bindings/clock/renesas,rz-cpg-clocks.txt
+++ b/Documentation/devicetree/bindings/clock/renesas,rz-cpg-clocks.txt
@@ -9,7 +9,7 @@ Required Properties:
 
   - compatible: Must be one of
     - "renesas,r7s72100-cpg-clocks" for the r7s72100 CPG
-    - "renesas,rz-cpg-clocks" for the generic RZ CPG
+    and "renesas,rz-cpg-clocks" as a fallback.
   - reg: Base address and length of the memory resource used by the CPG
   - clocks: References to possible parent clocks. Order must match clock modes
     in the datasheet. For the r7s72100, this is extal, usb_x1.
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2015-05-29  9:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-29  9:36 [PATCH 0/3] clk: shmobile: Document mandatory compatible fallbacks Geert Uytterhoeven
2015-05-29  9:36 ` [PATCH 1/3] clk: shmobile: mstp: Document mandatory compatible fallback Geert Uytterhoeven
2015-05-29  9:36 ` [PATCH 2/3] clk: shmobile: " Geert Uytterhoeven
     [not found] ` <1432892191-24039-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2015-05-29  9:36   ` [PATCH 3/3] clk: shmobile: rz: " Geert Uytterhoeven

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