Skip to contentSkip to conversation

arm64: dts: tegra210: fix register range of apbmisc

PATCH Applied Joseph Lo 2 participants 9 messages Jan 4, 2019 – Jan 25, 2019

Subsystems (2)
lore
Share & tools
lore

Joseph Lo

author
#0 lore raw

PATCH 1/1 arm64: dts: tegra210: fix register range of apbmisc

Fix the register range of apbmisc, that originally inherited from Tegra124.

---
 arch/arm64/boot/dts/nvidia/tegra210.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/nvidia/tegra210.dtsi +1 -1
index e2baf52fe1af..b5858b5ea052 100644
@@ -470,7 +470,7 @@
 	apbmisc@70000800 {
 		compatible = "nvidia,tegra210-apbmisc", "nvidia,tegra20-apbmisc";
 		reg = <0x0 0x70000800 0x0 0x64>,   /* Chip revision */
-		      <0x0 0x7000e864 0x0 0x04>;   /* Strapping options */
+		      <0x0 0x70000008 0x0 0x04>;   /* Strapping options */
 	};
 
 	pinmux: pinmux@700008d4 {
Signature · 1 line
2.20.1
author
#1 lore raw

PATCH 1/1 arm64: dts: tegra210-smaug: fix IRQ type of PMIC

Fix IRQ type of PMIC which should be configured as high-level trigger.

---
 arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/nvidia/tegra210-smaug.dts +1 -1
index c08c5471b974..5a67890cfb7a 100644
@@ -1362,7 +1362,7 @@
 		max77620: max77620@3c {
 			compatible = "maxim,max77620";
 			reg = <0x3c>;
-			interrupts = <0 86 IRQ_TYPE_NONE>;
+			interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
 
 			#interrupt-cells = <2>;
 			interrupt-controller;
Signature · 1 line
2.20.1
author
#2 lore raw

Re: [PATCH] arm64: dts: tegra210-smaug: fix IRQ type of PMIC

Hi Jon,

Could you help me to review this patch?

Thanks,
Joseph

Quoted 21 lines · Joseph Lo

Fix IRQ type of PMIC which should be configured as high-level trigger.

---
  arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/nvidia/tegra210-smaug.dts +1 -1
index c08c5471b974..5a67890cfb7a 100644
@@ -1362,7 +1362,7 @@
  		max77620: max77620@3c {
  			compatible = "maxim,max77620";
  			reg = <0x3c>;
-			interrupts = <0 86 IRQ_TYPE_NONE>;
+			interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
 
  			#interrupt-cells = <2>;
  			interrupt-controller;
#3 lore raw

Re: [PATCH] arm64: dts: tegra210-smaug: fix IRQ type of PMIC

In reply to Joseph Lo
Quoted 12 lines · Joseph Lo

Fix IRQ type of PMIC which should be configured as high-level trigger.

---
 arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/nvidia/tegra210-smaug.dts +0 -0
index c08c5471b974..5a67890cfb7a 100644

arch/arm64/boot/dts/nvidia/tegra210-smaug.dts line 1365

Quoted 5 lines
arch/arm64/boot/dts/nvidia/tegra210-smaug.dts +1 -1
@@ -1362,7 +1362,7 @@
 		max77620: max77620@3c {
 			compatible = "maxim,max77620";
 			reg = <0x3c>;
-			interrupts = <0 86 IRQ_TYPE_NONE>;
+			interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;

Applied to for-5.1/arm64/dt, thanks.

Thierry

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

author
#4 lore raw

PATCH 1/1 soc/tegra: fuse: fix typo in tegra210_init_speedo_data

In reply to Joseph Lo

Fix typo when reading SoC speedo value from fuse SoC speedo register.

---
 drivers/soc/tegra/fuse/speedo-tegra210.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/tegra/fuse/speedo-tegra210.c +1 -1
index 5373f4c16b54..8ed35d9851f8 100644
@@ -131,7 +131,7 @@ void __init tegra210_init_speedo_data(struct tegra_sku_info *sku_info)
 
 	soc_speedo[0] = tegra_fuse_read_early(FUSE_SOC_SPEEDO_0);
 	soc_speedo[1] = tegra_fuse_read_early(FUSE_SOC_SPEEDO_1);
-	soc_speedo[2] = tegra_fuse_read_early(FUSE_CPU_SPEEDO_2);
+	soc_speedo[2] = tegra_fuse_read_early(FUSE_SOC_SPEEDO_2);
 
 	cpu_iddq = tegra_fuse_read_early(FUSE_CPU_IDDQ) * 4;
 	soc_iddq = tegra_fuse_read_early(FUSE_SOC_IDDQ) * 4;
Signature · 1 line
2.20.1
author
#5 lore raw

Re: [PATCH] soc/tegra: fuse: fix typo in tegra210_init_speedo_data

Hi Jon,

Could you help me to review this patch?

Thanks,
Joseph

Quoted 22 lines · Joseph Lo

Fix typo when reading SoC speedo value from fuse SoC speedo register.

---
  drivers/soc/tegra/fuse/speedo-tegra210.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/tegra/fuse/speedo-tegra210.c +1 -1
index 5373f4c16b54..8ed35d9851f8 100644
@@ -131,7 +131,7 @@ void __init tegra210_init_speedo_data(struct tegra_sku_info *sku_info)
 
  	soc_speedo[0] = tegra_fuse_read_early(FUSE_SOC_SPEEDO_0);
  	soc_speedo[1] = tegra_fuse_read_early(FUSE_SOC_SPEEDO_1);
-	soc_speedo[2] = tegra_fuse_read_early(FUSE_CPU_SPEEDO_2);
+	soc_speedo[2] = tegra_fuse_read_early(FUSE_SOC_SPEEDO_2);
 
  	cpu_iddq = tegra_fuse_read_early(FUSE_CPU_IDDQ) * 4;
  	soc_iddq = tegra_fuse_read_early(FUSE_SOC_IDDQ) * 4;
#6 lore raw

Re: [PATCH] soc/tegra: fuse: fix typo in tegra210_init_speedo_data

In reply to Joseph Lo
Quoted 7 lines · Joseph Lo

Fix typo when reading SoC speedo value from fuse SoC speedo register.

---
 drivers/soc/tegra/fuse/speedo-tegra210.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to for-5.1/soc, thanks.

Thierry

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

author
#7 lore raw
In reply to Joseph Lo

Hi Jon,

Could you help me to review this patch?

Thanks,
Joseph

Quoted 23 lines · Joseph Lo

Fix the register range of apbmisc, that originally inherited from Tegra124.

---
  arch/arm64/boot/dts/nvidia/tegra210.dtsi | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/nvidia/tegra210.dtsi +1 -1
index e2baf52fe1af..b5858b5ea052 100644
@@ -470,7 +470,7 @@
  	apbmisc@70000800 {
  		compatible = "nvidia,tegra210-apbmisc", "nvidia,tegra20-apbmisc";
  		reg = <0x0 0x70000800 0x0 0x64>,   /* Chip revision */
-		      <0x0 0x7000e864 0x0 0x04>;   /* Strapping options */
+		      <0x0 0x70000008 0x0 0x04>;   /* Strapping options */
  	};
 
  	pinmux: pinmux@700008d4 {
#8 lore raw
In reply to Joseph Lo
Quoted 8 lines · Joseph Lo

Fix the register range of apbmisc, that originally inherited from Tegra124.

---
 arch/arm64/boot/dts/nvidia/tegra210.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to for-5.1/arm64/dts, thanks.

Thierry

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel