Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2897056pxj; Mon, 14 Jun 2021 09:33:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIYE7OUIUpLKHGRxFVMhtdbdypvLamA7hSSS+ROgrbEHJBGR2DBMkRzWsMQwdggBrzZM8Z X-Received: by 2002:aa7:de90:: with SMTP id j16mr18054359edv.385.1623688397838; Mon, 14 Jun 2021 09:33:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623688397; cv=none; d=google.com; s=arc-20160816; b=W+UF/tbxMl/kZMaQyuN+BlE6rRkRwbEDWRp1EjSz/gKCZP+K59l6r8Mj1z2cWRalVq o0MUrDelgsCC+gouET50GMeUiLq4I38BZ1pofhIFwlAGKd8SLQP61dpCRzR1pC1IKfGR Cb9iO9wbNmYjynd46q7MT1TWaG2M5fKl+EuwvRJ4t2tPGNSoIzh0V3sasCZ8zvH4DIKv z/Zt7yMlS0u3yrRSwAYheczcleiNlH/uCYzLcbViBbNKXpLEx7ZFbhWnWTilS0KbL5e4 pHcNVtw5YbjW5Mt7Duir9/59W/qlnGrr+ISrl7ixOm7JPXiZJUpeiuquhP4kg/cJP3Pu xR4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9CIY8AjuCRy8RieSStx5nb9rNTU57wmjgQb3HVjK27U=; b=i2QgwSgpvqzv/NwCT5WzoQksuqrEZ9PdZHFpMXQFhAfzF14eaa1qYqHNVaXUtvNS9p SptlKH5avTbiFbppG4slCw8gNLVlBO97uma6Gc17RvtLqO8vzTVr77NzhIVIvXsUVeOh y95RUKNNKqVVhLSrwUQkKSxdyrjMv1hWTvtHcGWdHjrYfrYuR78UDlhhPNIq4r6XavG/ LHFEtdI+v1qgE90ezblmde8otp/Y3sCDTioATVEoXhRlo5FTwsVxF5TdmtHkN+41uCfx agOOd4muoHLFmzmVJ256CsqmbRyPcwYSy1gIj6ZKDGjp7rz/Yf4AeVCIyg5laVKHH5d9 C46Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i663WzaV; 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 dz22si11576997edb.470.2021.06.14.09.32.54; Mon, 14 Jun 2021 09:33:17 -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=i663WzaV; 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 S234651AbhFNQbr (ORCPT + 99 others); Mon, 14 Jun 2021 12:31:47 -0400 Received: from mail-ot1-f49.google.com ([209.85.210.49]:36799 "EHLO mail-ot1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234620AbhFNQbr (ORCPT ); Mon, 14 Jun 2021 12:31:47 -0400 Received: by mail-ot1-f49.google.com with SMTP id h24-20020a9d64180000b029036edcf8f9a6so11388683otl.3 for ; Mon, 14 Jun 2021 09:29:44 -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:in-reply-to; bh=9CIY8AjuCRy8RieSStx5nb9rNTU57wmjgQb3HVjK27U=; b=i663WzaVYh9vcq7ceJqDlWbmey3o6O+WEhi7etvgrLnxsxi8f9kgk9mEDBtlC4Piyy 7LteFPw1qcz5tkTdJK6vZi1eGrQ91DeQPPH4DWVoTFJ7lipp6uuWFs04mr4qJYjZkhC8 fDaF0llrx66733fzl44DMSzDRNRjYyaPVXt+hEmldEFM/I3fzU0FgcGx2g3i0dp8hdlb Rd7qiOi8MEDfHAuuDyRhwywrohKyktaISRVuR1BVp3URCDxR6LUex6I09mb3eVb2rh0L UUWgIKKRnYlVihuCna31RI/TsnF0ger4VBYtMDUjeRv0o6Urogy4ogDh+m8jnO3swO+3 t4Jw== 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:in-reply-to; bh=9CIY8AjuCRy8RieSStx5nb9rNTU57wmjgQb3HVjK27U=; b=YmLljjngGx4Cst5/oGxGZaJbSkCGV8wBBngLvgtK7b8FVuLePMLkWVznChrnZ0y0E4 2R9zeWIpo8VpN7z2ZYIbxedCnU+sPsAhCqSKpHbshxhq8+DHH6FODBqFT1JaxpEL++QY e1JDxPBbRvSqcW3vgOTESx5/W7PSbjfGMVRqqWjjrMRkpl/4Y1ItSjfivDV5mE7YINVC lStc2vphwtjKl9/op4EvdCivRhtJ/G/0XeJhftLVw2dYZoc/XbP8qTg1lpqCqmZvbflp NVeHnWhQEXuEwBRzFhrgtFWm7Ap8X6Ih5bbygbvXRcKoFRDLU91ZArtR2WKKX+xgT4Iq FInA== X-Gm-Message-State: AOAM533IhAmJ+Ux0qk5xN4bdl8W4tEBoDRhOSxosA7NE2S3/McdV4kFo 3GNjDRDhXA5VLIo+x/F9G7jWZw== X-Received: by 2002:a9d:491:: with SMTP id 17mr14139894otm.184.1623688124306; Mon, 14 Jun 2021 09:28:44 -0700 (PDT) Received: from yoga (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id w186sm3058210oib.58.2021.06.14.09.28.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Jun 2021 09:28:43 -0700 (PDT) Date: Mon, 14 Jun 2021 11:28:41 -0500 From: Bjorn Andersson To: Bhupesh Sharma 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 Subject: Re: [PATCH 1/8] dt-bindings: qcom: rpmh-regulator: Add compatible for SA8155p-adp board pmics Message-ID: References: <20210607113840.15435-1-bhupesh.sharma@linaro.org> <20210607113840.15435-2-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 14 Jun 03:05 CDT 2021, Bhupesh Sharma wrote: > 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. > Afaict, they are both physically the same component, but there is some configuration differences between them. I don't see any differences that will show up in Linux, but afaict we would capture those in the DT anyways. Let me know if you see anything I'm missing, but I think we should have a single compatible. Regards, Bjorn > Thanks, > Bhupesh > > > > > > - qcom,pm8350-rpmh-regulators > > > - qcom,pm8350c-rpmh-regulators > > > - qcom,pm8998-rpmh-regulators > > > -- > > > 2.31.1 > > >