From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 39338FD3747 for ; Wed, 25 Feb 2026 12:15:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EsidDJfg7sQKJKWt1aeKjrOufJrQ9uGuvhurIXO3QLg=; b=iokINMVfWveWnm lA1ze14RL0WwmPQ+aBpnY9dy8QYxAC1KvXMbhCXNBCI5eXfe0lHEPnjDa5ibQUNFZ9zsiLRspdt5I U9HVmmccg3xpXVOnbWV9ABceqyEG7witNLCI+i8m+DraWS/oGoz+ynj4c5oqyD8xpAlJ8V2JH7wzE fTXLO8vx3yLpve3Y5S9R428EGLsF5NjLaP5bPA9gPXNOvLjbfMDEAm0AWPDZ5ECe/4T1VS5cyJ/DO J6qPsXSSlVZPUDlEDXx/S9iXcmBNGxhQ1T66iIzdeEdYn65HCYBqDZXmcnvf61w4Q1HsVl8d9Fq/K vHavjiM4dHlwtDCV3dzw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vvDnG-00000003y9t-3zkX; Wed, 25 Feb 2026 12:15:06 +0000 Received: from smtp81.cstnet.cn ([159.226.251.81] helo=cstnet.cn) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vvDnC-00000003y8n-3u4z; Wed, 25 Feb 2026 12:15:05 +0000 Received: from duge-virtual-machine (unknown [112.53.146.143]) by APP-03 (Coremail) with SMTP id rQCowAAHItm2555pSx1OCQ--.33021S2; Wed, 25 Feb 2026 20:14:48 +0800 (CST) Date: Wed, 25 Feb 2026 20:14:46 +0800 From: Jiayu Du To: vkoul@kernel.org, gregkh@linuxfoundation.org, conor@kernel.org Cc: neil.armstrong@linaro.org, robh@kernel.org, krzk+dt@kernel.org, pjw@kernel.org, palmer@dabbelt.com, aou@eecs.berkeley.edu, alex@ghiti.fr, linux-phy@lists.infradead.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 0/4] Add USB support for Canaan K230 Message-ID: References: <20260121145526.14672-1-jiayu.riscv@isrc.iscas.ac.cn> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CM-TRANSID: rQCowAAHItm2555pSx1OCQ--.33021S2 X-Coremail-Antispam: 1UD129KBjvJXoWxGFyDXrWkCFyxGFWfGF4kZwb_yoW5WFW5pa y2kF43CF4DJFWIqa97tw1rGF98ZFs5Jry5Gryaq3sxXa4UZr1UAwn3G3y5ZFyDJFs5Cryj vF15GFy7GFyUAaDanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUvvb7Iv0xC_Kw4lb4IE77IF4wAFF20E14v26r4j6ryUM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Jr0_JF4l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVWUJVW8JwA2z4x0Y4vEx4 A2jsIEc7CjxVAFwI0_Gr0_Gr1UM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI 64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8Jw Am72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IY64vIr41lFIxGxcIEc7CjxVA2Y2ka0xkIwI1l c7CjxVAaw2AFwI0_Jw0_GFyl42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr 1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE 14v26r1q6r43MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7 IYx2IY6xkF7I0E14v26r4j6F4UMIIF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E 87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r4j6r4UJbIYCTnIWIevJa73Uj IFyTuYvjxUqiFxDUUUU X-Originating-IP: [112.53.146.143] X-CM-SenderInfo: 5mld534oul2uny6l223fol2u1dvotugofq/ X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260225_041503_331871_DDB99EC5 X-CRM114-Status: GOOD ( 24.19 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org On Mon, Feb 02, 2026 at 07:31:36PM +0800, Jiayu Du wrote: > On Wed, Jan 21, 2026 at 10:55:21PM +0800, Jiayu Du wrote: > > Add support for the USB PHY and DWC2 IP which is used by Canaan K230, > > and made relevant changes to the DTS. > > > > This series is based on the initial 100ask K230 DshanPi series [1] which > > is based on the clock and pinctrl series. Check the details in the link. > > > > Link: https://lore.kernel.org/all/20260115060801.16819-1-jiayu.riscv@isrc.iscas.ac.cn/ [1] > > > > Changes in v5: > > - Changed the year of Copyright to 2026. > > - Add blank line after the declaration of variables > > - Fix wrong alignment. > > - Link to v4: https://lore.kernel.org/all/20260120143243.71937-1-jiayu.riscv@isrc.iscas.ac.cn/ > > > > Changes in v4: > > - Shrink reg length to match the address/size-cells in k230-usb-phy yaml. > > - Move all PHY instance creation and initialization from xlate to probe. > > - Modify xlate function to only perform index lookup for PHY instances. > > - Define all register base offsets macros at the top of file instead of > > hard-coding magic numbers directly in probe. > > - Link to v2: https://lore.kernel.org/all/20260115064223.21926-1-jiayu.riscv@isrc.iscas.ac.cn/ > > > > Changes in v3: > > - Please ignore v3. > > > > Changes in v2: > > - Fold the child into the parent in dtsi. > > - Define one usbphy with phy-cells=1. > > - Delete the clock of the usbphy as it is not needed. > > - Link to v1: https://lore.kernel.org/all/20251230023725.15966-1-jiayu.riscv@isrc.iscas.ac.cn/ > > > > Jiayu Du (4): > > dt-bindings: phy: Add Canaan K230 USB PHY > > dt-bindings: usb: dwc2: Add support for Canaan K230 SoC > > phy: usb: Add driver for Canaan K230 USB 2.0 PHY > > riscv: dts: canaan: Add syscon and USB nodes for K230 > > > > .../bindings/phy/canaan,k230-usb-phy.yaml | 35 +++ > > .../devicetree/bindings/usb/dwc2.yaml | 3 + > > .../boot/dts/canaan/k230-canmv-dshanpi.dts | 17 ++ > > arch/riscv/boot/dts/canaan/k230.dtsi | 35 +++ > > drivers/phy/Kconfig | 1 + > > drivers/phy/Makefile | 1 + > > drivers/phy/canaan/Kconfig | 14 + > > drivers/phy/canaan/Makefile | 2 + > > drivers/phy/canaan/phy-k230-usb.c | 284 ++++++++++++++++++ > > 9 files changed, 392 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/phy/canaan,k230-usb-phy.yaml > > create mode 100644 drivers/phy/canaan/Kconfig > > create mode 100644 drivers/phy/canaan/Makefile > > create mode 100644 drivers/phy/canaan/phy-k230-usb.c > > > > -- > > 2.52.0 > > > Hello Vinod, could you please take a look at this patch? Thank you! > > Regards, > Jiayu Du Hi Vinod, will you review this patch? Thank you again! Regards, Jiayu Du > > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy