aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-rcar.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2021-04-27 19:36:39 +0200
committerMarek Vasut <marek.vasut+renesas@gmail.com>2021-05-21 15:00:17 +0200
commite7690e61952b0058214fc36cad91d1c77a8c0239 (patch)
tree518a679d6fd290cf789b696b278efa593bcccd41 /drivers/gpio/gpio-rcar.c
parentd413214fb74873721d92ffe27fa63158ee84e469 (diff)
downloadu-boot-e7690e61952b0058214fc36cad91d1c77a8c0239.zip
u-boot-e7690e61952b0058214fc36cad91d1c77a8c0239.tar.gz
u-boot-e7690e61952b0058214fc36cad91d1c77a8c0239.tar.bz2
clk: renesas: Deduplicate gen3_clk_get_rate64() PLL handling
Most of the PLLx, MAIN, FIXED clock handlers are calling very similar code, which determines parent rate and then applies multiplication and division. The only difference is whether multiplication is fixed factor or coming from CRx register. Deduplicate the code into a single function. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Diffstat (limited to 'drivers/gpio/gpio-rcar.c')
0 files changed, 0 insertions, 0 deletions