linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] arm64: tegra: Add ID EEPROM for Jetson TX2 module
@ 2019-06-13 16:53 Thierry Reding
  2019-06-13 16:53 ` [PATCH 2/4] arm64: tegra: Add ID EEPROM for Jetson TX2 Developer Kit Thierry Reding
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Thierry Reding @ 2019-06-13 16:53 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-tegra, devicetree, linux-arm-kernel, Jon Hunter

From: Thierry Reding <treding@nvidia.com>

There is an ID EEPROM in the Jetson TX2 module that stores various bits
of information to indentify the module. Add the device tree node so that
operating systems can access this EEPROM.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
index 38ad1053f21a..4bbee83d9943 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
@@ -124,6 +124,17 @@
 
 	i2c@c250000 {
 		status = "okay";
+
+		/* module ID EEPROM */
+		eeprom@50 {
+			compatible = "atmel,24c02";
+			reg = <0x50>;
+
+			address-bits = <8>;
+			page-size = <8>;
+			size = <256>;
+			read-only;
+		};
 	};
 
 	rtc@c2a0000 {
-- 
2.21.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/4] arm64: tegra: Add ID EEPROM for Jetson TX2 Developer Kit
  2019-06-13 16:53 [PATCH 1/4] arm64: tegra: Add ID EEPROM for Jetson TX2 module Thierry Reding
@ 2019-06-13 16:53 ` Thierry Reding
  2019-06-19 10:39   ` Jon Hunter
  2019-06-13 16:53 ` [PATCH 3/4] arm64: tegra: Add ID EEPROM for Jetson TX1 module Thierry Reding
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 8+ messages in thread
From: Thierry Reding @ 2019-06-13 16:53 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-tegra, devicetree, linux-arm-kernel, Jon Hunter

From: Thierry Reding <treding@nvidia.com>

There is an ID EEPROM on the Jetson TX2 carrier board, part of the
Jetson TX2 Developer Kit, that exposes information that can be used to
identify the carrier board. Add the device tree node so that operating
systems can access this EEPROM.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
index 837218e83e69..ab6648c72ad5 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
@@ -149,6 +149,19 @@
 		phy-names = "usb2-0", "usb2-1", "usb3-0";
 	};
 
+	i2c@c250000 {
+		/* carrier board ID EEPROM */
+		eeprom@57 {
+			compatible = "atmel,24c02";
+			reg = <0x57>;
+
+			address-bits = <8>;
+			page-size = <8>;
+			size = <256>;
+			read-only;
+		};
+	};
+
 	pcie@10003000 {
 		status = "okay";
 
-- 
2.21.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 3/4] arm64: tegra: Add ID EEPROM for Jetson TX1 module
  2019-06-13 16:53 [PATCH 1/4] arm64: tegra: Add ID EEPROM for Jetson TX2 module Thierry Reding
  2019-06-13 16:53 ` [PATCH 2/4] arm64: tegra: Add ID EEPROM for Jetson TX2 Developer Kit Thierry Reding
@ 2019-06-13 16:53 ` Thierry Reding
  2019-06-19 10:36   ` Jon Hunter
  2019-06-13 16:53 ` [PATCH 4/4] arm64: tegra: Add ID EEPROM for Jetson TX1 Developer Kit Thierry Reding
  2019-06-19 10:40 ` [PATCH 1/4] arm64: tegra: Add ID EEPROM for Jetson TX2 module Jon Hunter
  3 siblings, 1 reply; 8+ messages in thread
From: Thierry Reding @ 2019-06-13 16:53 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-tegra, devicetree, linux-arm-kernel, Jon Hunter

From: Thierry Reding <treding@nvidia.com>

There is an ID EEPROM in the Jetson TX1 module that stores various bits
of information to indentify the module. Add the device tree node so that
operating systems can access this EEPROM.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
index 4dcd0d36189a..e8654061ce03 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
@@ -264,6 +264,19 @@
 		};
 	};
 
+	i2c@7000c500 {
+		/* module ID EEPROM */
+		eeprom@50 {
+			compatible = "atmel,24c02";
+			reg = <0x50>;
+
+			address-bits = <8>;
+			page-size = <8>;
+			size = <256>;
+			read-only;
+		};
+	};
+
 	pmc@7000e400 {
 		nvidia,invert-interrupt;
 	};
-- 
2.21.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 4/4] arm64: tegra: Add ID EEPROM for Jetson TX1 Developer Kit
  2019-06-13 16:53 [PATCH 1/4] arm64: tegra: Add ID EEPROM for Jetson TX2 module Thierry Reding
  2019-06-13 16:53 ` [PATCH 2/4] arm64: tegra: Add ID EEPROM for Jetson TX2 Developer Kit Thierry Reding
  2019-06-13 16:53 ` [PATCH 3/4] arm64: tegra: Add ID EEPROM for Jetson TX1 module Thierry Reding
@ 2019-06-13 16:53 ` Thierry Reding
  2019-06-19 10:37   ` Jon Hunter
  2019-06-19 10:40 ` [PATCH 1/4] arm64: tegra: Add ID EEPROM for Jetson TX2 module Jon Hunter
  3 siblings, 1 reply; 8+ messages in thread
