[PATCH] powerpc: restore some misc devices to our configs

2011-03-26 Thread Stephen Rothwell
Uwe Kleine-König reported: while working on an defconfig (arm/mx27) I noticed that just updating it[1] results in removing CONFIG_EEPROM_AT24=y. The reason is that since commit v2.6.36-5965-g5f2365d (misc devices: do not enable by default) MISC_DE

Re: [PATCH V12 1/4] ptp: Added a brand new class driver for ptp clocks.

2011-03-26 Thread Richard Cochran
On Wed, Mar 23, 2011 at 02:19:20PM -0700, John Stultz wrote: > On Mon, 2011-02-28 at 08:57 +0100, Richard Cochran wrote: > > +++ b/drivers/ptp/ptp_clock.c > > @@ -0,0 +1,320 @@ > [snip] > > +static void enqueue_external_timestamp(struct timestamp_event_queue *queue, > > +

Re: [PATCH] powerpc: restore some misc devices to our configs

2011-03-26 Thread Josh Boyer
On Sat, Mar 26, 2011 at 06:11:29PM +1100, Stephen Rothwell wrote: >Uwe Kleine-König reported: > > while working on an defconfig (arm/mx27) I noticed that just updating > it[1] results in removing CONFIG_EEPROM_AT24=y. The reason is that > since commit > > v2.6.36-59

Re: [PATCH V12 2/4] ptp: Added a clock that uses the eTSEC found on the MPC85xx.

2011-03-26 Thread Richard Cochran
On Wed, Mar 23, 2011 at 02:30:04PM -0700, John Stultz wrote: > On Mon, 2011-02-28 at 08:57 +0100, Richard Cochran wrote: > > +/* > > + * Register access functions > > + */ > > So what are the locking rules on the functions below? I assume the > etsects->lock needs to be held prior to calling, so t

Re: [PATCH V12 4/4] ptp: Added a clock driver for the National Semiconductor PHYTER.

2011-03-26 Thread Richard Cochran
On Wed, Mar 23, 2011 at 02:46:25PM -0700, John Stultz wrote: > On Mon, 2011-02-28 at 08:58 +0100, Richard Cochran wrote: > > +static int tdr_write(int bc, struct phy_device *dev, > > +const struct timespec *ts, u16 cmd) > > +{ > > + ext_write(bc, dev, PAGE4, PTP_TDR, ts->tv_nsec &

Re: [PATCH] powerpc: restore some misc devices to our configs

2011-03-26 Thread Uwe Kleine-König
Hello, On Sat, Mar 26, 2011 at 06:11:29PM +1100, Stephen Rothwell wrote: > Uwe Kleine-König reported: > > while working on an defconfig (arm/mx27) I noticed that just updating > it[1] results in removing CONFIG_EEPROM_AT24=y. The reason is that > since commit > >

mpc8250 device tree 2.6.38

2011-03-26 Thread suresh chandra
Hi All, I am trying to boot Linux-2.6.38 on custom build MPC8250 board with all SCC's and SMC's configured as UART's. As device tree file for 8250 is not available I referred mpc8272ads file and created the one attached. I could able to use SMC1 or SCC1 as serial port in u-boot. I could get Linu

[PATCH V13 0/4] ptp: IEEE 1588 hardware clock support

2011-03-26 Thread Richard Cochran
* Introduction The aim of this patch set is to add support for PTP Hardware Clocks (PHCs) into the Linux kernel. The patch series builds upon the dynamic posix clock work appearing in kernel version 2.6.39. Support for obtaining timestamps from a PHC already exists via the SO_TIMESTAMPI

[PATCH V13 1/4] ptp: Added a brand new class driver for ptp clocks.

2011-03-26 Thread Richard Cochran
This patch adds an infrastructure for hardware clocks that implement IEEE 1588, the Precision Time Protocol (PTP). A class driver offers a registration method to particular hardware clock drivers. Each clock is presented as a standard POSIX clock. The ancillary clock features are exposed in two di

[PATCH V13 2/4] ptp: Added a clock that uses the eTSEC found on the MPC85xx.

2011-03-26 Thread Richard Cochran
The eTSEC includes a PTP clock with quite a few features. This patch adds support for the basic clock adjustment functions, plus two external time stamps, one alarm, and the PPS callback. Signed-off-by: Richard Cochran --- .../devicetree/bindings/net/fsl-tsec-phy.txt | 54 ++ arch/powerp

[PATCH V13 3/4] ptp: Added a clock driver for the IXP46x.

2011-03-26 Thread Richard Cochran
This patch adds a driver for the hardware time stamping unit found on the IXP465. The basic clock operations and an external trigger are implemented. Signed-off-by: Richard Cochran Acked-by: John Stultz --- arch/arm/mach-ixp4xx/include/mach/ixp46x_ts.h | 78 ++ drivers/net/arm/ixp4xx_eth.

[PATCH V13 4/4] ptp: Added a clock driver for the National Semiconductor PHYTER.

2011-03-26 Thread Richard Cochran
This patch adds support for the PTP clock found on the DP83640. The basic clock operations and one external time stamp have been implemented. Signed-off-by: Richard Cochran --- drivers/net/phy/Makefile |1 + drivers/net/phy/dp83640.c | 1015 +