From: Philipp Tomsich Date: Sun, 06 Aug 2017 19:18:15 +0200 Subject: [U-Boot] [U-Boot, v4, 36/66] rockchip: pinctrl: rk3368: move IOMUX bit-definitions to pinctrl driver In-Reply-To: <1501706105-7490-37-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1501706105-7490-37-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 > > Reviewed-by: Simon Glass > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: > - moved bit-definitions pertinent to pinctrl (i.e. the various IOMUX > definitions) to the rk3368 pinctrl driver implementation > > arch/arm/include/asm/arch-rockchip/grf_rk3368.h | 376 ------------------------ > drivers/pinctrl/rockchip/pinctrl_rk3368.c | 366 +++++++++++++++++++++++ > 2 files changed, 366 insertions(+), 376 deletions(-) > Applied to u-boot-rockchip, thanks!