From: Thierry Reding @ 2019-06-13 16:53 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-tegra, devicetree, linux-arm-kernel, Jon Hunter

From: Thierry Reding <treding@nvidia.com>

There is an ID EEPROM on the Jetson TX1 carrier board, part of the
Jetson TX1 Developer Kit, that exposes information that can be used to
identify the carrier board. Add the device tree node so that operating
systems can access this EEPROM.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts b/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
index 5a57396b5948..a3cafe39ba4c 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
@@ -79,6 +79,19 @@
 		};
 	};
 
+	i2c@7000c500 {
+		/* carrier board ID EEPROM */
+		eeprom@57 {
+			compatible = "atmel,24c02";
+			reg = <0x57>;
+
+			address-bits = <8>;
+			page-size = <8>;
+			size = <256>;
+			read-only;
+		};
+	};
+
 	clock@70110000 {
 		status = "okay";
 
-- 
2.21.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 3/4] arm64: tegra: Add ID EEPROM for Jetson TX1 module
  2019-06-13 16:53 ` [PATCH 3/4] arm64: tegra: Add ID EEPROM for Jetson TX1 module Thierry Reding
@ 2019-06-19 10:36   ` Jon Hunter
  0 siblings, 0 replies; 8+ messages in thread
From: Jon Hunter @ 2019-06-19 10:36 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-tegra, devicetree, linux-arm-kernel


On 13/06/2019 17:53, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> There is an ID EEPROM in the Jetson TX1 module that stores various bits
> of information to indentify the module. Add the device tree node so that
> operating systems can access this EEPROM.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
> index 4dcd0d36189a..e8654061ce03 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
> +++ b/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
> @@ -264,6 +264,19 @@
>  		};
>  	};
>  
> +	i2c@7000c500 {
> +		/* module ID EEPROM */
> +		eeprom@50 {
> +			compatible = "atmel,24c02";
> +			reg = <0x50>;
> +
> +			address-bits = <8>;
> +			page-size = <8>;
> +			size = <256>;
> +			read-only;
> +		};
> +	};
> +
>  	pmc@7000e400 {
>  		nvidia,invert-interrupt;
>  	};
> 

Acked-by: Jon Hunter <jonathanh@nvidia.com>

Cheers
Jon

-- 
nvpublic

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 4/4] arm64: tegra: Add ID EEPROM for Jetson TX1 Developer Kit
  2019-06-13 16:53 ` [PATCH 4/4] arm64: tegra: Add ID EEPROM for Jetson TX1 Developer Kit Thierry Reding
@ 2019-06-19 10:37   ` Jon Hunter
  0 siblings, 0 replies; 8+ messages in thread
From: Jon Hunter @ 2019-06-19 10:37 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-tegra, devicetree, linux-arm-kernel


