Re: [PATCH v2] pps-gpio: add device-tree binding and support

2013-06-03 Thread Andrew Morton
On Sat, 1 Jun 2013 12:44:09 +0200 Jan Luebbe wrote: > Instead of allocating a struct pps_gpio_platform_data in the DT case, store > the necessary information in struct pps_gpio_device_data itself. This avoids > an additional allocation and the ifdef. It also gets rid of some indirection. > > Al

Re: [PATCH V2] video: implement a simple framebuffer driver

2013-05-07 Thread Andrew Morton
nd Bergmann Cc: Olof Johansson Cc: Rob Clark Cc: Florian Tobias Schandinat Cc: Tomasz Figa Cc: Laurent Pinchart Signed-off-by: Andrew Morton --- Documentation/devicetree/bindings/video/simple-framebuffer.txt | 25 + drivers/video/Kconfig

Re: [PATCH V2] video: implement a simple framebuffer driver

2013-04-08 Thread Andrew Morton
On Wed, 3 Apr 2013 20:39:43 -0600 Stephen Warren wrote: > A simple frame-buffer describes a raw memory region that may be rendered > to, with the assumption that the display hardware has already been set > up to scan out from that buffer. > > This is useful in cases where a bootloader exists an

Re: [PATCH v9 RESEND 4/4] ARM: dts: add sram for imx53 and imx6q

2013-03-27 Thread Andrew Morton
On Wed, 20 Mar 2013 11:52:47 +0100 Philipp Zabel wrote: > Signed-off-by: Philipp Zabel > Reviewed-by: Shawn Guo > Acked-by: Grant Likely > --- > Changes since v8: > - Changed device tree compatible string to "mmio-sram" > --- > arch/arm/boot/dts/imx53.dtsi |5 + > arch/arm/boot/dts/i

Re: [PATCH v9 RESEND 2/4] misc: Generic on-chip SRAM allocation driver

