Skip to contentSkip to conversation

ARM: imx: defconfig: Enable CONFIG_COMMON_CLK_DEBUG

PATCH New Fabio Estevam 3 participants 7 messages Jul 2, 2012 – Jul 5, 2012

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/2 ARM: imx: defconfig: Enable CONFIG_COMMON_CLK_DEBUG

From: Fabio Estevam <[email protected]>

With the common clock framework in place, it is useful to enable CONFIG_COMMON_CLK_DEBUG option, in order to easily inspect the clock tree.

---
 arch/arm/configs/imx_v4_v5_defconfig |    1 +
 arch/arm/configs/imx_v6_v7_defconfig |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/configs/imx_v4_v5_defconfig +1 -0
index e05a2f1..208c5df 100644
@@ -177,6 +177,7 @@ CONFIG_RTC_DRV_MXC=y
 CONFIG_DMADEVICES=y
 CONFIG_IMX_SDMA=y
 CONFIG_IMX_DMA=y
+CONFIG_COMMON_CLK_DEBUG=y
 # CONFIG_IOMMU_SUPPORT is not set
 # CONFIG_DNOTIFY is not set
 # CONFIG_PROC_PAGE_MONITOR is not set
arch/arm/configs/imx_v6_v7_defconfig +1 -0
index b1d3675..f517b55 100644
@@ -181,6 +181,7 @@ CONFIG_RTC_INTF_DEV_UIE_EMUL=y
 CONFIG_RTC_DRV_MXC=y
 CONFIG_DMADEVICES=y
 CONFIG_IMX_SDMA=y
+CONFIG_COMMON_CLK_DEBUG=y
 CONFIG_EXT2_FS=y
 CONFIG_EXT2_FS_XATTR=y
 CONFIG_EXT2_FS_POSIX_ACL=y
Signature · 1 line
1.7.1
author reviewer
#1 lore raw

PATCH 2/2 ARM: mxs: defconfig: Enable CONFIG_COMMON_CLK_DEBUG

From: Fabio Estevam <[email protected]>

With the common clock framework in place, it is useful to enable CONFIG_COMMON_CLK_DEBUG option, in order to easily inspect the clock tree.

---
 arch/arm/configs/mxs_defconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/configs/mxs_defconfig +1 -0
index 5406c23..caa9ae1 100644
@@ -111,6 +111,7 @@ CONFIG_RTC_CLASS=y
 CONFIG_RTC_DRV_DS1307=m
 CONFIG_DMADEVICES=y
 CONFIG_MXS_DMA=y
+CONFIG_COMMON_CLK_DEBUG=y
 CONFIG_EXT3_FS=y
 # CONFIG_DNOTIFY is not set
 CONFIG_FSCACHE=m
Signature · 1 line
1.7.1
#2 lore raw

PATCH 2/2 ARM: mxs: defconfig: Enable CONFIG_COMMON_CLK_DEBUG

Quoted 5 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

With the common clock framework in place, it is useful to enable CONFIG_COMMON_CLK_DEBUG option, in order to easily inspect the clock tree.

I'm ambiguous on this. It does look useful, but on the other hand, I'm wondering why it hasn't been enabled by framework by default.

Sascha, what's your take on this?

Regards,
Shawn

Quoted 20 lines
---
 arch/arm/configs/mxs_defconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/configs/mxs_defconfig +1 -0
index 5406c23..caa9ae1 100644
@@ -111,6 +111,7 @@ CONFIG_RTC_CLASS=y
 CONFIG_RTC_DRV_DS1307=m
 CONFIG_DMADEVICES=y
 CONFIG_MXS_DMA=y
+CONFIG_COMMON_CLK_DEBUG=y
 CONFIG_EXT3_FS=y
 # CONFIG_DNOTIFY is not set
 CONFIG_FSCACHE=m
Signature · 1 line
1.7.1
maintainer
#3 lore raw

PATCH 2/2 ARM: mxs: defconfig: Enable CONFIG_COMMON_CLK_DEBUG

Quoted 11 lines · Shawn Guo
Quoted 5 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

With the common clock framework in place, it is useful to enable CONFIG_COMMON_CLK_DEBUG option, in order to easily inspect the clock tree.

I'm ambiguous on this. It does look useful, but on the other hand, I'm wondering why it hasn't been enabled by framework by default.

Sascha, what's your take on this?

I also like to have debugfs support enabled in the defconfigs. I don't know if it's desirable to enable this unconditionally when CONFIG_DEBUGFS is enabled because I think the clk debugfs support can have some bad influence on performance.

I think Fabios patches are fine for nor. If we decide to enable clk debugfs support later unconditionally than all we have is two unused lines in the defconfigs.

Sascha

Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#4 lore raw

PATCH 2/2 ARM: mxs: defconfig: Enable CONFIG_COMMON_CLK_DEBUG

Quoted 9 lines · Sascha Hauer

I also like to have debugfs support enabled in the defconfigs. I don't know if it's desirable to enable this unconditionally when CONFIG_DEBUGFS is enabled because I think the clk debugfs support can have some bad influence on performance.

I think Fabios patches are fine for nor. If we decide to enable clk debugfs support later unconditionally than all we have is two unused lines in the defconfigs.

Ok, I will queue both patches then.

Signature · 2 lines
Regards,
Shawn
maintainer
#5 lore raw

PATCH 2/2 ARM: mxs: defconfig: Enable CONFIG_COMMON_CLK_DEBUG

Quoted 11 lines · Shawn Guo
Quoted 9 lines · Sascha Hauer

I also like to have debugfs support enabled in the defconfigs. I don't know if it's desirable to enable this unconditionally when CONFIG_DEBUGFS is enabled because I think the clk debugfs support can have some bad influence on performance.

I think Fabios patches are fine for nor. If we decide to enable clk debugfs support later unconditionally than all we have is two unused lines in the defconfigs.

Ok, I will queue both patches then.

Could you skip the imx patch? I also have some patches for the defconfig from Fabio and I'd like to squash them together since the imx defconfig could use a general update.

Sascha

Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#6 lore raw

PATCH 2/2 ARM: mxs: defconfig: Enable CONFIG_COMMON_CLK_DEBUG

Quoted 4 lines · Sascha Hauer

Could you skip the imx patch? I also have some patches for the defconfig from Fabio and I'd like to squash them together since the imx defconfig could use a general update.

Sure.

Regards,
Shawn