]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
arm64: jetson-cv: tca9539: remove default settings
authorShreshtha SAHU <ssahu@nvidia.com>
Mon, 29 Jun 2015 09:01:24 +0000 (14:31 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 30 Jun 2015 15:46:00 +0000 (08:46 -0700)
Remove default GPIO settings done by TCA9539 driver during driver
initialization. Each PIN should be handled by respective users of
that PIN.

Bug 200116593

Change-Id: Ie9db636a79d949973f884f20460f95838e5eb104
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/763535
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
arch/arm64/boot/dts/tegra210-jetson-cv-base-p2597-2180-a00.dts

index 026b9948573311790989f8d4814a1fd6bd23a9d6..610e085f1f714bfbc55a7409ff4a8a4607624843 100644 (file)
                        interrupts = <TEGRA_GPIO(L, 1) 0x0>;
                        #interrupt-cells = <2>;
                        interrupt-controller;
-                       gpio-init-names = "default";
-                       gpio-init-0 = <&tca9539_74_default>;
-                       tca9539_74_default: default {
-                               /*
-                                * Below are exact gpio pin number as in
-                                * TCA9539 datasheet i.e. P0-P7 and P10-P17,
-                                * albeit Linux gpio numbering remains
-                                * sequencial i.e. 0-15
-                                *
-                                * P10 : M2_E_ALERT_R_L
-                                * P13 : TOUCH_ID
-                                */
-                               gpio-input = <8 11>;
-
-                               /*
-                                * P1 : EN_VDD_TS_1V8_PMIC
-                                * P2 : EN_VDD_TS_HV_PMIC
-                                * P3 : EN_VDD_DISP,
-                                * P4 : PS_VDD_FAN_ENABLE
-                                * P5 : MDM_EN
-                                * P7 : MDM_EN, MDM_PWR_EN
-                                * P11 : VDD_DISP_MUX_EN
-                                * P12 : FLASH_INHIBIT
-                                * P14 : 5V0_HDMI_EN
-                                * P15 : EN_VDD_CAM_HV
-                                * P16,P17 : TP83, TP84
-                                */
-                               gpio-output-low = <1 2 3 4 5 7 9 10 12 13 14 15>;
-
-                               /*
-                                * P0 : W_DISABLE_L
-                                * P6 : MDM_RST_L
-                                */
-                               gpio-output-high = <0 6>;
-                       };
                };
 
                tca9539_77: tca9539@77 {
                        interrupts = <TEGRA_GPIO(Z, 2) 0x0>;
                        #interrupt-cells = <2>;
                        interrupt-controller;
-                       gpio-init-names = "default";
-                       gpio-init-0 = <&tca9539_74_default>;
-                       tca9539_77_default: default {
-                               /*
-                                * Below are exact gpio pin number as in
-                                * TCA9539 datasheet i.e. P0-P7 and P10-P17,
-                                * albeit Linux gpio numbering remains
-                                * sequencial i.e. 0-15
-                                *
-                                * P0 : DISP_CHARGER_STAT
-                                * P1 : DISP_TYPEC_ORIENT
-                                * P16 : NVSR_INT
-                                * P17 : BRIDGE_IRQ
-                                */
-                               gpio-input = <0 1 14 15>;
-
-                               /*
-                                * P2 : TYPEC_INT                Charger control HDR
-                                * P3 : VDD_SYS_EN               CAM HEADER
-                                * P4 : LCD_BIAS_EN              CAM HEADER
-                                * P5 : TORCH_EN                 CAM HEADER
-                                * P6 : FLASH_INHIBIT    CAM HEADER
-                                * P7 : CAM2_PWDN                CAM HEADER
-                                * P10 : CAM2_RST                CAM HEADER
-                                * P11 : CAM_VDD_1V8_EN          CAM HEADER
-                                * P12 : CAM_VDD_1V2_EN          CAM HEADER
-                                * P13 : CAM_AF_PWDN             CAM HEADER
-                                * P14 : CHG_BD_PRSNT_L          CAM HEADER
-                                * P15 : BRIDGE_EN               CAM HEADER
-                                */
-                               gpio-output-low = <2 3 4 5 6 7 8 9 10 11 12 13>;
-                       };
                };
        };