Allocate one bit in the available extra cell to indicate if the gpio
should be considered logically inverted.
Signed-off-by: Olof Johansson
---
.../devicetree/bindings/gpio/gpio_nvidia.txt |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Documentation/devicetree/b
On Thu, Jul 14, 2011 at 08:54:07PM -0600, Grant Likely wrote:
> On Thu, Jul 14, 2011 at 11:52:37PM +0800, Shawn Guo wrote:
> > It adds device tree probe support for mtd_dataflash driver.
> >
> > Signed-off-by: Shawn Guo
> > Cc: Grant Likely
> > Cc: David Woodhouse
> > Cc: Artem Bityutskiy
> >
On Thu, Jul 14, 2011 at 09:52:02PM +0400, Dmitry Eremin-Solenikov wrote:
> On Thu, Jul 14, 2011 at 11:52:37PM +0800, Shawn Guo wrote:
> > It adds device tree probe support for mtd_dataflash driver.
> >
> > Signed-off-by: Shawn Guo
> > Cc: Grant Likely
> > Cc: David Woodhouse
> > Cc: Artem Bityu
On Fri, Jul 15, 2011 at 12:39:58AM +0800, Shawn Guo wrote:
> Hi Grant,
>
> I'm running into some problem when using of_find_matching_node().
> Here is the pseudo code.
>
> void foo(struct platform_device *pdev)
> {
> struct device_node *from = pdev->dev.parent->of_node;
> struct devic
On Fri, Jul 15, 2011 at 12:14:17AM +0800, Shawn Guo wrote:
> It adds device tree probe support for imx-sdma driver.
>
> Signed-off-by: Shawn Guo
> Cc: Grant Likely
> Cc: Vinod Koul
> Cc: Sascha Hauer
> ---
> .../devicetree/bindings/dma/fsl-imx-sdma.txt | 55
>
>
On Fri, Jul 15, 2011 at 12:14:16AM +0800, Shawn Guo wrote:
> It might be not good to use software defined version to identify sdma
> device type, when hardware does not define such version. Instead,
> soc name is stable enough to define the device type.
>
> The patch uses platform_device_id rathe
On Fri, Jul 15, 2011 at 12:03:44AM +0800, Shawn Guo wrote:
> The init/exit hooks in platform data are being used nowhere, so can
> be removed.
>
> Signed-off-by: Shawn Guo
> Cc: Darius Augulis
> Cc: Ben Dooks
Acked-by: Grant Likely
Yes, I think this is the think to do. Notifiers provide a g
On Fri, Jul 15, 2011 at 12:03:45AM +0800, Shawn Guo wrote:
> It adds device tree probe support for i2c-imx driver.
>
> Signed-off-by: Shawn Guo
> Cc: Grant Likely
> Cc: Darius Augulis
> Cc: Ben Dooks
> ---
> .../devicetree/bindings/i2c/fsl-imx-i2c.txt| 25
>
>
On Thu, Jul 14, 2011 at 11:52:37PM +0800, Shawn Guo wrote:
> It adds device tree probe support for mtd_dataflash driver.
>
> Signed-off-by: Shawn Guo
> Cc: Grant Likely
> Cc: David Woodhouse
> Cc: Artem Bityutskiy
> ---
> Changes since v1:
> * Add "atmel,at45xxx" into the match table
> * Add
On Thu, Jul 14, 2011 at 09:52:02PM +0400, Dmitry Eremin-Solenikov wrote:
> On Thu, Jul 14, 2011 at 11:52:37PM +0800, Shawn Guo wrote:
> > It adds device tree probe support for mtd_dataflash driver.
> >
> > Signed-off-by: Shawn Guo
> > Cc: Grant Likely
> > Cc: David Woodhouse
> > Cc: Artem Bityu
On Wed, Jul 13, 2011 at 07:53:24PM -0700, John Bonesio wrote:
> This patch adds the ability to set the device id in the AUXDATA structure for
> those few device drivers that just have to have a statically defined device
> id.
> ---
>
> drivers/of/platform.c |7 +++
> include/linux/
On Sun, Jul 10, 2011 at 01:16:41AM +0800, Shawn Guo wrote:
> It adds device tree probe support for spi-imx driver.
>
> Signed-off-by: Shawn Guo
> Cc: Grant Likely
Applied, thanks.
g.
> ---
> .../devicetree/bindings/spi/fsl-imx-cspi.txt | 22 +++
> drivers/spi/spi-imx.c
On Sun, Jul 10, 2011 at 01:16:37AM +0800, Shawn Guo wrote:
> It's confusing to use spi_imx2_3 to name SPI_IMX_VER_2_3 function
> and macro, as it easily make people think of imx2 and imx3. It's
> better to use specific soc name just like what other SPI_IMX_VER
> do. For SPI_IMX_VER_2_3 case, it w
On Mon, Jul 11, 2011 at 09:35:23AM +0200, Uwe Kleine-König wrote:
> On Sun, Jul 10, 2011 at 01:16:36AM +0800, Shawn Guo wrote:
> > SPI_IMX_VER_0_0 covers i.mx21 and i.mx27. It makes more sense to
> > use mx21 rather than mx27 to name SPI_IMX_VER_0_0 function and
> > macro, since i.mx21 comes out e
On Sun, Jul 10, 2011 at 01:16:39AM +0800, Shawn Guo wrote:
> Software defined version number is not stable enough to be used
> in device type naming scheme. The patch changes it to use implicit
> soc name for spi device type definition. In this way, we can easily
> align the naming scheme with de
On Sun, Jul 10, 2011 at 01:16:35AM +0800, Shawn Guo wrote:
> spi_imx_devtype_data has already been driver private data. There is
> really no need to make a copy in spi_imx_data. Instead, a reference
> pointer works perfectly fine.
>
> Signed-off-by: Shawn Guo
> Cc: Uwe Kleine-König
> Cc: Sasch
On Wed, May 25, 2011 at 01:27:15PM +0200, Michal Simek wrote:
> Hi,
>
> I would like to check with you proper device tree FSL description
> for Microblaze (PPC can use FSL through IP connected to the bus).
>
> Microblaze supports FSL buses to connect coprocessors or hw
> accelerators directly to
On Sat, Jun 25, 2011 at 02:04:32AM +0800, Shawn Guo wrote:
> The patch adds function of_alias_scan to populate a global lookup
> table with the properties of 'aliases' node and function
> of_alias_get_id for drivers to find alias id from the lookup table.
>
> Signed-off-by: Shawn Guo
> Cc: Grant
On Thursday, July 14, 2011, Stephen Warren wrote:
> From: John Bonesio
>
> This patch was intended to be part of 7ca2d1a105a239e300b937e9c41a10a4bd08f569
> "i2c: Tegra: Add DeviceTree support". However, an early version of that patch,
> which was missing a chunk, was applied to next-i2c. This cha
From: John Bonesio
This patch was intended to be part of 7ca2d1a105a239e300b937e9c41a10a4bd08f569
"i2c: Tegra: Add DeviceTree support". However, an early version of that patch,
which was missing a chunk, was applied to next-i2c. This change is that
missing chunk.
Signed-off-by: John Bonesio
Sig
Grant Likely wrote at Wednesday, July 13, 2011 5:34 PM:
> On Thu, Jul 14, 2011 at 2:59 AM, Stephen Warren wrote:
...
> > I don't believe anyone ever sent a patch to Ben to add tegra_i2c_of_match
> > to the driver; the OF support patch didn't include that part of the code.
> > As such, Ben can't ye
On Thu, Jul 14, 2011 at 11:52:37PM +0800, Shawn Guo wrote:
> It adds device tree probe support for mtd_dataflash driver.
>
> Signed-off-by: Shawn Guo
> Cc: Grant Likely
> Cc: David Woodhouse
> Cc: Artem Bityutskiy
> ---
> Changes since v1:
> * Add "atmel,at45xxx" into the match table
> * Add
shouldnt there be #ifdef's around this ? not everyone supports devicetrees.
-mike
___
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss
Hi Grant,
I'm running into some problem when using of_find_matching_node().
Here is the pseudo code.
void foo(struct platform_device *pdev)
{
struct device_node *from = pdev->dev.parent->of_node;
struct device_node *np;
np = of_find_matching_node(from, matches); /* matche
It might be not good to use software defined version to identify sdma
device type, when hardware does not define such version. Instead,
soc name is stable enough to define the device type.
The patch uses platform_device_id rather than version number passed
by platform data to identify sdma device
It adds device tree probe support for imx-sdma driver.
Signed-off-by: Shawn Guo
Cc: Grant Likely
Cc: Vinod Koul
Cc: Sascha Hauer
---
.../devicetree/bindings/dma/fsl-imx-sdma.txt | 55
drivers/dma/imx-sdma.c | 29 +-
2 files ch
The first patch remove the use of software defined sdma version, and
instead uses platform_device_id to handle the sdma differences from
one soc to another. And the second one adds the actual device tree
probe support.
Shawn Guo (2):
dmaengine: imx-sdma: use platform_device_id to identify s
It adds device tree probe support for i2c-imx driver.
Signed-off-by: Shawn Guo
Cc: Grant Likely
Cc: Darius Augulis
Cc: Ben Dooks
---
.../devicetree/bindings/i2c/fsl-imx-i2c.txt| 25
drivers/i2c/busses/i2c-imx.c | 25 +++
2
The init/exit hooks in platform data are being used nowhere, so can
be removed.
Signed-off-by: Shawn Guo
Cc: Darius Augulis
Cc: Ben Dooks
---
arch/arm/plat-mxc/include/mach/i2c.h |4
drivers/i2c/busses/i2c-imx.c | 21 +++--
2 files changed, 3 insertions(+), 2
The first patch removes unused init/exit hooks from platform data,
and the second one actually adds the actual device tree probe support.
Shawn Guo (2):
i2c/imx: remove init/exit hooks from platform data
i2c/imx: add device tree probe support
.../devicetree/bindings/i2c/fsl-imx-i2c.t
It adds device tree probe support for mtd_dataflash driver.
Signed-off-by: Shawn Guo
Cc: Grant Likely
Cc: David Woodhouse
Cc: Artem Bityutskiy
---
Changes since v1:
* Add "atmel,at45xxx" into the match table
* Add binding document
.../devicetree/bindings/mtd/atmel-dataflash.txt| 14 +
As noted by Grant Likely , omap2+ Makefile
unnecessarily
repeats entries for common device init code instead of using Kconfig symbol.
Remove references to hsmmc.o and board-flash.o. Also omap_phy_internal.o
references can be removed once it has some Kconfig symbol to use.
Signed-off-by: Tony Lin
32 matches
Mail list logo