Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp483263pxk; Sun, 30 Aug 2020 10:54:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUmNkxv1NmsetQnRE0n9JstrMQh7znXzuj85Mxno2j46Fyl4+4EEh6kiGhwFdMpmKaeZAk X-Received: by 2002:aa7:db10:: with SMTP id t16mr7891447eds.196.1598810040841; Sun, 30 Aug 2020 10:54:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598810040; cv=none; d=google.com; s=arc-20160816; b=uWbaGtakP5MGUGT0IS42R1WKtMWtSh5B40+FDv+s9st4hvvaoncJXfmPr2G5itA65V FVJwsReGxSuEYUMXMUXBc7JoX0RMflfvDmZ2pDuuLIyQAfQb9M4/9x56aCX6hdfsRmAT PTuaaItmxcUqjQ2Y/4J6TCdnPnF3+eT2LDWBwI3LtuQDby1SCrDZPwOL4HxeHwigHZo/ x9GFlwZyNIvq+MT2fvkriHjkeO3L2+enIoqd7/mXhBqH4VUt5HxnFOrlsyej2JSEvS+Y UU3sSIY+HTuSLfLOyvp1H2qW6ddYgNOMAi4FdnWEMNnPVHqdqPV3CXxWRomSM9LrgKU2 j56g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=yH1J8hCQGCEZj5x88WC5CgJLue5izK8xcUhAdJYu3aA=; b=ojIlK5pyUKEgx2fTaNpzbb0vn/9F7Vcpww+HMmLEDpzJvuVHsZ7l5bDRkQn63gtPC0 ucjHZyRIsqxY84MOsH38+o0nuTt5KaUoZelEOw1VDWPG+CaS60m2fvdB8BOCYV22zpPn KyJRSdZ3rt4jvS1XW2N6qpov13KygeGGCrj2+ZEeX0m9EFbmXXs44JU8vrqvrIVYLuqM cr03WTXNnY3qPe983efn02urjn7+TXacuWg6ljhSsVa0O1XCTMkde8hfI6L1yyROs0HM ATyIGBTnh3OKkG6CNoroXOqc9kHl7g/9VpHE5nMBsOcE63nnOtj76hgMGpFJJFHAzBJd Pd5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X9jDW+Wq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b14si3580750edv.405.2020.08.30.10.53.35; Sun, 30 Aug 2020 10:54:00 -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=pass header.i=@linaro.org header.s=google header.b=X9jDW+Wq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726426AbgH3RxF (ORCPT + 99 others); Sun, 30 Aug 2020 13:53:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726035AbgH3RxB (ORCPT ); Sun, 30 Aug 2020 13:53:01 -0400 Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4654C061573 for ; Sun, 30 Aug 2020 10:53:00 -0700 (PDT) Received: by mail-qt1-x844.google.com with SMTP id e5so3272215qth.5 for ; Sun, 30 Aug 2020 10:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=yH1J8hCQGCEZj5x88WC5CgJLue5izK8xcUhAdJYu3aA=; b=X9jDW+WqEr6Qd3xz4JS91mS4qm67XNj7+gQA1hLCr+ozEP3K6HAMzADL6YT177DB1G /uXyuMAfgt83xMKn/rq89+mSfzY6INhLIl6lcn7ZKAl7lPxVpA4eXz8WA0RU86VKw67o ww+X3E6VPh93mlAJGXCRhS7DA/pDcSthwfFU04SiCw2onUUgH5NtkjZ6RicWIrCtyLzH /Js8Tbm6nyA9zsLKOEbbGxfghiJF0RlQQrO5bKrbS5n02Q7etZMlSnjZzme0cC2tZ9bh gdcic7T+o+OecISpXqBh7G9HV5xVLKn/kI5Uw2phbDzc+XjVbFJURc5vYZ1QeYdupAGY fqGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=yH1J8hCQGCEZj5x88WC5CgJLue5izK8xcUhAdJYu3aA=; b=VZXvqLbXRSqOXciQIEXrV+3kXdVci3871fZgDLeHTFWA/ojpsZDxSH2VtcnOGYbq2a G0vrH0jTL0i/iab55k2iazOHthh/Vx13WaPTVD9xfxno7Lce350CEHwRZIJCum5vvugp sRpGPjAa2HSay97Px42WO3zorphDb8j9sY0KNMLtzCrGy1SFiHTlwpFr61G96IZ8TdUU ovZ8FSz9tuL5saIZ9YjoipcWig/q12i9ei1kcbEO8tW/u+Ij8gum0FdfCRh/SM/vgKDb ffqsaDNkCOtcKbV3NFB8Tmkw6GmgosGJ+2arLKKrHXCdikmkwfoG8UgFGvuybbgxqW0E WlKA== X-Gm-Message-State: AOAM532L8afOLQvBvJlq6OYl1zg/e+etLuFk4JYuvOniBk2Xx6qrCLlT WjQh3uI5AUhE/y+2btBpWmPNAQ== X-Received: by 2002:ac8:292a:: with SMTP id y39mr9431959qty.89.1598809979234; Sun, 30 Aug 2020 10:52:59 -0700 (PDT) Received: from uller (ec2-34-197-84-77.compute-1.amazonaws.com. [34.197.84.77]) by smtp.gmail.com with ESMTPSA id b199sm4988671qkg.116.2020.08.30.10.52.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Aug 2020 10:52:58 -0700 (PDT) Date: Sun, 30 Aug 2020 17:52:57 +0000 From: Bjorn Andersson To: Wesley Cheng 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 Subject: Re: [PATCH v8 4/4] arm64: boot: dts: qcom: pm8150b: Add DTS node for PMIC VBUS booster Message-ID: <20200830175257.GA1947@uller> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <02111c69-73fd-5e8c-5594-27393865d458@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > 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