]> git.baikalelectronics.ru Git - kernel.git/commit
clk: mvebu: a3700: fix the XTAL MODE pin to MPP1_9
authorTerry Zhou <bjzhou@marvell.com>
Fri, 6 Nov 2020 10:00:39 +0000 (11:00 +0100)
committerStephen Boyd <sboyd@kernel.org>
Sat, 19 Dec 2020 23:51:18 +0000 (15:51 -0800)
commitaf300aa41861d958b2c5192854de8cf42a279404
tree0242978f543481ee98806961a1ef2ed70d678225
parent68ed2672b8fdb9454c449f573990714135c93adc
clk: mvebu: a3700: fix the XTAL MODE pin to MPP1_9

There is an error in the current code that the XTAL MODE
pin was set to NB MPP1_31 which should be NB MPP1_9.
The latch register of NB MPP1_9 has different offset of 0x8.

Signed-off-by: Terry Zhou <bjzhou@marvell.com>
[pali: Fix pin name in commit message]
Signed-off-by: Pali Rohár <pali@kernel.org>
Fixes: 3007bde31e34 ("clk: mvebu: Add the xtal clock for Armada 3700 SoC")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20201106100039.11385-1-pali@kernel.org
Reviewed-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mvebu/armada-37xx-xtal.c