Skip to content
Snippets Groups Projects
Commit 201ec6f9 authored by Terry Zhou's avatar Terry Zhou Committed by Greg Kroah-Hartman
Browse files

clk: mvebu: a3700: fix the XTAL MODE pin to MPP1_9


commit 6f37689c upstream.

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: default avatarTerry Zhou <bjzhou@marvell.com>
[pali: Fix pin name in commit message]
Signed-off-by: default avatarPali Rohár <pali@kernel.org>
Fixes: 7ea82504 ("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: default avatarMarek Behún <kabel@kernel.org>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dcbda41a
No related branches found
No related tags found
No related merge requests found
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/regmap.h> #include <linux/regmap.h>
#define NB_GPIO1_LATCH 0xC #define NB_GPIO1_LATCH 0x8
#define XTAL_MODE BIT(31) #define XTAL_MODE BIT(9)
static int armada_3700_xtal_clock_probe(struct platform_device *pdev) static int armada_3700_xtal_clock_probe(struct platform_device *pdev)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment