[U-Boot] [PATCH v4 5/7] rockchip: pinctrl: rk3399: add support for the SPI5 controller
Simon Glass
sjg at chromium.org
Thu Apr 20 21:06:01 UTC 2017
On 20 April 2017 at 14:05, Philipp Tomsich
<philipp.tomsich at theobroma-systems.com> wrote:
> This commit adds support for the pin-configuration of the SPI5
> controller of the RK3399 through the following changes:
> * grf_rk3399.h: adds definition for configuring the SPI5 pins
> in the GPIO2C group
> * periph.h: defines PERIPH_ID_SPI3 through PERIPH_ID_SPI5
> * pinctrl_rk3399.c: adds the reverse-mapping from the IRQ# to
> PERIPH_ID_SPI5; dispatches PERIPH_ID_SPI3
> through SPI5 to the appropriate pin-config
> function; implements the pin-configuration
> for PERIPH_ID_SPI5 using the GPIO2C group
>
> X-AffectedPlatforms: RK3399-Q7
> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> Tested-by: Jakob Unterwurzacher <jakob.unterwurzacher at theobroma-systems.com>
> Acked-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v4: None
> Changes in v3: None
> Changes in v2: None
>
> arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 12 ++++++++++++
> arch/arm/include/asm/arch-rockchip/periph.h | 3 +++
> drivers/pinctrl/rockchip/pinctrl_rk3399.c | 17 +++++++++++++++++
> 3 files changed, 32 insertions(+)
>
Applied to u-boot-rockchip/next, thanks!
More information about the U-Boot
mailing list