Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2551698pxj; Mon, 14 Jun 2021 01:10:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+XBceme710djlqqRu82h9JQOMYoh2644S+bVwG0setDCEGHAHrtVBZxMx6e5i1pxOmCtE X-Received: by 2002:a17:906:b41:: with SMTP id v1mr13959263ejg.246.1623658252718; Mon, 14 Jun 2021 01:10:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623658252; cv=none; d=google.com; s=arc-20160816; b=m5mDdwbicecJ6wj1xy1jUOX+w/YupMQyCEtwz2ZlgCoJNawiWEGw80rCdLN3a2IluK +lO06LEmT+fzHhgtDYcoyIzbz5CcdRW8zalOMTGnZBmj/L8vsjKyRpTXCkxwYz31i7Cy NIQswALLfftbET+F+Wq35CnAbxkJh9dWi5OsNl4JbtpcWo7upT5PM08r6JKJ+ysqAJld f7rtaxI55pTJSjgP9qT9yiCW1LzBxy1gODP6kWKE40Etn5DG6pBTRRofZQlnZbMO6tKq iHSKJZmMm6zH4s6fuvR2/jecGnwWe80YX1MgtVJBg+MAAzE3DLmSV1b47fMP6R78igkL oYoA== 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=bkT0W8uF7vg3HLg+/9Z/pWJKuKWmGeE2SVQvx5LKoY8=; b=pIYGKwjQMre7XslaSzfTAPYJJVbw1GbBBIQABIwzOmyzA3AiEcSxcLLQp45jFLlg7h bSPqSo1Vit8mVTwDH7JAGk85aC0NNixgjH7MIaKXgo0KXIfO1Yvj3ipXH/KvcMImmRvZ SsNb8M1jdy1/y1PryvejYS4KJctfzX7pKmtl/o4UeVFXnUJUFOP4qxR3S/IKHXr+94Xx 7//1NQsPgg4NyMlsPKrMHOy4jjlmXOtrxJ46eAKJZRueI2mpfo/pPpaXGWZtn3oSbBZL +pKvEPi9iijaZtXxWnm09MG55vmssq8P8uviJ9N0Bb3OkdMxJPOSkvQl6gIPryP8jIOU jkNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UPTHRDNf; 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 d23si10654214ede.200.2021.06.14.01.10.29; Mon, 14 Jun 2021 01:10:52 -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=UPTHRDNf; 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 S232552AbhFNIJQ (ORCPT + 99 others); Mon, 14 Jun 2021 04:09:16 -0400 Received: from mail-oi1-f171.google.com ([209.85.167.171]:44853 "EHLO mail-oi1-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232530AbhFNIJP (ORCPT ); Mon, 14 Jun 2021 04:09:15 -0400 Received: by mail-oi1-f171.google.com with SMTP id a26so13455808oie.11 for ; Mon, 14 Jun 2021 01:06:59 -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=bkT0W8uF7vg3HLg+/9Z/pWJKuKWmGeE2SVQvx5LKoY8=; b=UPTHRDNfA8Agg10whsqifThnxL2XjDZWqPqDnpeLhEUooT4NmCe8JfPKSJeaZCeJ7T duay+rmg3IWUMsdK2KaBXhhxErIf5IjOCQWgVAQXStBy/ZtCuSoCE6M21G4lWI+hnhtK 7IS8SESV7paEmVd97VAO2rC4HKupVRjlanCMbYifeOsGVm4Yl8ywWJ3gnkLUsvwnyXhy Jx5yZm1CGq2McGnagYUi8AhwukGzYNZfeGg/XhFtMF48GiD3TItTducF4ygbfN0aaX0S ijifl9upHRJvZIZBZq0dbfnWN0PSIdDMQvidCXX6jQ1NT811qraW2OIoPT981otoOInM AwyQ== 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=bkT0W8uF7vg3HLg+/9Z/pWJKuKWmGeE2SVQvx5LKoY8=; b=oKMC1Rw7p9VwUWDWgF3wetpgOPGI95AYrnMJpAWD47ZORE9OWhQ5zd8zh11gjXqFSH B0RbC0jsR9+o+TcJE8HXzYRjNfbZhy3lR/3pCHnzqBlLkCNfJD2FJESXYl2TEYZnmaF+ s6sHGoh4VaGQmcI3zFo3UHd6Qx7VNSktMtsZ2TgXqU03xOhTPdhxDhqmPcfbCD3PXQP6 ZkmJ5n9YqjVeNAYJCeugvV1cw2TNao8sIept2Dwqvmsre1cxwH+vq4ujS4X4KjeYnjJz 2+KUuodh+u7L1e2NOoHUAXmhWmvrT/vXzYCPQmhMbUuAP5TLFyC3k24qhOjSRPzLiufl +utw== X-Gm-Message-State: AOAM531V7kJU6dkc/Ar/P+9M4SWafWXZMujG4cmPx5aHeEuZpfP/52Kh 8rqrWKylhc1s4Xm0cudpsRcOZlJzowEafW97iEi9Qw== X-Received: by 2002:aca:fc91:: with SMTP id a139mr5053908oii.12.1623657958977; Mon, 14 Jun 2021 01:05:58 -0700 (PDT) MIME-Version: 1.0 References: <20210607113840.15435-1-bhupesh.sharma@linaro.org> <20210607113840.15435-2-bhupesh.sharma@linaro.org> In-Reply-To: From: Bhupesh Sharma Date: Mon, 14 Jun 2021 13:35:48 +0530 Message-ID: Subject: Re: [PATCH 1/8] dt-bindings: qcom: rpmh-regulator: Add compatible for SA8155p-adp board pmics 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 Hello Bjorn, Thanks for the review comments. On Fri, 11 Jun 2021 at 08:18, Bjorn Andersson wrote: > > On Mon 07 Jun 06:38 CDT 2021, Bhupesh Sharma wrote: > > > Add compatible strings for pmm8155au_1 and pmm8155au_2 pmics > > found on SA8155p-adp board. > > > > 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 > > Signed-off-by: Bhupesh Sharma > > --- > > .../devicetree/bindings/regulator/qcom,rpmh-regulator.yaml | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml > > index e561a5b941e4..ea5cd71aa0c7 100644 > > --- a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml > > +++ b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml > > @@ -55,6 +55,8 @@ properties: > > - qcom,pm8009-1-rpmh-regulators > > - qcom,pm8150-rpmh-regulators > > - qcom,pm8150l-rpmh-regulators > > + - qcom,pmm8155au-1-rpmh-regulators > > + - qcom,pmm8155au-2-rpmh-regulators > > Looking at the component documentation and the schematics I think the > component is "PMM8155AU" and we have two of them. > > Unless I'm mistaken we should have the compatible describe the single > component and we should have DT describe the fact that we have 2 of > them. If we refer to the PM8155AU device specifications, there are two regulators mentioned there PMM8155AU_1 and PMM8155AU_2. Although most parameters of the regulators seem similar the smps regulator summary for both appear different (Transient Load, mA ratings etc). Although most of these differences don't probably matter to the Linux world, others like the gpios on the pmic are different. So, IMO, it makes sense to mention the different pmic types on the board. Please let me know your views on the same. Thanks, Bhupesh > > > - qcom,pm8350-rpmh-regulators > > - qcom,pm8350c-rpmh-regulators > > - qcom,pm8998-rpmh-regulators > > -- > > 2.31.1 > >