Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1187398

[PATCH 4/4] phy: berlin-usb: fix divider for BG2

From Kishon Vijay Abraham I <kishon@ti.com>
Newsgroups linux.kernel
Subject [PATCH 4/4] phy: berlin-usb: fix divider for BG2
Date 2015-07-18 08:00 +0200
Message-ID <pNtke-3ET-9@gated-at.bofh.it> (permalink)
References <pNtke-3ET-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Thomas Hebb <tommyhebb@gmail.com>

The USB PLL divider set by the marvell,berlin2-usb-phy compatible is not
correct for BG2. We couldn't change it before because BG2Q incorrectly
used the same compatible string. Now that BG2Q's compatible is fixed,
change BG2's divider to the correct value.

Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
Tested-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 drivers/phy/phy-berlin-usb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/phy-berlin-usb.c b/drivers/phy/phy-berlin-usb.c
index ab54f28..335e06d 100644
--- a/drivers/phy/phy-berlin-usb.c
+++ b/drivers/phy/phy-berlin-usb.c
@@ -105,7 +105,7 @@
 
 static const u32 phy_berlin_pll_dividers[] = {
 	/* Berlin 2 */
-	CLK_REF_DIV(0xc) | FEEDBACK_CLK_DIV(0x54),
+	CLK_REF_DIV(0x6) | FEEDBACK_CLK_DIV(0x55),
 	/* Berlin 2CD/Q */
 	CLK_REF_DIV(0xc) | FEEDBACK_CLK_DIV(0x54),
 };
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[GIT PULL 0/4] phy: for 4.2 -rc cycle Kishon Vijay Abraham I <kishon@ti.com> - 2015-07-18 08:00 +0200
  [PATCH 4/4] phy: berlin-usb: fix divider for BG2 Kishon Vijay Abraham I <kishon@ti.com> - 2015-07-18 08:00 +0200
  [PATCH 3/4] phy: berlin-usb: fix divider for BG2CD Kishon Vijay Abraham I <kishon@ti.com> - 2015-07-18 08:00 +0200
  [PATCH 1/4] phy: ti-pipe3: fix suspend Kishon Vijay Abraham I <kishon@ti.com> - 2015-07-18 08:00 +0200
  [PATCH 2/4] phy/pxa: add HAS_IOMEM dependency Kishon Vijay Abraham I <kishon@ti.com> - 2015-07-18 08:00 +0200

csiph-web