]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: r8a7778: Use R-Car GPIO Gen1 fallback compat string
authorSimon Horman <horms+renesas@verge.net.au>
Fri, 13 Oct 2017 12:33:02 +0000 (14:33 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 16 Oct 2017 07:19:53 +0000 (09:19 +0200)
commitac52df8d7f308d389e771148c5293a953ef7dbb1
tree0cead8995569f69185c6d09f78d413969d64a314
parent5b78cde98a69b503dd33e5b8dc6634bd5738bb0f
ARM: dts: r8a7778: Use R-Car GPIO Gen1 fallback compat string

Use newly added R-Car GPIO Gen1 fallback compat string
in place of now deprecated non-generation specific
R-Car GPIO fallback compat string in DT of r8a7778 SoC.

As the driver does not match on "renesas,gpio-r8a7778" there
are some run-time considerations for this patch:

* When a resulting DTB is used with kernels newer than v4.14 this should
  not have any run-time effect as renesas,rcar-gen1-gpio is matched by the
  driver since commit 059415c2c592 ("gpio: rcar: add gen[123] fallback
  compatibility strings")

* However, when used with older kernels GPIO will be disabled as
  no compat string match will be made by the driver.

The regression documented above for the new DTB with old kernel case
is acceptable in my opinion.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm/boot/dts/r8a7778.dtsi