mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-11 13:52:02 -04:00
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>
This commit is contained in:
committed by
Bjorn Andersson
parent
65ec35baeb
commit
c9c86387ea
@@ -125,6 +125,10 @@ reg_lcd_neg: outn {
|
||||
sensor@48 {
|
||||
compatible = "ti,tmp108";
|
||||
reg = <0x48>;
|
||||
interrupts-extended = <&tlmm 13 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-0 = <&temp_alert_default>;
|
||||
pinctrl-names = "default";
|
||||
#thermal-sensor-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -361,6 +365,14 @@ reg_lcd_default: reg-lcd-default-state {
|
||||
bias-disable;
|
||||
output-high;
|
||||
};
|
||||
|
||||
temp_alert_default: temp-alert-default-state {
|
||||
pins = "gpio13";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
output-disable;
|
||||
};
|
||||
};
|
||||
|
||||
&usb {
|
||||
|
||||
Reference in New Issue
Block a user