Re: [PATCH V2 1/2] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-07-15 Thread Kumar Gala
On Jul 5, 2013, at 1:27 AM, wrote: > From: Hongbo Zhang > > Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch add > the device tree nodes for them. > > Signed-off-by: Hongbo Zhang > --- > arch/powerpc/boot/dts/fsl/elo3-dma-0.dtsi | 90 +++

Re: [PATCH V2 1/2] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-07-15 Thread Kumar Gala
On Jul 5, 2013, at 1:27 AM, wrote: > From: Hongbo Zhang > > Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch add > the device tree nodes for them. > > Signed-off-by: Hongbo Zhang > --- > arch/powerpc/boot/dts/fsl/elo3-dma-0.dtsi | 90 +++

Re: [PATCH] clk/mpc85xx: Update the compatible string

2013-05-30 Thread Kumar Gala
On May 30, 2013, at 2:21 PM, Mike Turquette wrote: > Quoting Mike Turquette (2013-05-30 11:57:32) >> Quoting yuantian.t...@freescale.com (2013-05-22 01:22:19) >>> From: Tang Yuantian >>> >>> The compatible string of clock is changed from *-2 to *-2.0 >>> on chassis 2. So updated it accordingly.

Re: [PATCHv1] crypto: caam - Added property fsl, sec-era in SEC4.0 device tree binding.

2013-02-12 Thread Kumar Gala
On Jan 23, 2013, at 1:21 AM, Vakul Garg wrote: > This new property defines the era of the particular SEC version. > The compatible property in device tree "crypto" node has been updated > not to contain SEC era numbers. > > Signed-off-by: Vakul Garg > --- > Changelog: > 1. Marked fsl,sec-

Re: [PATCH -next] powerpc/85xx: use for_each_compatible_node() macro

2013-02-12 Thread Kumar Gala
On Dec 3, 2012, at 7:36 AM, Wei Yongjun wrote: > From: Wei Yongjun > > Use for_each_compatible_node() macro instead of open coding it. > > Signed-off-by: Wei Yongjun > --- > arch/powerpc/platforms/85xx/mpc85xx_mds.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) applied to next -

Re: [PATCH] Revert "crypto: caam - Updated SEC-4.0 device tree binding for ERA information."

2012-12-12 Thread Kumar Gala
On Dec 7, 2012, at 2:57 AM, Vakul Garg wrote: > This reverts commit a2c0911c09190125f52c9941b9d187f601c2f7be. > > Signed-off-by: Vakul Garg > --- > Instead of adding SEC era information in crypto node's compatible, a new > property 'fsl,sec-era' is being introduced into crypto node. > > .../de

Re: [PATCH 1/2] powerpc/85xx: p1022ds: Use NULL instead of 0 for pointers

2012-11-25 Thread Kumar Gala
On Nov 19, 2012, at 10:31 PM, Tushar Behera wrote: > The third argument for of_get_property() is a pointer, hence pass > NULL instead of 0. > > Signed-off-by: Tushar Behera > --- > arch/powerpc/platforms/85xx/p1022_ds.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) applied to ne

Re: Deprecating reserve-map in favor of properties

2012-09-20 Thread Kumar Gala
On Sep 20, 2012, at 5:10 PM, Benjamin Herrenschmidt wrote: > Hi folks ! > > The reserve map is, imho, my biggest mistake when coming up with the FDT > format. > > The main problem is that it doesn't survive the transition via a real > Open Firmware interface. There is no practical way to indica

Re: [PATCH][v3] powerpc/85xx:Add BSC9131 RDB Support

2012-07-06 Thread Kumar Gala
On Mar 21, 2012, at 11:54 PM, Prabhakar Kushwaha wrote: > BSC9131RDB is a Freescale reference design board for BSC9131 SoC.The BSC9131 > is integrated SoC that targets Femto base station market. It combines Power > Architecture e500v2 and DSP StarCore SC3850 core technologies with MAPLE-B2F > bas

Re: [PATCH 2/2] powerpc/85xx: Add P1024rdb board support

2012-06-29 Thread Kumar Gala
On May 24, 2012, at 4:08 AM, wrote: > From: Tang Yuantian > > The p1024rdb has the similar feature as the p1020rdb. Therefore, p1024rdb use > the same platform file as the p1/p2 rdb board. > Overview of P2020RDB platform > - DDR3 1G > - NOR flash 16M > - 3 Ethernet interfac

