From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4940AC7EE2E for ; Fri, 9 Jun 2023 15:47:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZFyvtD1iXPLJzTUBmOueAIrglayxEwMnYHZ0+ct6YF8=; b=yzNd6rRrMLaeGO I26HbR+uKmCEALX6KW3TlIYFzHJHZBvIgm29svufZ4/WmSMqkulhVd5XXHCJUggCtloruZG+k6sqs +HfhxJ4NvhwotxQetWl8laB6MGzu39dhJ75jYGNkMe1mho62TqxTpKtbxs6Xn/xDIynK3sdO9qohp bTt8/6i4Pvw5cKF6i3gZLWmUkVNQyHwQcPl9M+IpW/ZeLLr7EpT90dzKLjH3zsYDuHqNvEwLqpkMB Xkhlr0fWXBnsAD+LEsuAMMQhkx5+IFeXPsimPo8t+EOJHkXnTeIEIcnoZt+KPj5xtfB3jIT7T5pBh HNLPcKkim4vmGHl//zvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q7eKk-00DV9n-2i; Fri, 09 Jun 2023 15:47:26 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q7eKh-00DV8m-2a; Fri, 09 Jun 2023 15:47:25 +0000 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-4f61735676fso2486271e87.2; Fri, 09 Jun 2023 08:47:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686325640; x=1688917640; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=MGV1/KZj3y1NtDF4P2EgVoQoL3mBQgMSttusFZRY2rg=; b=Rr/4ufWPoa8wgWRlZq2Fkr+hoJzIrHU2T+LsMdVY7LA2Ev/BYE8OvdrFhdTgnouvNr 1qyZi8ndhP5CX9gFSSb2hUcRFOnxMIRg613Smk5fuwUXSGLTtEyfvfoTJMId4nq/GRu1 PHWzZJ8uHgyQtZquJRP3YpptDQ/LqELZm3ITxcqPt+8B+L6Y9GnWjUkzrHljjFJtVGzb 8O3sF244wYtNdwYMstvvf7P9jHOpr9TL2kk/g35UQXPvkq1IhpMI1H7YOrvVaU2gCYij fhL2uQVP/pGOLqHjswqIgwsJEBWPAK35Dd6vGuJeeBLAH0gTEBI9O59GU0VyIvaCcVKr Pb/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686325640; x=1688917640; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MGV1/KZj3y1NtDF4P2EgVoQoL3mBQgMSttusFZRY2rg=; b=cBIgc37Dd67Lh6iMp7ofW5Dq/SUsTY4qRXABryXuWepsxbEZ1UWQjvFtIKPjub6dc2 Im5+46ZzC7v4Yk6Vy8xxNfHfsWhUDFyIUq8tVRQp5XbjKOoSXBc8o7W1gyA1yofvGtS9 B93irFOlhzXYgxg8z7DfLH9YBE6sQOVdWheO7/WOdkLw/TOiDwPWCPK+/9OdleumvHGt k+UqkL7EteCZpJ4NjGhowVX0y62YPXjlzGOBOOQbJRgQQ7gJAWMGgxk3xjHrbX62XlDl 83dWLvSC2nDjfdgxtlyDFonj3FPkJefL9ZqBlKO+cHSBp/6g/1orftxevBflpB40L2Oz hs5g== X-Gm-Message-State: AC+VfDx62f9b0o0v2Kg7toU+y5uAkoeBjr2W6d9O3gnN+i/FxPgyg+4D OepHgqLUQoTYOqVcwmDR0LlxORxIru4= X-Google-Smtp-Source: ACHHUZ48RU1kfrfHRKL1mD1wY5iK4OGXd91DaTeeFeqSsRfSvZjQrIpEigCoMa5h5reTQit5kWMgeA== X-Received: by 2002:a05:6512:3119:b0:4ed:bdac:7a49 with SMTP id n25-20020a056512311900b004edbdac7a49mr1258532lfb.54.1686325639965; Fri, 09 Jun 2023 08:47:19 -0700 (PDT) Received: from [192.168.2.177] ([207.188.167.132]) by smtp.gmail.com with ESMTPSA id z10-20020a05600c114a00b003f7e60622f0sm3097418wmz.6.2023.06.09.08.47.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Jun 2023 08:47:18 -0700 (PDT) Message-ID: <973aaea4-8340-9c91-0bb9-4f611f9e7cae@gmail.com> Date: Fri, 9 Jun 2023 17:47:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH 1/9] regulator: dt-bindings: mt6358: Merge ldo_vcn33_* regulators Content-Language: en-US, ca-ES, es-ES To: Chen-Yu Tsai , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mark Brown , Liam Girdwood , AngeloGioacchino Del Regno Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org References: <20230609083009.2822259-1-wenst@chromium.org> <20230609083009.2822259-2-wenst@chromium.org> From: Matthias Brugger In-Reply-To: <20230609083009.2822259-2-wenst@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230609_084723_839478_7414668A X-CRM114-Status: GOOD ( 16.91 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 09/06/2023 10:29, Chen-Yu Tsai wrote: > The ldo_vcn33_bt and ldo_vcn33_wifi regulators are actually the same > regulator, having the same voltage setting and output pin. There are > simply two enable bits that are ORed together to enable the regulator. > > Having two regulators representing the same output pin is misleading > from a design matching standpoint, and also error-prone in driver > implementations. > > Merge the two as ldo_vcn33. Neither vcn33 regulators are referenced > in upstream device trees. As far as hardware designs go, none of the > Chromebooks using MT8183 w/ MT6358 use this output. > > Signed-off-by: Chen-Yu Tsai Reviewed-by: Matthias Brugger > --- > .../bindings/regulator/mt6358-regulator.txt | 14 +++----------- > 1 file changed, 3 insertions(+), 11 deletions(-) > > diff --git a/Documentation/devicetree/bindings/regulator/mt6358-regulator.txt b/Documentation/devicetree/bindings/regulator/mt6358-regulator.txt > index 7034cdca54e0..b22b956d1cbe 100644 > --- a/Documentation/devicetree/bindings/regulator/mt6358-regulator.txt > +++ b/Documentation/devicetree/bindings/regulator/mt6358-regulator.txt > @@ -15,8 +15,7 @@ LDO: > ldo_vcamd, ldo_vcn18, ldo_vfe28, ldo_vsram_proc11, ldo_vcn28, ldo_vsram_others, > ldo_vsram_others_sshub, ldo_vsram_gpu, ldo_vxo22, ldo_vefuse, ldo_vaux18, > ldo_vmch, ldo_vbif28, ldo_vsram_proc12, ldo_vcama1, ldo_vemc, ldo_vio28, ldo_va12, > - ldo_vrf18, ldo_vcn33_bt, ldo_vcn33_wifi, ldo_vcama2, ldo_vmc, ldo_vldo28, ldo_vaud28, > - ldo_vsim2 > + ldo_vrf18, ldo_vcn33, ldo_vcama2, ldo_vmc, ldo_vldo28, ldo_vaud28, ldo_vsim2 > > Example: > > @@ -305,15 +304,8 @@ Example: > regulator-enable-ramp-delay = <120>; > }; > > - mt6358_vcn33_bt_reg: ldo_vcn33_bt { > - regulator-name = "vcn33_bt"; > - regulator-min-microvolt = <3300000>; > - regulator-max-microvolt = <3500000>; > - regulator-enable-ramp-delay = <270>; > - }; > - > - mt6358_vcn33_wifi_reg: ldo_vcn33_wifi { > - regulator-name = "vcn33_wifi"; > + mt6358_vcn33_reg: ldo_vcn33 { > + regulator-name = "vcn33"; > regulator-min-microvolt = <3300000>; > regulator-max-microvolt = <3500000>; > regulator-enable-ramp-delay = <270>; _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel