Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2321262rwd; Fri, 19 May 2023 04:18:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7CAY8V2x479Lzdj7k8QsS2F5qY3HF7XyyNheK2PUajSROzxKrOS79hVeq3ITSMXFUhxU/z X-Received: by 2002:a05:6a21:3703:b0:107:1f22:10d2 with SMTP id yl3-20020a056a21370300b001071f2210d2mr1406105pzb.20.1684495083164; Fri, 19 May 2023 04:18:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684495083; cv=none; d=google.com; s=arc-20160816; b=zZDrNMI01WbDAtyjdxCAyaQRqnA8KoqiI2auKbjx7LUHFb9PetiZP0WEjrwXbxdOTu UDoaNebm6RYORjj+IKAKEONdq7P4hFKp8KEXH/5PZy3y+79niMdI1TF5qb+D75VU0ozP spAolm1QPGQSkmCcd/FwEPopc+iQ4wxS5hO8xRomIWwuakj63b1Gfyp/DBARd7MBEAAn S/Kv3UcIglD0Fv5/SChhk6QV6lR6383MpzFtMqEHwRevgfwBNvJzjz7b8WHHzhHTiAvK eZHYYMcCCf29gH/SnyFjkL6xnyLJEBOn+uOVRCp13LqIvdgAUNMHJoANncTU0UyFu4J0 /TlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:cc:to:from :date:references:in-reply-to:message-id:mime-version:user-agent :feedback-id:dkim-signature:dkim-signature; bh=gV73rdtQgxipqFYPyr3Q/D+7HTlx1vCuwWYZk9rvHV0=; b=nVSiuGD+lSb8+sjR2Z8CGUFkDNLoDKLkPfxv23WdKC6ky5qaNGplRuTuKHSbmPIJbg 8iztfmyqYfIYuKqHmvHn80SXfAN/eUoO3H5SpBXymbuSDvuqrVDGfxUEFBF/Q/oNEK/D GHxZULJURv0hYAzaet8/lshCDPCfWiPySc62YuzuCRXUz6sX0JxZGPpiTP0sgCNvsIJr 3JqMJyFfpXs4ozgSiqsFoLn87aS5RjdpsEc4TKePn+vpK6J5tCjxr0CpLgaWaNpLdvG+ loeAHMo7LcSXLLY9iCp8YJ06g9yyzt2I5WfFNyAxv+jwtTDU2m6Mby+eMSdCFPJ/dXqi ee/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=cHyg654m; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=ar8m4LrR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v190-20020a6389c7000000b00530b7eca08dsi3767182pgd.51.2023.05.19.04.17.47; Fri, 19 May 2023 04:18:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=cHyg654m; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=ar8m4LrR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231938AbjESLDu (ORCPT + 99 others); Fri, 19 May 2023 07:03:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231340AbjESLDi (ORCPT ); Fri, 19 May 2023 07:03:38 -0400 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB9FF19A2; Fri, 19 May 2023 04:03:12 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id D343A5C00E3; Fri, 19 May 2023 07:02:56 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Fri, 19 May 2023 07:02:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1684494176; x=1684580576; bh=gV73rdtQgxipqFYPyr3Q/D+7HTlx1vCuwWY Zk9rvHV0=; b=cHyg654mmAsroWePFnZ4kSZFalqsGFUxLofrdI2FilESWopT1gF 9WDo3dFq+m1KF0E8Cn9aitPx9WUpDVN81x9kAXAKqKyVz2Mbx0mBxDd1uAJlGNWN X1exX1FSeo3eqYNWnw/VYtsUi/hYXApTZjKMTelAdYPxoldKg97AD3OMexQO+CX/ ovxURSu7yXoPeQmh6zvxmuE2YUcK+enznzzjudTOpe+zWEOwc2F7CsnUDTpvqeJa MW7+wSbFZ0IoWm6ALbf33tJQYpd/sDhs9Zwe+lCXLF3wI5BHxRQLaUhrB2v5KyL/ 2++FHFYrxtWY173DXSPXEOJoUk/kkrxLdSw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1684494176; x=1684580576; bh=gV73rdtQgxipqFYPyr3Q/D+7HTlx1vCuwWY Zk9rvHV0=; b=ar8m4LrRthd6WGP71fd/XRn6S0kUGl+1IKGZ9kFDGlbl+IJpExg w51qsJwcarK2nosxYsFe1r2W1BprUsvUftc8bB4PNuvpChqCUpvjI/9bUp3A2J9K 8SRi7xXoRPhaBuxqmcVh8A9rYIq9TnYnHDconSLB8Sys/zwbGDIyT7gNA9rqTVpd HSwUHJNQsTgBO/kH9cWyvt2GvvVyYB6kc+zoHlC8w8gUl6ytpK95+rsZjtdsSm0c etUPqLda/TS7Js9NCFce8Cv+VX3TD7Vh0LHIzX+/LYCWT3A/D7IZTAqbVdbtYru+ YndQqJECqnX5TYrLU4iEGQ6rgLGqjNOZxrA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeihedgfeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpeegfeejhedvledvffeijeeijeeivddvhfeliedvleevheejleetgedukedt gfejveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 66707B60086; Fri, 19 May 2023 07:02:54 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-431-g1d6a3ebb56-fm-20230511.001-g1d6a3ebb Mime-Version: 1.0 Message-Id: In-Reply-To: <0ee8a26205a041cab9a787ec29201a9f@realtek.com> References: <20230519045825.28369-1-stanley_chang@realtek.com> <20230519045825.28369-2-stanley_chang@realtek.com> <0d165c7efbb71a65803abddc364e1c5252b8b939.camel@crapouillou.net> <0ee8a26205a041cab9a787ec29201a9f@realtek.com> Date: Fri, 19 May 2023 13:01:34 +0200 From: "Arnd Bergmann" To: "Stanley Chang" , "Paul Cercueil" , "Greg Kroah-Hartman" Cc: "Vinod Koul" , "Kishon Vijay Abraham I" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Alan Stern" , "Ray Chi" , "Bagas Sanjaya" , "Eugeniu Rosca" , "Michael Grzeschik" , "Matthias Kaehlcke" , "Flavio Suligoi" , "Mathias Nyman" , "Bhuvanesh Surachari" , "Linus Walleij" , "linux-phy@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-usb@vger.kernel.org" Subject: Re: [PATCH v1 2/3] usb: phy: Add driver for the Realtek SoC USB 2.0/3.0 PHY Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 19, 2023, at 12:58, Stanley Chang[=E6=98=8C=E8=82=B2=E5=BE=B7= ] wrote: >>=20 >> I'm pretty sure that drivers/usb/phy/ is deprecated now... >>=20 >> New drivers should be written for the generic PHY subsystem in >> drivers/phy/. Indeed, I missed that in my review. > Thanks for your reminder. > Will drivers/usb/phy be removed? > Is it not allowed to add new drivers? > > In our application, driver/phy is not suitable. > We need to notify the phy driver when the USB hub port status changes. > However, generic PHY drivers are designed for various device's PHY. > And it seems inappropriate to add this function. So we choose to use=20 > driver/usb/phy.=20 If you run into something that works in the old usbphy layer but can't be done in drivers/phy, I think the better solution would be to change the drivers/phy/ code to add this. Arnd