Skip to contentSkip to conversation

ARM: EXYNOS5: Remove wrongly placed usb2.0 PHY_CFG definition from PMU_REG

PATCH New Vivek Gautam 4 participants 4 messages Oct 5, 2012 – Nov 8, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: EXYNOS5: Remove wrongly placed usb2.0 PHY_CFG definition from PMU_REG

EXYNOS5_USB_CFG macro should actually point to USB20PHY_CFG system register (base addr + 0x230). It's wrongly placed in regs-pmu. Actual register at offset 0x230 in PMU is SEQ_TRANSITION4.

---
 arch/arm/mach-exynos/include/mach/regs-pmu.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
arch/arm/mach-exynos/include/mach/regs-pmu.h +0 -2
index d4e392b..70b2795 100644
@@ -230,8 +230,6 @@
 
 /* For EXYNOS5 */
 
-#define EXYNOS5_USB_CFG						S5P_PMUREG(0x0230)
-
 #define EXYNOS5_AUTO_WDTRESET_DISABLE				S5P_PMUREG(0x0408)
 #define EXYNOS5_MASK_WDTRESET_REQUEST				S5P_PMUREG(0x040C)
 
Signature · 1 line
1.7.6.5
#1 lore raw

PATCH 1/1 ARM: EXYNOS5: Remove wrongly placed usb2.0 PHY_CFG definition from PMU_REG

On Friday, October 05, 2012 10:27 PM Vivek Gautam wrote

Quoted 6 lines

EXYNOS5_USB_CFG macro should actually point to USB20PHY_CFG system register (base addr + 0x230). It's wrongly placed in regs-pmu. Actual register at offset 0x230 in PMU is SEQ_TRANSITION4.

As you mentioned, this definition is wrong.
So, it should be removed.

Quoted 24 lines
---
 arch/arm/mach-exynos/include/mach/regs-pmu.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
arch/arm/mach-exynos/include/mach/regs-pmu.h +0 -3
index d4e392b..70b2795 100644
@@ -230,8 +230,6 @@
 
 /* For EXYNOS5 */
 
-#define EXYNOS5_USB_CFG						S5P_PMUREG(0x0230)
-
 #define EXYNOS5_AUTO_WDTRESET_DISABLE				S5P_PMUREG(0x0408)
 #define EXYNOS5_MASK_WDTRESET_REQUEST				S5P_PMUREG(0x040C)
 
--

1.7.6.5

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

#2 lore raw

PATCH 1/1 ARM: EXYNOS5: Remove wrongly placed usb2.0 PHY_CFG definition from PMU_REG

Hi all,

Quoted 24 lines · Jingoo Han

On Friday, October 05, 2012 10:27 PM Vivek Gautam wrote

Quoted 6 lines

EXYNOS5_USB_CFG macro should actually point to USB20PHY_CFG system register (base addr + 0x230). It's wrongly placed in regs-pmu. Actual register at offset 0x230 in PMU is SEQ_TRANSITION4.

As you mentioned, this definition is wrong.
So, it should be removed.

Quoted 10 lines
---
 arch/arm/mach-exynos/include/mach/regs-pmu.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
arch/arm/mach-exynos/include/mach/regs-pmu.h +0 -0
index d4e392b..70b2795 100644
@@ -230,8 +230,6 @@
 
Quoted 4 lines

arch/arm/mach-exynos/include/mach/regs-pmu.h line 234

Quoted 4 lines
arch/arm/mach-exynos/include/mach/regs-pmu.h +0 -2
 /* For EXYNOS5 */
 
-#define EXYNOS5_USB_CFG                                              S5P_PMUREG(0x0230)
-

Any thoughts about this please.

Quoted 6 lines
Quoted 6 lines
arch/arm/mach-exynos/include/mach/regs-pmu.h +0 -1
 #define EXYNOS5_AUTO_WDTRESET_DISABLE                                S5P_PMUREG(0x0408)
 #define EXYNOS5_MASK_WDTRESET_REQUEST                                S5P_PMUREG(0x040C)
 
--

1.7.6.5

Signature · 2 lines
Thanks & Regards
Vivek
Applied
#3 lore raw

PATCH 1/1 ARM: EXYNOS5: Remove wrongly placed usb2.0 PHY_CFG definition from PMU_REG

In reply to Jingoo Han
Quoted 7 lines · Jingoo Han

On Friday, October 05, 2012 10:27 PM Vivek Gautam wrote

Quoted 5 lines

EXYNOS5_USB_CFG macro should actually point to USB20PHY_CFG system register (base addr + 0x230). It's wrongly placed in regs-pmu. Actual register at offset 0x230 in PMU is SEQ_TRANSITION4.

Quoted 7 lines
Quoted 1 line

As you mentioned, this definition is wrong.
So, it should be removed.

Applied, thanks.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.