[PATCH v8 13/24] rockchip: rk3288: syscon_rk3288: store syscon platdata in regmap

Simon Glass sjg at chromium.org
Mon Mar 13 04:10:22 CET 2023


On Sun, 12 Mar 2023 at 18:31, Johan Jonker <jbx6244 at gmail.com> wrote:
>
> The Rockchip SoC rk3288 has 2 types of device trees floating around.
> A 64bit reg size when synced from Linux and a 32bit for U-boot.
> A pre-probe function in the syscon class driver assumes only 32bit.
> For other odd reg structures the regmap must be defined in the individual
> syscon driver. Store rk3288 platdata in a regmap before pre-probe
> during bind.
>
> Signed-off-by: Johan Jonker <jbx6244 at gmail.com>
> ---
>
> Note:
>   Proof of concept not tested with rk3288 hardware,
>   but with rk3066.
>
> Changed V7:
>   new patch
> ---
>  arch/arm/mach-rockchip/rk3288/syscon_rk3288.c | 121 ++++++++++++++++++
>  1 file changed, 121 insertions(+)
>

I tested this on chromebook_jerry which uses SPL_OF_PLATDATA

Reviewed-by: Simon Glass <sjg at chromium.org>
Tested-by: Simon Glass <sjg at chromium.org>

Can we sync up with Linux on the DT?

Regards,
Simon


More information about the U-Boot mailing list