rtc: rtc-pm8xxx: Add support for pm8018 rtc
authorNeil Armstrong <[email protected]>
Thu, 11 Aug 2016 13:16:44 +0000 (15:16 +0200)
committerLee Jones <[email protected]>
Wed, 31 Aug 2016 08:33:33 +0000 (09:33 +0100)
In order to support RTC on Qualcomm MDM9615 SoC, add support for
the pm8018 rtc in rtc-pm8xxx driver.

Signed-off-by: Neil Armstrong <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Acked-by: Alexandre Belloni <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Documentation/devicetree/bindings/mfd/qcom-pm8xxx.txt
drivers/rtc/rtc-pm8xxx.c

index f24f334091648bbecbe3fd314ea08aaf2f0252cc..37a088f9a648ec94e9d9f2046251d3993ff09ed7 100644 (file)
@@ -62,6 +62,7 @@ The below bindings specify the set of valid subnodes.
                    "qcom,pm8058-rtc"
                    "qcom,pm8921-rtc"
                    "qcom,pm8941-rtc"
+                   "qcom,pm8018-rtc"
 
 - reg:
        Usage: required
index 795fcbd02ea392e2d51b252a40d7dab3fcd14219..fac835530671ff003657a5807f750a73586be87e 100644 (file)
@@ -428,6 +428,7 @@ static const struct pm8xxx_rtc_regs pm8941_regs = {
  */
 static const struct of_device_id pm8xxx_id_table[] = {
        { .compatible = "qcom,pm8921-rtc", .data = &pm8921_regs },
+       { .compatible = "qcom,pm8018-rtc", .data = &pm8921_regs },
        { .compatible = "qcom,pm8058-rtc", .data = &pm8058_regs },
        { .compatible = "qcom,pm8941-rtc", .data = &pm8941_regs },
        { },