Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5155761iob; Mon, 9 May 2022 09:44:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMGg+ZKA5iGeOf3GgLxeczQ+tZX4v3/uu2G1apYwKDUsOntvSybsw9fBYsQbA11J6xnD5C X-Received: by 2002:a05:620a:170a:b0:6a0:267a:b19c with SMTP id az10-20020a05620a170a00b006a0267ab19cmr12267169qkb.253.1652114698555; Mon, 09 May 2022 09:44:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652114698; cv=none; d=google.com; s=arc-20160816; b=zYcTA4dEFr2Rndj4qPJN0OB7ucvDyfaThUrt0G8ymcxT9Uq9sqYzKYkoJ4oFFOO3Bb JAbBSr3kQHsmXCn2a+Gk0v3eJPFfR93sAkVUC5Z/b7REb/hiKrKhYaysPfrtE/favXjG YGYT/ReRXnwoKHOjX8DN1AWEHsDL/n6lDlNpryOsKC+HUsYMqg+vzz7u3tOmVxOtIOgh FD1Br674VRb78/Imb2B1IZNP/Yziu4fRKYyH6CjKaJlXkJ0yUyndPinhUsnbqXdIXv/x 6CAyzmz3U9GnWclHp1oa6H3BIfp8tSws0AHpsVcvFPil5toMkXXThyq5bFkp0PdW6xQ2 tDWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=OMlL5sJMjzT5uQRcMqiBjPCY3eHb3CrezL2DCRa3GHM=; b=ve8co7bSYHg1ZN1oQYp1RFC/V1wIXR0H4WN75iksBG2Taw7dQOysnPIn4T5nHZqwiC NLmZYvFJlF+PEnPwg3edM3BiEPrZ27tegeRiSFLPgURAicgq1ONq/KVHYENBckH66AyG ymO6xWWHRkAKZxGOTHSB0MZjzpR/tIWZEv8Pgor9GF6/YJ1k94EwOiwDoWkeFBvSKCj1 1vPeDd/bSbI+Nlk0k61mM16/0AnFvaCAVfshbcJm5z65nkF65cUjVygoR63zWyO+sDoy A0Q1Px68cAIXC/9FS7A4rxpkuItU8aIg9A6XZPVgmRQaMNTrOEXpmvRtTT6se/6l2f91 CWzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=LX6v0B4l; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id v16-20020a05620a441000b006a049a5f456si7115225qkp.441.2022.05.09.09.44.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 09:44:58 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=LX6v0B4l; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3A9C22CBE40; Mon, 9 May 2022 09:38:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239155AbiEIQmY (ORCPT + 99 others); Mon, 9 May 2022 12:42:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239130AbiEIQmX (ORCPT ); Mon, 9 May 2022 12:42:23 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34D6D2CA48B; Mon, 9 May 2022 09:38:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=OMlL5sJMjzT5uQRcMqiBjPCY3eHb3CrezL2DCRa3GHM=; b=LX6v0B4l2dCWZCYAohU+v4FKmO FzwWZPEXm0jIfusbne39tuxb6d5HiYw1ga1u5oXBRwEhd9oWTnETsWrfh/Gw9GG+TgJOZeMCS27Ky Sp4gFtHFwhyAdgrebE4RbqdiS3AQQOmntmol1hcB4K624/Zkhk527rv16yCKJ68JTD98=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1no6Ob-001yY5-My; Mon, 09 May 2022 18:38:05 +0200 Date: Mon, 9 May 2022 18:38:05 +0200 From: Andrew Lunn To: Mark Brown Cc: LABBE Corentin , alexandre.torgue@foss.st.com, calvin.johnson@oss.nxp.com, davem@davemloft.net, edumazet@google.com, hkallweit1@gmail.com, jernej.skrabec@gmail.com, joabreu@synopsys.com, krzysztof.kozlowski+dt@linaro.org, kuba@kernel.org, lgirdwood@gmail.com, linux@armlinux.org.uk, pabeni@redhat.com, peppe.cavallaro@st.com, robh+dt@kernel.org, samuel@sholland.org, wens@csie.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: Re: [PATCH 3/6] dt-bindings: net: Add documentation for phy-supply Message-ID: References: <20220509074857.195302-1-clabbe@baylibre.com> <20220509074857.195302-4-clabbe@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 > No, that's not a thing - the supplies are individual, named properties > and even if there were a list we'd still want them to be named so it's > clear what's going on. So we have a collection of regulators, varying in numbers between different PHYs, with different vendor names and purposes. In general, they all should be turned on. Yet we want them named so it is clear what is going on. Is there a generic solution here so that the phylib core can somehow enumerate them and turn them on, without actually knowing what they are called because they have vendor specific names in order to be clear what they are? There must be a solution to this, phylib cannot be the first subsystem to have this requirement, so if you could point to an example, that would be great. Thanks Andrew