Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1564444

[PATCH v2 5/6] ARM: tegra: nyan-big: Proper pinmux for TPM i2c

From Paul Kocialkowski <contact@paulk.fr>
Newsgroups linux.kernel
Subject [PATCH v2 5/6] ARM: tegra: nyan-big: Proper pinmux for TPM i2c
Date 2017-01-22 17:00 +0100
Message-ID <t2sIF-2A5-9@gated-at.bofh.it> (permalink)
References <t2sIF-2A5-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This corrects the pinmux for accessing the TPM over the i2c line.
Thus, it allows correctly probing the module, that previously failed with i2c
errors.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
---
 arch/arm/boot/dts/tegra124-nyan-big.dts | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/arch/arm/boot/dts/tegra124-nyan-big.dts b/arch/arm/boot/dts/tegra124-nyan-big.dts
index f12ece9b76a6..03eedf86dc48 100644
--- a/arch/arm/boot/dts/tegra124-nyan-big.dts
+++ b/arch/arm/boot/dts/tegra124-nyan-big.dts
@@ -1103,19 +1103,19 @@
 			};
 			cam_i2c_scl_pbb1 {
 				nvidia,pins = "cam_i2c_scl_pbb1";
-				nvidia,function = "rsvd3";
-				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
-				nvidia,tristate = <TEGRA_PIN_ENABLE>;
-				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
-				nvidia,open-drain = <TEGRA_PIN_DISABLE>;
+				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>;
 			};
 			cam_i2c_sda_pbb2 {
 				nvidia,pins = "cam_i2c_sda_pbb2";
-				nvidia,function = "rsvd3";
-				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
-				nvidia,tristate = <TEGRA_PIN_ENABLE>;
-				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
-				nvidia,open-drain = <TEGRA_PIN_DISABLE>;
+				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>;
 			};
 			pbb3 {
 				nvidia,pins = "pbb3";
-- 
2.11.0

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 5/6] ARM: tegra: nyan-big: Proper pinmux for TPM i2c Paul Kocialkowski <contact@paulk.fr> - 2017-01-22 17:00 +0100
  Re: [PATCH v2 5/6] ARM: tegra: nyan-big: Proper pinmux for TPM i2c Thierry Reding <thierry.reding@gmail.com> - 2017-01-25 12:10 +0100
    Re: [PATCH v2 5/6] ARM: tegra: nyan-big: Proper pinmux for TPM i2c Jon Hunter <jonathanh@nvidia.com> - 2017-01-25 12:20 +0100
      Re: [PATCH v2 5/6] ARM: tegra: nyan-big: Proper pinmux for TPM i2c Thierry Reding <thierry.reding@gmail.com> - 2017-01-25 12:20 +0100

csiph-web