From a9b1302b56f6c076d90dd5122e45fbc8694ab147 Mon Sep 17 00:00:00 2001 From: shiwgupt Date: Mon, 27 Jul 2020 18:11:36 +0530 Subject: [PATCH] ARM: dts: qcom: Add cci3 pinctrl gpio for holi Configure the cci sda , cci scl gpios for cci3 bus. Change-Id: I722e9dfb2f7c8a301855adf30f9c7cae94783c38 CRs-Fixed: 2733427 --- qcom/holi-pinctrl.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/qcom/holi-pinctrl.dtsi b/qcom/holi-pinctrl.dtsi index cb4b6524e3f3..b3fd9e4c2d9a 100644 --- a/qcom/holi-pinctrl.dtsi +++ b/qcom/holi-pinctrl.dtsi @@ -688,6 +688,34 @@ }; }; + cci3_active: cci3_active { + mux { + /* CLK, DATA */ + pins = "gpio2", "gpio3"; + function = "CCI_I2C"; + }; + + config { + pins = "gpio2", "gpio3"; + bias-pull-up; /* PULL UP*/ + drive-strength = <2>; /* 2 MA */ + }; + }; + + cci3_suspend: cci3_suspend { + mux { + /* CLK, DATA */ + pins = "gpio2", "gpio3"; + function = "CCI_I2C"; + }; + + config { + pins = "gpio2", "gpio3"; + bias-pull-down; /* PULL DOWN */ + drive-strength = <2>; /* 2 MA */ + }; + }; + cam_sensor_mclk0_active: cam_sensor_mclk0_active { /* MCLK 0*/ mux {