Skip to contentSkip to conversation

vf610: add a clock driver, ehci-vf takes its clocks from it

PATCH In review Mehmet Fide 2 participants 13 messages Nov 27 – Nov 29

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

cover vf610: add a clock driver, ehci-vf takes its clocks from it

From: Mehmet Fide <[email protected]>

The follow-up to the ehci-vf series [1] that Marek and I agreed on in its review: the Vybrid gets a clock driver, and ehci-vf takes its clocks from it instead of setting the PLL bits of its port by hand, so the port number it kept for that goes as well, with the board_ehci_hcd_init() call no Vybrid board implements.

The driver is a port of the Linux one to the common clock framework, like those of the i.MX6, with the clock tree up to the devices U-Boot drives.

- patch 1 adds the two PLL types of the VF610 to the PLLv3 driver
- patch 2 adds the clock driver
- patch 3 makes the LPUART driver read the rate of the clock the VF610 device tree names, "ipg"; without it the baud rate is not set once CONFIG_CLK is on
- patch 4 turns the driver on for colibri_vf
- patches 5 and 6 move ehci-vf to the clock of its PHY and drop the port number and board_ehci_hcd_init()
- patches 7 and 8 have ehci-vf enable the controller clock as well and drop the USB clock setup from the board code

The series applies on next, which has the DCD change of colibri_vf (2fe1b27ba5e). colibri_vf grows from 478656 to 495672 bytes; with the DCD it has no size limit any more.

Tested on a Colibri VF50 V1.2B and a Colibri VF61 V1.2B on Iris carriers, booted from NAND and from the serial downloader of the ROM:
console, SD card, NAND and UBI, the USB host port, the DFU and mass storage gadgets, the FEC with DHCP and TFTP, the environment in NAND, and Linux 6.18 booting from NAND, with 10 power cycles and 10 resets on each module. Files read from the SD card, a UBI volume, UBIFS and over TFTP have the CRC32 of the same files read in Linux or on the server, and a file on a USB stick reads back with the same CRC32 on both modules and after a USB reset.

The clocks stay as they were: the CPU, bus and IPG rates, the 162 registers of the DDR controller and the clock tree Linux reports (rates and enable state of its 190 clocks) are the same as without the series on both modules. In U-Boot only these CCM and ANADIG fields
differ: PLL4 and PLL6, both off, leave bypass as in Linux, the FEC timestamp clock follows the assigned clocks of the device tree, and until USB starts, PLL3 stays on as the ROM left it (patch 8) and the USB controller clocks are still gated.

With I2C and DSPI built in for the test, the M41T0 on the Iris answers and a DSPI loopback returns its data at 8, 16 and 32 bits, with and without the series.

Outside the Vybrid only patch 1 reaches other boards: it adds the VF610 PLL types to the PLLv3 driver, about 210 bytes on the i.MX6 and i.MX RT boards (buildman -B), without changing the existing types. buildman builds the 58 boards with the LPUART or the PLLv3 driver at every patch without new warnings, and "ut dm" on sandbox gives the same result as without the series. I have no i.MX6 hardware to boot it on.

[1] https://lore.kernel.org/u-boot/[email protected]/

Mehmet Fide (8):
clk: imx: pllv3: add the PLL types of the VF610
clk: imx: add a clock driver for the VF610
serial: lpuart: take the ipg clock on the VF610
colibri_vf: use the VF610 clock driver
usb: ehci-vf: enable the PHY clock through the clock driver
usb: ehci-vf: drop the port number
usb: ehci-vf: enable the controller clock
colibri_vf: leave the USB clocks to the drivers

 .../arm/dts/vf610-colibri-eval-v3-u-boot.dtsi |  13 +
 board/toradex/colibri_vf/colibri_vf.c         |  14 -
 configs/colibri_vf_defconfig                  |   2 +
 drivers/clk/imx/Kconfig                       |   9 +
 drivers/clk/imx/Makefile                      |   1 +
 drivers/clk/imx/clk-pllv3.c                   |  37 ++
 drivers/clk/imx/clk-vf610.c                   | 465 ++++++++++++++++++
 drivers/serial/serial_lpuart.c                |   2 +-
 drivers/usb/host/Kconfig                      |   2 +-
 drivers/usb/host/ehci-vf.c                    |  77 +--
 10 files changed, 543 insertions(+), 79 deletions(-)
 create mode 100644 drivers/clk/imx/clk-vf610.c

