[PATCH 0/2] Rockchip: adapt pinctrl driver to new dts

Beniamino Galvani b.galvani at gmail.com
Thu Jul 24 09:54:56 PDT 2014


Hi,

the dts for Rockchip rk3188 imported in commit 9313920df6d "dts:
update to v3.16-rc1" contains a change in the bindings for the pinctrl
node, which now uses syscons to obtain the address of memory mapped
registers.

On barebox master branch the pinctrl driver fails during the probe
with the new dts and thus some pin functions are not set properly; for
this reason the ethernet port doesn't work at the moment on the Radxa
Rock.

The patches below fix the problem, adapting the driver to the new dts.

Beniamino

Beniamino Galvani (2):
  mfd: syscon: add device tree support
  pinctrl: rockchip: add support for new DT bindings

 drivers/mfd/syscon.c               |    6 ++++
 drivers/pinctrl/Kconfig            |    1 +
 drivers/pinctrl/pinctrl-rockchip.c |   53 ++++++++++++------------------------
 3 files changed, 24 insertions(+), 36 deletions(-)

-- 
1.7.10.4




More information about the barebox mailing list