Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 22459606A68F for ; Fri, 4 Dec 2026 09:05:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.u-boot-project.org header.i=@lists.u-boot-project.org header.a=rsa-sha256 header.s=default header.b=YllhlFSc; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=u0D30Nes Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id E647F616FA; Fri, 4 Dec 2026 09:05:25 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 7SP6zoJfwEEn; Fri, 4 Dec 2026 09:05:25 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp3.osuosl.org E357F614DC Authentication-Results: smtp3.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1796375125; b=VwyzZm3zQhvFVO378TcRhti8jKiQu6g3azf6VrKT+zmL2wXcrOpOZz/6zXeBdl7WRpkY F45fF0j/6mTOTcYEbUaHcfxp6SiEYbhJuCkidyAj4keEMdzxOrhCwcfP28svDOq/8+NEw QwwYy6nLC0atbomf79z6BQAIx0IpFrvO/OJVVkXZ4bMm7HP4yNw29jSq39mSIQm0Oa+vZ vhJDjaOQCVMWGHj+Ke1LbQ9Vwa9keR8lQkMzXflbRW3f05v5YFHohX+QRaoO3mpM7glcz 5M1kruekomdxUn0wuVjDeArVEQBct0YUmdO4wQrOVyzWOU7j7gqtz8hoFOhd6/3kLhg== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1796375125; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject: Date:Message-ID:X-Mailer:MIME-Version:Content-Transfer-Encoding: X-BeenThere:X-Mailman-Version:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:Errors-To; bh=wDQ3lgmTzkq1vUvCtBGwCcrWasadKSUraxNA+DtoR0E=; b=LE1gypRrT312J41Z/SXpRhEcjkHbZwI6J1GslNYZHTIh4bJY5KztsEtmjFYbzO59B35X rXagKfJMe2rz/tDrFuDML6JCe10zLZJEbHS9ea5P9e+eYLMg2ZaTyW4gnWbSjUErKPQNj 7mDyPszC2V3TCwOTGIA1wwwMf+QttY5E4U6sL2jsyBlEZR67voUfuMz+urCt/+XOOEFS0 M1R+XbwHluEWLq8wS+kagy7Isbis5rYtnPicwOOvMFEcHafofJpsNc5jM24Dn0nf2ERMT eYyWHVDERitbx5W4xyNI5NfApYFLOWxjcXgoIae7uF3VaxP9QNrSTy1iLs5MOYbqjpA== ARC-Authentication-Results: i=1; smtp3.osuosl.org; dmarc=pass header.from=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=u0D30Nes; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=u-boot-bounces@lists.u-boot-project.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.u-boot-project.org; s=default; t=1796375125; bh=wDQ3lgmTzkq1vUvCtBGwCcrWasadKSUraxNA+DtoR0E=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=YllhlFScbb65gTWLoMUv+71ALmIlazBBIZYYTLvaWa/kwBk2ReAtIWYNGykih3Z8W l1vDB7KdxP24JCA8pLqq/XhhTSSIaH815yga1J3YpaJyff/2FrKNtfkSPPAaHlbtH3 T2RBOjoRlpaPCNPbpXqmdTfkTo1UqSaOirNBOt0XYcfzNBmQOd6lWacXULl9wwoTNB j3dVVRcDQjti7YwYVqWZFr98F1l3spqMEf4Ba5mq7xsH+LAIW6gxhFgRwvoPRuLJZL l3ylf9N6DWgeWmMx3PLK9ctVXK/pF7vXglMC82hLT6hJ0ibSuBHT85cQbrWMi4jxnh 9CXUmj7B0GdPg== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id E357F614DC; Fri, 4 Dec 2026 09:05:24 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) by lists1.osuosl.org (Postfix) with ESMTP id 669832FF for ; Fri, 4 Dec 2026 09:05:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 4CAC660EDE for ; Fri, 4 Dec 2026 09:05:22 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id NdaDF-qoTAA7 for ; Fri, 4 Dec 2026 09:05:21 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp3.osuosl.org 385F260E00 Authentication-Results: smtp3.osuosl.org; arc=none smtp.remote-ip="2a00:1450:4864:20::32f" Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::32f; helo=mail-wm1-x32f.google.com; envelope-from=mehmet.fide@gmail.com; receiver= Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=u0D30Nes Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by smtp3.osuosl.org (Postfix) with ESMTPS id 385F260E00 for ; Fri, 4 Dec 2026 09:05:20 +0000 (UTC) Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-4a3517554f7so5481335e9.2 for ; Fri, 04 Dec 2026 01:05:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796375118; x=1796979918; darn=lists.u-boot-project.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=wDQ3lgmTzkq1vUvCtBGwCcrWasadKSUraxNA+DtoR0E=; b=u0D30Nesy0FqWOwuTNrrR+8MQc+6nGLIjiNLEkFwnNefE26C9rcDAbjQzlccUOqSKZ hILgHkSmc42BCs9jILu+fVaucupiM0FMrVpPiNvaXY4dnWj9IavF65SYpmo1vmay100w E8SzNWpYavnOClhSc28KxGEIpqAYpslnTWPeo5zjR6v8Ie1l4eEPRnecEWWFvqwwtwPQ f1WVVFam0X5lcMmcwhGFB+olBD37CdROxIm58Lhj8wsQKym/7hTDRj1Bs5PqbIgRYXw7 LG2Mscemu6XzIoM0TMm8NFp9EDZltBaHXmV/o3C2Vz5pfiEE29mO5n44f4d1UIQWAbOh wLOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796375118; x=1796979918; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=wDQ3lgmTzkq1vUvCtBGwCcrWasadKSUraxNA+DtoR0E=; b=Vot6hAWfxEWLyOo9IyT387J4qdrDatkEQaA4P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QRDuZPHT9N8MMPMQaAaAXJLnJPQs8PugZJ/+nCc/pnmSgnYi/bH27T+ExODZro31KI+8qZ I3vKBmmWudaNOxY7FzBFPrlxfwNUOuDx6v0= X-Received: by 2002:a05:600c:4f0f:b0:4bb:9a6c:8712 with SMTP id 5b1f17b1804b1-4bbecdd6bf2mr22240705e9.12.1796375116918; Fri, 04 Dec 2026 01:05:16 -0800 (PST) Received: from deb05.proceq.com ([213.160.61.66]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4d16e1a59a3sm4087946f8f.7.2026.12.04.01.05.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 01:05:16 -0800 (PST) From: Mehmet Fide To: Marek Vasut , Fabio Estevam Cc: Lukasz Majewski , Peng Fan , Stefano Babic , "NXP i . MX U-Boot Team" , Tom Rini , Francesco Dolcini , Stefan Eichenberger , Ilias Apalodimas , u-boot@lists.u-boot-project.org, mehmet.fide@screeningeagle.com Subject: [PATCH v2 0/8] vf610: add a clock driver, ehci-vf takes its clocks from it Date: Fri, 4 Dec 2026 10:05:07 +0100 Message-ID: <20261204090515.2230210-1-mehmet.fide@gmail.com> X-Mailer: git-send-email 2.56.0 X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.u-boot-project.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: U-Boot discussion List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 From: Mehmet Fide The Vybrid gets a clock driver, ported from Linux to the common clock framework, and ehci-vf takes its clocks from it instead of setting the PLL bits of its port by hand, as agreed in the ehci-vf review [1]. Tested on a Colibri VF50 and a VF61, booted from NAND and over serial download: console, SD, NAND/UBI, USB host, DFU and UMS, FEC, booting Linux, 10 power cycles and 10 resets each. The clock rates and the Linux clock tree are the same as without the series. Outside the Vybrid only patch 1 reaches other boards (PLLv3, about 210 bytes on i.MX6 and i.MX RT); buildman builds the 58 affected boards without new warnings. v2: - 2/8: macro for the PLL count, calls up to 100 columns (Peng) - 2/8: headers kept in the codingstyle.rst groups (Peng, question open) - 5/8: comment at clk_get_by_index_nodev() (Marek) - Reviewed-by from Peng on 3/8 and 4/8, from Marek on 6/8 - rebased on next, object code unchanged [1] https://lore.kernel.org/u-boot/20261023111559.4081795-1-mehmet.fide@gmail.com/ 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 | 400 ++++++++++++++++++ drivers/serial/serial_lpuart.c | 2 +- drivers/usb/host/Kconfig | 2 +- drivers/usb/host/ehci-vf.c | 78 +--- 10 files changed, 479 insertions(+), 79 deletions(-) create mode 100644 drivers/clk/imx/clk-vf610.c base-commit: 42680af8d15bb49201b298ab5f62058051c13083 -- 2.56.0