diff options
author | Neil Armstrong <[email protected]> | 2016-08-11 15:16:44 +0200 |
---|---|---|
committer | Andy Gross <[email protected]> | 2016-09-02 13:44:16 -0500 |
commit | 23c282d62f573263db679e6b4c9f2da82aa24f96 (patch) | |
tree | 0fdf4a3be2b0ef7d5067e20fe6b40c68df538d6d | |
parent | 4e21a95d7fbc526d35d860ec34c468e04f53672f (diff) |
rtc: rtc-pm8xxx: Add support for pm8018 rtc
In order to support RTC on Qualcomm MDM9615 SoC, add support for
the pm8018 rtc in rtc-pm8xxx driver.
Reviewed-by: Bjorn Andersson <[email protected]>
Acked-by: Alexandre Belloni <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
Signed-off-by: Andy Gross <[email protected]>
-rw-r--r-- | Documentation/devicetree/bindings/mfd/qcom-pm8xxx.txt | 1 | ||||
-rw-r--r-- | drivers/rtc/rtc-pm8xxx.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/qcom-pm8xxx.txt b/Documentation/devicetree/bindings/mfd/qcom-pm8xxx.txt index f24f33409164..37a088f9a648 100644 --- a/Documentation/devicetree/bindings/mfd/qcom-pm8xxx.txt +++ b/Documentation/devicetree/bindings/mfd/qcom-pm8xxx.txt @@ -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 diff --git a/drivers/rtc/rtc-pm8xxx.c b/drivers/rtc/rtc-pm8xxx.c index 795fcbd02ea3..fac835530671 100644 --- a/drivers/rtc/rtc-pm8xxx.c +++ b/drivers/rtc/rtc-pm8xxx.c @@ -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 }, { }, |