[PATCH v8 08/26] PM / devfreq: rk3399_dmc,dfi: generalize DDRTYPE defines

Heiko Stübner heiko at sntech.de
Wed Oct 18 13:01:00 PDT 2023


Am Mittwoch, 18. Oktober 2023, 08:16:56 CEST schrieb Sascha Hauer:
> The DDRTYPE defines are named to be RK3399 specific, but they can be
> used for other Rockchip SoCs as well, so replace the RK3399_PMUGRF_
> prefix with ROCKCHIP_. They are defined in a SoC specific header
> file, so when generalizing the prefix also move the new defines to
> a SoC agnostic header file. While at it use GENMASK to define the
> DDRTYPE bitfield and give it a name including the full register name.
> 
> Reviewed-by: Sebastian Reichel <sebastian.reichel at collabora.com>
> Acked-by: Chanwoo Choi <cw00.choi at samsung.com>
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>

Acked-by: Heiko Stuebner <heiko at sntech.de>






More information about the linux-arm-kernel mailing list