On 13/06/2019 17:53, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> There is an ID EEPROM on the Jetson TX1 carrier board, part of the
> Jetson TX1 Developer Kit, that exposes information that can be used to
> identify the carrier board. Add the device tree node so that operating
> systems can access this EEPROM.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts b/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
> index 5a57396b5948..a3cafe39ba4c 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
> +++ b/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
> @@ -79,6 +79,19 @@
>  		};
>  	};
>  
> +	i2c@7000c500 {
> +		/* carrier board ID EEPROM */
> +		eeprom@57 {
> +			compatible = "atmel,24c02";
> +			reg = <0x57>;
> +
> +			address-bits = <8>;
> +			page-size = <8>;
> +			size = <256>;
> +			read-only;
> +		};
> +	};
> +
>  	clock@70110000 {
>  		status = "okay";
>  
> 


Acked-by: Jon Hunter <jonathanh@nvidia.com>

Cheers
Jon

-- 
nvpublic

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/4] arm64: tegra: Add ID EEPROM for Jetson TX2 Developer Kit
  2019-06-13 16:53 ` [PATCH 2/4] arm64: tegra: Add ID EEPROM for Jetson TX2 Developer Kit Thierry Reding
@ 2019-06-19 10:39   ` Jon Hunter
  0 siblings, 0 replies; 8+ messages in thread
From: Jon Hunter @ 2019-06-19 10:39 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-tegra, devicetree, linux-arm-kernel


On 13/06/2019 17:53, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> There is an ID EEPROM on the Jetson TX2 carrier board, part of the
> Jetson TX2 Developer Kit, that exposes information that can be used to
> identify the carrier board. Add the device tree node so that operating
> systems can access this EEPROM.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
> index 837218e83e69..ab6648c72ad5 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
> +++ b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
> @@ -149,6 +149,19 @@
>  		phy-names = "usb2-0", "usb2-1", "usb3-0";
>  	};
>  
> +	i2c@c250000 {
> +		/* carrier board ID EEPROM */
> +		eeprom@57 {
> +			compatible = "atmel,24c02";
> +			reg = <0x57>;
> +
> +			address-bits = <8>;
> +			page-size = <8>;
> +			size = <256>;
> +			read-only;
> +		};
> +	};
> +
>  	pcie@10003000 {
>  		status = "okay";


Acked-by: Jon Hunter <jonathanh@nvidia.com>

Cheers
Jon


-- 
nvpublic

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/4] arm64: tegra: Add ID EEPROM for Jetson TX2 module
  2019-06-13 16:53 [PATCH 1/4] arm64: tegra: Add ID EEPROM for Jetson TX2 module Thierry Reding
                   ` (2 preceding siblings ...)
  2019-06-13 16:53 ` [PATCH 4/4] arm64: tegra: Add ID EEPROM for Jetson TX1 Developer Kit Thierry Reding
@ 2019-06-19 10:40 ` Jon Hunter
  3 siblings, 0 replies; 8+ messages in thread
From: Jon Hunter @ 2019-06-19 10:40 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-tegra, devicetree, linux-arm-kernel


On 13/06/2019 17:53, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> There is an ID EEPROM in the Jetson TX2 module that stores various bits
> of information to indentify the module. Add the device tree node so that
> operating systems can access this EEPROM.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
> index 38ad1053f21a..4bbee83d9943 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
> +++ b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
> @@ -124,6 +124,17 @@
>  
>  	i2c@c250000 {
>  		status = "okay";
> +
> +		/* module ID EEPROM */
> +		eeprom@50 {
> +			compatible = "atmel,24c02";
> +			reg = <0x50>;
> +
> +			address-bits = <8>;
> +			page-size = <8>;
> +			size = <256>;
> +			read-only;
> +		};
>  	};
>  
>  	rtc@c2a0000 {
> 


Acked-by: Jon Hunter <jonathanh@nvidia.com>

Cheers
Jon

-- 
nvpublic

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-06-19 10:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-13 16:53 [PATCH 1/4] arm64: tegra: Add ID EEPROM for Jetson TX2 module Thierry Reding
2019-06-13 16:53 ` [PATCH 2/4] arm64: tegra: Add ID EEPROM for Jetson TX2 Developer Kit Thierry Reding
2019-06-19 10:39   ` Jon Hunter
2019-06-13 16:53 ` [PATCH 3/4] arm64: tegra: Add ID EEPROM for Jetson TX1 module Thierry Reding
2019-06-19 10:36   ` Jon Hunter
2019-06-13 16:53 ` [PATCH 4/4] arm64: tegra: Add ID EEPROM for Jetson TX1 Developer Kit Thierry Reding
2019-06-19 10:37   ` Jon Hunter
2019-06-19 10:40 ` [PATCH 1/4] arm64: tegra: Add ID EEPROM for Jetson TX2 module Jon Hunter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).