2013-03-27 Thread Andrew Morton
> + } > + > + platform_set_drvdata(pdev, sram); > + > + dev_dbg(&pdev->dev, "SRAM pool: %ld KiB @ 0x%p\n", size / 1024, > virt_base); > + > + return 0; > +} > > ... > > +int __init sram_init(void) > +{ > + return platform_dr

Re: [PATCH v3 3/3] backlight: as3711: add OF support

2013-03-25 Thread Andrew Morton
On Fri, 22 Mar 2013 17:15:49 +0100 Guennadi Liakhovetski wrote: > Add support for configuring AS3711 backlight driver from DT. > > Signed-off-by: Guennadi Liakhovetski > Reviwed-by: Mark Brown > --- > drivers/video/backlight/as3711_bl.c | 118 > ++- > 1 file

Re: [rtc-linux] [PATCH v3 1/5] rtc: OMAP: Add system pm_power_off to rtc driver

2012-11-27 Thread Andrew Morton
On Tue, 20 Nov 2012 15:18:43 +0530 AnilKumar Ch wrote: > From: Colin Foe-Parker > > Add system power off control to rtc driver which is the in-charge > of controlling the BeagleBone system power. The power_off routine > can be hooked up to "pm_power_off" system call. > > System power off seque

Re: [PATCH v6 1/4] genalloc: add a global pool list, allow to find pools by phys address

2012-11-20 Thread Andrew Morton
On Fri, 16 Nov 2012 11:30:14 +0100 Philipp Zabel wrote: > This patch keeps all created pools in a global list and adds two > functions that allow to retrieve the gen_pool pointer from a known > physical address and from a device tree node. > > ... > > +/* > + * gen_pool_find_by_phys - find a pool

Re: [PATCH] backlight: Add of_find_backlight_by_node() function

2012-11-16 Thread Andrew Morton
On Fri, 9 Nov 2012 15:04:38 +0100 Thierry Reding wrote: > This function finds the struct backlight_device for a given device tree > node. A dummy function is provided so that it safely compiles out if OF > support is disabled. > > Signed-off-by: Thierry Reding > --- > drivers/video/backlight/

Re: [PATCH v3] pwm_backlight: Add device tree support for Low Threshold Brightness

2012-09-27 Thread Andrew Morton
On Wed, 26 Sep 2012 20:17:07 +0530 "Philip, Avinash" wrote: > Some back lights perform poorly when driven by a PWM with a short > duty-cycle. For such devices, the low threshold can be used to specify a > lower bound for the duty-cycle and should be chosen to exclude the > problematic range. > >

Re: [PATCH v3 0/4] lis3: lis3lv02d_i2c: Add device tree support

2012-09-26 Thread Andrew Morton
On Wed, 26 Sep 2012 13:44:03 -0700 Greg KH wrote: > On Wed, Sep 26, 2012 at 01:34:50PM -0700, Andrew Morton wrote: > > On Wed, 26 Sep 2012 13:24:00 -0700 > > Greg KH wrote: > > > > > On Mon, Sep 17, 2012 at 12:53:18PM +0530, AnilKumar Ch wrote: > > > >

Re: [PATCH v3 0/4] lis3: lis3lv02d_i2c: Add device tree support

2012-09-26 Thread Andrew Morton
On Wed, 26 Sep 2012 13:24:00 -0700 Greg KH wrote: > On Mon, Sep 17, 2012 at 12:53:18PM +0530, AnilKumar Ch wrote: > > Adds device tree support to lis3lv02d_i2c driver. Along with this > > DT init is moved from core driver to individual drivers, with the > > current implementation some pdata is mi

Re: [PATCH v3 4/4] ARM: dts: AM33XX: Add lis331dlh device tree data to am335x-evm

2012-09-17 Thread Andrew Morton
On Mon, 17 Sep 2012 12:53:22 +0530 AnilKumar Ch wrote: > Add lis331dlh device tree data to am335x-evm.dts. In AM335x EVM > lis331dlh accelerometer is connected to I2C2 bus. So this patch > change the status of I2C2 node to "okay" to use I2C2 bus. Also > added all the required platform data to am3

Re: [PATCH v2 0/4] lis3: lis3lv02d_i2c: Add device tree support

2012-09-14 Thread Andrew Morton
On Fri, 14 Sep 2012 15:31:36 + Arnd Bergmann wrote: > On Friday 14 September 2012, AnilKumar Ch wrote: > > Adds device tree support to lis3lv02d_i2c driver. Along with this > > DT init is moved from core driver to individual drivers, with the > > current implementation some pdata is missing i

Re: [PATCH v3 1/2] backlight: lcd: add driver for raster-type lcd's with gpio controlled panel reset

2012-04-06 Thread Andrew Morton
> Cc: rpur...@rpsys.net, florianschandi...@gmx.de, > devicetree-discuss@lists.ozlabs.org, linux-fb...@vger.kernel.org, > linux-samsung-...@vger.kernel.org, grant.lik...@secretlab.ca, > rob.herr...@calxeda.com, kgene@samsung.com, jg1@samsung.com, > broo...@opensource.wolfsonmicro.com, k

Re: [PATCH] devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc)

2012-03-02 Thread Andrew Morton
On Fri, 2 Mar 2012 22:20:16 +0100 "Cousson, Benoit" wrote: > Hi Grant, > > In fact this patch is not working for build without CONFIG_OF like x86. > > On 2/24/2012 11:06 PM, Grant Likely wrote: > > --- a/include/linux/of_platform.h > > +++ b/include/linux/of_platform.h > > @@ -81,7 +81,7 @@ ext

Re: [PATCH v5 00/27] irq_domain generalization and rework

2012-02-23 Thread Andrew Morton
On Thu, 16 Feb 2012 02:09:01 -0700 Grant Likely wrote: > > This series generalizes the "irq_host" infrastructure from powerpc > so that it can be used by all architectures and renames it to "irq_domain". drivers/mfd/twl-core.c is fairly horked on i386 allmodconfig: drivers/mfd/twl-core.c: In f