summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/imx8m/ddr_init.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2023-02-28 07:25:11 +0100
committerMarek Vasut <marek.vasut+renesas@mailbox.org>2023-03-18 12:02:38 +0100
commit99c7e031196d9057669bb07e8ad427119993997f (patch)
tree5d4bdb75afb85d2c28beaba8675ecac896a4c135 /drivers/ddr/imx/imx8m/ddr_init.c
parentf54eb0bad6d0622bd0a050fb741ec40516658be7 (diff)
clk: renesas: rcar-gen3: Replace SSCG caching with MDSEL/PE caching
Do not cache the single CPG MODE register bit 12, instead cache the entire register value, and only pick the matching bit from the cached value when core clock of type MDSEL or PE are used. Both MDSEL and PE clock type currently define .offset field as 12 on Gen3, which means this code will use bit 12 on Gen3 again, however there are additional clock on Gen4 which use different bits, and having this flexibility in place now will be useful when adding Gen4. No functional change. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddr_init.c')
0 files changed, 0 insertions, 0 deletions