clk: renesas: r9a06g032: Fix UART clkgrp bitsel
authorRalph Siemsen <ralph.siemsen@linaro.org>
Wed, 18 May 2022 18:25:27 +0000 (14:25 -0400)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 6 Jun 2022 09:13:30 +0000 (11:13 +0200)
commit2dee50ab9e72a3cae75b65e5934c8dd3e9bf01bc
tree260884d9d568585d9d31f72dbae04a5c4bbbc838
parentf46efcc4746f5c1a539df9db625c04321f75e494
clk: renesas: r9a06g032: Fix UART clkgrp bitsel

There are two UART clock groups, each having a mux to select its
upstream clock source. The register/bit definitions for accessing these
two muxes appear to have been reversed since introduction. Correct them
so as to match the hardware manual.

Fixes: 4c3d88526eba ("clk: renesas: Renesas R9A06G032 clock driver")

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Reviewed-by: Phil Edworthy <phil.edworthy@renesas.com>
Link: https://lore.kernel.org/r/20220518182527.1693156-1-ralph.siemsen@linaro.org
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/r9a06g032-clocks.c