Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp301520ioo; Fri, 20 May 2022 23:02:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0w13SUB/f3oTObnm3Tnp4ixF6CoUZZ/9nxg5d5HZAD3o+uC+0uliyJVfnZUmyh0bSuZVF X-Received: by 2002:a17:907:2d10:b0:6f4:a700:6970 with SMTP id gs16-20020a1709072d1000b006f4a7006970mr11766700ejc.108.1653112954751; Fri, 20 May 2022 23:02:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653112954; cv=none; d=google.com; s=arc-20160816; b=fZBL9WdO/Sp170VHb78Yq97q7zTFoKMOuriClYqzdFpJQxCSeHvv3yrfDx+nxiooUK ohBpOTXO+oy//SPaitAE/rIgqk4T2GUVzprI8cZDBkUhG9+zwwCOBVDdlP5CiARhWJh+ Kjq1iL0y92IUF1CKtfqquchBBIMfp7dPkHRBatnY7APqP9v0KWKGeWUeya5SoRyMl2LT QR3TgcA/z9zucfnaqP+FpogNaUUvQUujymNkRNxbGYGaQeKzP3faCnDtk2HPWgpT0nBj 3sWu1wDPZFte/1mlBwyNpjxaZxc2Kvfo9zbMUhp26EM0IdHIfDdm0tKLSe8aT+OXnsEN wMeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=LDOJGy883Whj2KPtZJS2ToqHv52wGZqpYAqQT+XUcgE=; b=WuwEfr9Mw49RR+jl/2MZAlFqFogDLgkU2KOMZtDEFBVg+TNexnsDQgaHW582CubEyh hylpQz6hnBUPmw5RZr/WoUJSlFkvh3vt8Q3846gZ9RVz8b1JDzS4vyV7iv4AL29n817V 6x3T+vnMDXuhwi8fzuh7zMM2TecszHYfkfzUq0bQzpftSug8ttxXTtvMUc3Wq+viol0e okjT177tnug5nV/HbpZkYVcbH+5Onj5/0/CldIDCNzN4xjzw3Z+lBiKIT6F33DFlX53p ejSobEAfZoXWAkLjh4kVWlfyBOdUhbiHNPKv6absJ0vuyMKz6PlYzJh9/p9c11PyTn40 A8sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=isUGeH7Y; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc29-20020a1709071c1d00b006f469baffaesi10402145ejc.16.2022.05.20.23.02.07; Fri, 20 May 2022 23:02:34 -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=@linaro.org header.s=google header.b=isUGeH7Y; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344524AbiETH5i (ORCPT + 99 others); Fri, 20 May 2022 03:57:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346714AbiETH5d (ORCPT ); Fri, 20 May 2022 03:57:33 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6829314CDC7 for ; Fri, 20 May 2022 00:57:30 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id v8so11030820lfd.8 for ; Fri, 20 May 2022 00:57:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=LDOJGy883Whj2KPtZJS2ToqHv52wGZqpYAqQT+XUcgE=; b=isUGeH7YJ9hSFqU+LajDXfZhlKfVb7CX45XzIRyUTr6nxi+RtAGNgqGbnlsEQhvwYj DtZarkhGFwdzhP4U7a50sc89MgvxBhO8zNUt5YEZLuwaQ0rbV7tuhw9C3OHVafO+ZDPE ibZL6Q24dpZhKvcW2XmyFRDEbJHcahhp/Xga8jIN54sHD4+Vk7luFlD2au3HrMJQz8Z2 7s5UjC357gY4A1NloCW8kQDC3228Q254aC/poWeNagQEYcyaCCOIcDzHwut3LSow/2Cc AEp2zS8qrGbxkv0vEqfQriAoUknEGaCL+Xvtqsje2IVe+y2wtuZ4TmLz4ETDf4swtJ5j o0xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=LDOJGy883Whj2KPtZJS2ToqHv52wGZqpYAqQT+XUcgE=; b=FD+zwbGzyGFQytvQRSVIu0qqcn7xyHQZSwrL3J7kfm4h3sOcYFKFCbxnFhv5gdqCf0 Y2RFL4Xr18oWQSuTeGv+qD3QpLAPiWDgUm9wFTD4vv9J3oL+fxG+9cleaFIQbs06VR6e y7Sy3lTv0RfjpB2PC25oyAp0VRbDU061Ul2QSD3mEQKmLiFzKXfHJsEBdT/wDlRbY2sK eVqWugBxLuP0wTJnKPi5rh5R/FXvj+dkgEHGSd0J24jAGBP4+WjPCVYB1fq/nskiFa8N RaovgwCbmuTuw6x20XXdtjuO6MYCAzm3fh4cpYETv9m5/VgOewvEEP+9aEgrIBfgDMeI ljag== X-Gm-Message-State: AOAM532wc11vGO0XOts7U6c1HFRLf265OvvDWXWUoHHGZ2BzZ2/cSEbC 5ssjiwx5e83ULvtlTKz8917NiA== X-Received: by 2002:a05:6512:1319:b0:44a:c200:61e5 with SMTP id x25-20020a056512131900b0044ac20061e5mr6159427lfu.550.1653033448712; Fri, 20 May 2022 00:57:28 -0700 (PDT) Received: from [192.168.0.17] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id j5-20020ac25505000000b004778c285166sm559287lfk.216.2022.05.20.00.57.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 May 2022 00:57:28 -0700 (PDT) Message-ID: <0518eef1-75a6-fbfe-96d8-bb1fc4e5178a@linaro.org> Date: Fri, 20 May 2022 09:57:26 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH v2 4/5] dt-bindings: net: Add documentation for optional regulators Content-Language: en-US To: Mark Brown , Andrew Lunn Cc: Corentin Labbe , calvin.johnson@oss.nxp.com, davem@davemloft.net, edumazet@google.com, hkallweit1@gmail.com, jernej.skrabec@gmail.com, krzysztof.kozlowski+dt@linaro.org, kuba@kernel.org, lgirdwood@gmail.com, linux@armlinux.org.uk, pabeni@redhat.com, robh+dt@kernel.org, samuel@sholland.org, wens@csie.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, netdev@vger.kernel.org References: <20220518200939.689308-1-clabbe@baylibre.com> <20220518200939.689308-5-clabbe@baylibre.com> <95f3f0a4-17e6-ec5f-6f2f-23a5a4993a44@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 19/05/2022 17:49, Mark Brown wrote: > On Thu, May 19, 2022 at 01:58:18PM +0200, Andrew Lunn wrote: >> On Thu, May 19, 2022 at 01:33:21PM +0200, Krzysztof Kozlowski wrote: >>> On 19/05/2022 13:31, Mark Brown wrote: >>>> On Thu, May 19, 2022 at 11:55:28AM +0200, Krzysztof Kozlowski wrote: >>>>> On 18/05/2022 22:09, Corentin Labbe wrote: > >>>>>> + regulators: >>>>>> + description: >>>>>> + List of phandle to regulators needed for the PHY > >>>>> I don't understand that... is your PHY defining the regulators or using >>>>> supplies? If it needs a regulator (as a supply), you need to document >>>>> supplies, using existing bindings. > >>>> They're trying to have a generic driver which works with any random PHY >>>> so the binding has no idea what supplies it might need. > >>> OK, that makes sense, but then question is why not using existing >>> naming, so "supplies" and "supply-names"? > >> I'm not saying it is not possible, but in general, the names are not >> interesting. All that is needed is that they are all on, or >> potentially all off to save power on shutdown. We don't care how many >> there are, or what order they are enabled. > > I think Krzysztof is referring to the name of the property rather than > the contents of the -names property there. Yes, exactly. Existing pattern for single regulator supply is "xxx-supply", so why this uses a bit different pattern instead of something more consistent ("supplies" and "supply-names")? Best regards, Krzysztof