Re: [PATCH] ARM64: dts: add LS1043a-QDS board support

2015-12-23 Thread Scott Wood
On Thu, 2015-12-24 at 13:30 +0800, Zhiqiang Hou wrote: > +/dts-v1/; > +/include/ "fsl-ls1043a.dtsi" > + > +/ { > + model = "LS1043A QDS Board"; > + compatible? -Scott -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.or

Re: [v2] powerpc/mpc85xx: Add pcsphy nodes to FManV3 device tree

2015-12-23 Thread Scott Wood
On Wed, 2015-12-23 at 15:16 -0600, Scott Wood wrote: > On Tue, 2015-12-22 at 06:25 +0200, igal.liber...@freescale.com wrote: > > From: Igal Liberman > > > > Signed-off-by: Igal Liberman > > > > This patch adds pcsphy node to FManV3 device tree. > > Based

Re: [v2] powerpc/mpc85xx: Add pcsphy nodes to FManV3 device tree

2015-12-23 Thread Scott Wood
On Tue, 2015-12-22 at 06:25 +0200, igal.liber...@freescale.com wrote: > From: Igal Liberman > > Signed-off-by: Igal Liberman > > This patch adds pcsphy node to FManV3 device tree. > Based on: https://patchwork.ozlabs.org/patch/503921/ > > v1 --> v2: > - Addressed feedback from Shaohui Xi

Re: [PATCH] powerpc/fsl: Update fman dt binding with pcs-phy and tbi-phy

2015-12-22 Thread Scott Wood
On Tue, 2015-12-22 at 06:18 +0200, igal.liber...@freescale.com wrote: > From: Igal Liberman > > Signed-off-by: Igal Liberman > --- > .../devicetree/bindings/powerpc/fsl/fman.txt | 39 > > 1 file changed, 39 insertions(+) Some description in the log would be nice, e

Re: [PATCH] powerpc/mpc85xx: Add pcsphy nodes to FManV3 device tree

2015-12-22 Thread Scott Wood
On Tue, 2015-12-22 at 02:51 -0600, Liberman Igal-B31950 wrote: > > Regards, > Igal Liberman > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Monday, December 21, 2015 4:41 PM > > To: Liberman Igal-B31950 ; > > devicetree@vger.kernel.org; linuxppc-...@lists.ozlabs.org > > Cc:

Re: [RFC 1/1] powerpc: legacy serial port use device tree cell-index property

2015-12-21 Thread Scott Wood
On Wed, 2015-11-25 at 10:46 -0800, Curt Brune wrote: > Currently for PowerPC systems using device tree, the legacy serial > ports are allocated in the order by which they are found in the device > tree structure. > > This can cause problems in cases where the device tree nodes are > sysnthesized b

Re: [PATCH] powerpc/mpc85xx: Add pcsphy nodes to FManV3 device tree

2015-12-21 Thread Scott Wood
On Mon, 2015-12-21 at 01:57 +0200, igal.liber...@freescale.com wrote: > From: Igal Liberman > > Signed-off-by: Igal Liberman > > This patch adds pcsphy node to FManV3 device tree. > Based on: https://patchwork.ozlabs.org/patch/503921/ > --- > .../dts/fsl/qoriq-fman3-0-10g-0-best-effort.dtsi

Re: [PATCH v2] dts/ls2080a: Update PCIe compatible

2015-12-14 Thread Scott Wood
On Mon, 2015-12-14 at 20:01 -0600, Hu Mingkai-B21284 wrote: > > > -Original Message- > > From: Hu Mingkai-B21284 > > Sent: Monday, December 07, 2015 4:44 PM > > To: 'Rob Herring' > > Cc: a...@kernel.org; devicetree@vger.kernel.org; Li Yang-Leo-R58472; > > linux-arm-ker...@lists.infradead.o

Re: [PATCH] cpufreq: qoriq: Register cooling device based on device tree

2015-11-24 Thread Scott Wood
On Tue, 2015-11-24 at 14:55 +0800, Jia Hongtao wrote: > Register the qoriq cpufreq driver as a cooling device, based on the > thermal device tree framework. When temperature crosses the passive trip > point cpufreq is used to throttle CPUs. > > Signed-off-by: Jia Hongtao >

Re: [PATCH V4 2/2] powerpc/85xx: Add PCIe controller support for bsc9132qds

2015-11-19 Thread Scott Wood
On Mon, 2015-11-16 at 20:31 -0600, Hou Zhiqiang-B48286 wrote: > Hi, > > Any response, please comment. They look OK. -Scott > > > -Original Message- > > From: Zhiqiang Hou [mailto:zhiqiang@freescale.com] > > Sent: 2015年11月5日 11:16 > > To: linuxppc-...@lists.ozlabs.org; Wood Scott-B0

Re: [PATCH v4] Documentation: dt: binding: fsl: add devicetree binding for describing RCPM

2015-11-17 Thread Scott Wood
On Tue, 2015-11-17 at 16:05 -0600, Rob Herring wrote: > On Mon, Nov 16, 2015 at 8:07 PM, Scott Wood wrote: > > On Mon, 2015-11-16 at 11:26 -0600, Rob Herring wrote: > > > We just merged a common wakeup source binding[1]. It doesn't really work > > > in a similar wa

Re: [PATCH v4] Documentation: dt: binding: fsl: add devicetree binding for describing RCPM

2015-11-16 Thread Scott Wood
On Mon, 2015-11-16 at 11:26 -0600, Rob Herring wrote: > +Sudeep > > On Mon, Oct 26, 2015 at 02:44:12PM +0800, Dongsheng Wang wrote: > > From: Wang Dongsheng > > > > RCPM is the Run Control and Power Management module performs all > > device-level tasks associated with device run control and powe

Re: [PATCH 1/2] ls2080a/dts: Add little endian property for GPIO IP block

2015-11-16 Thread Scott Wood
On Mon, 2015-11-16 at 12:56 -0600, Li Yang wrote: > On Mon, Nov 16, 2015 at 9:11 AM, Linus Walleij > wrote: > > On Tue, Nov 3, 2015 at 12:19 PM, Liu Gang wrote: > > > > > The GPIO block for ls2080a platform has little endian registers, > > > the GPIO driver needs this property to read/write regi

Re: [PATCH V3 1/2] powerpc/fsl: Add PCI node in device tree of bsc9132qds

2015-11-04 Thread Scott Wood
On Thu, 2015-11-05 at 10:52 +0800, Zhiqiang Hou wrote: > From: Harninder Rai > > Signed-off-by: Harninder Rai > Signed-off-by: Minghuan Lian > Reviewed-by: Zang Tiefei-R61911 > Reviewed-by: Kushwaha Prabhakar-B32579 > Reviewed-by: Fleming Andrew-AFLEMING > Tested-by: Fleming Andrew-AFLEMING

Re: [PATCH 2/2] drivers/gpio: Port gpio driver to layerscape platform

2015-11-04 Thread Scott Wood
On Wed, 2015-11-04 at 09:53 +0100, Arnd Bergmann wrote: > On Wednesday 04 November 2015 14:48:24 Liu Gang wrote: > > > > +static bool gpio_little_endian; > > +static inline u32 gpio_in32(void __iomem *addr) > > +{ > > + u32 val; > > + > > + if (gpio_little_endian) > > + val = ioread3

Re: [PATCH v6 22/22] of/platform: Defer probes of registered devices

2015-10-29 Thread Scott Wood
On Wed, 2015-10-28 at 15:40 +0100, Tomeu Vizoso wrote: > On 22 October 2015 at 23:27, Scott Wood wrote: > > On Thu, 2015-10-22 at 15:04 +0200, Tomeu Vizoso wrote: > > > On 22 October 2015 at 00:51, Scott Wood wrote: > > > > On Wed, 2015-10-21 at 08:44 -0500, Rob H

Re: [PATCH v6 22/22] of/platform: Defer probes of registered devices

2015-10-22 Thread Scott Wood
On Thu, 2015-10-22 at 15:04 +0200, Tomeu Vizoso wrote: > On 22 October 2015 at 00:51, Scott Wood wrote: > > On Wed, 2015-10-21 at 08:44 -0500, Rob Herring wrote: > > > On Wed, Oct 21, 2015 at 12:54 AM, Scott Wood > > > wrote: > > > > On Mon, 2015-0

Re: [PATCH v6 22/22] of/platform: Defer probes of registered devices

2015-10-21 Thread Scott Wood
On Wed, 2015-10-21 at 08:44 -0500, Rob Herring wrote: > On Wed, Oct 21, 2015 at 12:54 AM, Scott Wood > wrote: > > On Mon, 2015-09-21 at 16:03 +0200, Tomeu Vizoso wrote: > > > Instead of trying to match and probe platform and AMBA devices right > > > after each is

Re: [PATCH v6 22/22] of/platform: Defer probes of registered devices

2015-10-20 Thread Scott Wood
On Mon, 2015-09-21 at 16:03 +0200, Tomeu Vizoso wrote: > Instead of trying to match and probe platform and AMBA devices right > after each is registered, delay their probes until device_initcall_sync. > > This means that devices will start probing once all built-in drivers > have registered, and a

Re: PowerPC: Move Freescale device tree files into fsl folder

2015-10-16 Thread Scott Wood
On Fri, Sep 18, 2015 at 12:00:24PM +0800, Hongtao Jia wrote: > It makes no sense that some Freescale device tree files are in fsl > directory while some others not. This patch move Freescale device tree > files into fsl folder. To do that the following two steps are made: > - Move Freescale device

Re: [V2,1/2] powerpc/fsl: Add PCI node in device tree of bsc9132qds

2015-10-16 Thread Scott Wood
On Fri, Oct 16, 2015 at 05:01:10PM +0800, Zhiqiang Hou wrote: > From: Harninder Rai > > Signed-off-by: Harninder Rai > Signed-off-by: Minghuan Lian > Change-Id: I4355add4a92d1fcf514843aea5ecadd2e2517969 > Reviewed-on: http://git.am.freescale.net:8181/2454 > Reviewed-by: Zang Tiefei-R61911 > Re

Re: [2/3] powerpc: dts: p1022si: Add fsl,wake-on-filer for eTSEC

2015-10-16 Thread Scott Wood
; --- > arch/powerpc/boot/dts/fsl/p1022si-post.dtsi | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Scott Wood -Scott -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/2] powerpc/fsl: Add PCI node in device tree of bsc9132qds

2015-10-14 Thread Scott Wood
On Tue, 2015-10-13 at 19:29 +0800, Zhiqiang Hou wrote: > From: Harninder Rai > > Signed-off-by: Harninder Rai > Signed-off-by: Minghuan Lian > Change-Id: I4355add4a92d1fcf514843aea5ecadd2e2517969 > Reviewed-on: http://git.am.freescale.net:8181/2454 > Reviewed-by: Zang Tiefei-R61911 > Reviewed-

Re: [RFC PATCH 0/8] clk: qoriq: Move chip-specific knowledge into driver

2015-10-09 Thread Scott Wood
On Thu, 2015-10-01 at 19:26 -0500, Scott Wood wrote: > [Resending to updated e-mail address] > > On Tue, 2015-08-11 at 11:25 -0700, Michael Turquette wrote: > > Hi Scott, > > > > Quoting Scott Wood (2015-06-18 19:49:10) > > > The existing device tree bin

[PATCH v2 15/18] powerpc/book3e-64/kexec: Enable SMP release

2015-10-06 Thread Scott Wood
o set that up. Instead, kexec-tools will set a boolean property linux,booted-from-kexec in the /chosen node. Signed-off-by: Scott Wood Cc: devicetree@vger.kernel.org --- v2: Use a device tree property instead of a flag in the kernel image This depends on the kexec-tools patch v2 "ppc64: Add

Re: [RFC PATCH 0/8] clk: qoriq: Move chip-specific knowledge into driver

2015-10-01 Thread Scott Wood
[Resending to updated e-mail address] On Tue, 2015-08-11 at 11:25 -0700, Michael Turquette wrote: > Hi Scott, > > Quoting Scott Wood (2015-06-18 19:49:10) > > The existing device tree bindings are error-prone and inflexible. > > Correct the mistake by moving the knowledge i

Re: [RFC PATCH 0/8] clk: qoriq: Move chip-specific knowledge into driver

2015-10-01 Thread Scott Wood
On Tue, 2015-08-11 at 11:25 -0700, Michael Turquette wrote: > Hi Scott, > > Quoting Scott Wood (2015-06-18 19:49:10) > > The existing device tree bindings are error-prone and inflexible. > > Correct the mistake by moving the knowledge into the driver, which > > has mor

Re: [PATCH v3 1/2] fsl: Add binding for RCPM

2015-10-01 Thread Scott Wood
On Thu, 2015-10-01 at 12:05 -0500, Yoder Stuart-B08248 wrote: > > +++ b/Documentation/devicetree/bindings/soc/fsl/rcpm.txt > > @@ -0,0 +1,63 @@ > > +* Run Control and Power Management > > +--- > > +The RCPM performs all device-level tasks associated with devi

Re: [PATCH v3 1/2] fsl: Add binding for RCPM

2015-09-24 Thread Scott Wood
On Thu, 2015-09-24 at 21:38 -0500, Wang Dongsheng-B40534 wrote: > > > +* Freescale RCPM Wakeup Source Device Tree Bindings > > > +--- > > > +Required rcpm-wakeup property should be added to a device node if the > > > device > > > +can be used as a wakeup sour

Re: [PATCH v3 1/2] fsl: Add binding for RCPM

2015-09-24 Thread Scott Wood
On Thu, 2015-09-24 at 16:29 +0800, Dongsheng Wang wrote: > +* Freescale RCPM Wakeup Source Device Tree Bindings > +--- > +Required rcpm-wakeup property should be added to a device node if the > device > +can be used as a wakeup source. > + > + - rcpm-wakeup

Re: [PATCH] PowerPC: Move Freescale device tree files into fsl folder

2015-09-17 Thread Scott Wood
On Fri, 2015-09-18 at 12:00 +0800, Jia Hongtao wrote: > It makes no sense that some Freescale device tree files are in fsl > directory while some others not. This patch move Freescale device tree > files into fsl folder. To do that the following two steps are made: > - Move Freescale device tree fi

Re: [PATCH v2 1/2] fsl: Add binding for RCPM

2015-09-15 Thread Scott Wood
On Tue, 2015-09-15 at 22:18 -0500, Wang Dongsheng-B40534 wrote: > Hi Scott, > > > -Original Message- > > From: Wang Dongsheng-B40534 > > Sent: Wednesday, September 16, 2015 10:44 AM > > To: Wood Scott-B07421; Tang Yuantian-B29983 > > Cc: devicetree@vger.kernel.org; linuxppc-...@lists.ozlab

Re: [PATCH v2 1/2] fsl: Add binding for RCPM

2015-09-15 Thread Scott Wood
On Tue, 2015-09-15 at 21:35 -0500, Tang Yuantian-B29983 wrote: > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, September 16, 2015 10:32 AM > > To: Wang Dongsheng-B40534 > > Cc: devicetree@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > > robh...@kernel.org; lin

Re: [PATCH v2 1/2] fsl: Add binding for RCPM

2015-09-15 Thread Scott Wood
On Tue, 2015-09-15 at 21:30 -0500, Wang Dongsheng-B40534 wrote: > Hi Scott, > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, September 16, 2015 10:19 AM > > To: Wang Dongsheng-B40534 > > Cc: devicetree@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > > robh...@ker

Re: [PATCH v2 1/2] fsl: Add binding for RCPM

2015-09-15 Thread Scott Wood
On Tue, 2015-09-15 at 21:15 -0500, Wang Dongsheng-B40534 wrote: > Hi Scott, > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, September 16, 2015 7:57 AM > > To: Wang Dongsheng-B40534 > > Cc: devicetree@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > > robh...@kern

Re: [PATCH v2 1/2] fsl: Add binding for RCPM

2015-09-15 Thread Scott Wood
On Tue, 2015-09-15 at 16:55 +0800, Dongsheng Wang wrote: > +* Freescale RCPM Wakeup Source Device Tree Bindings > +--- > +Required rcpm-wakeup property should be added to a device node if the > device > +can be used as a wakeup source. > + > + - rcpm-wakeup

Re: [PATCH] arm64: dts: fsl-ls2085a: Add serial aliases

2015-09-15 Thread Scott Wood
On Tue, 2015-09-15 at 08:43 +0200, Arnd Bergmann wrote: > On Monday 14 September 2015 19:48:27 Scott Wood wrote: > > These will allow U-Boot to set linux,stdout-path in /chosen based on > > the active console device, which will allow devicetree-based earlycon. > > > >

Re: [linuxppc-release] [PATCH] arm64: dts: fsl-ls2085a: Add serial aliases

2015-09-14 Thread Scott Wood
On Tue, 2015-09-15 at 00:57 -0500, Sharma Bhupesh-B45370 wrote: > > From: linuxppc-release-boun...@linux.freescale.net[mailto:linuxppc- > > release-boun...@linux.freescale.net] On Behalf Of Scott Wood > > Sent: Tuesday, September 15, 2015 6:18 AM > > > > These

[PATCH] arm64: dts: fsl-ls2085a: Add serial aliases

2015-09-14 Thread Scott Wood
These will allow U-Boot to set linux,stdout-path in /chosen based on the active console device, which will allow devicetree-based earlycon. Signed-off-by: Scott Wood --- arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts

[RESEND PATCH] serial: 8250: Add OF earlycon support

2015-09-14 Thread Scott Wood
This allows earlycon to be used without needing to specify the I/O address on the kernel command line, if linux,stdout-path is specified in the chosen node. Signed-off-by: Scott Wood --- Sorry, forgot to include the mailing lists on previous sending. drivers/tty/serial/8250/8250_early.c | 4

[PATCH] Docs/kernel-parameters: Add earlycon devicetree usage

2015-09-14 Thread Scott Wood
This form of the earlycon parameter was added by commit fb11ffe74c794a5 ("of/fdt: add FDT serial scanning for earlycon") without documentation. Signed-off-by: Scott Wood --- Documentation/kernel-parameters.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentat

Re: [PATCH 1/2] fsl: Add binding for RCPM

2015-09-10 Thread Scott Wood
On Wed, 2015-09-09 at 21:03 -0500, Wang Dongsheng-B40534 wrote: > Hi Scott, > > Thanks for your review. > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Thursday, September 10, 2015 3:57 AM > > To: Wang Dongsheng-B40534 > > Cc: devicetree@vger.kernel.org; linuxppc-...@lists.

Re: [PATCH 1/2] fsl: Add binding for RCPM

2015-09-09 Thread Scott Wood
On Wed, 2015-09-09 at 14:42 +0800, Dongsheng Wang wrote: > From: Wang Dongsheng > > RCPM is the Run Control and Power Management module performs all > device-level tasks associated with device run control and power > management. > > Add this for freescale powerpc platform and layerscape platform

Re: [PATCH 1/2] powerpc/qman: Change fsl,qman-channel-id to cell-index

2015-08-20 Thread Scott Wood
On Thu, Aug 20, 2015 at 09:52:46AM -0500, Pledge Roy-R01356 wrote: > I guess my point isn't getting through - channel-id and cell-index are > too independent concepts that are coincidentally the same. Cell-index > is only used by u-boot and is used to determine the portal number. It > is absolute

Re: [PATCH 1/2] powerpc/qman: Change fsl,qman-channel-id to cell-index

2015-08-19 Thread Scott Wood
On Wed, Aug 19, 2015 at 03:52:55PM -0500, Pledge Roy-R01356 wrote: > Sorry for digging up an old thread here Scott, but we never did close on this > discussion. See my replies inline below > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Tuesday, May 12, 2015 6:46 PM >

[PATCH v2 2/5] powerpc/fsl: Move fsl_guts.h out of arch/powerpc

2015-08-14 Thread Scott Wood
Freescale's Layerscape ARM chips use the same structure. Signed-off-by: Scott Wood --- v2: non-RFC arch/powerpc/platforms/85xx/mpc85xx_mds.c | 2 +- arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 2 +- arch/powerpc/platforms/85xx/p1022

Re: [RFC PATCH 0/8] clk: qoriq: Move chip-specific knowledge into driver

2015-08-14 Thread Scott Wood
On Tue, 2015-08-11 at 11:25 -0700, Michael Turquette wrote: > Hi Scott, > > Quoting Scott Wood (2015-06-18 19:49:10) > > The existing device tree bindings are error-prone and inflexible. > > Correct the mistake by moving the knowledge into the driver, which > > has mor

[PATCH v2 4/5] cpufreq: qoriq: Remove frequency masking and minimum

2015-08-14 Thread Scott Wood
ptions (in particular, it removes invalid options). Signed-off-by: Scott Wood --- v2: non-RFC drivers/cpufreq/qoriq-cpufreq.c | 92 + 1 file changed, 2 insertions(+), 90 deletions(-) diff --git a/drivers/cpufreq/qoriq-cpufreq.c b/drivers/cpufreq/qoriq-cpufr

[PATCH v2 1/5] cpufreq: qoriq: Don't look at clock implementation details

2015-08-14 Thread Scott Wood
eq to continue working once the clocks are generated based on the clock driver's knowledge of the chip rather than a fragile device-tree description of the mux options. Signed-off-by: Scott Wood --- v2: non-RFC drivers/cpufreq/qoriq-cpufreq.c | 47 - 1 file c

[PATCH v2 5/5] powerpc/fsl: Use new clockgen binding

2015-08-14 Thread Scott Wood
nodes. Signed-off-by: Scott Wood --- v2: non-RFC arch/powerpc/boot/dts/fsl/b4420si-pre.dtsi | 4 +- arch/powerpc/boot/dts/fsl/b4860si-pre.dtsi | 8 +-- arch/powerpc/boot/dts/fsl/b4si-post.dtsi | 15 -- arch/powerpc/boot/dts/fsl/p2041si-post.dtsi| 18 --- arch/powerpc/boot/dt

[PATCH v2 0/5] clk: qoriq: Move chip-specific knowledge into driver

2015-08-14 Thread Scott Wood
describing its individual registers. For more detail, see the commit message of patch 3. Scott Wood (5): cpufreq: qoriq: Don't look at clock implementation details powerpc/fsl: Move fsl_guts.h out of arch/powerpc clk: qoriq: Move chip-specific knowledge into driver cpufreq: qoriq: R

[PATCH v2 3/5] clk: qoriq: Move chip-specific knowledge into driver

2015-08-14 Thread Scott Wood
will still work, and be directed at the corresponding new clock. Signed-off-by: Scott Wood --- v2: Improved legacy device tree compatibility, particularly for ls1021a. .../devicetree/bindings/clock/qoriq-clock.txt | 61 +- drivers/clk/clk-qoriq.c| 1260

Re: [PATCH v2 1/2] powerpc/85xx: Add binding for SCFG

2015-08-13 Thread Scott Wood
On Wed, 2015-08-12 at 20:55 -0500, Wang Dongsheng-B40534 wrote: > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, August 12, 2015 11:28 PM > > To: Wang Dongsheng-B40534 > > Cc: Jain Priyanka-B32167; ijc+devicet...@hellion.org.uk; > > robh...@kernel.org; > > devicet

Re: [PATCH v2 1/2] powerpc/85xx: Add binding for SCFG

2015-08-12 Thread Scott Wood
On Wed, 2015-08-12 at 15:29 +0800, Dongsheng Wang wrote: > From: Wang Dongsheng > > SCFG provides SoC specific configuration and status registers for > the chip. Add this for powerpc platform. > > Signed-off-by: Wang Dongsheng > --- > *V2* > - Remove scfg description in board.txt and create scf

Re: [PATCH v5] powerpc/rcpm: add RCPM driver

2015-08-03 Thread Scott Wood
On Mon, 2015-08-03 at 19:14 +0800, Chenhui Zhao wrote: > On Sat, Aug 1, 2015 at 8:45 AM, Scott Wood > wrote: > > On Fri, 2015-06-26 at 15:44 +0800, Yuantian.Tang@freescale.comwrote: > > > +static void rcpm_v1_set_ip_power(bool enable, u32 *mask) > > &g

Re: [PATCH v5] powerpc/rcpm: add RCPM driver

2015-07-31 Thread Scott Wood
On Fri, 2015-06-26 at 15:44 +0800, yuantian.t...@freescale.com wrote: > +static void rcpm_v1_set_ip_power(bool enable, u32 *mask) > +{ > + if (enable) > + setbits32(&rcpm_v1_regs->ippdexpcr, *mask); > + else > + clrbits32(&rcpm_v1_regs->ippdexpcr, *mask); > +} > + >

Re: [PATCH v4] powerpc/mpc85xx: Add MDIO bus muxing support to the board device tree(s)

2015-07-30 Thread Scott Wood
On Thu, 2015-07-30 at 07:47 +0300, Igal.Liberman wrote: > From: Igal Liberman > > Describe the PHY topology for all configurations supported by each board > > Based on prior work by Andy Fleming > > Signed-off-by: Igal Liberman > Signed-off-by: Shruti Kanetkar > Signed-off-by: Emil Medve S

Re: [PATCH v2 1/2] powerpc/mpc85xx: Create dts components for the FSL QorIQ DPAA FMan

2015-07-30 Thread Scott Wood
On Thu, 2015-07-30 at 07:32 +0300, Igal.Liberman wrote: > +fman0: fman@40{ > + #address-cells = <1>; > + #size-cells = <1>; > + cell-index = <0>; > + compatible = "fsl,fman"; > + ranges = <0 0x40 0x10>; > + reg = <0x40 0x10>; > + interrupts = <96 2 0

Re: [PATCH v2 2/2] powerpc/mpc85xx: Add FSL QorIQ DPAA FMan support to the SoC device tree(s)

2015-07-30 Thread Scott Wood
On Thu, 2015-07-30 at 07:33 +0300, Igal.Liberman wrote: > @@ -307,4 +307,117 @@ > reg = <0xe 0x1000>; > fsl,has-rstcr; > }; > + > + fman@10{ > + #address-cells = <1>; > + #size-cells = <1>; > + cell-index = <0>; > +

Re: [PATCH] powerpc/p1010rdb:update dts for pcie interrupt-map

2015-07-24 Thread Scott Wood
On Mon, 2015-07-20 at 15:32 +0800, Zhao Qiang wrote: > From: Zhao Qiang > > p1010rdb-pb use the irq[4:5] for inta and intb to pcie, > it is active-high, so set it. What about revisions of p1010rdb other than pb? > Signed-off-by: Zhao Qiang > Change-Id: I29db41b4a8b5a67c18151099884edda6de4d9d1a

Re: [PATCH V3] QorIQ/TMU: add TMU node to device tree for QorIQ T1040

2015-07-09 Thread Scott Wood
On Thu, 2015-07-09 at 03:00 -0500, Jia Hongtao-B38951 wrote: > Hi Scott, > > Patch updated to V3, please help to review. > Thanks. > > --- > Best Regards, > Hongtao It looks OK. -Scott -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord.

Re: [PATCH 1/2] powerpc/85xx: Add binding for SCFG

2015-07-07 Thread Scott Wood
On Tue, 2015-07-07 at 17:47 +0800, Dongsheng Wang wrote: > From: Wang Dongsheng > > SCFG provides SoC specific configuration and status registers for > the chip. Add this for powerpc platform. > > Signed-off-by: Wang Dongsheng > > diff --git a/Documentation/devicetree/bindings/powerpc/fsl/boar

Re: [PATCH v4] powerpc/rcpm: add RCPM driver

2015-06-25 Thread Scott Wood
On Tue, 2015-06-23 at 16:07 +0800, yuantian.t...@freescale.com wrote: > From: Tang Yuantian > > There is a RCPM (Run Control/Power Management) in Freescale QorIQ > series processors. The device performs tasks associated with device > run control and power management. > > The driver implements so

[RFC PATCH 3/8] powerpc/fsl: Move fsl_guts.h out of arch/powerpc

2015-06-18 Thread Scott Wood
Freescale's Layerscape ARM chips use the same structure. Signed-off-by: Scott Wood --- arch/powerpc/platforms/85xx/mpc85xx_mds.c | 2 +- arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 2 +- arch/powerpc/platforms/85xx/p1022

[RFC PATCH 2/8] cpufreq: qoriq: Don't look at clock implementation details

2015-06-18 Thread Scott Wood
eq to continue working once the clocks are generated based on the clock driver's knowledge of the chip rather than a fragile device-tree description of the mux options. Signed-off-by: Scott Wood --- drivers/cpufreq/qoriq-cpufreq.c | 47 - 1 file changed, 18

[RFC PATCH 4/8] clk: qoriq: Move chip-specific knowledge into driver

2015-06-18 Thread Scott Wood
evice trees will continue to work. This patch does not remove the code for handling the old nodes. A subsequent patch removes that code, but still binds against those nodes and redirects clock lookups to the clocks generated by the new code. Signed-off-by: Scott Wood --- .../devicetree/bindi

[RFC PATCH 7/8] clk: qoriq: Expose OF clocks directly from the clockgen node

2015-06-18 Thread Scott Wood
This allows the "clocks" property to be used in the absence of legacy nodes, and for clocks that the legacy nodes do not describe. Signed-off-by: Scott Wood --- drivers/clk/clk-qoriq.c | 63 - 1 file changed, 62 insertions(+), 1 deletio

[RFC PATCH 0/8] clk: qoriq: Move chip-specific knowledge into driver

2015-06-18 Thread Scott Wood
describing its individual registers. For more detail, see the commit message of patch 4. Scott Wood (8): ARM: dts: ls1021a: Fix clockgen node cpufreq: qoriq: Don't look at clock implementation details powerpc/fsl: Move fsl_guts.h out of arch/powerpc clk: qoriq: Move chip-specific knowledge

[RFC PATCH 6/8] cpufreq: qoriq: Remove frequency masking and minimum

2015-06-18 Thread Scott Wood
ptions (in particular, it removes invalid options). Signed-off-by: Scott Wood --- drivers/cpufreq/qoriq-cpufreq.c | 92 + 1 file changed, 2 insertions(+), 90 deletions(-) diff --git a/drivers/cpufreq/qoriq-cpufreq.c b/drivers/cpufreq/qoriq-cpufreq.c index 32ab99

[RFC PATCH 5/8] clk: qoriq: Redirect legacy clock nodes to new clocks

2015-06-18 Thread Scott Wood
ignored, but "clocks" properties pointing at the old nodes will still work. This also lets us get rid of most of the legacy code. Signed-off-by: Scott Wood --- drivers/clk/clk-qoriq.c | 348 1 file changed, 54 insertions(+), 294 deletion

[RFC PATCH 1/8] ARM: dts: ls1021a: Fix clockgen node

2015-06-18 Thread Scott Wood
reference the sysclk node. Signed-off-by: Scott Wood Cc: Jingchang Lu Cc: Shawn Guo --- arch/arm/boot/dts/ls1021a.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index c70bb27..a0a1c51 100644 --- a/arch/arm/boot/dts/ls

[RFC PATCH 8/8] powerpc/fsl: Use new clockgen binding

2015-06-18 Thread Scott Wood
nodes. Signed-off-by: Scott Wood --- arch/powerpc/boot/dts/fsl/b4420si-pre.dtsi | 4 +- arch/powerpc/boot/dts/fsl/b4860si-pre.dtsi | 8 +-- arch/powerpc/boot/dts/fsl/b4si-post.dtsi | 15 -- arch/powerpc/boot/dts/fsl/p2041si-post.dtsi| 18 --- arch/powerpc/boot/dts/fsl/p2

Re: [PATCH V2] QorIQ/TMU: add TMU node to device tree for QorIQ T104x

2015-06-10 Thread Scott Wood
On Wed, 2015-06-10 at 03:56 -0500, Jia Hongtao-B38951 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, June 10, 2015 1:47 AM > > To: Jia Hongtao-B38951 > > Cc: edubez...@gmail.com; linuxppc-...@lists.ozlabs.org; > > devicetree@vger.kernel.org; robh...@kernel.or

Re: [PATCH V2] QorIQ/TMU: add TMU node to device tree for QorIQ T104x

2015-06-09 Thread Scott Wood
On Mon, 2015-06-08 at 21:19 -0500, Jia Hongtao-B38951 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, May 27, 2015 3:38 AM > > To: Jia Hongtao-B38951 > > Cc: edubez...@gmail.com; linuxppc-...@lists.ozlabs.org; > > devicetree@vger.kernel.org; robh...@kernel.org

Re: [PATCH V2] QorIQ/TMU: add TMU node to device tree for QorIQ T104x

2015-05-26 Thread Scott Wood
On Tue, 2015-05-26 at 01:33 -0500, Jia Hongtao-B38951 wrote: > Hi Scott, > > Eduardo indicated that "calibration" property should add "fsl" > prefix. > I updated the patch. > Any other comments? > If not I will send V3 soon. > > Thanks. I'd go with "fsl,tmu-calibration" rather than "fsl,calibra

Re: [PATCH] powerpc/fsl: Add FMan best effort port compatible

2015-05-20 Thread Scott Wood
On Tue, 2015-05-19 at 04:27 -0500, Liberman Igal-B31950 wrote: > Hi Scott, > I understand your point, let me please explain more about the hardware > configuration and suggest another solution. > I'm referring only to external ports (TX/RX), not OP. > In FMan V3 we have maximum of 8 Port, it depen

Re: [v3] dt/bindings: qoriq-clock: Add binding for FMan clock mux

2015-05-01 Thread Scott Wood
On Thu, 2015-04-30 at 09:28 -0500, Liberman Igal-B31950 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Thursday, April 30, 2015 3:31 AM > > To: Liberman Igal-B31950 > > Cc: devicetree@vger.kernel.org; linuxppc-...@lists.ozlabs.org; Tang > > Yuantian-B29983 > > Subject:

Re: [v3] dt/bindings: qoriq-clock: Add binding for FMan clock mux

2015-04-20 Thread Scott Wood
On Mon, 2015-04-20 at 06:40 -0500, Liberman Igal-B31950 wrote: > > > Regards, > Igal Liberman. > > > -Original Message- > > From: Liberman Igal-B31950 > > Sent: Monday, April 20, 2015 2:07 PM > > To: Wood Scott-B07421 > > Cc: devicetree@vger.kernel.org; linuxppc-...@lists.ozlabs.org > >

Re: [PATCH] powerpc/dts: Move pll0/1-div4 index

2015-04-20 Thread Scott Wood
On Mon, 2015-04-20 at 06:10 -0500, Liberman Igal-B31950 wrote: > > > Regards, > Igal Liberman. > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Friday, April 17, 2015 8:42 AM > > To: Liberman Igal-B31950 > > Cc: devicetree@vger.kernel.org; linuxppc-...@lists.ozlabs.org > >

[PATCH 2/2] powerpc/mpc85xx: Add FSL QorIQ DPAA QMan support to device tree(s)

2015-04-17 Thread Scott Wood
From: Kumar Gala Signed-off-by: Kumar Gala Signed-off-by: Geoff Thorpe Signed-off-by: Hai-Ying Wang Signed-off-by: Chunhe Lan Signed-off-by: Poonam Aggrwal [Emil Medve: Sync with the upstream binding] Signed-off-by: Emil Medve [Scott Wood: s/fsl,qman-channel-id/cell-index] Signed-off-by

[PATCH 1/2] powerpc/qman: Change fsl,qman-channel-id to cell-index

2015-04-17 Thread Scott Wood
of the binding, so it's not too late to change the binding in order to keep compatibility with existing U-Boots. Signed-off-by: Scott Wood Cc: Madalin-Cristian Bucur --- Documentation/devicetree/bindings/soc/fsl/qman-portals.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [v3] dt/bindings: qoriq-clock: Add binding for FMan clock mux

2015-04-16 Thread Scott Wood
On Thu, 2015-04-16 at 01:11 -0500, Liberman Igal-B31950 wrote: > > > Regards, > Igal Liberman. > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, April 15, 2015 8:36 PM > > To: Liberman Igal-B31950 > > Cc: devicetree@vger.kernel.org; linuxppc-...@lists.ozlabs.org >

Re: [v2] dt/bindings: fsl/guts: Added global-utilities compatibles

2015-04-15 Thread Scott Wood
On Wed, 2015-04-15 at 03:43 -0500, Liberman Igal-B31950 wrote: > > > Regards, > Igal Liberman. > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Tuesday, April 14, 2015 11:09 PM > > To: Liberman Igal-B31950 > > Cc: devicetree@vger.kernel.org; linuxppc-...@lists.ozlabs.org >

Re: [PATCH] powerpc/dts: Update the core cluster PLL node(s)

2015-04-15 Thread Scott Wood
ger.kernel.org; linuxppc-...@lists.ozlabs.org > > Subject: Re: [PATCH] powerpc/dts: Update the core cluster PLL node(s) > > > > On Tue, 2015-04-14 at 15:21 -0500, Scott Wood wrote: > > > On Tue, 2015-04-14 at 12:55 +0300, Igal.Liberman wrote: > > > > From: Iga

Re: [v2] dt/bindings: qoriq-clock: Add binding for FMan clock mux

2015-04-13 Thread Scott Wood
On Sun, 2015-04-12 at 10:54 -0500, Liberman Igal-B31950 wrote: > > > Regards, > Igal Liberman. > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Thursday, April 09, 2015 8:03 PM > > To: Liberman Igal-B31950 > > Cc: devicetree@vger.kernel.org; linuxppc-...@lists.ozlabs.org >

Re: [PATCH] QorIQ/TMU: add TMU node to device tree for QorIQ T104x

2015-04-10 Thread Scott Wood
On Fri, 2015-04-10 at 01:23 -0500, Jia Hongtao-B38951 wrote: > > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Friday, April 10, 2015 11:56 AM > > To: Jia Hongtao-B38951 > > Cc: linuxppc-...@lists.ozlabs.org; devicetree@vger.kernel.org; > > robh...@kernel.org; rui.zh...@int

Re: [v2] dt/bindings: qoriq-clock: Add binding for FMan clock mux

2015-04-09 Thread Scott Wood
On Thu, 2015-04-09 at 02:18 -0500, Liberman Igal-B31950 wrote: > > > Regards, > Igal Liberman. > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Thursday, April 09, 2015 12:12 AM > > To: Liberman Igal-B31950 > > Cc: devicetree@vger.kernel.org; linuxppc-...@lists.ozlabs.org >

Re: [v8, 2/2] powerpc/mpc85xx: Add FSL QorIQ DPAA QMan support to device tree(s)

2015-04-02 Thread Scott Wood
On Tue, Mar 24, 2015 at 11:55:09AM -0500, Emil Medve wrote: > From: Kumar Gala > > Signed-off-by: Kumar Gala > Signed-off-by: Geoff Thorpe > Signed-off-by: Hai-Ying Wang > Signed-off-by: Chunhe Lan > Signed-off-by: Poonam Aggrwal > [Emil Medve: Sync with the upstream binding] > Signed-off-by

Re: [3/4] powerpc: support CPU hotplug for e500mc, e5500 and e6500

2015-04-02 Thread Scott Wood
On Thu, 2015-04-02 at 06:16 -0500, Zhao Chenhui-B35336 wrote: > > > From: Wood Scott-B07421 > Sent: Tuesday, March 31, 2015 10:07 > To: Zhao Chenhui-B35336 > Cc: linuxppc-...@lists.ozlabs.org; devicetree@vger.kernel.org; > linux-ker...@vger.kernel.org; Jin

Re: [2/4] powerpc/rcpm: add RCPM driver

2015-04-02 Thread Scott Wood
On Thu, 2015-04-02 at 05:33 -0500, Zhao Chenhui-B35336 wrote: > > +static int rcpm_v2_plat_enter_state(int state) > > +{ > > + u32 *pmcsr_reg = &rcpm_v2_regs->powmgtcsr; > > + int ret = 0; > > + int result; > > + > > + switch (state) { > > + case PLAT_PM_LPM20: > > +

Re: [4/4] powerpc/85xx: support sleep feature on QorIQ SoCs with RCPM

2015-03-30 Thread Scott Wood
On Thu, Mar 26, 2015 at 06:18:15PM +0800, chenhui zhao wrote: > In sleep mode, the clocks of e500 cores and unused IP blocks is > turned off. The IP blocks which are allowed to wake up the processor > are still running. > > The sleep mode is equal to the Standby state in Linux. Use the > command t

Re: [3/4] powerpc: support CPU hotplug for e500mc, e5500 and e6500

2015-03-30 Thread Scott Wood
On Thu, Mar 26, 2015 at 06:18:14PM +0800, chenhui zhao wrote: > Implemented CPU hotplug on e500mc, e5500 and e6500, and support > multiple threads mode and 64-bits mode. > > For e6500 with two threads, if one thread is online, it can > enable/disable the other thread in the same core. If two threa

Re: [2/4] powerpc/rcpm: add RCPM driver

2015-03-30 Thread Scott Wood
On Thu, Mar 26, 2015 at 06:18:13PM +0800, chenhui zhao wrote: > There is a RCPM (Run Control/Power Management) in Freescale QorIQ > series processors. The device performs tasks associated with device > run control and power management. > > The driver implements some features: mask/unmask irq, ente

Re: [1/4] powerpc/cache: add cache flush operation for various e500

2015-03-30 Thread Scott Wood
On Thu, Mar 26, 2015 at 06:18:12PM +0800, chenhui zhao wrote: > Various e500 core have different cache architecture, so they > need different cache flush operations. Therefore, add a callback > function cpu_flush_caches to the struct cpu_spec. The cache flush > operation for the specific kind of e5

Re: [PATCH 1/3] powerpc/mpc85xx: Add FMan clock nodes

2015-03-30 Thread Scott Wood
On Tue, 2015-03-24 at 03:26 -0500, Emil Medve wrote: > Hello Scott, > > > On 03/23/2015 06:30 PM, Scott Wood wrote: > > On Thu, 2015-02-26 at 09:26 -0600, Emil Medve wrote: > >> From: Igal Liberman > >> > >> Signed-off-by: Igal Liberman > >&

Re: [PATCH 1/3] powerpc/mpc85xx: Add FMan clock nodes

2015-03-23 Thread Scott Wood
On Thu, 2015-02-26 at 09:26 -0600, Emil Medve wrote: > From: Igal Liberman > > Signed-off-by: Igal Liberman > --- > arch/powerpc/boot/dts/fsl/b4si-post.dtsi| 11 +++ > arch/powerpc/boot/dts/fsl/p2041si-post.dtsi | 8 > arch/powerpc/boot/dts/fsl/p3041si-post.dtsi | 8 +

Re: [PATCH v6 1/2] powerpc/mpc85xx: Add FSL QorIQ DPAA BMan support to device tree(s)

2015-02-24 Thread Scott Wood
On Mon, 2015-02-02 at 00:53 -0600, Emil Medve wrote: > From: Kumar Gala > > Change-Id: If643fa5ba0a903aef8f5056a2c90ebecc995b760 Remove these. -Scott -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.org More majordomo i

Re: [v5, 5/6] powerpc/mpc85xx: Add FSL QorIQ DPAA BMan support to device tree(s)

2015-01-29 Thread Scott Wood
On Mon, Dec 08, 2014 at 04:29:20AM -0600, Emil Medve wrote: > From: Kumar Gala > > Change-Id: If643fa5ba0a903aef8f5056a2c90ebecc995b760 > Signed-off-by: Kumar Gala > Signed-off-by: Geoff Thorpe > Signed-off-by: Hai-Ying Wang > Signed-off-by: Chunhe Lan > Signed-off-by: Poonam Aggrwal > [Emil

Re: [PATCH][v4] power/fsl: add MDIO dt binding for FMan

2015-01-29 Thread Scott Wood
On Thu, 2015-01-29 at 20:38 -0600, Xie Shaohui-B21989 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Friday, January 30, 2015 8:54 AM > > To: shh@gmail.com > > Cc: linuxppc-...@lists.ozlabs.org; devicetree@vger.kernel.org; Medve > > Emilian-EMMEDVE1; Xie Shaohui-B21

Re: [PATCH][v4] power/fsl: add MDIO dt binding for FMan

2015-01-29 Thread Scott Wood
On Wed, 2015-01-28 at 19:54 +0800, shh@gmail.com wrote: > +- interrupts > + Usage: required > + Value type: > + Definition: Event interrupt of external MDIO controller. What if this MDIO controller is not "external"? Should Usage say "required for external

  1   2   3   >