[PATCH 2/3] drivers: spi: rk_spi: Add support for RK3328
Kever Yang
kever.yang at rock-chips.com
Sat Jul 18 05:06:34 CEST 2020
On 2020/7/9 上午5:57, Johannes Krottmayer wrote:
> Add support for the RK3328 SPI controller
>
> Signed-off-by: Johannes Krottmayer <krjdev at gmail.com>
> Cc: Kever Yang <kever.yang at rock-chips.com>
> Cc: Jagan Teki <jagan at amarulasolutions.com>
Reviewed-by: Kever Yang<kever.yang at rock-chips.com>
Thanks,
- Kever
> ---
> I don't know if "rk3399_spi_params" is also required for the
> RK3328 SPI controller.
>
> Probing, Reading, Writing and Erasing of a flash device works
> with the SF command. Tested it with the PINE64 Rock64 board.
>
> drivers/spi/rk_spi.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/spi/rk_spi.c b/drivers/spi/rk_spi.c
> index 833cb04922..0495e04945 100644
> --- a/drivers/spi/rk_spi.c
> +++ b/drivers/spi/rk_spi.c
> @@ -545,7 +545,9 @@ const struct rockchip_spi_params rk3399_spi_params = {
> };
>
> static const struct udevice_id rockchip_spi_ids[] = {
> + { .compatible = "rockchip,rk3066-spi" },
> { .compatible = "rockchip,rk3288-spi" },
> + { .compatible = "rockchip,rk3328-spi" },
> { .compatible = "rockchip,rk3368-spi",
> .data = (ulong)&rk3399_spi_params },
> { .compatible = "rockchip,rk3399-spi",
More information about the U-Boot
mailing list