]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
clk: renesas: r9a06g032: Fix UART clkgrp bitsel
authorRalph Siemsen <ralph.siemsen@linaro.org>
Wed, 18 May 2022 18:25:27 +0000 (14:25 -0400)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 17 Oct 2022 09:56:30 +0000 (11:56 +0200)
commit1152cefb1104de3efebf7076f4e0e6f7e40ab87f
tree7f1fba568776cfc23647937ec6dc5ae19e27ee52
parentd5f249371e75afbaaa1db6add798bbb2589e2766
clk: renesas: r9a06g032: Fix UART clkgrp bitsel

BugLink: https://bugs.launchpad.net/bugs/1990162
[ Upstream commit 2dee50ab9e72a3cae75b65e5934c8dd3e9bf01bc ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/clk/renesas/r9a06g032-clocks.c