ARM: dts: am33xx: modify AM33XX_IOPAD for #pinctrl-cells = 2
authorDrew Fustini <drew@beagleboard.org>
Mon, 21 Sep 2020 22:50:55 +0000 (00:50 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 23 Sep 2020 07:39:26 +0000 (10:39 +0300)
commitb753e41d9999c040c601de53cc1e072160472d80
tree53508abadf75142de17fdb698d15d717fa823a1f
parent6542e2b613c2b1952e83973dc434831332ce8e27
ARM: dts: am33xx: modify AM33XX_IOPAD for #pinctrl-cells = 2

Modify the AM33XX_IOPAD macro so that it works now that #pinctrl-cells =
<2>. The third parameter is just a zero and the pinctrl-single driver
will just OR this with the second parameter so it has no actual effect.

There are no longer any dts files using this macro (following my patch
to am335x-guardian.dts), but this will keep dts files not in mainline
from breaking.

Fixes: 27c90e5e48d0 ("ARM: dts: am33xx-l4: change #pinctrl-cells from 1 to 2")
Suggested-by: Tony Lindgren <tony@atomide.com>
Reported-by: Trent Piepho <tpiepho@gmail.com>
Link: https://lore.kernel.org/linux-devicetree/20200921064707.GN7101@atomide.com/
Signed-off-by: Drew Fustini <drew@beagleboard.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
include/dt-bindings/pinctrl/omap.h