Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3060699rdh; Thu, 28 Sep 2023 01:00:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF4LwgG1aeefq5QM/rYHNoWfhleaQb1735xeXWjBgV4x+qk2RxZGRiv31djIsL0JXpYDW09 X-Received: by 2002:a05:620a:4402:b0:76e:ef9e:9e59 with SMTP id v2-20020a05620a440200b0076eef9e9e59mr645149qkp.4.1695888000153; Thu, 28 Sep 2023 01:00:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695888000; cv=none; d=google.com; s=arc-20160816; b=e0GQUW5W8lgECVUxKEUzTCwbRwccWaF9tuFTtxRp9J57j+ObWqqtdSonNSPesnDFZF huEqkK9jqCE0xPOiA+gdnh4dNjIlIXDVngwoRzu5W28DzaQd5qgkS5D+M1lGedFs94eN XNIa2ZnzJZpAXYAN1hj7VP4s22igHQjNv9L6tq3iP7YaWjKf/v78LGxjyi14+tzwGAf2 NVBpBoBl1p+0v0Ax4FaAY/mobJEfX2MsZrmyOkT4mDlE/JqoudTxyTe+7UpuqEKrWUpv jiZHew2+nAPRY+eFUItzQB4yl7+8j8WIFdi1qZJdtFoARduJRLeF0O571Jh1fn1CvJrX CwPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=zn1aCWFK02RdgNIohYfLAkGr+sm0zPJlF9Mc5lSEwG8=; fh=5LM6GkpjxKc+2nki1M3ZHMKOpHDRCWowt195BO4TV8w=; b=DulBBgIchnKW+ltJZQj5fUk1Jn7oFAcBeoGQf9J3K0xX1Q9Mm+GVzU2fZhxjEK9yLz Pf+cFzuM+IYoxSXexAqnuxoGoZRKq3NOldvQCb/2zZrsUT96qW2N+56ATE5omwjFhIM3 fVx+n6A2dHA7LRgv3dLvbVklbEltKmOoq9gE3st0AauoJ95tvEu9SHtPvOmDCriPV4UE ls6UMh+BnAz4CHFcNxKqadRW7Y7vDjAR7BZz1Wtqug/JX8mGgbmVE1jKrC9mudaBRUqx tvq8ETQK4IbVibz1ypK1dWMGlWENmOJlb4yj1T77h0DLzCP1AOeMMYKJTpZk84kDav/Z V2Zg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id k33-20020a634b61000000b00578fcbfebdasi19122907pgl.734.2023.09.28.00.59.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 01:00:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 27D9E8025F7E; Thu, 28 Sep 2023 00:56:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230044AbjI1H4e convert rfc822-to-8bit (ORCPT + 99 others); Thu, 28 Sep 2023 03:56:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229539AbjI1H4d (ORCPT ); Thu, 28 Sep 2023 03:56:33 -0400 Received: from mail-yw1-f171.google.com (mail-yw1-f171.google.com [209.85.128.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBDCE92 for ; Thu, 28 Sep 2023 00:56:31 -0700 (PDT) Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-59f6e6b206fso105937477b3.3 for ; Thu, 28 Sep 2023 00:56:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695887790; x=1696492590; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=///6BZDQGo/3wRvsKomS4kW8ql3SPch+OsrNejAumIA=; b=GZVKuLLX/KflbPLdVKRDA5rN0lCj3vzpidGR4YhBSCjSF2I6X4oeXZzFTR4Tkz3Uf3 PJYfTNspdOQL8/aHqa9FQ9krfawn+zcPmR6MUMSOD3qceaImtYW+H5ZhjXrfzmfXKx3U rYRG3egzECGRW5w4aOk2hCAq5Y1IF8HdMfVdMUZqoAo+ipRFU81XB+UBZHgZGYATUsIb L5IPXtteGZqc3z/WWs0T8nAhlAHnjfzIOypaQTn8HOr0DJpdnwXqumVkgsJSajHhR1iS kPmCkm3kQ9FXAiEMhlutj+hK2YU3dD+aOVAh4ykZsCl8WE3UbZ4zh4u5rgAbVu3ChPFH Yvfw== X-Gm-Message-State: AOJu0Yyr7RrfS0QJ3qBH17T4R3UmONfLWq+6vnOj8B4YWb0Y0vyepK6q /bOU/YKtSRhXfLwaBbvc9pn7YZy25RJXpw== X-Received: by 2002:a81:5286:0:b0:59f:519e:3e98 with SMTP id g128-20020a815286000000b0059f519e3e98mr537972ywb.7.1695887790686; Thu, 28 Sep 2023 00:56:30 -0700 (PDT) Received: from mail-yw1-f177.google.com (mail-yw1-f177.google.com. [209.85.128.177]) by smtp.gmail.com with ESMTPSA id h67-20020a0dc546000000b00583b144fe51sm4380435ywd.118.2023.09.28.00.56.30 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Sep 2023 00:56:30 -0700 (PDT) Received: by mail-yw1-f177.google.com with SMTP id 00721157ae682-59f6041395dso117361477b3.1 for ; Thu, 28 Sep 2023 00:56:30 -0700 (PDT) X-Received: by 2002:a0d:ebd6:0:b0:592:9035:8356 with SMTP id u205-20020a0debd6000000b0059290358356mr542647ywe.26.1695887790180; Thu, 28 Sep 2023 00:56:30 -0700 (PDT) MIME-Version: 1.0 References: <202308161422.37GEMlZkA018197@rtits1.realtek.com.tw> <6c02765f89eb4455806b895a6e0cb763@realtek.com> In-Reply-To: From: Geert Uytterhoeven Date: Thu, 28 Sep 2023 09:56:16 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] phy: realtek: Realtek PHYs should depend on ARCH_REALTEK To: Vinod Koul Cc: =?UTF-8?B?U3RhbmxleSBDaGFuZ1vmmIzogrLlvrdd?= , Kishon Vijay Abraham I , Greg Kroah-Hartman , "linux-phy@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 28 Sep 2023 00:56:48 -0700 (PDT) Hi Vinod, On Thu, Aug 17, 2023 at 8:46 AM Vinod Koul wrote: > On 17-08-23, 02:06, Stanley Chang[昌育德] wrote: > > > diff --git a/drivers/phy/realtek/Kconfig b/drivers/phy/realtek/Kconfig index > > > 650e20ed69af41d2..75ac7e7c31aec6f2 100644 > > > --- a/drivers/phy/realtek/Kconfig > > > +++ b/drivers/phy/realtek/Kconfig > > > @@ -2,6 +2,9 @@ > > > # > > > # Phy drivers for Realtek platforms > > > # > > > + > > > +if ARCH_REALTEK || COMPILE_TEST > > > + > > > config PHY_RTK_RTD_USB2PHY > > > tristate "Realtek RTD USB2 PHY Transceiver Driver" > > > depends on USB_SUPPORT > > > @@ -25,3 +28,5 @@ config PHY_RTK_RTD_USB3PHY > > > The DHC (digital home center) RTD series SoCs used the Synopsys > > > DWC3 USB IP. This driver will do the PHY initialization > > > of the parameters. > > > + > > > +endif # ARCH_REALTEK || COMPILE_TEST > > > > Thanks for your patch. > > Why not use "depends on"? > > depends on ARCH_MEDIATEK || COMPILE_TEST > > I think this patch is better, this way all future rtek drivers will be > fixed as well, no need to add for each driver Is there anything still blocking this patch? Do you want me to resend? Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds