Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2100513pxj; Wed, 19 May 2021 23:33:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqJ/IgZmw2ACyXQhAJcPLi070g2VrzkRJdSFg6k2CCE75K2kgPBsg/YiLeixF9vIOw7nt5 X-Received: by 2002:a17:906:3da9:: with SMTP id y9mr3047258ejh.303.1621492416896; Wed, 19 May 2021 23:33:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621492416; cv=none; d=google.com; s=arc-20160816; b=Om6v9hQIxewR0BPh3rlQIqJBN9gAqB2+0AlLjux0y6dBrkrB8XPIBuRKM+nCA3xk09 oZ4cU7xwbH0eFVh+cR2vCK0RmhEo0ueIKad5Q5TaVDvIQ1jL24XVeMZcMurvyCGkSma0 Ktljx+inw+KHZRAO53ZptAP2iVTuvYVIarvD3acp3TD8TKypazQv1u/0iBtagRD3lets ISXH5Ky653KGCPeGBHc7coKNhtLcAPeDFELDPOX38PO6vNloKWnrf4aY/sdbY2hnCiYw EYRo3htFRv9ELD1tLa4WOmpbpojLSwkCxvL6ZvccgsXcri73EZF+h/KIAWDZtf9ZursI k7XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :sender:dkim-signature; bh=RN9lgRAgMkbnuV8dyfImkunBot4H1ttLFkBzjmJVfK4=; b=E081hbXKlgpaVOs/OuFhlSBVKH5177Wo7+bMO4fSGa4fnlp95VKJOOFSR0NzkA+NbN grAXjvORtAybWG0prK+uSpqg4R821ouIWClLiiSQaEmNjbAkt6zTsRTpWGfcASPz0Kq/ WZlcUeBVbgf1c2UQJQOc/a+/+70n9qYT4pTd6KtX+c+lupgdWYQUCih9ejnlUTaBAd+I ecguU86Ri3C4johEXBeoes0jgdL8kkgxyzj1nglyHptPeyvlndmoEc8cUY/I0g9PGpxU TOVARuYZHUuFK0p2K6XFMS06TYP/dF5caggqI5i280ZWW0vGZtbR6VilubykcDM2sYn2 lJyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=uvrA359C; 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 t8si1450696edi.510.2021.05.19.23.33.09; Wed, 19 May 2021 23:33:36 -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=@mg.codeaurora.org header.s=smtp header.b=uvrA359C; 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 S230365AbhETGdd (ORCPT + 99 others); Thu, 20 May 2021 02:33:33 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:31225 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230325AbhETGda (ORCPT ); Thu, 20 May 2021 02:33:30 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1621492329; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=RN9lgRAgMkbnuV8dyfImkunBot4H1ttLFkBzjmJVfK4=; b=uvrA359Ct03CknBLQ4RLA/Axq1Sp4oB5KM9aSGPmRjuot3en2pOXhpFi2BQEh1Jb1YSkYlYw i5Buz0yCBuGWwMsK7ihrmlCqvuG+F5yG8tVcZkMKX1W0tVj2n1xhSH4bKLK3PDrzJeXte5Yl g0tQhwhwfpTUb+JBiBmaNJMokEo= X-Mailgun-Sending-Ip: 198.61.254.9 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-n01.prod.us-west-2.postgun.com with SMTP id 60a602617b5af81b5ce0b7f7 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 20 May 2021 06:32:01 GMT Sender: skakit=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 5134DC4338A; Thu, 20 May 2021 06:32:01 +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=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: skakit) by smtp.codeaurora.org (Postfix) with ESMTPSA id 71E51C433F1; Thu, 20 May 2021 06:32:00 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 20 May 2021 12:02:00 +0530 From: skakit@codeaurora.org To: Matthias Kaehlcke , Vinod Koul Cc: Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kgunda@codeaurora.org Subject: Re: [RESEND PATCH V4 3/8] arm64: dts: qcom: pm7325: Add pm7325 base dts file In-Reply-To: References: <1621318822-29332-1-git-send-email-skakit@codeaurora.org> <1621318822-29332-4-git-send-email-skakit@codeaurora.org> Message-ID: <52d277a8598277716f37ad0c1f724845@codeaurora.org> X-Sender: skakit@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-05-18 22:12, Matthias Kaehlcke wrote: > On Tue, May 18, 2021 at 05:16:27PM +0530, Vinod Koul wrote: >> On 18-05-21, 11:50, satya priya wrote: >> > Add base DTS file for pm7325 along with GPIOs and temp-alarm nodes. >> > >> > Signed-off-by: satya priya >> > Reviewed-by: Matthias Kaehlcke >> > --- >> > Changes in RESEND V4: >> > - No Changes. >> > >> > arch/arm64/boot/dts/qcom/pm7325.dtsi | 53 ++++++++++++++++++++++++++++++++++++ >> > 1 file changed, 53 insertions(+) >> > create mode 100644 arch/arm64/boot/dts/qcom/pm7325.dtsi >> > >> > diff --git a/arch/arm64/boot/dts/qcom/pm7325.dtsi b/arch/arm64/boot/dts/qcom/pm7325.dtsi >> > new file mode 100644 >> > index 0000000..e7f64a9 >> > --- /dev/null >> > +++ b/arch/arm64/boot/dts/qcom/pm7325.dtsi >> > @@ -0,0 +1,53 @@ >> > +// SPDX-License-Identifier: BSD-3-Clause >> > +// Copyright (c) 2021, The Linux Foundation. All rights reserved. >> > + >> > +#include >> > +#include >> > + >> > +&spmi_bus { >> > + pm7325: pmic@1 { >> > + compatible = "qcom,pm7325", "qcom,spmi-pmic"; >> >> where is qcom,pm7325 documented? > > good point, I missed that one. > Actually this point was discussed during V2( https://lore.kernel.org/patchwork/patch/1406186/#1607321 ). As far as I understand it is not mandatory to add "qcom,pm7325" as we are adding "qcom,spmi-pmic". It is just a good to have change. I could not find the documentation for pm8350c, pmk8350 and pmr735a as well. >> > + reg = <0x1 SPMI_USID>; >> > + #address-cells = <1>; >> > + #size-cells = <0>; >> > + >> > + pm7325_temp_alarm: temp-alarm@a00 { >> > + compatible = "qcom,spmi-temp-alarm"; >> > + reg = <0xa00>; >> > + interrupts = <0x1 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; >> > + #thermal-sensor-cells = <0>; >> > + }; >> > + >> > + pm7325_gpios: gpios@8800 { >> > + compatible = "qcom,pm7325-gpio", "qcom,spmi-gpio"; >> >> where is qcom,pm7325-gpio documented? > > It's added by the 'Add GPIO support for PM7325' series > (https://patchwork.kernel.org/project/linux-arm-msm/list/?series=481133) > > The binding change was acked by Rob and the code by Bjorn, so it can be > expected to land, but it would still be good to mention the dependency > explicitly. The binding patch is applied now. Thanks, Satya Priya