mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
ARM: dts: qcom: pm8058: use defined IRQ flags
Use symbolic names for IRQ flags instead of using the numeric values. Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20230928110309.1212221-25-dmitry.baryshkov@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
4181b6ce57
commit
cfe406658e
1 changed files with 5 additions and 3 deletions
|
@ -12,7 +12,8 @@
|
||||||
compatible = "qcom,pm8058-pwrkey";
|
compatible = "qcom,pm8058-pwrkey";
|
||||||
reg = <0x1c>;
|
reg = <0x1c>;
|
||||||
interrupt-parent = <&pm8058>;
|
interrupt-parent = <&pm8058>;
|
||||||
interrupts = <50 1>, <51 1>;
|
interrupts = <50 IRQ_TYPE_EDGE_RISING>,
|
||||||
|
<51 IRQ_TYPE_EDGE_RISING>;
|
||||||
debounce = <15625>;
|
debounce = <15625>;
|
||||||
pull-up;
|
pull-up;
|
||||||
};
|
};
|
||||||
|
@ -61,7 +62,8 @@
|
||||||
compatible = "qcom,pm8058-keypad";
|
compatible = "qcom,pm8058-keypad";
|
||||||
reg = <0x148>;
|
reg = <0x148>;
|
||||||
interrupt-parent = <&pm8058>;
|
interrupt-parent = <&pm8058>;
|
||||||
interrupts = <74 1>, <75 1>;
|
interrupts = <74 IRQ_TYPE_EDGE_RISING>,
|
||||||
|
<75 IRQ_TYPE_EDGE_RISING>;
|
||||||
debounce = <15>;
|
debounce = <15>;
|
||||||
scan-delay = <32>;
|
scan-delay = <32>;
|
||||||
row-hold = <91500>;
|
row-hold = <91500>;
|
||||||
|
@ -135,7 +137,7 @@
|
||||||
compatible = "qcom,pm8058-rtc";
|
compatible = "qcom,pm8058-rtc";
|
||||||
reg = <0x1e8>;
|
reg = <0x1e8>;
|
||||||
interrupt-parent = <&pm8058>;
|
interrupt-parent = <&pm8058>;
|
||||||
interrupts = <39 1>;
|
interrupts = <39 IRQ_TYPE_EDGE_RISING>;
|
||||||
allow-set-time;
|
allow-set-time;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue