pinctrl-bcm2835: Add support for BCM2838
authorTim Gover <tim.gover@raspberrypi.org>
Wed, 9 Jan 2019 14:43:36 +0000 (14:43 +0000)
committerpopcornmix <popcornmix@gmail.com>
Thu, 13 Jun 2019 10:45:16 +0000 (11:45 +0100)
commitabcfd092860760087b87acbdda0963fe7906839c
treecb39c3d2a0b629735d14dfc20cc80ca4dbf95257
parent1e6abe096683e7520b9692cc490d02bf4d6e705c
pinctrl-bcm2835: Add support for BCM2838

GPIO configuration on BCM2838 is largely the same as BCM2835 except for
the pull up/down configuration. The old mechanism has been replaced
by new registers which don't require the fixed delay.

Detect BCN2838 at run-time and use the new mechanism. Backwards
compatibility for the device-tree configuration has been retained.
drivers/pinctrl/bcm/pinctrl-bcm2835.c