Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp867184pxk; Thu, 3 Sep 2020 14:54:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXJbPQwWOwKm7ANRQv8TPu7cFvVvnlUVHrcBnvH4iwZiJxNBo8aPiyngZfK7esVrRQGl2R X-Received: by 2002:aa7:d353:: with SMTP id m19mr5206095edr.275.1599170059637; Thu, 03 Sep 2020 14:54:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599170059; cv=none; d=google.com; s=arc-20160816; b=HvBhFAoKeuNqc5tlAETobPZKjzgCkv2WAgDGbpmmGAG8NOae/mEC00vAJwbAibl8w2 fLRHkKMe56ovV2HqiD5miK9sxAjG6ifeV2JQ0T+D2rAHVWrQAtaOGqx3YByBUnCzNhAr 4D/TF0dfDUL3Xi5LYv+nrlT0PlYUgMI9gJDujwCU60fGymioKNNAxZLuSEILUM9qtquP H/1Mn/gYVmhpmkEFyLjGbC/5QxVk9iR9MnrUV5qslIWsWK9cfPLz5x03CkeukPhEijXf oGJxtuqItPf0uZ7D0pnOpzTMch3vdslM+fHsdWZQ8qPEfke7R0X/UN4Yhr5kN6Tq0RQ7 e4Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature; bh=KkUwaOv29rJxTh90c7/ir1eEKy0BUkrSWEVWw1RACx0=; b=Y15rLybT5DqB9qO0DHfICG3LCiQhWZ7EuQEipPdUvCnC1Q2x1SM7uNMtFBKxiTRriD +xt2vl0m0TrsoxJujRWpH8xb3JdnyfGJivUJ5uK+0WFEcIxemt5KVX9Gtx3qkZfDMGDx UcqLriPl6jV1ktH2sygqWZkbP1rjjIS4ejh400bJ86aEYI5LIDpt+5O2abIAeJUv5UmW xXNrKlNBtTxzdkTrdrnXX5DbPX7aCgsLwHwMxo7ajUtVbx49hZavgB3i4xKvGQzSyKXG 2wfFEi3Ckgpqy6IwJPp1ETvynMVRgE/080Mp/5JUFWaVtwhSTOVM7SsXtROirZkLZWye maoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=vFQ57p1a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a20si3491411edj.133.2020.09.03.14.53.57; Thu, 03 Sep 2020 14:54:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=vFQ57p1a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729088AbgICVv3 (ORCPT + 99 others); Thu, 3 Sep 2020 17:51:29 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:24611 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729445AbgICVv0 (ORCPT ); Thu, 3 Sep 2020 17:51:26 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1599169885; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=KkUwaOv29rJxTh90c7/ir1eEKy0BUkrSWEVWw1RACx0=; b=vFQ57p1a8e6zC+oFJW7l+/32KmJDxe/ENJN2ylPWPklsPc2uEB6pLKHj89ecISEKdsJ1eRqx 7/Y6RfErvRsY8dhxvPxd4iQ0VOWwnZiDjrYTdwMffOLbLftH8feYVR0d0XnsqVR8Yq7paN1l MlLip6sekTux/FFcdlgwA20fgd0= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n05.prod.us-east-1.postgun.com with SMTP id 5f51653654e87432be657479 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 03 Sep 2020 21:50:46 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 68F2EC433C9; Thu, 3 Sep 2020 21:50:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=2.0 tests=ALL_TRUSTED,NICE_REPLY_A, SPF_NONE autolearn=ham autolearn_force=no version=3.4.0 Received: from [10.110.72.171] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: wcheng) by smtp.codeaurora.org (Postfix) with ESMTPSA id 48B28C433C8; Thu, 3 Sep 2020 21:50:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 48B28C433C8 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=wcheng@codeaurora.org Subject: Re: [PATCH v8 4/4] arm64: boot: dts: qcom: pm8150b: Add DTS node for PMIC VBUS booster To: Bjorn Andersson Cc: Sergei Shtylyov , sboyd@kernel.org, heikki.krogerus@linux.intel.com, agross@kernel.org, robh+dt@kernel.org, gregkh@linuxfoundation.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org References: <20200812071925.315-1-wcheng@codeaurora.org> <20200812071925.315-5-wcheng@codeaurora.org> <1ed0a34c-6219-fe3d-7d9c-13a74ce2d4d0@gmail.com> <02111c69-73fd-5e8c-5594-27393865d458@codeaurora.org> <20200830175257.GA1947@uller> From: Wesley Cheng Message-ID: Date: Thu, 3 Sep 2020 14:50:43 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20200830175257.GA1947@uller> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/30/2020 10:52 AM, Bjorn Andersson wrote: > On Thu 20 Aug 07:47 UTC 2020, Wesley Cheng wrote: > >> >> >> On 8/12/2020 2:34 AM, Sergei Shtylyov wrote: >>> Hello! >>> >>> On 12.08.2020 10:19, Wesley Cheng wrote: >>> >>>> Add the required DTS node for the USB VBUS output regulator, which is >>>> available on PM8150B.  This will provide the VBUS source to connected >>>> peripherals. >>>> >>>> Signed-off-by: Wesley Cheng >>>> --- >>>>   arch/arm64/boot/dts/qcom/pm8150b.dtsi   | 6 ++++++ >>>>   arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 4 ++++ >>>>   2 files changed, 10 insertions(+) >>>> >>>> diff --git a/arch/arm64/boot/dts/qcom/pm8150b.dtsi >>>> b/arch/arm64/boot/dts/qcom/pm8150b.dtsi >>>> index 053c659734a7..9e560c1ca30d 100644 >>>> --- a/arch/arm64/boot/dts/qcom/pm8150b.dtsi >>>> +++ b/arch/arm64/boot/dts/qcom/pm8150b.dtsi >>>> @@ -53,6 +53,12 @@ power-on@800 { >>>>               status = "disabled"; >>>>           }; >>>>   +        pm8150b_vbus: dcdc@1100 { >>> >>>    s/dcdc/regulator/? What is "dcdc", anyway? >>>    The device nodes must have the generic names, according to the DT spec. >>> >> >> Hi Sergei, >> >> Thanks for the comment! >> >> DCDC is the label that we use for the DC to DC converter block, since >> the VBUS booster will output 5V to the connected devices. Would it make >> more sense to have "dc-dc?" >> > > At this level it's just a regulator at 0x1100, so it should be > "regulator@1100". If you would like a more useful name in the running > system you should be able to use the "regulator-name" property. > > Regards, > Bjorn > Hi Bjorn, Thanks for the suggestion. Sounds good, I will just use the "regulator" name for now. Thanks Wesley >> Thanks >> Wesley >> >>>> +            compatible = "qcom,pm8150b-vbus-reg"; >>>> +            status = "disabled"; >>>> +            reg = <0x1100>; >>>> +        }; >>>> + >>>>           pm8150b_typec: typec@1500 { >>>>               compatible = "qcom,pm8150b-usb-typec"; >>>>               status = "disabled"; >>> [...] >>> >>> MBR, Sergei >> >> -- >> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, >> a Linux Foundation Collaborative Project -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project