Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3343297pxj; Mon, 14 Jun 2021 21:45:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzRzybVeeGSK/91b1k5jAtbwhQGA1L+3mk5KDciL3N7RK44kC3qi7EqdEKtGoxUGGncvjb X-Received: by 2002:a17:907:38c:: with SMTP id ss12mr19220148ejb.401.1623732319286; Mon, 14 Jun 2021 21:45:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623732319; cv=none; d=google.com; s=arc-20160816; b=DkoZcXU66krO0AlCNdTifhNjPBwRDVbnVAMO12nYQXXVUMPKorPZwcXPnLWZr2Nn4A ixadCsiPwpBK2N8M6QAfarJv4x8ymzsuQRtlrZoLlOu8h5Gi6KDZjLfuoYKtMTnu5Fbv J++7Swf6paLKHLj/Wb5G4m/+2pX5XnhDEXMd/HSZM6sq9wq+Xr/R13yb4ar5Ip/+r0mH xt6C/8ndqjTYBT020WccsAS10X9UkxEEDB/ZqZbBQSEt8skoRgQJzmhCUt9+MifYfU63 VYO/vaRov7gBcPwB43i86yOdSADEFQcA51h1wAK6bs3FIZ9HRw17tJG8GBwLrFeETGpz q2eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=wEg+VoqwL+a1eo1ktmnPpcNUwlMmnMzGqqtS4STsyQM=; b=p0Y+yBofdDEaIApnlxO6JFquFC/oOiWXP7RLVUPcnYQiW1GDQTXHCzwhyny542cm8g tyjDtGGnhNwdX7HlopB7alDKLom2T4a0pnE3e84qqz9oZu2ndD+lKhdSSXqDtv8YLZhh SKydGN8dBh/7/eIY+fTY4rzygKUYCFw8UapiYQE8tPhNdxDPK7FlW3dMpSfeWg90+4cw qFzKDqwAiW2Z+TK4aiXslJxr6LO/qtI30FedX3aCCfWDTfU2eSiByFRJhwTF+eNO738K rM8VIcXgT34+QejMtIf1R9UmU/Dwn0P8NnI2nmjuH/Q1FgRvjSqmTYNQ5u0uI6ZMUjYe rboA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="hJ0/5WyG"; 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 c11si13864734edt.322.2021.06.14.21.44.56; Mon, 14 Jun 2021 21:45: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=pass header.i=@linaro.org header.s=google header.b="hJ0/5WyG"; 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 S229488AbhFOEnr (ORCPT + 99 others); Tue, 15 Jun 2021 00:43:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229463AbhFOEnq (ORCPT ); Tue, 15 Jun 2021 00:43:46 -0400 Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19C7AC061767 for ; Mon, 14 Jun 2021 21:41:43 -0700 (PDT) Received: by mail-ot1-x32f.google.com with SMTP id o17-20020a9d76510000b02903eabfc221a9so13127727otl.0 for ; Mon, 14 Jun 2021 21:41:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wEg+VoqwL+a1eo1ktmnPpcNUwlMmnMzGqqtS4STsyQM=; b=hJ0/5WyG+8/NR9t7aDL0awG0SsSTahlq4na9Ll+lOD1M88IJAo7R3IICOZZETF7QB7 stDCm5tF/Jsgc6iL4gwUou+mJRDTRRv6Av6PeOMML+/w13dSyGQC3IWd2fc153btcLJW 9zpZ0DIZFhKjS8YlsUIL1xqGeFetm8c84skQKwE4YIIecOgdCIHZ+7TruyBFc0z6JAgJ 1KsV9Gcvcqd5zBFBEE7RtzLT2X6SaNb6/SCxdhQrZQ/NCNJwdAcmXuLymA0prqdrDslE 4/zTGtdpItnVBIk+l10QuTQZ0Rmy6bsCBl2CGeJlqS9/pDsievWkh11gUDhyI8xgPIyr ylIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wEg+VoqwL+a1eo1ktmnPpcNUwlMmnMzGqqtS4STsyQM=; b=M2Gf1yXcWuWPlV7mDO0fMPEW7u3IGDM9cAXH5Cl4UkTC3ON3zBccFjXxNUtv66u2mB JKrV+TjSPoLA3IyZTIb7pMHU5iybK2gjL/VU50VOvNEWjtCY3Gny1/7GnZq86XM5apZj hgoP2lTId751mCv3BynpaY8VovQId69U2EiLohE0MvChwNnHDHogGuYcN3OQeRtO0pBJ o4lyvIAml9YJhCL6KDgr+XsMmk+PW7TUyqDsgH5u5Z66xqP0z3KNCaE5JLgc1BVOCaqn ydthqNX3InitmDpBj9oVMRGjh8a/zOKkm3D+BncUN97+v8CqsvzSDgQ4IyqttFD/3Qp1 yUhQ== X-Gm-Message-State: AOAM532J/WN3faeytJ76ru3kbhQCFsz7XRhqhZ0/l72l5RMhanaOwtzk QYZ3homeWYWWkY6CPqYdEsZF0rLLMfd9NhJ/gRLB2g== X-Received: by 2002:a9d:74d4:: with SMTP id a20mr15877413otl.28.1623732102331; Mon, 14 Jun 2021 21:41:42 -0700 (PDT) MIME-Version: 1.0 References: <20210607113840.15435-1-bhupesh.sharma@linaro.org> <20210607113840.15435-9-bhupesh.sharma@linaro.org> In-Reply-To: From: Bhupesh Sharma Date: Tue, 15 Jun 2021 10:11:31 +0530 Message-ID: Subject: Re: [PATCH 8/8] arm64: dts: qcom: sa8155p-adp: Add base dts file To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Linus Walleij , Liam Girdwood , Mark Brown , Vinod Koul , Rob Herring , Andy Gross , devicetree , Linux Kernel Mailing List , "open list:GPIO SUBSYSTEM" , bhupesh.linux@gmail.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 11 Jun 2021 at 07:55, Bjorn Andersson wrote: > > On Mon 07 Jun 06:38 CDT 2021, Bhupesh Sharma wrote: > > > Add base DTS file for sa8155p-adp and enable boot to console, > > Please spell out "sa8155-adp", i.e. "Add base DTS for SA8155p Automotive > Development Platform." > > > tlmm reserved range and also include pmic file(s). > > > > SA8155p-adp board is based on sm8150 Qualcomm Snapdragon SoC. > > > > It's not based on sm8150, it's based on sa8155p, so let's express this > as "The SA8155p platform is similar to the SM8150, so use this as base > for now", to document why we decided to do this. > > > Cc: Linus Walleij > > Cc: Liam Girdwood > > Cc: Mark Brown > > Cc: Bjorn Andersson > > Cc: Vinod Koul > > Cc: Rob Herring > > Cc: Andy Gross > > Cc: devicetree@vger.kernel.org > > Cc: linux-kernel@vger.kernel.org > > Cc: linux-gpio@vger.kernel.org > > Cc: bhupesh.linux@gmail.com <..snip..> > > +&apps_rsc { > > + pmm8155au-1-rpmh-regulators { > > + compatible = "qcom,pmm8155au-1-rpmh-regulators"; > > + qcom,pmic-id = "a"; > > + > > + vdd-s1-supply = <&vreg_3p3>; > > + vdd-s2-supply = <&vreg_3p3>; > > + vdd-s3-supply = <&vreg_3p3>; > > + vdd-s4-supply = <&vreg_3p3>; > > + vdd-s5-supply = <&vreg_3p3>; > > + vdd-s6-supply = <&vreg_3p3>; > > + vdd-s7-supply = <&vreg_3p3>; > > + vdd-s8-supply = <&vreg_3p3>; > > + vdd-s9-supply = <&vreg_3p3>; > > + vdd-s10-supply = <&vreg_3p3>; > > + > > + vdd-l1-l8-l11-supply = <&vreg_s6a_0p92>; > > + vdd-l2-l10-supply = <&vreg_3p3>; > > + vdd-l3-l4-l5-l18-supply = <&vreg_s6a_0p92>; > > + vdd-l6-l9-supply = <&vreg_s6a_0p92>; > > + vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p04>; > > + vdd-l13-l16-l17-supply = <&vreg_3p3>; > > + > > + vreg_s5a_2p04: smps5 { > > + regulator-min-microvolt = <1904000>; > > + regulator-max-microvolt = <2000000>; > > + }; > > + > > + vreg_s6a_0p92: smps6 { > > + regulator-min-microvolt = <920000>; > > + regulator-max-microvolt = <1128000>; > > + }; > > + > > + vdda_wcss_pll: > > This is the "label" of the pad which the regulator typically is > connected to (rather than a denotion of which regulator it is). So even > though we have these in some of the other boards, I would prefer if you > skip them and only use the vreg_xyz_abc variant. Lets keep the 'vdd_xx_abc labels' though which are used as input supply pads for peripherals, for e.g.: &usb_1_hsphy { status = "okay"; vdda-pll-supply = <&vdd_usb_hs_core>; vdda33-supply = <&vdda_usb_hs_3p1>; vdda18-supply = <&vdda_usb_hs_1p8>; }; IMO, here it makes sense to retain labels 'vdda_usb_hs_3p1' and 'vdda_usb_hs_1p8' in the dts (also making it easier to trace the same in schematics). I will send the v2 with the other suggested changes shortly. Regards, Bhupesh <..snip..>