base-commit: 8e939402ab242b02e50cea8b98c51cb4c51546fc

Signature · 1 line
2.56.0
#1 lore raw

PATCH 1/8 clk: imx: pllv3: add the PLL types of the VF610

From: Mehmet Fide <[email protected]>

The VF610 has two PLL types the driver lists but does not handle yet. PLL1 and PLL2 are fractional: their rate is the parent rate times 20 or 22 plus a fraction with its numerator and denominator in two registers of their own. The USB PLLs, PLL3 and PLL7, work as the USB PLL of the i.MX6.

Add both, as the Linux driver does.

---
 drivers/clk/imx/clk-pllv3.c | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
drivers/clk/imx/clk-pllv3.c +37 -0
index 4a3f1d088dd..517f4797aea 100644
@@ -22,9 +22,12 @@
 #define UBOOT_DM_CLK_IMX_PLLV3_AV	"imx_clk_pllv3_av"
 #define UBOOT_DM_CLK_IMX_PLLV3_ENET     "imx_clk_pllv3_enet"
 #define UBOOT_DM_CLK_IMX_PLLV3_GENV2	"imx_clk_pllv3_genericv2"
+#define UBOOT_DM_CLK_IMX_PLLV3_SYS_VF610	"imx_clk_pllv3_sys_vf610"
 
 #define PLL_NUM_OFFSET		0x10
 #define PLL_DENOM_OFFSET	0x20
+#define PLL_VF610_NUM_OFFSET	0x20
+#define PLL_VF610_DENOM_OFFSET	0x30
 
 #define BM_PLL_POWER		(0x1 << 12)
 #define BM_PLL_POWER_V2		(0x1 << 21)
@@ -271,6 +274,27 @@ static const struct clk_ops clk_pllv3_av_ops = {
 	.set_rate	= clk_pllv3_av_set_rate,
 };
 
