mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-27 09:23:07 -05:00
arm64: dts: qcom: sc7180: Add prox sensor to LTE sku Lazor boards
There's a proximity sensor on Lazor devices, but only for LTE SKUs. Enable it only on the Lazor LTE SKUs and also configure it properly so it works. Cc: Douglas Anderson <dianders@chromium.org> Cc: Matthias Kaehlcke <mka@chromium.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Stephen Boyd <swboyd@chromium.org> Link: https://lore.kernel.org/r/20201120183825.547310-1-swboyd@chromium.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
d5276bfa0c
commit
fee5dc31a5
@@ -13,6 +13,14 @@ / {
|
||||
compatible = "google,lazor-rev1-sku0", "google,lazor-rev2-sku0", "qcom,sc7180";
|
||||
};
|
||||
|
||||
&ap_sar_sensor {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ap_sar_sensor_i2c {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&keyboard_backlight {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -13,6 +13,14 @@ / {
|
||||
compatible = "google,lazor-sku0", "qcom,sc7180";
|
||||
};
|
||||
|
||||
&ap_sar_sensor {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ap_sar_sensor_i2c {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&keyboard_backlight {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -30,7 +30,12 @@ panel_in_edp: endpoint {
|
||||
};
|
||||
|
||||
&ap_sar_sensor {
|
||||
status = "okay";
|
||||
semtech,cs0-ground;
|
||||
semtech,combined-sensors = <3>;
|
||||
semtech,resolution = "fine";
|
||||
semtech,startup-sensor = <0>;
|
||||
semtech,proxraw-strength = <8>;
|
||||
semtech,avg-pos-strength = <64>;
|
||||
};
|
||||
|
||||
ap_ts_pen_1v8: &i2c4 {
|
||||
|
||||
@@ -34,11 +34,6 @@ panel_in_edp: endpoint {
|
||||
};
|
||||
};
|
||||
|
||||
&ap_sar_sensor_i2c {
|
||||
/* Not hooked up */
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
ap_ts_pen_1v8: &i2c4 {
|
||||
status = "okay";
|
||||
clock-frequency = <400000>;
|
||||
|
||||
@@ -654,7 +654,6 @@ sn65dsi86_out: endpoint {
|
||||
};
|
||||
|
||||
ap_sar_sensor_i2c: &i2c5 {
|
||||
status = "okay";
|
||||
clock-frequency = <400000>;
|
||||
|
||||
ap_sar_sensor: proximity@28 {
|
||||
|
||||
Reference in New Issue
Block a user