Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1456677pxf; Fri, 9 Apr 2021 08:52:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFO/AIWkY9JHlmT8NapQRF8oTOLtyiwa4u7K8NRkiyvwwEs06Pkw6JbCWo8KtuJgES4yMu X-Received: by 2002:a63:43c2:: with SMTP id q185mr13604318pga.41.1617983529545; Fri, 09 Apr 2021 08:52:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617983529; cv=none; d=google.com; s=arc-20160816; b=sOiOp4LDWB3lMwpD43Xpjs5k5EShd2u+vmlyHsq0huN5I03hhZaT88WJXUm9YXXtcR dg95OhgIzHv7JoJKyH8tdO3i6A46qBgavDaq8C6H+qHY1w2OUge7iipQlK4fu/6sPkBn TAzM1eVZI1dVmdlrfMejkn5NE2v1p5VEGmBuIRL3wm1reE3looBGu6gkLbqRzrEb76BL ouLCRayHHb0erf1OAsMhgJP88IAKpNRXpFlEEhuxjoD+QvoW1qOhlkudG3KkYeO6kgtK tLYqM7Pi4lQfhtaHacpJ3GYNnxxNrerIsXbOS0Pdr0funLJOwUoeFPICnVRdZDaZC2zn HT9g== 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=yjz3RZlWmDnIdbGeqiIWT3LCNv9pDPUhAL9jkHODWaA=; b=fwwcdRNWlLjLjv6L8dW74WQudBdOxth54zqVyaXbxtGn/Mot5r4G+QG7wEh5OXlhiw JGOV3QExeM/n/fn0txwbihDms4C9sk/4bIRSm7bVgZjsT3j/AE1huxjJLv2tFxPgnxD5 rKLGS5HvAhYwRUTq743xux9qPi5FtAF03U5HpQmmxu2KudtwFGC2d6/k0uuQVct7XuaE WvP2xE3GTGGFeiWJbJ2dkbbe2rXXNUPUrDiwUHk82lzFRxTnrfn+C/DahumsZCa5gaG4 ZnDq6ju8NkOqL0r4/LEfHLg3YrrvG+vJOCvnx8Ncl7UJSklE5FgF9MEK0CGhZh0u5oZD 80pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SwOqVBgq; 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 s14si3493097pjm.125.2021.04.09.08.51.57; Fri, 09 Apr 2021 08:52:09 -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=SwOqVBgq; 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 S233798AbhDIPvV (ORCPT + 99 others); Fri, 9 Apr 2021 11:51:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233786AbhDIPvU (ORCPT ); Fri, 9 Apr 2021 11:51:20 -0400 Received: from mail-oo1-xc36.google.com (mail-oo1-xc36.google.com [IPv6:2607:f8b0:4864:20::c36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E911C061763 for ; Fri, 9 Apr 2021 08:51:08 -0700 (PDT) Received: by mail-oo1-xc36.google.com with SMTP id n12-20020a4ad12c0000b02901b63e7bc1b4so1435005oor.5 for ; Fri, 09 Apr 2021 08:51:08 -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=yjz3RZlWmDnIdbGeqiIWT3LCNv9pDPUhAL9jkHODWaA=; b=SwOqVBgqSt+JcynoMv7Ujr6TrdkjnuLZHQp7t35SNF73hPzBzw9x8tb1BLc69BbiNO W7dLfPXDZfLkLdx0lrcyiVL6+jsQCM4NwdJm1lOVJmh8urAZ3zs2HoECWdFbcNWrt7Yc OfCijvpq7WtT/xEbU0pY/IKhZoou4cqY0D9b9P1F8d7Dvyibi+qG5+gXBJYUS+WtcKMO e7Tu2sKC45647/8w4lTihc0uMC+qvfFCXfpePS1UL6v9wNCnFwdNqRG9MgM6pOrFheuG hRY1j+oco9SCJhjM4k2Wds5bxMO4QIqhjBJYBoFQFdWfj8RuARxqv5vjIq6U02wRjs/g ykSQ== 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=yjz3RZlWmDnIdbGeqiIWT3LCNv9pDPUhAL9jkHODWaA=; b=NYQm76OW8UJhTCVxUxRwps06X6WyJ2jQ2W4PJKb3Lc+jXM0ghUnD+LyDhEuRGwhMXD jsxeT85vFKYakxJLtAS4Evku1B5K5SgKpNPQa55mVj9x/tz8lS0woc+w4R+Pil9oX/ic ls5lveTBkUP+RDOJdH4Vy/cap9f3m6yC7D/608sH2hKP2YruvK81uxr7CxvHwQG1Iw6M I3lqjtCB1aO5OV6EH2ZSmjN7Upq/ZjpI/omR7QzUVE8HS4L5HFTgPRz4ywkj9TfF9TXT e/C31WiXz9Z46xTx4MNPuuppLcOAyXDrTsKjvLrsxlOywwI5NNu5UiN5A4B2s1OVoCTK eS4A== X-Gm-Message-State: AOAM532E3Y3vH3f6jO1was2obUnbynMJdD7KxGfrpDT9J6bZS4Ft0IAV UDfSYD9WOhQw474sV4ecnBWPUlCMdbokag== X-Received: by 2002:a05:6820:129:: with SMTP id i9mr12437657ood.80.1617983467285; Fri, 09 Apr 2021 08:51:07 -0700 (PDT) Received: from yoga (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id f129sm586154oia.9.2021.04.09.08.51.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Apr 2021 08:51:06 -0700 (PDT) Date: Fri, 9 Apr 2021 10:51:04 -0500 From: Bjorn Andersson To: satya priya Cc: Alessandro Zummo , Alexandre Belloni , Rob Herring , Andy Gross , Lee Jones , linux-rtc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kgunda@codeaurora.org Subject: Re: [PATCH V2 4/4] dt-bindings: rtc: qcom-pm8xxx-rtc: Add qcom pm8xxx rtc bindings Message-ID: <20210409155104.GW904837@yoga> References: <1617976766-7852-1-git-send-email-skakit@codeaurora.org> <1617976766-7852-5-git-send-email-skakit@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1617976766-7852-5-git-send-email-skakit@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 09 Apr 08:59 CDT 2021, satya priya wrote: > Add binding doc for qcom pm8xxx rtc device. > Reviewed-by: Bjorn Andersson Regards, Bjorn > Signed-off-by: satya priya > --- > Changes in V2: > - Added this in V2 to have separate binding for rtc node. > > .../devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml | 62 ++++++++++++++++++++++ > 1 file changed, 62 insertions(+) > create mode 100644 Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml > > diff --git a/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml b/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml > new file mode 100644 > index 0000000..4fba6db > --- /dev/null > +++ b/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml > @@ -0,0 +1,62 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/rtc/qcom-pm8xxx-rtc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm PM8xxx PMIC RTC device > + > +maintainers: > + - Satya Priya > + > +properties: > + compatible: > + enum: > + - qcom,pm8058-rtc > + - qcom,pm8921-rtc > + - qcom,pm8941-rtc > + - qcom,pm8018-rtc > + - qcom,pmk8350-rtc > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + allow-set-time: > + $ref: /schemas/types.yaml#/definitions/flag > + description: > + Indicates that the setting of RTC time is allowed by the host CPU. > + > +required: > + - compatible > + - reg > + - interrupts > + > +additionalProperties: false > + > +examples: > + - | > + #include > + spmi_bus: spmi@c440000 { > + reg = <0x0c440000 0x1100>; > + #address-cells = <2>; > + #size-cells = <0>; > + pmicintc: pmic@0 { > + reg = <0x0 SPMI_USID>; > + compatible = "qcom,pm8921"; > + interrupts = <104 8>; > + #interrupt-cells = <2>; > + interrupt-controller; > + #address-cells = <1>; > + #size-cells = <0>; > + > + pm8921_rtc: rtc@11d { > + compatible = "qcom,pm8921-rtc"; > + reg = <0x11d>; > + interrupts = <0x27 0>; > + }; > + }; > + }; > +... > -- > QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member > of Code Aurora Forum, hosted by The Linux Foundation >