Re: [PATCH 1/2] powerpc/85xx: Add P1024rdb dts support

2012-06-29 Thread Kumar Gala
On May 24, 2012, at 4:08 AM, wrote: > From: Tang Yuantian > > Signed-off-by: Jin Qing > Signed-off-by: Li Yang > Signed-off-by: Tang Yuantian > --- > arch/powerpc/boot/dts/p1024rdb.dtsi| 228 > arch/powerpc/boot/dts/p1024rdb_32b.dts | 87

Re: [RFC] powerpc/fsl-pci: Document the "fsl, has-isa" property for Freescale PCI

2012-04-04 Thread Kumar Gala
On Apr 1, 2012, at 1:56 AM, Jia Hongtao wrote: > If PCI is primary bus we should set isa_io/mem_base when parsing PCI bridge > resources from device tree. The previous way to check the primary bus based > on a hard-coded address named primary_phb_addr. Now we add a property named > "fsl,has-isa"

Re: [PATCH][v2] Device Tree Bindings for Freescale TDM controller

2012-03-21 Thread Kumar Gala
On Mar 19, 2012, at 8:02 PM, Poonam Aggrwal wrote: > This TDM controller is available in various Freescale SOCs like MPC8315, > P1020, > P1022, P1010. > > Signed-off-by: Sandeep Singh > Signed-off-by: Poonam Aggrwal > --- > Changes in v2: > - Incorporated Scott's Review comments > Docum

Re: [PATCH][v2] powerpc/85xx:Add BSC9131 RDB Support

2012-03-21 Thread Kumar Gala
On Mar 21, 2012, at 12:29 PM, Kushwaha Prabhakar-B32579 wrote: >> >> >> [snip] >> > > ?? > Not getting you.. Just meant, I was removing parts of the patch in the email to reduce things. > >>> diff --git a/arch/powerpc/platforms/85xx/bsc913x_rdb.c >>> b/arch/powerpc/platforms/85xx/bsc913x_r

Re: [PATCH][v2] powerpc/85xx:Add BSC9131 RDB Support

2012-03-21 Thread Kumar Gala
On Mar 17, 2012, at 3:39 AM, Prabhakar Kushwaha wrote: > BSC9131RDB is a Freescale reference design board for BSC9131 SoC.The BSC9131 > is > integrated SoC that targets Femto base station market. It combines Power > Architecture e500v2 and DSP StarCore SC3850 core technologies with MAPLE-B2F > b

issues calling of_platform_bus_probe() twice

2012-03-16 Thread Kumar Gala
Guys, Are you aware of any reason that we can't call of_platform_bus_probe() or multiple times. Timur's run into an issue in which all devices don't get registered properly if we call of_platform_bus_probe() times with different of_device_id struct's. - k _

Re: [PATCH] powerpc/85xx:Add BSC9131 RDB Support

