Alternate TK1 I2C device-tree configuration

Hi there,

I am struggeling to configure the I2C6 for the TK1 V1.1A (Apalis Signal Name TS_DIFF3). Could you please briefly point out the steps to make this work? I am able to compile the devicetree and pass it to the module. However, I am not sure how exactely the standard device tree should be modified to make this work.

Thanks and BR

Elias

tegra124-apalis-pinmux.dtsi
e.g.
cam_i2c_sda_pbb2 {
nvidia,pins = “cam_i2c_sda_pbb2”;
nvidia,function = “i2c3”;
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
nvidia,tristate = <TEGRA_PIN_DISABLE>;
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
nvidia,open-drain = <TEGRA_PIN_ENABLE>;
};

I guess I have to append an additional node here? How to find out the exact TK1 Ball Name? Or is it just DP_AUX_CH0_n ?

tegra124-soc.dtsi

i2c6: i2c@7000d100 {
#address-cells = <1>;
#size-cells = <0>;
compatible = “nvidia,tegra124-i2c”;
reg = <0x0 0x7000d100 0x0 0x100>;
interrupts = <0 63 0x04>;
nvidia,memory-clients = <14>;
status = “okay”;
clock-frequency = <400000>;
};

All the other i2c nodes have gpios assigned. Do I need to add gpios here? e.g.
scl-gpio = <&gpio 206 0>; /* gpio PZ6 /
sda-gpio = <&gpio 207 0>; /
gpio PZ7 */

I2C6 is reserved for displayport aux channel and cannot be used as a regular i2c.

Hi,

I had an simular question on november 2016 to the support team [Ticket#2016110710000089] and there have told me it is possible to use I2C6 in the new BSP which was comming Q4 2016.
I had ask explicide for a regular i2c port using for i2c6 and if this is possible…

BR
Tobi

Please note that the DPAUX pins do not feature any GPIO functionality.

I don’t believe that’s what we said. We started clearly that it is currently unsupported but that more support may be coming. Unfortunately it may be rather difficult to use said pins for I2C as NVIDIA may have messed something up in that respect which only got fixed in the TX1. That said one could probably adopt their eDP driver in that respect but this is not currently something we plan to do, sorry.