Quoting Vinod Koul (2019-08-14 05:49:57)
PM8150 PMIC contains pon and rtc devices so add nodes for these.
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
Squash this with the other patch?
quoted hunk ↗ jump to hunk
@@ -12,6 +13,25 @@
#address-cells = <1>;
#size-cells = <0>;
+ pon: pon@800 {
+ compatible = "qcom,pm8916-pon";
+ reg = <0x0800>;
+ pwrkey {
+ compatible = "qcom,pm8941-pwrkey";
+ interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
+ debounce = <15625>;
+ bias-pull-up;
+ linux,code = <KEY_POWER>;
status = "disabled"?
+ };
+ };
+
+ rtc@6000 {
+ compatible = "qcom,pm8941-rtc";
+ reg = <0x6000>;
+ reg-names = "rtc", "alarm";
+ interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;
status = "disabled"?
+ };
+
pm8150_gpios: gpio@c000 {
compatible = "qcom,pm8150-gpio";
reg = <0xc000>;
--
2.20.1