Message ID | 1617976766-7852-1-git-send-email-skakit@codeaurora.org |
---|---|
Headers | show |
Series | Add RTC support for PMIC PMK8350 | expand |
On Fri 09 Apr 08:59 CDT 2021, satya priya wrote: > Add binding doc for qcom pm8xxx rtc device. > Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Regards, Bjorn > Signed-off-by: satya priya <skakit@codeaurora.org> > --- > 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 <skakit@codeaurora.org> > + > +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 <dt-bindings/spmi/spmi.h> > + 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 >
On Fri, 9 Apr 2021 19:29:22 +0530, satya priya wrote: > satya priya (4): > rtc: pm8xxx: Add RTC support for PMIC PMK8350 > dt-bindings: mfd: Add compatible for pmk8350 rtc > dt-bindings: mfd: Convert pm8xxx bindings to yaml > dt-bindings: rtc: qcom-pm8xxx-rtc: Add qcom pm8xxx rtc bindings > > .../devicetree/bindings/mfd/qcom-pm8xxx.txt | 99 ---------------------- > .../devicetree/bindings/mfd/qcom-pm8xxx.yaml | 54 ++++++++++++ > .../devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml | 62 ++++++++++++++ > drivers/rtc/rtc-pm8xxx.c | 11 +++ > 4 files changed, 127 insertions(+), 99 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/mfd/qcom-pm8xxx.txt > create mode 100644 Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml > create mode 100644 Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml Applied, thanks! [1/4] rtc: pm8xxx: Add RTC support for PMIC PMK8350 commit: c8f0ca8b7a4b91f637ccd9a55f37dbac73d6f6bf [4/4] dt-bindings: rtc: qcom-pm8xxx-rtc: Add qcom pm8xxx rtc bindings commit: 8138c5f0318c69a878582d2140dac08e6a99880d Best regards,
Hello: This series was applied to qcom/linux.git (refs/heads/for-next): On Fri, 9 Apr 2021 19:29:22 +0530 you wrote: > satya priya (4): > rtc: pm8xxx: Add RTC support for PMIC PMK8350 > dt-bindings: mfd: Add compatible for pmk8350 rtc > dt-bindings: mfd: Convert pm8xxx bindings to yaml > dt-bindings: rtc: qcom-pm8xxx-rtc: Add qcom pm8xxx rtc bindings > > .../devicetree/bindings/mfd/qcom-pm8xxx.txt | 99 ---------------------- > .../devicetree/bindings/mfd/qcom-pm8xxx.yaml | 54 ++++++++++++ > .../devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml | 62 ++++++++++++++ > drivers/rtc/rtc-pm8xxx.c | 11 +++ > 4 files changed, 127 insertions(+), 99 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/mfd/qcom-pm8xxx.txt > create mode 100644 Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml > create mode 100644 Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml Here is the summary with links: - [V2,1/4] rtc: pm8xxx: Add RTC support for PMIC PMK8350 https://git.kernel.org/qcom/c/c8f0ca8b7a4b - [V2,2/4] dt-bindings: mfd: Add compatible for pmk8350 rtc https://git.kernel.org/qcom/c/c3a9432429eb - [V2,3/4] dt-bindings: mfd: Convert pm8xxx bindings to yaml https://git.kernel.org/qcom/c/f2f2bc3c0cfc - [V2,4/4] dt-bindings: rtc: qcom-pm8xxx-rtc: Add qcom pm8xxx rtc bindings https://git.kernel.org/qcom/c/8138c5f0318c You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html