]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: pinctrl: rk3368: move IOMUX bit-definitions to pinctrl driver
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 25 Jul 2017 15:09:23 +0000 (17:09 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 13 Aug 2017 15:12:24 +0000 (17:12 +0200)
commita49773d6cf2dd81bc4a0e092d0742c3d5d80bed7
tree0f7ab26633b1052b9ae9789f87b33576ccfa47af
parentabcde4751e85558f8603dc6d985295c09a491104
rockchip: pinctrl: rk3368: move IOMUX bit-definitions to pinctrl driver

There is no real reason to keep the bit-definitions for the IOMUX in
the grf header file (which defines the register layout of the GRF block):
these should only be used by our pinctrl driver (with the possible
exception of early debug-init code in TPL/SPL).

This moves the relevant definitions from the grf_rk3368.h header
into the pinctrl driver pinctrl_rk3368.c.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-rockchip/grf_rk3368.h
drivers/pinctrl/rockchip/pinctrl_rk3368.c