On 2020/7/9 上午5:57, Johannes Krottmayer wrote:
Add support for the RK3328 SPI controller Signed-off-by: Johannes Krottmayer <[email protected]> Cc: Kever Yang <[email protected]> Cc: Jagan Teki <[email protected]>
Reviewed-by: Kever Yang<[email protected]> 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",