+static ulong clk_pllv3_vf610_get_rate(struct clk *clk)
+{
+	struct clk_pllv3 *pll = to_clk_pllv3(dev_get_clk_ptr(clk->dev));
+	unsigned long parent_rate = clk_get_parent_rate(clk);
+	u32 mfn = readl(pll->base + PLL_VF610_NUM_OFFSET);
+	u32 mfd = readl(pll->base + PLL_VF610_DENOM_OFFSET);
+	u32 mfi = (readl(pll->base) & pll->div_mask) ? 22 : 20;
+	u64 temp64 = parent_rate;
+
+	temp64 *= mfn;
+	do_div(temp64, mfd);
+
+	return parent_rate * mfi + temp64;
+}
+
+static const struct clk_ops clk_pllv3_vf610_ops = {
+	.enable		= clk_pllv3_generic_enable,
+	.disable	= clk_pllv3_generic_disable,
+	.get_rate	= clk_pllv3_vf610_get_rate,
+};
+
 static ulong clk_pllv3_enet_get_rate(struct clk *clk)
 {
 	struct clk_pllv3 *pll = to_clk_pllv3(clk);
@@ -333,6 +357,12 @@ struct clk *imx_clk_pllv3(struct udevice *dev, enum imx_pllv3_type type,
 		pll->div_shift = 0;
 		pll->powerup_set = false;
 		break;
+	case IMX_PLLV3_SYS_VF610:
+		drv_name = UBOOT_DM_CLK_IMX_PLLV3_SYS_VF610;
+		pll->div_shift = 0;
+		pll->powerup_set = false;
+		break;
+	case IMX_PLLV3_USB_VF610:
 	case IMX_PLLV3_USB:
 		drv_name = UBOOT_DM_CLK_IMX_PLLV3_USB;
 		pll->div_shift = 1;
@@ -389,6 +419,13 @@ U_BOOT_DRIVER(clk_pllv3_sys) = {
 	.flags = DM_FLAG_PRE_RELOC,
 };
 
+U_BOOT_DRIVER(clk_pllv3_sys_vf610) = {
+	.name	= UBOOT_DM_CLK_IMX_PLLV3_SYS_VF610,
+	.id	= UCLASS_CLK,
+	.ops	= &clk_pllv3_vf610_ops,
+	.flags = DM_FLAG_PRE_RELOC,
+};
+
 U_BOOT_DRIVER(clk_pllv3_usb) = {
 	.name	= UBOOT_DM_CLK_IMX_PLLV3_USB,
 	.id	= UCLASS_CLK,
Signature · 1 line
2.56.0
#2 lore raw

PATCH 2/8 clk: imx: add a clock driver for the VF610

In reply to Mehmet Fide

From: Mehmet Fide <[email protected]>

The Vybrid has no clock driver, so its drivers cannot take their clocks from the device tree, and ehci-vf sets the clock bits of its port by hand.

Add one after the Linux driver, with the clock tree up to the clocks of the devices U-Boot drives: the oscillators, the PLLs and their PFDs, the system and bus clocks, the USB, ENET, UART, I2C, DSPI, eSDHC and NFC blocks, the watchdog, the PIT, OCOTP, SNVS and CAAM. Like Linux it takes the PLLs out of bypass.

---
 drivers/clk/imx/Kconfig     |   9 +
 drivers/clk/imx/Makefile    |   1 +
 drivers/clk/imx/clk-vf610.c | 465 ++++++++++++++++++++++++++++++++++++
 3 files changed, 475 insertions(+)
 create mode 100644 drivers/clk/imx/clk-vf610.c
drivers/clk/imx/Kconfig +9 -0
index 644ab162af4..9800c0b56f0 100644
@@ -29,6 +29,15 @@ config CLK_IMX8
 	help
 	  This enables support clock driver for i.MX8 platforms.
 
+config CLK_VF610
+	bool "Clock support for Vybrid VF610"
+	depends on ARCH_VF610
+	select CLK
+	select CLK_CCF
+	help
+	  This enables the clock driver of the Vybrid VF5xx/VF6xx, with the
+	  PLLs, the bus clocks and the clocks of the devices U-Boot drives.
+
 config SPL_CLK_IMX8MM
 	bool "SPL clock support for i.MX8MM"
 	depends on ARCH_IMX8M && SPL
drivers/clk/imx/Makefile +1 -0
index a825ed9988f..b86ade03289 100644
@@ -26,3 +26,4 @@ obj-$(CONFIG_$(PHASE_)CLK_IMXRT1020) += clk-imxrt1020.o
 obj-$(CONFIG_$(PHASE_)CLK_IMXRT1050) += clk-imxrt1050.o
 obj-$(CONFIG_$(PHASE_)CLK_IMXRT1170) += clk-imxrt1170.o
 obj-$(CONFIG_CLK_IMX95_BLKCTRL) += clk-imx95-blkctrl.o
+obj-$(CONFIG_$(PHASE_)CLK_VF610) += clk-vf610.o
drivers/clk/imx/clk-vf610.c new file +465 -0

465 lines not on this page · raw message

Signature · 1 line
2.56.0
#3 lore raw

PATCH 3/8 serial: lpuart: take the ipg clock on the VF610

In reply to Mehmet Fide

From: Mehmet Fide <[email protected]>

With CONFIG_CLK the driver reads the rate of the baud clock from the clock named "per" on every SoC but the i.MX7ULP. The device tree of the VF610 names the one clock of its LPUARTs "ipg", so the lookup fails and the baud rate is never set.

Read the rate from "ipg" on the VF610 as well.

---
 drivers/serial/serial_lpuart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/serial/serial_lpuart.c +1 -1
index 00de1926023..e9e917c2335 100644
@@ -111,7 +111,7 @@ static int get_lpuart_clk_rate(struct udevice *dev, u32 *clk_rate)
 	int ret;
 	char *name;
 
-	if (plat->devtype == DEV_MX7ULP)
+	if (plat->devtype == DEV_MX7ULP || plat->devtype == DEV_VF610)
 		name = "ipg";
 	else
 		name = "per";
Signature · 1 line
2.56.0
#4 lore raw

PATCH 4/8 colibri_vf: use the VF610 clock driver

In reply to Mehmet Fide

From: Mehmet Fide <[email protected]>

Enable the VF610 clock driver, and make the clock controller available before relocation, where the console already asks it for the rate of its clock. The clock tree needs more of the early malloc area than the 8 KB it had.

The device tree assigns the NAND controller 50 MHz, the rate of the VF61. Drop that in the U-Boot overrides, so that the board code keeps setting the rate for the module it finds. The other assigned clocks of the device tree now take effect as they do in Linux, which moves the timestamp clock of the FEC from the external ENET clock to the 50 MHz one.

---
 arch/arm/dts/vf610-colibri-eval-v3-u-boot.dtsi | 13 +++++++++++++
 configs/colibri_vf_defconfig                   |  2 ++
 2 files changed, 15 insertions(+)
arch/arm/dts/vf610-colibri-eval-v3-u-boot.dtsi +13 -0
index a4dabc69428..4413ca6b06f 100644
@@ -19,10 +19,23 @@
 	bootph-all;
 };
 
+&clks {
+	bootph-all;
+};
+
 &dcu0 {
 	bootph-all;
 };
 
+/*
+ * The same device tree runs the VF50 and the VF61, whose NAND controllers
+ * take different clock rates; the board code sets the one of the module.
+ */
+&nfc {
+	/delete-property/ assigned-clocks;
+	/delete-property/ assigned-clock-rates;
+};
+
 &iomuxc {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_ddr>;
configs/colibri_vf_defconfig +2 -0
index fcff654e4e1..0a3977673be 100644
@@ -4,6 +4,7 @@ CONFIG_SYS_THUMB_BUILD=y
 CONFIG_ARCH_VF610=y
 CONFIG_TEXT_BASE=0x87800000
 CONFIG_SYS_MALLOC_LEN=0x0220000
+CONFIG_SYS_MALLOC_F_LEN=0x10000
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_ENV_SIZE=0x20000
 CONFIG_ENV_OFFSET=0x180000
@@ -69,6 +70,7 @@ CONFIG_NETMASK="255.255.255.0"
 CONFIG_USE_SERVERIP=y
 CONFIG_SERVERIP="192.168.10.1"
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_CLK_VF610=y
 CONFIG_DFU_NAND=y
 CONFIG_SYS_DFU_DATA_BUF_SIZE=0x100000
 CONFIG_VYBRID_GPIO=y
Signature · 1 line
2.56.0
#5 lore raw

PATCH 5/8 usb: ehci-vf: enable the PHY clock through the clock driver

In reply to Mehmet Fide

From: Mehmet Fide <[email protected]>

The driver powers PLL3 or PLL7 up and enables its USB output by hand, through the anatop registers. That is the clock the PHY node names in its clocks property, VF610_CLK_USBPHY0 or VF610_CLK_USBPHY1, and the clock driver handles it now.

Get the clock of the PHY and enable it instead, and drop the anatop lookup, which only served that. The driver depends on the clock driver now.

---
 drivers/usb/host/Kconfig   |  2 +-
 drivers/usb/host/ehci-vf.c | 53 +++++++-------------------------------
 2 files changed, 10 insertions(+), 45 deletions(-)
drivers/usb/host/Kconfig +1 -1
index 6bbed9cb513..e92c989288d 100644
@@ -246,7 +246,7 @@ config USB_EHCI_OMAP
 
 config USB_EHCI_VF
 	bool "Support for Vybrid on-chip EHCI USB controller"
-	depends on ARCH_VF610
+	depends on ARCH_VF610 && CLK_VF610
 	default y
 	help
 	  Enables support for the on-chip EHCI controller on Vybrid SoCs.
drivers/usb/host/ehci-vf.c +9 -44

114 lines not on this page · raw message

Signature · 1 line
2.56.0
#6 lore raw

Re: [PATCH 5/8] usb: ehci-vf: enable the PHY clock through the clock driver

On 11/27/26 7:29 PM, Mehmet Fide wrote:

[...]

drivers/usb/host/ehci-vf.c static int vf_parse_dt_addrs(struct udevice *dev) · line 137

Quoted 11 lines
drivers/usb/host/ehci-vf.c +1 -6
@@ -159,16 +134,11 @@ static int vf_parse_dt_addrs(struct udevice *dev)
  	if (ret)
  		return ret;
 
-	anatop_node = ofnode_parse_phandle(phy.node, "fsl,anatop", 0);
-	if (!ofnode_valid(anatop_node))
-		return -EINVAL;
-
-	ret = ofnode_parse_phandle_with_args(phy.node, "clocks", "#clock-cells",
-					     0, 0, &clk);
+	ret = clk_get_by_index_nodev(phy.node, 0, &priv->phy_clk);

Can we avoid the _nodev function here ?

#7 lore raw

Re: [PATCH 5/8] usb: ehci-vf: enable the PHY clock through the clock driver

Hi Marek,

Quoted 2 lines

drivers/usb/host/ehci-vf.c static int vf_parse_dt_addrs(struct udevice *dev) · line 137

Quoted 1 line
drivers/usb/host/ehci-vf.c +1 -0
+	ret = clk_get_by_index_nodev(phy.node, 0, &priv->phy_clk);

Can we avoid the _nodev function here ?

Only by giving the PHY a driver of its own. The clock is in the PHY node (clocks = <&clks VF610_CLK_USBPHY0>), and no U-Boot driver binds to fsl,vf610-usbphy, so there is no device to take it from. ehci-vf already reads the PHY registers from that node directly, and sun8i_emac takes the clock of its PHY the same way.

The alternative is a UCLASS_PHY driver for fsl,vf610-usbphy that owns the PHY registers and clock, which ehci-vf would get through the fsl,usbphy phandle. I can add that in v2 if you prefer it; otherwise I would keep _nodev here.

Mehmet

#8 lore raw

Re: [PATCH 5/8] usb: ehci-vf: enable the PHY clock through the clock driver

On 11/28/26 8:25 AM, Mehmet Fide wrote:

Hello Mehmet,

Quoted 9 lines
Quoted 2 lines

drivers/usb/host/ehci-vf.c static int vf_parse_dt_addrs(struct udevice *dev) · line 137

Quoted 1 line
drivers/usb/host/ehci-vf.c +1 -0
+	ret = clk_get_by_index_nodev(phy.node, 0, &priv->phy_clk);

Can we avoid the _nodev function here ?

Only by giving the PHY a driver of its own. The clock is in the PHY node (clocks = <&clks VF610_CLK_USBPHY0>), and no U-Boot driver binds to fsl,vf610-usbphy, so there is no device to take it from. ehci-vf already reads the PHY registers from that node directly, and sun8i_emac takes the clock of its PHY the same way.

Quoted 4 lines

The alternative is a UCLASS_PHY driver for fsl,vf610-usbphy that owns the PHY registers and clock, which ehci-vf would get through the fsl,usbphy phandle. I can add that in v2 if you prefer it; otherwise I would keep _nodev here.

Keep _nodev, but please document it.

Also, I take it that these patches are for v2027.04, correct ?

#9 lore raw

PATCH 6/8 usb: ehci-vf: drop the port number

In reply to Mehmet Fide

From: Mehmet Fide <[email protected]>

The port number is left only to pass to board_ehci_hcd_init(), which no Vybrid board implements. Drop both, along with the switch that took the number from the clock of the PHY.

---
 drivers/usb/host/ehci-vf.c | 23 -----------------------
 1 file changed, 23 deletions(-)
drivers/usb/host/ehci-vf.c +0 -23
index fa36e3e2af4..1848690d3c8 100644
@@ -18,7 +18,6 @@
 #include <asm/mach-imx/iomux-v3.h>
 #include <asm/mach-imx/regs-usbphy.h>
 #include <dm/device_compat.h>
-#include <dt-bindings/clock/vf610-clock.h>
 #include <linux/compiler.h>
 #include <linux/delay.h>
 #include <linux/usb/otg.h>
@@ -45,7 +44,6 @@ struct ehci_vf_priv_data {
 	struct udevice *dev;
 	struct udevice *vbus_supply;
 	struct clk phy_clk;
-	u32 portnr;
 };
 
 static void usb_internal_phy_clock_gate(struct ehci_vf_priv_data *priv)
@@ -93,20 +91,10 @@ static void usb_oc_config(struct ehci_vf_priv_data *priv)
 	setbits_le32(priv->misc_addr, UCTRL_OVER_CUR_DIS);
 }
 
-int __weak board_ehci_hcd_init(int port)
-{
-	return 0;
-}
-
 static int ehci_vf_common_init(struct ehci_vf_priv_data *priv)
 {
 	int ret;
 
-	/* Do board specific initialisation */
-	ret = board_ehci_hcd_init(priv->portnr);
-	if (ret)
-		return ret;
-
 	ret = clk_enable(&priv->phy_clk);
 	if (ret)
 		return ret;
@@ -138,17 +126,6 @@ static int vf_parse_dt_addrs(struct udevice *dev)
 	if (ret)
 		return ret;
 
-	switch (priv->phy_clk.id) {
-	case VF610_CLK_USBPHY0:
-		priv->portnr = 0;
-		break;
-	case VF610_CLK_USBPHY1:
-		priv->portnr = 1;
-		break;
-	default:
-		return -EINVAL;
-	}
-
 	addr = ofnode_get_addr(phy.node);
 	if (addr == FDT_ADDR_T_NONE)
 		return -EINVAL;
Signature · 1 line
2.56.0
#11 lore raw

PATCH 7/8 usb: ehci-vf: enable the controller clock

In reply to Mehmet Fide

From: Mehmet Fide <[email protected]>

The controller clock, VF610_CLK_USBC0 or VF610_CLK_USBC1 in the clocks property of the controller node, is only enabled because the board code ungates both in the CCM.

Get it and enable it with the clock of the PHY, before the controller is touched.

---
 drivers/usb/host/ehci-vf.c | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/usb/host/ehci-vf.c +9 -0
index 1848690d3c8..f903cd4f670 100644
@@ -43,6 +43,7 @@ struct ehci_vf_priv_data {
 	void __iomem *misc_addr;
 	struct udevice *dev;
 	struct udevice *vbus_supply;
+	struct clk clk;
 	struct clk phy_clk;
 };
 
@@ -95,6 +96,10 @@ static int ehci_vf_common_init(struct ehci_vf_priv_data *priv)
 {
 	int ret;
 
+	ret = clk_enable(&priv->clk);
+	if (ret)
+		return ret;
+
 	ret = clk_enable(&priv->phy_clk);
 	if (ret)
 		return ret;
@@ -148,6 +153,10 @@ static int vf_usb_of_to_plat(struct udevice *dev)
 	if (ret)
 		return ret;
 
+	ret = clk_get_by_index(dev, 0, &priv->clk);
+	if (ret)
+		return ret;
+
 	priv->ehci = dev_read_addr_ptr(dev);
 	priv->dr_mode = usb_get_dr_mode(dev_ofnode(dev));
 	/* Handle legacy DTs without dr_mode property, fall back to host */
Signature · 1 line
2.56.0
#12 lore raw

PATCH 8/8 colibri_vf: leave the USB clocks to the drivers

In reply to Mehmet Fide

From: Mehmet Fide <[email protected]>

ehci-vf enables the controller clock and the clock of the PHY, which powers PLL3 or PLL7 up, and the clock driver takes the PLLs out of bypass. Drop the USB part of clock_init().

That part also switched off the PLL3 the boot ROM leaves running: bit 12 of the USB PLL control registers, named POWERDOWN here, powers the PLL up, and clock_init() cleared it. PLL3 now stays as the ROM left it.

---
 board/toradex/colibri_vf/colibri_vf.c | 14 --------------
 1 file changed, 14 deletions(-)
board/toradex/colibri_vf/colibri_vf.c +0 -14
index adf755707f9..2ef78a5e47d 100644
@@ -132,20 +132,6 @@ static void clock_init(void)
 	clrsetbits_le32(&ccm->ccgr10, CCM_REG_CTRL_MASK,
 			CCM_CCGR10_NFC_CTRL_MASK);
 
-#ifdef CONFIG_USB_EHCI_VF
-	setbits_le32(&ccm->ccgr1, CCM_CCGR1_USBC0_CTRL_MASK);
-	setbits_le32(&ccm->ccgr7, CCM_CCGR7_USBC1_CTRL_MASK);
-
-	clrsetbits_le32(&anadig->pll3_ctrl, ANADIG_PLL3_CTRL_BYPASS |
-			ANADIG_PLL3_CTRL_POWERDOWN |
-			ANADIG_PLL3_CTRL_DIV_SELECT,
-			ANADIG_PLL3_CTRL_ENABLE);
-	clrsetbits_le32(&anadig->pll7_ctrl, ANADIG_PLL7_CTRL_BYPASS |
-			ANADIG_PLL7_CTRL_POWERDOWN |
-			ANADIG_PLL7_CTRL_DIV_SELECT,
-			ANADIG_PLL7_CTRL_ENABLE);
-#endif
-
 	clrsetbits_le32(&anadig->pll5_ctrl, ANADIG_PLL5_CTRL_BYPASS |
 			ANADIG_PLL5_CTRL_POWERDOWN, ANADIG_PLL5_CTRL_ENABLE |
 			ANADIG_PLL5_CTRL_DIV_SELECT);
Signature · 1 line
2.56.0