2012-03-16 Thread Kumar Gala
> > > diff --git a/arch/powerpc/boot/dts/bsc9131rdb.dtsi > b/arch/powerpc/boot/dts/bsc9131rdb.dtsi > new file mode 100644 > index 000..d274c014 > --- /dev/null > +++ b/arch/powerpc/boot/dts/bsc9131rdb.dtsi > @@ -0,0 +1,179 @@ > +/* > + * BSC9131 RDB Device Tree Source stub (no addresses or t

Re: [PATCH] powerpc/85xx:Add usb controller version info

2012-03-16 Thread Kumar Gala
On Jan 17, 2012, at 11:40 PM, Ramneek Mehresh wrote: > Add usb controller version info for the following: > MPC8536, P1010, P1020, P1021, P1022, P1023, P2020, P2041, > P3041, P3060, P5020 > > Signed-off-by: Ramneek Mehresh > --- > Applies on git://git.kernel.org/pub/scm/linux/kernel/git/galak/p

Re: [PATCH] powerpc/85xx:Enable USB2 controller node for P1020RDB

2012-01-18 Thread Kumar Gala
On Jan 17, 2012, at 11:50 PM, Ramneek Mehresh wrote: > Enable USB2 controller node for P1020RDB. USB2 controller is used only > when board boots from SPI or SD as it is muxed with eLBC > > Signed-off-by: Ramneek Mehresh > --- > Applies on git://git.kernel.org/pub/scm/linux/kernel/git/galak/powe

Re: [PATCH] powerpc/85xx:Add dr_mode property in USB nodes

2012-01-18 Thread Kumar Gala
On Jan 18, 2012, at 12:48 AM, Ramneek Mehresh wrote: > Add usb2 controller node for P1020RDB, P2020RDB, P2020DS, P1021MDS > > Signed-off-by: Ramneek Mehresh > --- > Applies on git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git > (branch next) > > arch/powerpc/boot/dts/p1020rdb.dts

Re: [PATCH 12/15] arch/powerpc/sysdev/fsl_pci.c: add missing iounmap

2012-01-17 Thread Kumar Gala
On Jan 12, 2012, at 3:55 AM, Julia Lawall wrote: > From: Julia Lawall > > Add missing iounmap in error handling code, in a case where the function > already preforms iounmap on some other execution path. > > A simplified version of the semantic match that finds this problem is as > follows: (h

multiple drivers for same hardware

2012-01-13 Thread Kumar Gala
We have some scenarios in which we might have 2 different drivers (one in kernel or one user space as an example) and wanted to see how we'd convey in the device tree which driver should "claim" the specific device instance. >From glancing at the OF specs it seems we could utilize the precedence

Re: [PATCH] fsl/mpic: Document and use the "big-endian" device-tree flag

2012-01-05 Thread Kumar Gala
On Dec 22, 2011, at 10:25 AM, Kyle Moffett wrote: > The MPIC code checks for a "big-endian" property and sets the flag > MPIC_BIG_ENDIAN if one is present. Unfortunately, the PowerQUICC-III > compatible device-tree does not specify it, so all of the board ports > need to manually set that flag w

Re: TI OMAP device tree and DSPs?

2011-12-08 Thread Kumar Gala
On Dec 8, 2011, at 10:58 AM, Cousson, Benoit wrote: > On 12/8/2011 5:07 PM, Kumar Gala wrote: >> Seen a lot of ARM& TI OMAP discussions on this list. I was >> wondering if the DSPs on any devices that have ARM + DSP are >> represented in the device trees yet. >

TI OMAP device tree and DSPs?

2011-12-08 Thread Kumar Gala
Seen a lot of ARM & TI OMAP discussions on this list. I was wondering if the DSPs on any devices that have ARM + DSP are represented in the device trees yet. If so can someone point me at an example. thanks - k ___ devicetree-discuss mailing list dev

Re: dec behavior question

2011-10-25 Thread Kumar Gala
On Oct 25, 2011, at 6:36 PM, David Gibson wrote: > On Tue, Oct 25, 2011 at 08:41:55AM -0500, Kumar Gala wrote: >> >> On Oct 25, 2011, at 7:18 AM, Yoder Stuart-B08248 wrote: >> >>> >>> >>>> -Original Message- >>>>

Re: dec behavior question

2011-10-25 Thread Kumar Gala
alf Of >> David Gibson >> Sent: Monday, October 24, 2011 6:15 PM >> To: Kumar Gala >> Cc: devicetree-discuss >> Subject: Re: dec behavior question >> >> On Mon, Oct 24, 2011 at 09:01:49AM -0500, Kumar Gala wrote: >>> If I have something li

Re: dec behavior question

2011-10-25 Thread Kumar Gala
On Oct 24, 2011, at 6:15 PM, David Gibson wrote: > On Mon, Oct 24, 2011 at 09:01:49AM -0500, Kumar Gala wrote: >> If I have something like: >> >> --- >> spi.dtsi: >> >> &spi0 { >>#address-cells = <1

dec behavior question

2011-10-24 Thread Kumar Gala
If I have something like: --- spi.dtsi: &spi0 { #address-cells = <1>; #size-cells = <0>; compatible = "fsl,mpc8536-espi"; reg = <0x7000 0x1000>; interrupts = <59 0x2 0 0>; }; --- foo.d

Re: [RFC][PATCH 1/2] powerpc/85xx: create dts components to build up an SoC

2011-10-20 Thread Kumar Gala
On Oct 20, 2011, at 4:05 PM, Timur Tabi wrote: > Kumar Gala wrote: >>>> How about we put all serial devices into one pq3-duart.dtsi file, and >>>> let the parent dtsi file reference just the ones that it needs? >> there isn't an option to do that w/dt

Re: [RFC][PATCH 2/2] powerpc/85xx: Introduce a P1020 SoC device tree

2011-10-20 Thread Kumar Gala
On Oct 20, 2011, at 11:28 AM, Tabi Timur-B04825 wrote: > On Thu, Oct 20, 2011 at 2:24 AM, Kumar Gala wrote: >> >> arch/powerpc/boot/dts/p1020soc.dtsi | 262 >> +++ > > All of the other dtsi files are of the format "___si

Re: [RFC][PATCH 1/2] powerpc/85xx: create dts components to build up an SoC

2011-10-20 Thread Kumar Gala
On Oct 20, 2011, at 11:42 AM, Tabi Timur-B04825 wrote: > Ok, your other patch makes more sense now. > > On Thu, Oct 20, 2011 at 2:24 AM, Kumar Gala wrote: > >> +++ b/arch/powerpc/boot/dts/fsl/pq3-duart-0.dtsi >> @@ -0,0 +1,8 @@ >> +&se

[RFC][PATCH 2/2] powerpc/85xx: Introduce a P1020 SoC device tree

2011-10-20 Thread Kumar Gala
Create a P1020 SoC dts stub that can be included by a board that utilizes the P1020 SoC. The board can amend any board specific configuration or paramaters (like locaation of CCSRBAR, PCIe controllers, I2C components, ethernet PHY information, etc.) Signed-off-by: Kumar Gala --- arch/powerpc

[RFC][PATCH 1/2] powerpc/85xx: create dts components to build up an SoC

2011-10-20 Thread Kumar Gala
Introduce some common components that we can utilize to build up the various PQ3/85xx device trees. Signed-off-by: Kumar Gala --- arch/powerpc/boot/dts/fsl/pq3-dma-0.dtsi| 32 +++ arch/powerpc/boot/dts/fsl/pq3-duart-0.dtsi |8 ++ arch/powerpc/boot/dts/fsl

Re: [PATCH v2 0/3] netdev/of/phy: MDIO bus multiplexer support.

2011-10-17 Thread Kumar Gala
On Sep 29, 2011, at 7:32 PM, Grant Likely wrote: > On Thu, Sep 29, 2011 at 04:31:12PM -0400, David Miller wrote: >> From: David Daney >> Date: Tue, 27 Sep 2011 16:26:52 -0700 >> >>> v2: Update bindings to use "reg" and "mdio-parent-bus" insutead of >>>"cell-index" and "parent-bus" >> >> Gr

Re: [PATCH] [v3] powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards

2011-10-11 Thread Kumar Gala
On Sep 15, 2011, at 1:04 PM, Timur Tabi wrote: > Standarize and document the FPGA nodes used on Freescale QorIQ reference > boards. There are different kinds of FPGAs used on the boards, but > only two are currently standard: "pixis", "ngpixis", and "qixis". Although > there are minor differenc

Re: [PATCH] [v2] powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards

2011-09-15 Thread Kumar Gala
On Sep 15, 2011, at 12:51 PM, Timur Tabi wrote: > Gala Kumar-B11780 wrote: >> I pulling the p3060qds bit out so drop that change from next patch. >> > > Ok, I'm thinking it should look like this: > > compatible = "fsl,p3060qds-fpga", "fsl,fpga-qixis"; Right, I pulled those bits out of y

Re: [PATCH] [v2] powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards

2011-09-15 Thread Kumar Gala
On Sep 14, 2011, at 4:42 PM, Timur Tabi wrote: > Standarize and document the FPGA nodes used on Freescale QorIQ reference > boards. There are different kinds of FPGAs used on the boards, but > only two are currently standard: "pixis" and "qixis". Although there are > minor differences among the

Re: [PATCH 2/3] netdev/of/phy: Add MDIO bus multiplexer support.

2011-09-14 Thread Kumar Gala
On Sep 13, 2011, at 6:23 PM, David Daney wrote: > On 09/13/2011 04:07 PM, Kumar Gala wrote: >> >>> diff --git a/Documentation/devicetree/bindings/net/mdio-mux.txt >>> b/Documentation/devicetree/bindings/net/mdio-mux.txt >>> new file mode 100644 >>

Re: [PATCH 2/3] netdev/of/phy: Add MDIO bus multiplexer support.

2011-09-13 Thread Kumar Gala
> diff --git a/Documentation/devicetree/bindings/net/mdio-mux.txt > b/Documentation/devicetree/bindings/net/mdio-mux.txt > new file mode 100644 > index 000..a908312 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/mdio-mux.txt > @@ -0,0 +1,132 @@ > +Common MDIO bus multiplexer/sw

diff-ing two device tree

2011-09-08 Thread Kumar Gala
Do we have a utility that can diff two device trees. What I'm looking for is something that has some context awareness. It can deal with (p)handle values being different, properties in a node in different order, etc. thanks - k ___ devicetree-discus

[PATCH v2] powerpc/85xx: Adding DCSR node to dtsi device trees

2011-09-02 Thread Kumar Gala
From: Stephen George Adding new device tree binding file for the DCSR node. Modifying device tree dtsi files to add DCSR node for P2041, P3041, P3060, P4080, & P5020. Signed-off-by: Stephen George Signed-off-by: Kumar Gala --- v2: * include dscr.txt binding spec * moved around dcsr node

[PATCH 4/4] powerpc/85xx: Adding DCSR node to dtsi device trees

2011-09-01 Thread Kumar Gala
From: Stephen George Adding new device tree binding file for the DCSR node. Modifying device tree dtsi files to add DCSR node for P2041, P3041, P3060, P4080, & P5020. Signed-off-by: Stephen George Signed-off-by: Kumar Gala --- arch/powerpc/boot/dts/p2041rdb.dts |4 ++ arch/powerpc/

Re: [PATCH] powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards

2011-08-30 Thread Kumar Gala
On Aug 30, 2011, at 10:01 PM, Tabi Timur-B04825 wrote: > Kumar Gala wrote: >> >> On Aug 30, 2011, at 9:51 PM, Tabi Timur-B04825 wrote: >> >>> Kumar Gala wrote: >>>> Do we really want the generic "fsl,fpga-cpld"& "fsl,fpga-p

Re: [PATCH] powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards

2011-08-30 Thread Kumar Gala
On Aug 30, 2011, at 9:51 PM, Tabi Timur-B04825 wrote: > Kumar Gala wrote: >> Do we really want the generic "fsl,fpga-cpld"& "fsl,fpga-pixis"? This >> seems to vague. > > Yes, the PIXIS is generally register compatible across all boards. There

Re: [PATCH] powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards

2011-08-30 Thread Kumar Gala
On Aug 29, 2011, at 2:09 PM, Timur Tabi wrote: > Standarize and document the FPGA nodes used on Freescale QorIQ reference > boards. There are three kinds of FPGAs used on the boards: pixis, qixis, and > cpld. Although their are minor differences among the boards that have one > kind of FPGA, mo

Re: [PATCH v11 5/6] flexcan: Prefer device tree clock frequency if available.

2011-08-11 Thread Kumar Gala
platform/mach code for the clock frequency associated >> with the flexcan device. > > nitpicking follows inline: > >> Signed-off-by: Robin Holt >> To: Kumar Gala >> To: Wolfgang Grandegger , >> To: Marc Kleine-Budde , >> To: U Bhaskar-B22300 >>

Re: [PATCH 5/5] [powerpc] Fix up fsl-flexcan device tree binding.

2011-08-10 Thread Kumar Gala
On Aug 9, 2011, at 3:59 PM, Robin Holt wrote: > I guess my poor wording may have gotten me in trouble. I am getting > ready to repost this patch, but I want to ensure I am getting it as > right as possible. > > I think I should reword the commit message to indicate we are removing > the Documen

Re: [PATCH v2] of/address: Add of_iomap_nocache

2011-08-04 Thread Kumar Gala
On Aug 4, 2011, at 5:36 AM, David Brown wrote: > Add uncached mappings from devicetree nodes similar to regular io > mappings. > > SPARC is coherent, so there this call is the same as regular of_iomap. > > Cc: David Miller > Signed-off-by: David Brown > --- > v2 - Add implementation for SPARC

Re: [PATCH] powerpc/85xx:DTS: Fix tbi node location for Px020RDB

2011-06-23 Thread Kumar Gala
On Jun 23, 2011, at 2:24 AM, Aggrwal Poonam-B10812 wrote: > > >> -Original Message- >> From: linuxppc-dev-bounces+poonam.aggrwal=freescale@lists.ozlabs.org >> [mailto:linuxppc-dev- >> bounces+poonam.aggrwal=freescale@lists.ozlabs.org] On B

putting aliases in .dtsi?

2011-06-22 Thread Kumar Gala
Grant Any reason you haven't put in aliases into the .dtsi as well? - k ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

Re: [PATCH] powerpc/85xx:DTS: Fix tbi node location for Px020RDB

2011-06-22 Thread Kumar Gala
On Jun 7, 2011, at 9:49 PM, Prabhakar Kushwaha wrote: > ten-bit interface (TBI) module is part of SoC not board. > > Move tbi entries from board related dts files to Si dts. > > Signed-off-by: Prabhakar Kushwaha > --- > Based upon http://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.gi

Re: PCI EDAC on MPC85xx

2011-05-31 Thread Kumar Gala
On May 31, 2011, at 8:17 AM, Dmitry Eremin-Solenikov wrote: > Hello, > > Long time ago (around July of 2010), I've reported a problem of binding > pci error reporting driver to the hardware (See > http://thread.gmane.org/gmane.linux.kernel.edac/181). Grant Likely has > come with a patch to creat

Re: [linuxppc-dev] [PATCH][upstream] powerpc:Integrated Flash controller device tree bindings

2011-05-19 Thread Kumar Gala
On May 19, 2011, at 1:38 AM, Dipen Dudhat wrote: > Signed-off-by: Dipen Dudhat > Acked-By: Scott Wood > --- > Based upon > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git (branch > -> master) > .../devicetree/bindings/powerpc/fsl/ifc.txt| 76

Re: [PATCH][v2] powerpc/85xx: P1020 DTS : re-organize dts files

2011-05-19 Thread Kumar Gala
On Apr 7, 2011, at 4:10 AM, Prabhakar Kushwaha wrote: > Creates P1020si.dtsi, containing information for the P1020 SoC. Modifies dts > files for P1020 based systems to use dtsi file > > Signed-off-by: Prabhakar Kushwaha > Acked-by: Kumar Gala > --- > Based upon > git:

Re: [PATCH] powerpc/85xx:Create dts of each core in CAMP mode for P1020RDB

2011-05-18 Thread Kumar Gala
On Apr 28, 2011, at 2:00 AM, Prabhakar Kushwaha wrote: > Create the dts files for each core and splits the devices between the two > cores > for P1020RDB. > > Core0 has core0 to have memory, l2, i2c, spi, gpio, tdm, dma, usb, eth1, eth2, > sdhc, crypto, global-util, message, pci0, pci1, msi. >

Re: [PATCH] powerpc/85xx:DTS: Fix PCIe IDSEL for Px020RDB

2011-05-18 Thread Kumar Gala
On Apr 19, 2011, at 11:12 PM, Prabhakar Kushwaha wrote: > PCIe device in legacy mode can trigger interrupts using the wires #INTA, #INTB > ,#INTC and #INTD. PCI devices are obligated to use #INTx for interrupts under > legacy mode. Each PCI slot or device is typically wired to different inputs

Re: [PATCH] powerpc/85xx: P2020 DTS: re-organize dts files

2011-05-18 Thread Kumar Gala
On Apr 8, 2011, at 7:27 AM, Prabhakar Kushwaha wrote: > Creates P2020si.dtsi, containing information for P2020 SoC. Modifies dts files > for P2020 based systems to use dtsi file. > > Signed-off-by: Prabhakar Kushwaha > --- > Based upon > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/l

Re: [PATCH][upstream] powerpc: Adding bindings for flexcan controller

2011-05-18 Thread Kumar Gala
On Apr 19, 2011, at 8:58 AM, Bhaskar Upadhaya wrote: > From: Bhaskar Upadhaya > > Signed-off-by: Bhaskar Upadhaya > Acked-By: Scott Wood > --- > Based upon > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git (branch > -> master) > > .../devicetree/bindings/net/can/fsl-fl

Re: [PATCH 4/4] powerpc/mpic: add the mpic global timer support

2011-05-18 Thread Kumar Gala
On Mar 24, 2011, at 4:43 PM, Scott Wood wrote: > Add support for MPIC timers as requestable interrupt sources. > > Based on http://patchwork.ozlabs.org/patch/20941/ by Dave Liu. > > Signed-off-by: Dave Liu > Signed-off-by: Scott Wood > --- > arch/powerpc/include/asm/mpic.h |3 +- > arch/po

Re: [PATCH 3/4] powerpc/mpic: parse 4-cell intspec types other than zero

2011-05-18 Thread Kumar Gala
On Mar 24, 2011, at 4:43 PM, Scott Wood wrote: > Signed-off-by: Scott Wood > --- > arch/powerpc/include/asm/mpic.h |2 ++ > arch/powerpc/sysdev/mpic.c | 37 - > 2 files changed, 38 insertions(+), 1 deletions(-) applied to next - k __

Re: [PATCH 2/4] powerpc/p1022ds: fix broken mpic timer node

2011-05-18 Thread Kumar Gala
On Mar 24, 2011, at 4:43 PM, Scott Wood wrote: > There is no hardware interrupt 0xf7. But now we can express the timer > interrupt using 4-cell interrupts. This requires converting all of the > other interrupt specifiers in the tree as well. > > Also add the second timer group, and fix the reg

Re: [PATCH 1/4] powerpc: Add fsl mpic timer binding

2011-05-18 Thread Kumar Gala
On Mar 24, 2011, at 4:43 PM, Scott Wood wrote: > Update the existing example in the general mpic binding to have a > separate TCRx region. Currently the example doesn't describe TCRx at > all. The one upstream device tree with an mpic timer node (p1022ds) > uses one large reg region to describe

Re: checking status semantics with compatible functions

2011-03-30 Thread Kumar Gala
[Adding proper lists on CC] - k On Mar 30, 2011, at 3:07 AM, Kumar Gala wrote: > Grant, > > We have a few helper functions like: > > drivers/of/base.c:EXPORT_SYMBOL(of_device_is_compatible); > drivers/of/base.c:EXPORT_SYMBOL(of_find_compatible_node); > > That we

checking status semantics with compatible functions

2011-03-30 Thread Kumar Gala
Grant, We have a few helper functions like: drivers/of/base.c:EXPORT_SYMBOL(of_device_is_compatible); drivers/of/base.c:EXPORT_SYMBOL(of_find_compatible_node); That we use in places like arch/powerpc/platform/85xx/mpc85xx_ds.c: for_each_node_by_type(np, "pci") { if (of_d

Re: [PATCH] powerpc: sysdev: fix signedness bug

2011-03-15 Thread Kumar Gala
On Oct 17, 2010, at 9:51 AM, Vasiliy Kulikov wrote: > sram_params.sram_size and sram_params.sram_offset were unsigned. > If get_cache_sram_size() or get_cache_sram_offset() returns error code > then it is not seen to the caller. Made sram_size and sram_offset signed. > > Signed-off-by: Vasiliy

Re: [PATCH] powerpc/fsl_msi: Handle msi-available-ranges better

2011-03-15 Thread Kumar Gala
On Jan 17, 2011, at 2:25 PM, Scott Wood wrote: > Now handles multiple ranges, doesn't make assumptions about interrupt > specifier format, and doesn't claim interrupts that don't correspond to an > available range. > > Also has some better error checking. > > The device tree binding is updated

Re: [PATCH][v2] define binding for fsl mpic interrupt controllers

2011-03-15 Thread Kumar Gala
On Jan 19, 2011, at 4:30 PM, Stuart yoder wrote: > From: Stuart Yoder > > define the binding for compatible = "fsl,mpic", including > the definition of 4-cell interrupt specifiers. The > 3rd and 4th cells are needed to define additional > types of interrupt source outside the "normal" > extern

Re: [PATCH 1/4] drivers/serial/ucc_uart.c: Add of_node_put to avoid memory leak

2011-03-15 Thread Kumar Gala
On Aug 31, 2010, at 10:48 AM, Julia Lawall wrote: > Add a call to of_node_put in the error handling code following a call to > of_find_compatible_node or of_find_node_by_type. > > This patch also substantially reorganizes the error handling code in the > function, to that it is possible first to

Re: [PATCH v2 0/3] powerpc: Open PIC binding and 'no-reset' implementation

2011-02-03 Thread Kumar Gala
On Feb 2, 2011, at 7:51 PM, Meador Inge wrote: > This patch set provides a binding for Open PIC and implements support for > a new property, specified by that binding, called 'no-reset'. With 'no-reset' > in place the 'protected-sources' property is no longer needed and was removed. > > Signed-

Re: [PATCH 0/3] Add fdt_unflatten_tree

2010-11-17 Thread Kumar Gala
On Nov 17, 2010, at 1:15 PM, Stephen Neuendorffer wrote: > Currently, fdt blobs are handled solely at boot time. However, > it may be useful to parse blobs into device trees after boot time. For > instance, a PCIe device may have an FPGA which includes a device > tree. This set of patche

Re: [PATCH 5/7] arch/powerpc/sysdev/qe_lib/qe.c: Add of_node_put to avoid memory leak

2010-08-31 Thread Kumar Gala
On Aug 29, 2010, at 4:52 AM, Julia Lawall wrote: > Add a call to of_node_put in the error handling code following a call to > of_find_compatible_node. > > The semantic match that finds this problem is as follows: > (http://coccinelle.lip6.fr/) > > // > @r exists@ > local idexpression x; > expr

Re: [PATCH] arch/powerpc/platforms/83xx/mpc837x_mds.c: Add missing iounmap

2010-08-31 Thread Kumar Gala
On Aug 29, 2010, at 2:47 PM, Julia Lawall wrote: > The function of_iomap returns the result of calling ioremap, so iounmap > should be called on the result in the error handling code, as done in the > normal exit of the function. > > The sematic match that finds this problem is as follows: > (ht

Re: standard property to convey device dma address width?

2010-08-17 Thread Kumar Gala
On Aug 17, 2010, at 4:03 PM, Scott Wood wrote: > On Tue, 17 Aug 2010 15:55:04 -0500 > Kumar Gala wrote: > >> As I said to Stuart. On the Freescale SOCs we have different device >> blocks w/varying dma address capabilities. Some are limited to 32-bits >> some ar

Re: standard property to convey device dma address width?

2010-08-17 Thread Kumar Gala
On Aug 16, 2010, at 3:17 PM, Mitch Bradley wrote: > Kumar Gala wrote: >> Do we or should we have a standard property to convey that address width a >> device is capable of? >> > > What is the context? When Open Firmware was first developed, the only bus >

Re: standard property to convey device dma address width?

2010-08-17 Thread Kumar Gala
On Aug 17, 2010, at 3:50 PM, Yoder Stuart-B08248 wrote: > > >> -Original Message----- >> From: Kumar Gala [mailto:ga...@kernel.crashing.org] >> Sent: Monday, August 16, 2010 11:02 AM >> To: devicetree-discuss >> Cc: Yoder Stuart-B08248 >> Subje

standard property to convey device dma address width?

2010-08-16 Thread Kumar Gala
Do we or should we have a standard property to convey that address width a device is capable of? - k ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

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

2010-05-03 Thread Kumar Gala
On May 3, 2010, at 1:26 AM, Richard Cochran wrote: > On Sat, May 01, 2010 at 11:36:12AM -0500, Kumar Gala wrote: >> Is there a binding document that describes this node you are adding? > > No, but I will add one to Documentation/powerpc/dts-bindings. Please do so we can rev

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

2010-05-01 Thread Kumar Gala
On Apr 29, 2010, at 4:20 AM, Richard Cochran wrote: > The eTSEC includes a PTP clock with quite a few features. This patch adds > support for the basic clock adjustment functions. > > Signed-off-by: Richard Cochran > --- > arch/powerpc/boot/dts/mpc8313erdb.dts | 14 ++ > arch/powerpc/boot/dts/

Re: Proposal to move PCI out of arch/powerpc and into drivers/of

2010-02-26 Thread Kumar Gala
On Feb 26, 2010, at 5:07 PM, John Linn wrote: > Hi all, > > We are in the process of putting PCI/PCIe into the microblaze > architecture. > > In order to not duplicate/fork the PCI code in Powerpc, we're proposing > to move the PCI code from arch/powerpc into drivers/of such that it > would b

Re: [RFC PATCH 2/5] mcu_mpc8349emitx: port to new of gpio interface

2009-12-09 Thread Kumar Gala
On Nov 17, 2009, at 9:42 AM, Dmitry Eremin-Solenikov wrote: > Signed-off-by: Dmitry Eremin-Solenikov > --- > arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c | 11 +-- > 1 files changed, 5 insertions(+), 6 deletions(-) Minding reviewing for me. - k > > diff --git a/arch/powerpc/platfo

Re: ARM clock API to PowerPC

2009-08-12 Thread Kumar Gala
On Aug 12, 2009, at 6:19 AM, Josh Boyer wrote: On Wed, Aug 12, 2009 at 05:57:05PM +1000, Benjamin Herrenschmidt wrote: Hi folks ! (Russell, let us know if you want to dropped from the CC list, but I felt you may have some useful input to provide here). So I think it would be valuable to pro