disable things we don't have

This commit is contained in:
George Hotz
2019-09-11 10:55:13 -07:00
committed by Willem Melching
parent 0b4c931c17
commit d50994b51a
2 changed files with 32 additions and 20 deletions

View File

@@ -7,11 +7,14 @@
status = "disabled";
};
/* don't use /dev/i2c-4, it's for DP */
&qupv3_se2_i2c {
status = "disabled";
};
/* audio and power monitor(ina230) I2C, /dev/i2c-0 */
&qupv3_se10_i2c {
status = "ok";
status = "ok";
qcom,clk-freq-out = <100000>;
ti_ina320@64 {
compatible = "ti,ina230";
@@ -29,7 +32,8 @@
/* light(RPR-0521RS) and touch panel I2C, /dev/i2c-2 */
&qupv3_se5_i2c {
status = "ok";
status = "ok";
qcom,clk-freq-out = <100000>;
rpr0521@38 {
compatible = "rpr0521";
@@ -37,11 +41,21 @@
};
};
/* second home of the sensors besides SSC, BLSP4 on tici */
&qupv3_se4_i2c {
status = "ok";
qcom,clk-freq-out = <100000>;
};
/* panda SPI */
&qupv3_se0_spi {
status = "ok";
};
/* GPS UART */
&qupv3_se6_4uart {
status = "disabled";
};
/* IMUs are on SSC i2c, have to interact with that firmware */

View File

@@ -270,9 +270,9 @@
};
//&dsi_dual_lt8912_video_display {
&dsi_lt9611_1080_video_display {
/*&dsi_lt9611_1080_video_display {
qcom,dsi-display-active;
};
};*/
&pmi8998_wled {
status = "disabled";
@@ -408,7 +408,7 @@
};
///ALTEK_TAG_HwMiniISP>>>
&qupv3_se5_spi {
/*&qupv3_se5_spi {
status = "ok";
mini_isp@0 {
compatible = "altek_isp";
@@ -416,7 +416,6 @@
spi-max-frequency = <50000000>;
spi-cpol;
spi-cpha;
/*spi-cs-high;*/
//vcc-supply = <&pm8953_s3>;
reset-gpios = <&tlmm 12 0x00>;
irq-gpios = <&tlmm 24 0x00>;
@@ -425,11 +424,12 @@
//status = "disabled";
status = "ok";
};
};
};*/
///ALTEK_TAG_HwMiniISP<<<
&qupv3_se3_i2c {
status = "disabled";
/* do we have this? */
nq@28 {
compatible = "qcom,nq-nci";
reg = <0x28>;
@@ -462,7 +462,8 @@
&qupv3_se2_spi {
status = "ok";
invensense_icm@0 {
/* why is this not on SSC? */
/*invensense_icm@0 {
compatible = "invensense,icm42600";
reg = <0>;
spi-max-frequency = <8000000>;
@@ -484,9 +485,7 @@
clocks = <&clock_gcc GCC_GP1_CLK>;
clock-names = "gpio-inv-clk";
status= "ok";
};
};*/
};
&usb1 {
@@ -715,22 +714,21 @@
interrupt-names = "hdmi_hpd_irq1";
};
*/
lt9611@3b {
/*lt9611@3b {
compatible = "lontium,lt9611";
reg = <0x3b>;
lt,irq-gpio = <&tlmm 84 0x00>;
lt,reset-gpio = <&tlmm 128 0x00>;
/*lt,secondary-hpd-irq-gpio = <&tlmm 52 0x00>;*/
/*lt,receiver-enable-gpio = <&tlmm 31 0x00>;*/
/*lt,pwr-enable-gpio = <&tlmm 89 0x00>;*/
lt,pwr-sys1v8-gpio = <&tlmm 89 0x00>;
lt,pwr-sys5v0-gpio = <&tlmm 120 0x00>;/*GPIO120_DSI_SW_SEL*/
/*lt,pwr-sys3v3-gpio = <&tlmm 125 0x00>;*/
lt,pwr-sys5v0-gpio = <&tlmm 120 0x00>;
lt,video-format-id = <4>;
lt,mipi-lanes-type = <0>;//4 lane
lt,mipi-ports-type = <0>;//single port
};
};*/
/*lt,secondary-hpd-irq-gpio = <&tlmm 52 0x00>;*/
/*lt,receiver-enable-gpio = <&tlmm 31 0x00>;*/
/*lt,pwr-enable-gpio = <&tlmm 89 0x00>;*/
/*lt,pwr-sys3v3-gpio = <&tlmm 125 0x00>;*/
};
&qupv3_se2_i2c {