Re: [PATCH] ARM:tegra20-colibri-512.dts: Change tristate status for i2c pinmux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/20/2013 03:08 PM, Anna-Maria Gleixner wrote:
> The nvidia,tristate entry for the pinmux of i2c1 an i2c3 was set to
> tristate. This results in non working i2c, because the i2c pins are
> not actively driven. Set the entries to "driven".

Lucas, can you please comment on this patch? It sounds correct to me,
but I would have assumed you'd tested I2C already when you wrote the
original DT?

Oh actually, now that I look further, I see that tegra20-iris-512.dts
includes this file, and overrides some of the tristate values there.
What's the thinking behind that, and does this patch fit into it?

> diff --git a/arch/arm/boot/dts/tegra20-colibri-512.dtsi

>                  nvidia,pins = "rm";
>                  nvidia,function = "i2c1";
>                  nvidia,pull = <0>;
> -                nvidia,tristate = <1>;
> +                nvidia,tristate = <0>;
>              };
>              i2c3 {
>                  nvidia,pins = "dtf";
>                  nvidia,function = "i2c3";
>                  nvidia,pull = <0>;
> -                nvidia,tristate = <1>;
> +                nvidia,tristate = <0>;
>              };
>              i2cddc {
>                  nvidia,pins = "ddc";

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux