Re: [PATCH] [POWERPC] 85xx: TQM8548: add missing support for RTC and LM75

2008-07-02 Thread Kumar Gala


On Jun 26, 2008, at 8:15 AM, Wolfgang Grandegger wrote:


It adds the missing RTC node to tqm8548.dts and enables support for
I2C, DS1307 and LM75 in the default configuration.

Signed-off-by: Wolfgang Grandegger [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/tqm8548.dts   |5
arch/powerpc/configs/85xx/tqm8548_defconfig |  143 ++ 
--

2 files changed, 142 insertions(+), 6 deletions(-)


applied.

- k
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: [PATCH] [POWERPC] 85xx: TQM8548: add missing support for RTC and LM75

2008-06-30 Thread Wolfgang Grandegger

Kumar Gala wrote:


On Jun 26, 2008, at 9:13 AM, Wolfgang Grandegger wrote:


Kumar Gala wrote:

On Jun 26, 2008, at 8:15 AM, Wolfgang Grandegger wrote:

It adds the missing RTC node to tqm8548.dts and enables support for
I2C, DS1307 and LM75 in the default configuration.

Signed-off-by: Wolfgang Grandegger [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/tqm8548.dts   |5 
arch/powerpc/configs/85xx/tqm8548_defconfig |  143 
++--

2 files changed, 142 insertions(+), 6 deletions(-)

your mailer is wrapping things.


Hm, I can apply the patch extracted from my mail without problems.

Also, can you test out the mpc85xx_defconfig and make sure it works 
with the tqm85xx boards (and provide a second patch that enables 
whatever drivers you need in there)


OK, will do so beginning of next week. For the TQM8548 I use the ELDK 
ppc_85xxDP and for all others the ppc_85xx tool chain. Does a mixed 
image for both types of MPC85xx CPUs make sense?


I'm just trying to keep the mpc85xx_defconfig as a subset of all the 
other defconfigs for 85xx so it gives people doing testing one defconfig 
to build and try and sure that the other defconfigs will continue to work.


A subset or superset? The existing mpc85xx_defconfig does not work on
the TQM8560, because support for the CPM2 UART is missing. I have
attached the patch for mpc85xx_defconfig to support the TQM85xx modules
(tested with TQM8540, TQM8548 and TQM8560) with one image.

Hope it's what you are looking for.

BTW: WARNING: modpost: Found 1 section mismatch(es). shows up when
enabling the FS ENET driver.

Wolfgang.

---
arch/powerpc/configs/mpc85xx_defconfig |  382 ++---
1 file changed, 302 insertions(+), 80 deletions(-)

Index: linux-2.6-galak/arch/powerpc/configs/mpc85xx_defconfig
===
--- linux-2.6-galak.orig/arch/powerpc/configs/mpc85xx_defconfig
+++ linux-2.6-galak/arch/powerpc/configs/mpc85xx_defconfig
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Linux kernel version: 2.6.25-rc7
-# Mon Mar 31 11:37:08 2008
+# Linux kernel version: 2.6.26-rc5
+# Mon Jun 30 14:22:18 2008
#
# CONFIG_PPC64 is not set

@@ -15,6 +15,7 @@ CONFIG_PPC_85xx=y
# CONFIG_44x is not set
# CONFIG_E200 is not set
CONFIG_E500=y
+# CONFIG_PPC_E500MC is not set
CONFIG_BOOKE=y
CONFIG_FSL_BOOKE=y
CONFIG_FSL_EMB_PERFMON=y
@@ -32,6 +33,8 @@ CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_HARDIRQS=y
# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
CONFIG_IRQ_PER_CPU=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_ARCH_HAS_ILOG2_U32=y
CONFIG_GENERIC_HWEIGHT=y
@@ -90,6 +93,7 @@ CONFIG_INITRAMFS_SOURCE=
CONFIG_SYSCTL=y
CONFIG_EMBEDDED=y
CONFIG_SYSCTL_SYSCALL=y
+CONFIG_SYSCTL_SYSCALL_CHECK=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_KALLSYMS_EXTRA_PASS=y
@@ -117,12 +121,14 @@ CONFIG_HAVE_OPROFILE=y
# CONFIG_KPROBES is not set
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
+# CONFIG_HAVE_DMA_ATTRS is not set
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_MODVERSIONS=y
@@ -162,9 +168,11 @@ CONFIG_MPC8560_ADS=y
CONFIG_MPC85xx_CDS=y
CONFIG_MPC85xx_MDS=y
CONFIG_MPC85xx_DS=y
+# CONFIG_KSI8560 is not set
# CONFIG_STX_GP3 is not set
CONFIG_TQM8540=y
CONFIG_TQM8541=y
+# CONFIG_TQM8548 is not set
CONFIG_TQM8555=y
CONFIG_TQM8560=y
CONFIG_SBC8548=y
@@ -221,11 +229,13 @@ CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
# CONFIG_SPARSEMEM_STATIC is not set
# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
+CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not set
CONFIG_ZONE_DMA_FLAG=1
CONFIG_BOUNCE=y
CONFIG_VIRT_TO_BUS=y
+CONFIG_FORCE_MAX_ZONEORDER=11
CONFIG_PROC_DEVICETREE=y
# CONFIG_CMDLINE_BOOL is not set
# CONFIG_PM is not set
@@ -240,16 +250,20 @@ CONFIG_GENERIC_ISA_DMA=y
CONFIG_PPC_INDIRECT_PCI=y
CONFIG_FSL_SOC=y
CONFIG_FSL_PCI=y
+CONFIG_FSL_LBC=y
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCI_SYSCALL=y
-# CONFIG_PCIEPORTBUS is not set
+CONFIG_PCIEPORTBUS=y
+CONFIG_PCIEAER=y
+# CONFIG_PCIEASPM is not set
CONFIG_ARCH_SUPPORTS_MSI=y
# CONFIG_PCI_MSI is not set
CONFIG_PCI_LEGACY=y
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCCARD is not set
# CONFIG_HOTPLUG_PCI is not set
+# CONFIG_HAS_RAPIDIO is not set

#
# Advanced setup
@@ -259,11 +273,12 @@ CONFIG_PCI_LEGACY=y
#
# Default settings for advanced configuration options are used
#
-CONFIG_HIGHMEM_START=0xfe00
CONFIG_LOWMEM_SIZE=0x3000
+CONFIG_PAGE_OFFSET=0xc000
CONFIG_KERNEL_START=0xc000
+CONFIG_PHYSICAL_START=0x
+CONFIG_PHYSICAL_ALIGN=0x1000
CONFIG_TASK_SIZE=0xc000
-CONFIG_BOOT_LOAD=0x0080

#
# Networking
@@ -334,8 +349,10 @@ CONFIG_INET6_XFRM_MODE_TUNNEL=y
CONFIG_INET6_XFRM_MODE_BEET=y
# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not 

[PATCH] [POWERPC] 85xx: TQM8548: add missing support for RTC and LM75

2008-06-26 Thread Wolfgang Grandegger

It adds the missing RTC node to tqm8548.dts and enables support for
I2C, DS1307 and LM75 in the default configuration.

Signed-off-by: Wolfgang Grandegger [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/tqm8548.dts   |5 
arch/powerpc/configs/85xx/tqm8548_defconfig |  143 ++--

2 files changed, 142 insertions(+), 6 deletions(-)

Index: linux-2.6-galak/arch/powerpc/boot/dts/tqm8548.dts
===
--- linux-2.6-galak.orig/arch/powerpc/boot/dts/tqm8548.dts
+++ linux-2.6-galak/arch/powerpc/boot/dts/tqm8548.dts
@@ -83,6 +83,11 @@
interrupts = 43 2;
interrupt-parent = mpic;
dfsrr;
+
+   [EMAIL PROTECTED] {
+   compatible = dallas,ds1337;
+   reg = 0x68;
+   };
};

[EMAIL PROTECTED] {
Index: linux-2.6-galak/arch/powerpc/configs/85xx/tqm8548_defconfig
===
--- linux-2.6-galak.orig/arch/powerpc/configs/85xx/tqm8548_defconfig
+++ linux-2.6-galak/arch/powerpc/configs/85xx/tqm8548_defconfig
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Linux kernel version: 2.6.26-rc4
-# Tue Jun  3 14:39:30 2008
+# Linux kernel version: 2.6.26-rc5
+# Thu Jun 26 14:40:02 2008
#
# CONFIG_PPC64 is not set

@@ -15,6 +15,7 @@ CONFIG_PPC_85xx=y
# CONFIG_44x is not set
# CONFIG_E200 is not set
CONFIG_E500=y
+# CONFIG_PPC_E500MC is not set
CONFIG_BOOKE=y
CONFIG_FSL_BOOKE=y
CONFIG_FSL_EMB_PERFMON=y
@@ -470,6 +471,7 @@ CONFIG_MTD_UBI_BEB_RESERVE=1
#
# CONFIG_MTD_UBI_DEBUG is not set
CONFIG_OF_DEVICE=y
+CONFIG_OF_I2C=y
# CONFIG_PARPORT is not set
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_FD is not set
@@ -734,31 +736,111 @@ CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
-CONFIG_GEN_RTC=y
-# CONFIG_GEN_RTC_X is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_TCG_TPM is not set
CONFIG_DEVPORT=y
-# CONFIG_I2C is not set
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+
+#
+# I2C Hardware Bus support
+#
+# CONFIG_I2C_ALI1535 is not set
+# CONFIG_I2C_ALI1563 is not set
+# CONFIG_I2C_ALI15X3 is not set
+# CONFIG_I2C_AMD756 is not set
+# CONFIG_I2C_AMD8111 is not set
+# CONFIG_I2C_I801 is not set
+# CONFIG_I2C_I810 is not set
+# CONFIG_I2C_PIIX4 is not set
+CONFIG_I2C_MPC=y
+# CONFIG_I2C_NFORCE2 is not set
+# CONFIG_I2C_OCORES is not set
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_PROSAVAGE is not set
+# CONFIG_I2C_SAVAGE4 is not set
+# CONFIG_I2C_SIMTEC is not set
+# CONFIG_I2C_SIS5595 is not set
+# CONFIG_I2C_SIS630 is not set
+# CONFIG_I2C_SIS96X is not set
+# CONFIG_I2C_TAOS_EVM is not set
+# CONFIG_I2C_STUB is not set
+# CONFIG_I2C_VIA is not set
+# CONFIG_I2C_VIAPRO is not set
+# CONFIG_I2C_VOODOO3 is not set
+# CONFIG_I2C_PCA_PLATFORM is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
# CONFIG_SPI is not set
# CONFIG_W1 is not set
# CONFIG_POWER_SUPPLY is not set
CONFIG_HWMON=y
# CONFIG_HWMON_VID is not set
+# CONFIG_SENSORS_AD7418 is not set
+# CONFIG_SENSORS_ADM1021 is not set
+# CONFIG_SENSORS_ADM1025 is not set
+# CONFIG_SENSORS_ADM1026 is not set
+# CONFIG_SENSORS_ADM1029 is not set
+# CONFIG_SENSORS_ADM1031 is not set
+# CONFIG_SENSORS_ADM9240 is not set
+# CONFIG_SENSORS_ADT7470 is not set
+# CONFIG_SENSORS_ADT7473 is not set
+# CONFIG_SENSORS_ATXP1 is not set
+# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_I5K_AMB is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_F71882FG is not set
+# CONFIG_SENSORS_F75375S is not set
+# CONFIG_SENSORS_GL518SM is not set
+# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_IT87 is not set
+# CONFIG_SENSORS_LM63 is not set
+CONFIG_SENSORS_LM75=y
+# CONFIG_SENSORS_LM77 is not set
+# CONFIG_SENSORS_LM78 is not set
+# CONFIG_SENSORS_LM80 is not set
+# CONFIG_SENSORS_LM83 is not set
+# CONFIG_SENSORS_LM85 is not set
+# CONFIG_SENSORS_LM87 is not set
+# CONFIG_SENSORS_LM90 is not set
+# CONFIG_SENSORS_LM92 is not set
+# CONFIG_SENSORS_LM93 is not set
+# CONFIG_SENSORS_MAX1619 is not set
+# CONFIG_SENSORS_MAX6650 is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_SIS5595 is not set
+# CONFIG_SENSORS_DME1737 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
+# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
+# CONFIG_SENSORS_ADS7828 

Re: [PATCH] [POWERPC] 85xx: TQM8548: add missing support for RTC and LM75

2008-06-26 Thread Kumar Gala


On Jun 26, 2008, at 8:15 AM, Wolfgang Grandegger wrote:


It adds the missing RTC node to tqm8548.dts and enables support for
I2C, DS1307 and LM75 in the default configuration.

Signed-off-by: Wolfgang Grandegger [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/tqm8548.dts   |5 arch/powerpc/ 
configs/85xx/tqm8548_defconfig |  143 ++--

2 files changed, 142 insertions(+), 6 deletions(-)


your mailer is wrapping things.

Also, can you test out the mpc85xx_defconfig and make sure it works  
with the tqm85xx boards (and provide a second patch that enables  
whatever drivers you need in there)


- k
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: [PATCH] [POWERPC] 85xx: TQM8548: add missing support for RTC and LM75

2008-06-26 Thread Wolfgang Grandegger

Kumar Gala wrote:


On Jun 26, 2008, at 8:15 AM, Wolfgang Grandegger wrote:


It adds the missing RTC node to tqm8548.dts and enables support for
I2C, DS1307 and LM75 in the default configuration.

Signed-off-by: Wolfgang Grandegger [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/tqm8548.dts   |5 
arch/powerpc/configs/85xx/tqm8548_defconfig |  143 
++--

2 files changed, 142 insertions(+), 6 deletions(-)


your mailer is wrapping things.


Hm, I can apply the patch extracted from my mail without problems.

Also, can you test out the mpc85xx_defconfig and make sure it works with 
the tqm85xx boards (and provide a second patch that enables whatever 
drivers you need in there)


OK, will do so beginning of next week. For the TQM8548 I use the ELDK 
ppc_85xxDP and for all others the ppc_85xx tool chain. Does a mixed 
image for both types of MPC85xx CPUs make sense?


Wolfgang.

___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: [PATCH] [POWERPC] 85xx: TQM8548: add missing support for RTC and LM75

2008-06-26 Thread Kumar Gala


On Jun 26, 2008, at 9:13 AM, Wolfgang Grandegger wrote:


Kumar Gala wrote:

On Jun 26, 2008, at 8:15 AM, Wolfgang Grandegger wrote:

It adds the missing RTC node to tqm8548.dts and enables support for
I2C, DS1307 and LM75 in the default configuration.

Signed-off-by: Wolfgang Grandegger [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/tqm8548.dts   |5 arch/powerpc/ 
configs/85xx/tqm8548_defconfig |  143 ++--

2 files changed, 142 insertions(+), 6 deletions(-)

your mailer is wrapping things.


Hm, I can apply the patch extracted from my mail without problems.

Also, can you test out the mpc85xx_defconfig and make sure it works  
with the tqm85xx boards (and provide a second patch that enables  
whatever drivers you need in there)


OK, will do so beginning of next week. For the TQM8548 I use the  
ELDK ppc_85xxDP and for all others the ppc_85xx tool chain. Does a  
mixed image for both types of MPC85xx CPUs make sense?


I'm just trying to keep the mpc85xx_defconfig as a subset of all the  
other defconfigs for 85xx so it gives people doing testing one  
defconfig to build and try and sure that the other defconfigs will  
continue to work.


- k
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev