Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit c9c8638

Browse files
André Apitzschandersson
authored andcommitted
ARM: dts: qcom: msm8926-motorola-peregrine: Update temperature sensor
Add alert interrupt for the temperature sensor of Motorola Moto G 4G (2013), although not used by the driver yet. Signed-off-by: André Apitzsch <git@apitzsch.eu> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20240617-peregrine-v2-2-c8835d2da7af@apitzsch.eu Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 65ec35b commit c9c8638

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

arch/arm/boot/dts/qcom/qcom-msm8926-motorola-peregrine.dts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@
125125
sensor@48 {
126126
compatible = "ti,tmp108";
127127
reg = <0x48>;
128+
interrupts-extended = <&tlmm 13 IRQ_TYPE_LEVEL_LOW>;
129+
pinctrl-0 = <&temp_alert_default>;
130+
pinctrl-names = "default";
131+
#thermal-sensor-cells = <0>;
128132
};
129133
};
130134

@@ -361,6 +365,14 @@
361365
bias-disable;
362366
output-high;
363367
};
368+
369+
temp_alert_default: temp-alert-default-state {
370+
pins = "gpio13";
371+
function = "gpio";
372+
drive-strength = <2>;
373+
bias-disable;
374+
output-disable;
375+
};
364376
};
365377

366378
&usb {

0 commit comments

Comments
 (0)