]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: rcar: add gen[123] fallback compatibility strings
authorSimon Horman <horms+renesas@verge.net.au>
Tue, 11 Jul 2017 12:38:30 +0000 (14:38 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Aug 2017 13:01:12 +0000 (15:01 +0200)
commit976e4d35a606ba6fada3a869735796106c2ca03e
tree6d87d418de756eaa773decaf1364dd9895cb0811
parente4ece6cbde0ae6065a5389b14aa55c0e9979d9ce
gpio: rcar: add gen[123] fallback compatibility strings

Add fallback compatibility string for R-Car Gen 1, 2 and 3.

In the case of Renesas R-Car hardware we know that there are generations of
SoCs, f.e. Gen 1 and 2. But beyond that its not clear what the relationship
between IP blocks might be. For example, I believe that r8a7790 is older
than r8a7791 but that doesn't imply that the latter is a descendant of the
former or vice versa.

We can, however, by examining the documentation and behaviour of the
hardware at run-time observe that the current driver implementation appears
to be compatible with the IP blocks on SoCs within a given generation.

For the above reasons and convenience when enabling new SoCs a
per-generation fallback compatibility string scheme being adopted for
drivers for Renesas SoCs.

Also deprecate renesas,gpio-rcar as its name is more generic than its
implementation.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
drivers/gpio/gpio-rcar.c