Johan Hovold
430aa33a30
dt-bindings: rtc: qcom-pm8xxx: add nvmem-cell offset
...
On many Qualcomm platforms the PMIC RTC control and time registers are
read-only so that the RTC time can not be updated. Instead an offset
needs be stored in some machine-specific non-volatile memory, which a
driver can take into account.
Add an 'offset' nvmem cell which can be used to store a 32-bit offset
from the Unix epoch so that the RTC time can be updated on such
platforms.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Johan Hovold <johan+linaro@kernel.org >
Reviewed-by: David Collins <quic_collinsd@quicinc.com >
Link: https://lore.kernel.org/r/20230202155448.6715-17-johan+linaro@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
2023-02-25 23:34:22 +01:00
Johan Hovold
51b3802e79
dt-bindings: rtc: qcom-pm8xxx: allow 'wakeup-source' property
...
The RTC can be used as a wakeup source on at least some platforms so
allow it to be described as such.
Signed-off-by: Johan Hovold <johan+linaro@kernel.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20230104095612.6756-1-johan+linaro@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
2023-01-09 22:12:01 +01:00
Neil Armstrong
f2fa14b0b5
dt-bindings: rtc: qcom-pm8xxx: document qcom,pm8921-rtc as fallback of qcom,pm8018-rtc
...
The PM8018 RTC is used as compatible with PM8921 RTC on the MDM9615,
document this situation.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org >
Link: https://lore.kernel.org/r/20220928-mdm9615-dt-schema-fixes-v5-1-bbb120c6766a@linaro.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
2022-11-15 21:01:51 +01:00
Satya Priya
fa1f8e6ac4
dt-bindings: rtc: qcom-pm8xxx-rtc: Update the maintainers section
...
Update the maintainers section with latest mail ID.
Signed-off-by: Satya Priya <quic_c_skakit@quicinc.com >
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Link: https://lore.kernel.org/r/1655874639-11273-3-git-send-email-quic_c_skakit@quicinc.com
2022-06-24 21:29:27 +02:00
David Heidelberg
a12ac1f0ff
dt-bindings: rtc: qcom-pm8xxx-rtc: update register numbers
...
Extend registers up to 2, also document their names.
Also fixes warnings generated by `make qcom/sdm845-oneplus-fajita.dtb`:
arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dt.yaml: rtc@6000: reg: [[24576], [24832]] is too long
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dt.yaml: rtc@6000: 'reg-names' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
Signed-off-by: David Heidelberg <david@ixit.cz >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Link: https://lore.kernel.org/r/20211213192946.111320-1-david@ixit.cz
2022-01-05 01:09:27 +01:00
satya priya
8138c5f031
dt-bindings: rtc: qcom-pm8xxx-rtc: Add qcom pm8xxx rtc bindings
...
Add binding doc for qcom pm8xxx rtc device.
Signed-off-by: satya priya <skakit@codeaurora.org >
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Reported-by: kernel test robot <lkp@intel.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Link: https://lore.kernel.org/r/1617976766-7852-5-git-send-email-skakit@codeaurora.org
2021-04-17 00:20:01 +02:00