mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-25 03:55:09 +08:00
2ca9c2a4c1
Add the generic compatible strings for the PMIC gpio and MPP modules found on qcom based PMICs. Cc: <devicetree@vger.kernel.org> Cc: "Ivan T. Ivanov" <iivanov@mm-sol.com> Cc: Bjorn Andersson <bjorn.andersson@sonymobile.com> Cc: Rob Herring <robh@kernel.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Andy Gross <agross@codeaurora.org>
37 lines
830 B
Plaintext
37 lines
830 B
Plaintext
#include <dt-bindings/interrupt-controller/irq.h>
|
|
#include <dt-bindings/spmi/spmi.h>
|
|
|
|
&spmi_bus {
|
|
|
|
pm8841_0: pm8841@4 {
|
|
compatible = "qcom,pm8841", "qcom,spmi-pmic";
|
|
reg = <0x4 SPMI_USID>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
pm8841_mpps: mpps@a000 {
|
|
compatible = "qcom,pm8841-mpp", "qcom,spmi-mpp";
|
|
reg = <0xa000 0x400>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
interrupts = <4 0xa0 0 IRQ_TYPE_NONE>,
|
|
<4 0xa1 0 IRQ_TYPE_NONE>,
|
|
<4 0xa2 0 IRQ_TYPE_NONE>,
|
|
<4 0xa3 0 IRQ_TYPE_NONE>;
|
|
};
|
|
|
|
temp-alarm@2400 {
|
|
compatible = "qcom,spmi-temp-alarm";
|
|
reg = <0x2400 0x100>;
|
|
interrupts = <4 0x24 0 IRQ_TYPE_EDGE_RISING>;
|
|
};
|
|
};
|
|
|
|
pm8841_1: pm8841@5 {
|
|
compatible = "qcom,pm8841", "qcom,spmi-pmic";
|
|
reg = <0x5 SPMI_USID>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|
|
};
|