Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4655728iob; Sun, 8 May 2022 20:49:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWlUYMeFoHmnkoSyeBJB6ddhYehyzy7Z84TxKBiaInfGbqkx3PiDibbmQy9mPqHntlD3vX X-Received: by 2002:a17:903:110c:b0:15f:f15:30ec with SMTP id n12-20020a170903110c00b0015f0f1530ecmr3994298plh.162.1652068161863; Sun, 08 May 2022 20:49:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652068161; cv=none; d=google.com; s=arc-20160816; b=C3tZWtj/go+Wr+biG1b1nFBNozGlsbwtFrQVLCwAWYpTRr345Bnt3WOX7zZsluG2Z8 JGsgQD5CrHpWKTutZNhKtLjwiPJaPu6DwHu15M9DOonnvXg7+o2Uoap1Bl8cCF2jrnoq uYa9/VZyvOOGgyMLRGH3pKi7vqQBn5MRiU/9Dh2mm7AkVN53tf+p+b6NZ7PTvz5bWUAJ MjneiG6JwdUnil8/rOcgq1fC8CUKywmbi91ZU49nW2yC+OUVpHmXgSTKtqIOcdoswUro nxOBAE2rPRjwTuCuKl2y1n4QOaxZTlZgf3mtjuCfcRQOr8iab3hwAhN14fuaXJfqqjJD ChHA== 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=EkR961EY1CXiCzNgowxxrUhXg4TMH8OHqi0oexOXXrs=; b=LZwHNCmsiJU95B6QZXu2RnRljLC4u5JrGkel5M76ZM2jH29+lIyO+ntrCloHhEi2cg T9NWtlkRsKL9XyFB2QrUKo3CNrAwMfQL0mwXZdwyMJT0UNnJUYSc+8iy8SHXiret4laX v/QSslPjYw4JSdm/fddBbjU+kmoA8wQUzizFDYECS5RXSNPgjWZ8wJZkNQzExy3niKwm ca4G4/fPUTOrPK965GNvzo9xBtbXQQnMXlRR7OBgsdVOGFK0MbzelrQkQyrIo5cncQBj E/XegRJLZNX5TWFAk9l60b6gM7/tIUx592uMbfcQUfsy+qoQKoFnU6YOI3z6zYzTQ9nD WXJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Mt+y+lKL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id kt11-20020a17090b214b00b001ce625427c6si13135999pjb.179.2022.05.08.20.49.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 20:49:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Mt+y+lKL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1453C219B; Sun, 8 May 2022 20:46:12 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349508AbiEEIhG (ORCPT + 99 others); Thu, 5 May 2022 04:37:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245743AbiEEIhE (ORCPT ); Thu, 5 May 2022 04:37:04 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD856488AC for ; Thu, 5 May 2022 01:33:25 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id t5so4333724edw.11 for ; Thu, 05 May 2022 01:33:25 -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=EkR961EY1CXiCzNgowxxrUhXg4TMH8OHqi0oexOXXrs=; b=Mt+y+lKLyTAGxGx+Cc8jLbXo6P9hfMiUjbZCuTTCCuaNtNZJs2Ce2i/GQ7BtCCHYIu kmIjpU6HkEkOQhKTFMtrIHmp/6F0WkvZgVqBhEBLoHfGsnfcdYc6OJEpRvrC+I19872y NNng+PNxrz3aeiuobZAz/CQDLOFpy+qAjrQnt9+0ADz8tY4uO7l7zCX1lmiSFzAhXV6h 7QAUe6emtYXxAMjuNg1xlwVbIZT8ypOOtq6sWGhvT5P3Br3PWVoSSfmmMFTQbxAjwDjb fYsno5UpExANJUOCyBpGZF3XN9ENrq5LKZAxlJdoWtxQ4v5ocISQqhQnwCkOoxS8T+mD lFDQ== 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=EkR961EY1CXiCzNgowxxrUhXg4TMH8OHqi0oexOXXrs=; b=kCuTVtyj84KQPEZQt8ZQwuz9TM6e6soG61Kwjys1SJS+WU0/A5PgV/xyfLavKlnPib AH8cOvlpSZ6EVeS+37+F/Hig2I64waQgnq9PVHBsoOnA0L3GNOuCLOTZZNO91ZD3ya46 Cu26xtF1wPDh33RUY2WhXj6ilQbqyMsB9qE7l8v0QPRnJ3737AZrUbJ0hIV0EcMH9ac5 v+Q7xmcxjCplRCz0/xuAam2fyBTMpBSAUq8qxPmkRZAUSkkc9wCwxPpCMPQRCJ/b9qnw 5yNMcBjA33xlpMMSVOvxeEw1Lypu1mZAagXf7uz7Ou2p01lE0SQn3Ds6RHL88HU/Tf+V 4ULA== X-Gm-Message-State: AOAM532p2Dehck0g0y8MRFkpwmq2e8C/PS1AXggcJTd75lNk6TAiRJqQ 4Z1c+kvtKZhfcwkTmCe2TnsQlyrOlFC1nGpA X-Received: by 2002:a50:8dca:0:b0:425:e8a3:a79f with SMTP id s10-20020a508dca000000b00425e8a3a79fmr27875839edh.155.1651739604291; Thu, 05 May 2022 01:33:24 -0700 (PDT) Received: from [192.168.0.217] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id f24-20020a170906391800b006f3ef214df7sm490116eje.93.2022.05.05.01.33.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 May 2022 01:33:23 -0700 (PDT) Message-ID: <2dbea4b4-9387-6676-8648-94bae6df3d8a@linaro.org> Date: Thu, 5 May 2022 10:33:22 +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 2/6] dt-bindings: regulator: Add reg-external-output binding Content-Language: en-US To: Zev Weiss , Mark Brown Cc: Liam Girdwood , Rob Herring , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Greg Kroah-Hartman , openbmc@lists.ozlabs.org References: <20220504065252.6955-1-zev@bewilderbeest.net> <20220504065252.6955-2-zev@bewilderbeest.net> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, 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 04/05/2022 22:33, Zev Weiss wrote: > On Wed, May 04, 2022 at 05:55:53AM PDT, Mark Brown wrote: >> On Tue, May 03, 2022 at 11:52:48PM -0700, Zev Weiss wrote: >>> This describes an external output supplied by a regulator, such as a >>> power outlet on a power distribution unit (PDU). >> >> OK, so this is that represnetation of the connection - which raises the >> question about why the regulator needs a property? This remained unanswered... the binding looks like approach the problem from wrong side. It's like defining consumers of clock inside clock controller. It does not scale, it's not in Devicetree style/intentions. You should have a dedicated port or connector which takes a regulator as a supply (and for supply we already have bindings). We already have only one connector: git grep connector -- Documentation/devicetree/ (extcon is not the best choice for bindings, it's tied to Linux implementation, not to hardware) Best regards, Krzysztof