提交 08655bca 编写于 作者: N Neil Armstrong 提交者: Lee Jones

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.
Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com>
Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org>
Acked-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: NLee Jones <lee.jones@linaro.org>
上级 c7ef587b
...@@ -62,6 +62,7 @@ The below bindings specify the set of valid subnodes. ...@@ -62,6 +62,7 @@ The below bindings specify the set of valid subnodes.
"qcom,pm8058-rtc" "qcom,pm8058-rtc"
"qcom,pm8921-rtc" "qcom,pm8921-rtc"
"qcom,pm8941-rtc" "qcom,pm8941-rtc"
"qcom,pm8018-rtc"
- reg: - reg:
Usage: required Usage: required
......
...@@ -428,6 +428,7 @@ static const struct pm8xxx_rtc_regs pm8941_regs = { ...@@ -428,6 +428,7 @@ static const struct pm8xxx_rtc_regs pm8941_regs = {
*/ */
static const struct of_device_id pm8xxx_id_table[] = { static const struct of_device_id pm8xxx_id_table[] = {
{ .compatible = "qcom,pm8921-rtc", .data = &pm8921_regs }, { .compatible = "qcom,pm8921-rtc", .data = &pm8921_regs },
{ .compatible = "qcom,pm8018-rtc", .data = &pm8921_regs },
{ .compatible = "qcom,pm8058-rtc", .data = &pm8058_regs }, { .compatible = "qcom,pm8058-rtc", .data = &pm8058_regs },
{ .compatible = "qcom,pm8941-rtc", .data = &pm8941_regs }, { .compatible = "qcom,pm8941-rtc", .data = &pm8941_regs },
{ }, { },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册