Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions arch/arm64/boot/dts/qcom/pm7250b.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,16 @@
interrupt-controller;
#interrupt-cells = <2>;
};

sensor@1d00 {
compatible = "qcom,pm7250b-bcl", "qcom,bcl-v1";
reg = <0x1d00>;
interrupts = <PM7250B_SID 0x1d 0x0 IRQ_TYPE_EDGE_RISING>,
<PM7250B_SID 0x1d 0x1 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "bcl-max-min",
"bcl-critical";
overcurrent-thresholds-milliamp = <5500 6000>;
};
};

pmic@PM7250B_SID1 {
Expand Down
9 changes: 9 additions & 0 deletions arch/arm64/boot/dts/qcom/pm8350c.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@
#pwm-cells = <2>;
status = "disabled";
};

sensor@4700 {
compatible = "qcom,pm8350c-bcl", "qcom,bcl-v2";
reg = <0x4700>;
interrupts = <0x2 0x47 0x0 IRQ_TYPE_EDGE_RISING>,
<0x2 0x47 0x1 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "bcl-max-min",
"bcl-critical";
};
};
};

Expand Down