[PATCH v8 15/18] ARM: STi: DT: STiH407: Add uniperif reader dt nodes

2016-09-05 Thread Lee Jones
We certainly never used to take 'device ID' or > > 'version' attributes. I guess something must have changed. > > I will try to provide patches for code and bindings rework this week. Wonderful.. Thanks Arnaud. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog

[PATCH v9 01/19] remoteproc: st_slim_rproc: add a slimcore rproc driver

2016-09-14 Thread Lee Jones
->clks[i]); > > +err: > > + rproc_put(rproc); > > + return ERR_PTR(err); > > +} > > +EXPORT_SYMBOL(st_slim_rproc_alloc); > > + > > +/** > > + * st_slim_rproc_put() - put slim rproc resources > > + * @slim_rproc: Pointer to the st_slim_rproc struct > > + * > > + * Function for calling respective _put() functions on slim_rproc > > resources. > > + * > > + */ > > +void st_slim_rproc_put(struct st_slim_rproc *slim_rproc) > > +{ > > + int clk; > > + > > + if (!slim_rproc) > > + return; > > + > > + slim_clk_disable(slim_rproc); > > + > > + for (clk = 0; clk < ST_SLIM_MAX_CLK && slim_rproc->clks[clk]; clk++) > > + clk_put(slim_rproc->clks[clk]); > > + > > + rproc_del(slim_rproc->rproc); > > + rproc_put(slim_rproc->rproc); > > +} > > +EXPORT_SYMBOL(st_slim_rproc_put); > > + > > +MODULE_AUTHOR("Peter Griffin "); > > +MODULE_DESCRIPTION("STMicroelectronics SLIM core rproc driver"); > > +MODULE_LICENSE("GPL v2"); > > diff --git a/include/linux/remoteproc/st_slim_rproc.h > > b/include/linux/remoteproc/st_slim_rproc.h > > new file mode 100644 > > index 000..416 > > --- /dev/null > > +++ b/include/linux/remoteproc/st_slim_rproc.h > > @@ -0,0 +1,58 @@ > > +/* > > + * SLIM core rproc driver header > > + * > > + * Copyright (C) 2016 STMicroelectronics > > + * > > + * Author: Peter Griffin > > + * > > + * This program is free software; you can redistribute it and/or modify > > + * it under the terms of the GNU General Public License as published by > > + * the Free Software Foundation; either version 2 of the License, or > > + * (at your option) any later version. > > + */ > > +#ifndef _ST_REMOTEPROC_SLIM_H > > +#define _ST_REMOTEPROC_SLIM_H > > + > > +#define ST_SLIM_MEM_MAX 2 > > +#define ST_SLIM_MAX_CLK 4 > > + > > +enum { > > + ST_SLIM_DMEM, > > + ST_SLIM_IMEM, > > +}; > > + > > +/** > > + * struct st_slim_mem - slim internal memory structure > > + * @cpu_addr: MPU virtual address of the memory region > > + * @bus_addr: Bus address used to access the memory region > > + * @size: Size of the memory region > > + */ > > +struct st_slim_mem { > > + void __iomem *cpu_addr; > > + phys_addr_t bus_addr; > > + size_t size; > > +}; > > + > > +/** > > + * struct st_slim_rproc - SLIM slim core > > + * @rproc: rproc handle > > + * @mem: slim memory information > > + * @slimcore: slim slimcore regs > > + * @peri: slim peripheral regs > > + * @clks: slim clocks > > + */ > > +struct st_slim_rproc { > > + struct rproc *rproc; > > + struct st_slim_mem mem[ST_SLIM_MEM_MAX]; > > + void __iomem *slimcore; > > + void __iomem *peri; > > + > > + /* st_slim_rproc private */ > > + struct clk *clks[ST_SLIM_MAX_CLK]; > > +}; > > + > > +struct st_slim_rproc *st_slim_rproc_alloc(struct platform_device *pdev, > > + char *fw_name); > > +void st_slim_rproc_put(struct st_slim_rproc *slim_rproc); > > + > > +#endif -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog

[PATCH 1/1] drm/sti: use new Reset API

2016-07-22 Thread Lee Jones
Since 0b52297f228 ("reset: Add support for shared reset controls") the new Reset API now demands consumers choose either an *_exclusive or a *_shared line when requesting reset lines. Signed-off-by: Lee Jones --- drivers/gpu/drm/sti/sti_compositor.c | 4 ++-- 1 file changed, 2 insert

[PATCH 1/1] drm/sti: use new Reset API

2016-07-22 Thread Lee Jones
On Fri, 22 Jul 2016, Sean Paul wrote: > On Fri, Jul 22, 2016 at 3:22 AM, Lee Jones wrote: > > Since 0b52297f228 ("reset: Add support for shared reset controls") the > > new Reset API now demands consumers choose either an *_exclusive or > > a *_shared l

[PATCH 1/1] drm/sti: use new Reset API

2016-07-25 Thread Lee Jones
nformitive WARN(). It implies that one or more used reset lines are in fact shared. This is why we're using the *_shared variant. Signed-off-by: Lee Jones --- drivers/gpu/drm/sti/sti_compositor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_compo

[STLinux Kernel] [PATCH 1/1] drm/sti: use new Reset API

2016-07-25 Thread Lee Jones
On Mon, 25 Jul 2016, Peter Griffin wrote: > On Mon, 25 Jul 2016, Lee Jones wrote: > > > Since 0b52297f228 ("reset: Add support for shared reset controls") the > > new Reset API now demands consumers choose either an *_exclusive or a > > *_share

[PATCH v8 18/18] drm/virtio: kconfig: Fixup white space.

2016-08-30 Thread Lee Jones
On Fri, 26 Aug 2016, Peter Griffin wrote: > Use tabs instead of spaces. > > Signed-off-by: Peter Griffin > --- > drivers/gpu/drm/virtio/Kconfig | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) For my own reference: Acked-by: Lee Jones > diff --git a/d

[PATCH v8 17/18] drm/virtio: kconfig: Fix recursive dependency.

2016-08-30 Thread Lee Jones
works is usually helpful here. > Signed-off-by: Peter Griffin > --- > drivers/gpu/drm/virtio/Kconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/virtio/Kconfig b/drivers/gpu/drm/virtio/Kconfig > index e1afc3d..90357d9

[PATCH v8 16/18] ARM: DT: STi: stihxxx-b2120: Add DT nodes for STi audio card

2016-08-30 Thread Lee Jones
by: Peter Griffin > --- > arch/arm/boot/dts/stihxxx-b2120.dtsi | 45 > > 1 file changed, 45 insertions(+) Acked-by: Lee Jones > diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi > b/arch/arm/boot/dts/stihxxx-b2120.dtsi > index 722c

[PATCH v8 18/18] drm/virtio: kconfig: Fixup white space.

2016-08-30 Thread Lee Jones
On Tue, 30 Aug 2016, Lee Jones wrote: > On Fri, 26 Aug 2016, Peter Griffin wrote: > > > Use tabs instead of spaces. > > > > Signed-off-by: Peter Griffin > > --- > > drivers/gpu/drm/virtio/Kconfig | 6 +++--- > > 1 file changed, 3 insertions(+)

[PATCH v8 15/18] ARM: STi: DT: STiH407: Add uniperif reader dt nodes

2016-08-30 Thread Lee Jones
reader"; > + status = "disabled"; > + #sound-dai-cells = <0>; > + st,syscfg = <_core>; > + reg = <0x8D84000 0x158>; > + interrupts = ; > +

[PATCH v8 14/18] ARM: STi: DT: STiH407: Add uniperif player dt nodes

2016-08-30 Thread Lee Jones
compatible = "st,sti-uni-player"; > + status = "disabled"; > + #sound-dai-cells = <0>; > + st,syscfg = <_core>; > + clocks = <_s_d0_flexgen CLK_SPDIFF>; > + assigned-cl

[PATCH v8 14/18] ARM: STi: DT: STiH407: Add uniperif player dt nodes

2016-08-30 Thread Lee Jones
On Tue, 30 Aug 2016, Lee Jones wrote: > On Fri, 26 Aug 2016, Peter Griffin wrote: > > > This patch adds the DT nodes for the uniperif player > > IP blocks found on STiH407 family silicon. > > > > Signed-off-by: Arnaud Pouliquen > > Signed-off-by: Peter Gri

[PATCH v8 13/18] ARM: STi: DT: STiH407: Add sti-sasg-codec dt node

2016-08-30 Thread Lee Jones
On Fri, 26 Aug 2016, Peter Griffin wrote: > This patch adds the dt node for the internal audio > codec IP. > > Signed-off-by: Arnaud Pouliquen > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/stih407-family.dtsi | 7 +++ > 1 file changed, 7 insertions

[PATCH v8 12/18] ARM: DT: STiH407: Add spdif_out pinctrl config

2016-08-30 Thread Lee Jones
le changed, 8 insertions(+) Acked-by: Lee Jones > diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi > b/arch/arm/boot/dts/stih407-pinctrl.dtsi > index 537db7e..598dbab 100644 > --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi > +++ b/arch/arm/boot/dts/sti

[PATCH v8 11/18] ARM: DT: STiH407: Add i2s_in pinctrl configuration

2016-08-30 Thread Lee Jones
+++ > 1 file changed, 24 insertions(+) Acked-by: Lee Jones > diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi > b/arch/arm/boot/dts/stih407-pinctrl.dtsi > index 0fb5c8a..537db7e 100644 > --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi > +++ b/arch/arm/boot/dts/sti

[PATCH v8 10/18] ARM: DT: STiH407: Add i2s_out pinctrl configuration

2016-08-30 Thread Lee Jones
+++ > 1 file changed, 23 insertions(+) Acked-by: Lee Jones > diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi > b/arch/arm/boot/dts/stih407-pinctrl.dtsi > index a538ae5..0fb5c8a 100644 > --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi > +++ b/arch/arm/boot/dts/sti

[PATCH v8 09/18] ARM: multi_v7_defconfig: Enable STi and simple-card drivers.

2016-08-30 Thread Lee Jones
ouliquen at st.com > Cc: broonie at kernel.org > --- > arch/arm/configs/multi_v7_defconfig | 3 +++ > 1 file changed, 3 insertions(+) Acked-by: Lee Jones > diff --git a/arch/arm/configs/multi_v7_defconfig > b/arch/arm/configs/multi_v7_defconfig > index 998578a..

[PATCH v8 06/18] ARM: STi: DT: STiH407: Add FDMA driver dt nodes.

2016-08-30 Thread Lee Jones
52 insertions(+) Acked-by: Lee Jones > diff --git a/arch/arm/boot/dts/stih407-family.dtsi > b/arch/arm/boot/dts/stih407-family.dtsi > index d294e82..45cab30 100644 > --- a/arch/arm/boot/dts/stih407-family.dtsi > +++ b/arch/arm/boot/dts/stih407-family.dtsi > @@ -821,5 +821,57

[PATCH v8 02/18] MAINTAINERS: Add st slim core rproc driver to STi section.

2016-08-30 Thread Lee Jones
On Fri, 26 Aug 2016, Peter Griffin wrote: > This patch adds the slim core rproc driver to the STi section > of the MAINTAINERS file. > > Signed-off-by: Peter Griffin > --- > MAINTAINERS | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Lee Jones > diff --git a/M

[PATCH v8 01/18] remoteproc: st_slim_rproc: add a slimcore rproc driver

2016-08-30 Thread Lee Jones
rproc_del(slim_rproc->rproc); > + rproc_put(slim_rproc->rproc); > +} > +EXPORT_SYMBOL(st_slim_rproc_put); > + > +MODULE_AUTHOR("Peter Griffin"); Email. > +MODULE_DESCRIPTION("STMicroelectronics SLIM rproc driver"); Now it's "SLIM"? Make up your mind

[PATCH v8 01/18] remoteproc: st_slim_rproc: add a slimcore rproc driver

2016-08-31 Thread Lee Jones
On Tue, 30 Aug 2016, Peter Griffin wrote: > On Tue, 30 Aug 2016, Lee Jones wrote: > > On Fri, 26 Aug 2016, Peter Griffin wrote: > > > > > slim core is used as a basis for many IPs in the STi > > > chipsets such as fdma and demux. To avoid duplicating > >

[PATCH v8 15/18] ARM: STi: DT: STiH407: Add uniperif reader dt nodes

2016-08-31 Thread Lee Jones
On Tue, 30 Aug 2016, Peter Griffin wrote: > Thanks for reviewing and your very valuable feedback. > On Tue, 30 Aug 2016, Lee Jones wrote: > > On Fri, 26 Aug 2016, Peter Griffin wrote: > > > > > This patch adds the DT node for the uniperif reader > > > IP b

[PATCH 1/6] backlight: pwm_bl: Handle gpio that can sleep

2016-08-31 Thread Lee Jones
pwm_disable(pb->pwm); > > if (pb->enable_gpio) > - gpiod_set_value(pb->enable_gpio, 0); > + gpiod_set_value_cansleep(pb->enable_gpio, 0); > > regulator_disable(pb->power_supply); > pb->enabled = false; -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog

[PATCH v3 01/16] drm: sti: add VTG driver

2014-05-21 Thread Lee Jones
<-> > + * > + * ///| | ///| > + * /// | | /////// | > + * /// |...|/// | > + *0__

[PATCH resend 2/4] backlight: Add backlight device (un)registration notification

2014-05-22 Thread Lee Jones
_LIST_HEAD(_dev_list); > >>mutex_init(_dev_list_mutex); > >> + BLOCKING_INIT_NOTIFIER_HEAD(_notifier); > >> + > >>return 0; > >> } > >> > >> diff --git a/include/linux/backlight.h b/include/linux/backlight.h > >>

[PATCH v3 01/11] mfd: add atmel-hlcdc driver

2014-07-09 Thread Lee Jones
_driver = { > + .probe = atmel_hlcdc_probe, > + .remove = atmel_hlcdc_remove, > + .driver = { > + .name = "atmel-hlcdc", > + .owner = THIS_MODULE, Remove this line, it's not required. > + .of_match_table = atmel_hlcdc_m

[PATCH] gpio: extend gpiod_get*() with flags parameter

2014-07-25 Thread Lee Jones
vers over to use the new function. > > Once all of those are merged, remove the old function. > > That way there are no "flag days" needed, and everyone is happy you > don't send out emails with 40+ people in the To: and Cc: lines :) +9 -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog

[PATCH resend 2/4] backlight: Add backlight device (un)registration notification

2014-06-02 Thread Lee Jones
On Sun, 01 Jun 2014, Rafael J. Wysocki wrote: > On Tuesday, May 27, 2014 10:20:33 AM Lee Jones wrote: > > > On 05/26/2014 01:03 PM, Rafael J. Wysocki wrote: > > > > On Monday, May 26, 2014 12:03:43 PM Jingoo Han wrote: > > > >> On Thursday

[PATCH v2 1/7] mfd: add atmel-hlcdc driver

2014-06-16 Thread Lee Jones
space after '#define'. > +#define ATMEL_HLCDC_EN 0x20 > +#define ATMEL_HLCDC_DIS 0x24 > +#define ATMEL_HLCDC_SR 0x28 > +#define ATMEL_HLCDC_IER 0x2c > +#define ATMEL_HLCDC_IDR 0x30 > +#de

[PATCH v2 1/7] mfd: add atmel-hlcdc driver

2014-06-16 Thread Lee Jones
On Mon, 16 Jun 2014, Boris BREZILLON wrote: > On 16/06/2014 14:50, Lee Jones wrote: > >> The HLCDC IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 > >> family or sama5d3 family) exposes 2 subdevices: > >> - a display controller (controlled by a

[PATCH resend 2/4] backlight: Add backlight device (un)registration notification

2014-05-27 Thread Lee Jones
> On 05/26/2014 01:03 PM, Rafael J. Wysocki wrote: > > On Monday, May 26, 2014 12:03:43 PM Jingoo Han wrote: > >> On Thursday, May 22, 2014 6:02 PM, Lee Jones wrote: > >>> On Thursday, May 22, 2014 5:45 PM, Hans de Goede wrote: > >>>> On Thursday,

[PATCH] drm/exynos: hdmi: remove the i2c drivers and use devtree - continued

2014-05-29 Thread Lee Jones
by Daniel. Signed-off-by: Lee Jones --- drivers/gpu/drm/exynos/exynos_ddc.c | 63 drivers/gpu/drm/exynos/exynos_hdmi.h| 23 drivers/gpu/drm/exynos/exynos_hdmiphy.c | 65 - 3 files changed, 151 deletions(-) delete

[PATCH] drm/exynos: remove unnecessary exynos_hdmi.h file

2014-05-30 Thread Lee Jones
le changed, 23 deletions(-) > delete mode 100644 drivers/gpu/drm/exynos/exynos_hdmi.h https://lkml.org/lkml/2014/5/29/810 -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog

[PATCH] drm/exynos: remove unnecessary exynos_hdmi.h file

2014-05-30 Thread Lee Jones
-- > > 1 file changed, 23 deletions(-) > > delete mode 100644 drivers/gpu/drm/exynos/exynos_hdmi.h > > https://lkml.org/lkml/2014/5/29/810 Oh, I see. Acked-by: Lee Jones -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog

[PATCH 5/8] drivers/mfd: ADD PWM lookup table for CRC PMIC based PWM

2015-04-29 Thread Lee Jones
leij > Cc: Alexandre Courbot > Cc: Thierry Reding > Signed-off-by: Shobhit Kumar > --- > drivers/mfd/intel_soc_pmic_core.c | 12 > 1 file changed, 12 insertions(+) How do you expect this set to be managed? Acked-by: Lee Jones > diff --git a/drivers/

[PATCH 3/8] drivers/mfd: Add lookup table for Panel Control as GPIO signal

2015-04-29 Thread Lee Jones
regmap_irq_get_domain(pmic->irq_chip_data)); > @@ -104,6 +118,9 @@ static int intel_soc_pmic_i2c_remove(struct i2c_client > *i2c) > > regmap_del_irq_chip(pmic->irq, pmic->irq_chip_data); > > + /* Remove lookup table for Panel Control from the

[PATCH 3/8] drivers/mfd: Add lookup table for Panel Control as GPIO signal

2015-04-29 Thread Lee Jones
hanged, 17 insertions(+) I have no idea what this stuff is, but it looks plausible. For my own reference: Acked-by: Lee Jones > diff --git a/drivers/mfd/intel_soc_pmic_core.c > b/drivers/mfd/intel_soc_pmic_core.c > index 7b50b6b..f3d918e 100644 > --- a/drivers/mfd/intel_soc_pmic_co

[PATCH 4/8] drivers/mfd: Add PWM cell device for Crystalcove PMIC

2015-04-29 Thread Lee Jones
1 file changed, 3 insertions(+) For my own reference: Acked-by: Lee Jones > diff --git a/drivers/mfd/intel_soc_pmic_crc.c > b/drivers/mfd/intel_soc_pmic_crc.c > index 4cc1b32..8839e25 100644 > --- a/drivers/mfd/intel_soc_pmic_crc.c > +++ b/drivers/mfd/intel_soc_pmic_crc.c

[PATCH v8 0/2] mfd: add atmel-hlcdc driver

2014-10-06 Thread Lee Jones
| 85 ++ > 5 files changed, 265 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mfd/atmel-hlcdc.txt > create mode 100644 drivers/mfd/atmel-hlcdc.c > create mode 100644 include/linux/mfd/atmel-hlcdc.h > -- Lee Jones Linaro

[PATCH v8 1/2] mfd: add atmel-hlcdc driver

2014-10-07 Thread Lee Jones
and several clocks (those connected > to this hardware block) to its subdevices. > > This way concurrent accesses to the iomem range are handled by the regmap > framework, and each subdevice can safely access HLCDC registers. > > Signed-off-by: Boris Brezillon > Acked-by:

[PATCH v8 2/2] mfd: add documentation for atmel-hlcdc DT bindings

2014-10-07 Thread Lee Jones
#address-cells = <1>; > + #size-cells = <0>; > + reg = <0>; > + > + hlcdc_panel_output: endpoint at 0 { > + reg = <0>; > + remote-endpoint = &

[PATCH v8 1/2] mfd: add atmel-hlcdc driver

2014-10-07 Thread Lee Jones
On Tue, 07 Oct 2014, Thierry Reding wrote: > On Tue, Oct 07, 2014 at 10:59:32AM +0100, Lee Jones wrote: > > On Tue, 07 Oct 2014, Thierry Reding wrote: > > > > > On Tue, Oct 07, 2014 at 10:44:27AM +0100, Lee Jones wrote: > > > > On Mon

[PATCH v8 1/2] mfd: add atmel-hlcdc driver

2014-10-07 Thread Lee Jones
On Tue, 07 Oct 2014, Thierry Reding wrote: > On Tue, Oct 07, 2014 at 10:44:27AM +0100, Lee Jones wrote: > > On Mon, 06 Oct 2014, Boris Brezillon wrote: > > > > > The HLCDC IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 > > > family or sam

[PATCH v8 1/2] mfd: add atmel-hlcdc driver

2014-10-07 Thread Lee Jones
On Tue, 07 Oct 2014, Thierry Reding wrote: > On Tue, Oct 07, 2014 at 11:17:43AM +0100, Lee Jones wrote: > > On Tue, 07 Oct 2014, Thierry Reding wrote: > > > > > On Tue, Oct 07, 2014 at 10:59:32AM +0100, Lee Jones wrote: > > > > On Tue, 07 Oct 2014, Thierry Red

[PATCH v8 1/2] mfd: add atmel-hlcdc driver

2014-10-07 Thread Lee Jones
On Tue, 07 Oct 2014, Boris Brezillon wrote: > On Tue, 7 Oct 2014 12:38:14 +0100 > Lee Jones wrote: > > > On Tue, 07 Oct 2014, Thierry Reding wrote: > > > > > On Tue, Oct 07, 2014 at 11:17:43AM +0100, Lee Jones wrote: > > > > On Tue, 07 Oct 2014, Thier

[PATCH v8 1/2] mfd: add atmel-hlcdc driver

2014-10-07 Thread Lee Jones
On Tue, 07 Oct 2014, Lee Jones wrote: > On Tue, 07 Oct 2014, Boris Brezillon wrote: > > > On Tue, 7 Oct 2014 12:38:14 +0100 > > Lee Jones wrote: > > > > > On Tue, 07 Oct 2014, Thierry Reding wrote: > > > > > > > On Tue, Oct 07, 2014 at 1

[PATCH v8 1/2] mfd: add atmel-hlcdc driver

2014-10-07 Thread Lee Jones
On Tue, 07 Oct 2014, Thierry Reding wrote: > On Tue, Oct 07, 2014 at 01:41:12PM +0200, Boris Brezillon wrote: > > On Tue, 7 Oct 2014 12:38:14 +0100 > > Lee Jones wrote: > > > > > On Tue, 07 Oct 2014, Thierry Reding wrote: > > > > > > > On Tue

[PATCH v8 1/2] mfd: add atmel-hlcdc driver

2014-10-07 Thread Lee Jones
> > >> I don't mind either way. > > > > I'll go with either of the two suggestions above. > > So, Lee and Thierry, you can both take your part in your respective > trees with the change (1) described above and with my: > > Acked-by: Nicolas Ferre Works for

[Intel-gfx] [v2 4/7] mfd: intel_soc_pmic_core: ADD PWM lookup table for CRC PMIC based PWM

2015-06-23 Thread Lee Jones
Add a lookup > > >entry for the same to be used by the consumer (Intel GFX) > > > > > >v2: Remove the lookup table on driver unload (Thierry) > > > > > >v3: Correct the subject line (Lee jones) > > > > This part should only describe what this is ab

[v3 1/7] gpiolib: Add support for removing registered consumer lookup table

2015-07-01 Thread Lee Jones
inus Walleij > Cc: Alexandre Courbot > Cc: Thierry Reding > Reviewed-by: Alexandre Courbot > Reviewed-by: Linus Walleij > Tested-by: Ville Syrjälä > Signed-off-by: Shobhit Kumar > --- > v2: Ccing maintainers > v3: Correct the subject line (Lee jones) Acked-by: Lee

[PATCH 1/8] gpiolib: Add support for removing registered consumer lookup table

2015-05-05 Thread Lee Jones
result in multiple entries. Provide > an option to remove the lookup table on driver unload > > v2: Ccing maintainers > v3: Correct the subject line (Lee jones) Change logs should go underneth the '---' and above the diffstat found below. > Cc: Samuel Ortiz > Cc: Linus Walleij

[PATCH 5/8] drivers/mfd: ADD PWM lookup table for CRC PMIC based PWM

2015-05-05 Thread Lee Jones
On Tue, 05 May 2015, Shobhit Kumar wrote: > On 04/29/2015 07:54 PM, Lee Jones wrote: > > On Wed, 29 Apr 2015, Shobhit Kumar wrote: > > > >> On some BYT PLatform the PWM is controlled using CRC PMIC. Add a lookup > >> entry for the same to be used by the consumer

[Intel-gfx] [PATCH 1/8] gpiolib: Add support for removing registered consumer lookup table

2015-05-07 Thread Lee Jones
On Tue, 05 May 2015, Daniel Vetter wrote: > On Tue, May 05, 2015 at 11:45:05AM +0100, Lee Jones wrote: > > This is not how we submit subsequent patch-sets. > > It is unfortunately how we handle patches on dri-devel to be > able to cope with massive mail load. If everyone who su

Re: drm/sti: fix GDP size to support up to UHD resolution

2017-04-12 Thread Lee Jones
changed, 7 insertions(+), 5 deletions(-) Please ensure this patch makes its way into v4.12. Without it, large monitors will be artificially clipped, which negatively affects the user experience. Acked-by: Lee Jones <lee.jo...@linaro.org> Tested-by: Lee Jones <lee.jo...@linaro.org&

Re: [PATCH v2 4/4] backlight: as3711_bl: fix device-tree node leaks

2017-11-29 Thread Lee Jones
de/linux/mfd/as3711.h | 4 ++-- > 2 files changed, 8 insertions(+), 8 deletions(-) Applied, thanks. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog

Re: [PATCH v2 3/4] backlight: tps65217_bl: fix device-tree node lookup

2017-11-29 Thread Lee Jones
Johan Hovold <jo...@kernel.org> > --- > drivers/video/backlight/tps65217_bl.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied, thanks. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook |

Re: [PATCH v2 1/4] backlight: as3711_bl: fix device-tree node lookup

2017-11-29 Thread Lee Jones
.org> > --- > drivers/video/backlight/as3711_bl.c | 33 +++-- > 1 file changed, 23 insertions(+), 10 deletions(-) Applied, thanks. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog _

Re: [PATCH v2 2/4] backlight: max8925_bl: fix device-tree node lookup

2017-11-29 Thread Lee Jones
d-off-by: Johan Hovold <jo...@kernel.org> > --- > drivers/video/backlight/max8925_bl.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Applied, thanks. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro

Re: [PATCH V4 21/26] backlight: deprecate pci_get_bus_and_slot()

2017-12-19 Thread Lee Jones
ivers/video/backlight/apple_bl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. -- Lee Jones Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog _

Re: [PATCH 1/3] backlight: as3711_bl: fix device-tree node lookup

2017-11-20 Thread Lee Jones
On Mon, 20 Nov 2017, Johan Hovold wrote: > On Wed, Nov 15, 2017 at 03:39:09PM +0100, Johan Hovold wrote: > > On Wed, Nov 15, 2017 at 02:32:11PM +0000, Lee Jones wrote: > > > On Wed, 15 Nov 2017, Johan Hovold wrote: > > > > > > > On Tue, Nov 14, 2017 at

Re: [PATCH 1/3] backlight: as3711_bl: fix device-tree node lookup

2017-11-15 Thread Lee Jones
n in the first place. ;-) > > Heh. Since I was touching those error paths, I at least wanted to record > somehow there were further issues to be addressed. But feel free to drop > the FIXMEs if you prefer. In my experience FIXME's tend not to get addressed: $ git grep -i fixme | wc -l

Re: [PATCH] backlight: ili922x: remove redundant variable len

2017-11-08 Thread Lee Jones
3,7 +273,6 @@ static int ili922x_write(struct spi_device *spi, u8 reg, > u16 value) > ret = spi_sync(spi, ); > > spi_message_init(); > - len = 0; > tbuf[0] = set_tx_byte(START_BYTE(ili922x_id, START_RS_REG, > START_RW

Re: [PATCH v2 0/4] backlight: fix device-tree node lookups

2018-05-11 Thread Lee Jones
y backlight fixes these days, huh? ;) Ha! To be honest I think those patches are the only 4 -fixes I've *ever* had for Backlight. :) I have pulled them into the main branch, so they won't be forgotten again. Sorry for the delay. -- Lee Jones [李琼斯] Linaro Services Technical

Re: [PATCH v7 3/6] mfd: cros-ec: Increase maximum mkbp event size

2018-06-18 Thread Lee Jones
es in here. > +} __packed; How come these guys have kerneldoc headers? > struct ec_response_get_next_event { > uint8_t event_type; > /* Followed by event data if any */ > union ec_response_get_next_data data; > } __packed; > > +struct ec_response_get_next_even

Re: [PATCH v7 4/6] mfd: cros-ec: Introduce CEC commands and events definitions.

2018-06-18 Thread Lee Jones
> include/linux/mfd/cros_ec_commands.h | 81 > > 1 file changed, 81 insertions(+) For my own reference: Acked-for-MFD-by: Lee Jones -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Lin

Re: [PATCH v7 0/6] Add ChromeOS EC CEC Support

2018-06-11 Thread Lee Jones
hes 1+2 can just go to the i915 tree. The i915 driver changes > often, > so going through that tree makes sense. The cec-notifier code is unlikely to > change, > and I am fine with that patch going through i915. > > > for media to merge the mfd branch + patch 7 ? > > Patc

Re: [v3 01/10] dt-bindings: mediatek: mmsys: Add support for mfd

2018-07-03 Thread Lee Jones
On Mon, 25 Jun 2018, Matthias Brugger wrote: > > > On 30/04/18 12:30, Lee Jones wrote: > > On Fri, 27 Apr 2018, matthias@kernel.org wrote: > > > >> From: Matthias Brugger > >> > >> Add binding description for the mmsys mfd for some

Re: [v3 03/10] mfd: mtk-mmsys: Add mmsys driver

2018-07-03 Thread Lee Jones
On Mon, 25 Jun 2018, Matthias Brugger wrote: > On 30/04/18 12:18, Lee Jones wrote: > > On Fri, 27 Apr 2018, matthias@kernel.org wrote: > > > >> From: Matthias Brugger > >> > >> The MMSYS subsystem includes clocks and drm components. > >>

Re: [PATCH v7 3/6] mfd: cros-ec: Increase maximum mkbp event size

2018-07-03 Thread Lee Jones
On Mon, 18 Jun 2018, Neil Armstrong wrote: > Hi Lee, > > On 18/06/2018 09:44, Lee Jones wrote: > > On Fri, 01 Jun 2018, Neil Armstrong wrote: > > > >> Having a 16 byte mkbp event size makes it possible to send CEC > >> messages from the EC to the AP dire

Re: [PATCH 5/6] backlight: Also nuke BL_CORE_DRIVER1

2018-04-30 Thread Lee Jones
; backlight power interface. > > > > The backlight power interface itself is still a massive mess. > > > > Cc: Lee Jones <lee.jo...@linaro.org> > > Cc: Daniel Thompson <daniel.thomp...@linaro.org> > > Cc: Jingoo Han <jingooh...@gmail.com> > > Acked-by: Da

Re: [PATCH 1/6] backlight: Nuke unused backlight.props.state states

2018-04-30 Thread Lee Jones
deset api simplified even the uapi to a > simple bool. And there was never a valid technical reason to have the > intermediate fbdev power states for backlights (those really only can > be either off or on). > > Cleanup motivated by Meghana's questions about all this. All appli

Re: [PATCH 4/6] staging/fbtft: Stop using BL_CORE_DRIVER1

2018-04-30 Thread Lee Jones
Greg, Thomas, On Wed, 25 Apr 2018, Daniel Vetter wrote: > Leaking driver internal tracking into the already massively confusing > backlight power tracking is really confusing. > > Luckily we have already a drvdata structure, so fixing this is really > easy. > >

Re: [v3 03/10] mfd: mtk-mmsys: Add mmsys driver

2018-04-30 Thread Lee Jones
I think you just want to use "simple-mfd" instead. > +static const struct of_device_id of_match_mmsys[] = { > + { .compatible = "mediatek,mt2701-mmsys", > + .data = (void *) MMSYS_MT2701, > + }, > + { /* sentinel */ }, > +}; > + > +static

Re: [v3 01/10] dt-bindings: mediatek: mmsys: Add support for mfd

2018-04-30 Thread Lee Jones
ion/devicetree/bindings/display/mediatek/mediatek,disp.txt > + > +Required properties: > +- compatible: Should be one of: > + - "mediatek,mt2701-mmsys", "syscon" > + - "mediatek,mt8173-mmsys", "syscon" > +- #clock-cells: Must be 1 &g

Re: [PATCH v17 01/10] video: backlight: Add helpers to enable and disable backlight

2018-01-19 Thread Lee Jones
ntly merged into the DRM repo, OR they are applied into an immutable branch in the DRM tree and I can pull that in instead. Don't really mind which. -- Lee Jones Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog _

Re: [PATCH v19 03/10] video: backlight: Add of_find_backlight helper in backlight.c

2018-01-26 Thread Lee Jones
gt; --- > drivers/video/backlight/backlight.c | 43 > + > include/linux/backlight.h | 19 ++++ > 2 files changed, 62 insertions(+) -- Lee Jones Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog __

Re: [PATCH 1/6] backlight: Nuke unused backlight.props.state states

2018-01-18 Thread Lee Jones
ts (those really only can > > be either off or on). > > > > Cleanup motivated by Meghana's questions about all this. > > > > Cc: Lee Jones <lee.jo...@linaro.org> > > Cc: Daniel Thompson <daniel.thomp...@linaro.org> > > Cc: Jingoo Han <j

Re: [PATCH v19 03/10] video: backlight: Add of_find_backlight helper in backlight.c

2018-01-30 Thread Lee Jones
On Mon, 29 Jan 2018, Sean Paul wrote: > On Mon, Jan 29, 2018 at 4:11 AM, Lee Jones <lee.jo...@linaro.org> wrote: > > On Fri, 26 Jan 2018, Randy Dunlap wrote: > > > >> On 01/26/2018 01:48 AM, Lee Jones wrote: > >> > On Wed, 24 Jan 2018, Meghana Madhyastha w

Re: [PATCH v19 03/10] video: backlight: Add of_find_backlight helper in backlight.c

2018-01-29 Thread Lee Jones
On Fri, 26 Jan 2018, Randy Dunlap wrote: > On 01/26/2018 01:48 AM, Lee Jones wrote: > > On Wed, 24 Jan 2018, Meghana Madhyastha wrote: > > > >> Add of_find_backlight, a helper function which is a generic version > >> of tinydrm_of_find_backlight that can

Re: [PATCH v3] backlight: tdo24m: fix the spi cs between transfers

2018-01-02 Thread Lee Jones
d-off-by: Robert Jarzmik <robert.jarz...@free.fr> > Acked-by: Daniel Thompson <daniel.thomp...@linaro.org> > --- > Since v1: added 2 other panels > Since v2: added Daniel's ack > --- > drivers/video/backlight/corgi_lcd.c | 2 +- > drivers/video/backlight/tdo24m.c

Re: [PATCH v1 3/7] mfd: add atmel-lcdc driver

2018-08-16 Thread Lee Jones
to the HLCD one. This would have been easier to > understand and use one SoC or another one from the AT91 product line Yes, that is true. They are very similar drivers. Would it make sense to use the same driver for both devices? > Anyway, I'd wait for Boris' feedback for makin

Re: [PATCH v1 3/7] mfd: add atmel-lcdc driver

2018-08-14 Thread Lee Jones
access the registers. > The mfd device also support the clock used by the > LCDC IP + a bus clock that in some cases are required. > > The driver is based on the atmel-hlcdc driver. > > The Atmel SOC's are at91sam9261, at91sam9263 etc. > > Signed-off-by: Sam Ravnborg > Cc: Le

Re: [PATCH v1 3/7] mfd: add atmel-lcdc driver

2018-08-24 Thread Lee Jones
On Fri, 24 Aug 2018, Boris Brezillon wrote: > Hi Lee, > > On Wed, 15 Aug 2018 06:24:35 +0100 > Lee Jones wrote: > > > > +static const struct mfd_cell lcdc_cells[] = { > > > + { > > > + .name = "atmel-lcdc-pwm&quo

Re: [PATCH] backlight: pwm_bl: Fix uninitialized variable

2018-07-18 Thread Lee Jones
* between two points. > + */ > if (data->max_brightness < 2) { > dev_err(dev, "can't interpolate\n"); > return -EINVAL; -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source so

Re: [PATCH] backlight: pwm_bl: Fix uninitialized variable

2018-07-18 Thread Lee Jones
On Wed, 18 Jul 2018, Lee Jones wrote: > On Mon, 16 Jul 2018, Daniel Thompson wrote: > > > Currently, if the DT does not define num-interpolated-steps then > > num_steps is undefined and the interpolation code will deploy randomly. > > Fix this. > > > > Fix

Re: [PATCH] backlight: pwm_bl: Fix uninitialized variable

2018-07-18 Thread Lee Jones
On Wed, 18 Jul 2018, Marcel Ziswiler wrote: > On Wed, 2018-07-18 at 09:09 +0100, Lee Jones wrote: > > On Mon, 16 Jul 2018, Daniel Thompson wrote: > > > > > Currently, if the DT does not define num-interpolated-steps then > > > num_steps is undefined and t

Re: [PATCH] backlight: pwm_bl: Fix uninitialized variable

2018-07-18 Thread Lee Jones
On Wed, 18 Jul 2018, Daniel Thompson wrote: > On Wed, Jul 18, 2018 at 02:08:53PM +0100, Lee Jones wrote: > > > > > > No, then we are back to the initial issue of num_steps > > > > > > potentially not > > > > > > being initialised. We reall

Re: [PATCH] backlight: pwm_bl: Fix uninitialized variable

2018-07-23 Thread Lee Jones
On Wed, 18 Jul 2018, Daniel Thompson wrote: > On Wed, Jul 18, 2018 at 04:55:44PM +0100, Lee Jones wrote: > > On Wed, 18 Jul 2018, Daniel Thompson wrote: > > > > > On Wed, Jul 18, 2018 at 02:08:53PM +0100, Lee Jones wrote: > > > > > > > > No, th

Re: [PATCH v2] backlight: pwm_bl: Fix uninitialized variable

2018-07-23 Thread Lee Jones
* the brightness-levels table, otherwise we can't > + * interpolate between two points. > + */ > if (data->max_brightness < 2) { > dev_err(dev, "can't interpolate\n"); >

Re: [PATCH v3] backlight: pwm_bl: Fix uninitialized variable

2018-07-24 Thread Lee Jones
make other similar calls use same >return code checking approach > - Tidy up comment formatting and fix pre-existing grammar error > > drivers/video/backlight/pwm_bl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Once the 'Fixes:' line has been repaired

Re: [PATCH v4] backlight: pwm_bl: Fix uninitialized variable

2018-07-25 Thread Lee Jones
Linear interpolation between > brightness-levels") > Reported-by: Marcel Ziswiler > Signed-off-by: Daniel Thompson > Tested-by: Marcel Ziswiler > Reviewed-by: Douglas Anderson > Acked-by: Lee Jones > --- > > Notes: > v4: > - Remove line break from Fix

Re: [PATCH] backlight: pwm_bl: Fix uninitialized variable

2018-07-18 Thread Lee Jones
On Wed, 18 Jul 2018, Marcel Ziswiler wrote: > On Wed, 2018-07-18 at 11:12 +0100, Daniel Thompson wrote: > > On Wed, Jul 18, 2018 at 10:53:35AM +0100, Lee Jones wrote: > > > On Wed, 18 Jul 2018, Marcel Ziswiler wrote: > > > > > > > On Wed, 201

Re: [PATCH v3] backlight: pwm_bl: switch to using "atomic" PWM API

2018-09-10 Thread Lee Jones
er the conversion is not needed. > > drivers/video/backlight/pwm_bl.c | 81 +------- > 1 file changed, 42 insertions(+), 39 deletions(-) Applied, thanks. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro

Re: [v3 03/10] mfd: mtk-mmsys: Add mmsys driver

2018-07-05 Thread Lee Jones
On Thu, 05 Jul 2018, Matthias Brugger wrote: > On 04/07/18 18:45, Lee Jones wrote: > > On Wed, 04 Jul 2018, Matthias Brugger wrote: > >> On 03/07/18 09:11, Lee Jones wrote: > >>> On Mon, 25 Jun 2018, Matthias Brugger wrote: > >>>> On 30/04/18 12:18,

Re: [PATCH] backlight: remove obsolete comment for ->state

2018-07-04 Thread Lee Jones
On Wed, 04 Jul 2018, Daniel Vetter wrote: > Hi Lee, > > On Wed, Jul 4, 2018 at 12:34 PM, Lee Jones wrote: > > On Wed, 04 Jul 2018, Daniel Vetter wrote: > >> On Wed, Jul 04, 2018 at 10:38:16AM +0100, Lee Jones wrote: > >> > On Wed, 04 Jul 2018, Lee Jones w

Re: [PATCH v7 5/6] mfd: cros_ec_dev: Add CEC sub-device registration

2018-07-04 Thread Lee Jones
s/mfd/cros_ec_dev.c | 16 > 1 file changed, 16 insertions(+) For my own reference: Acked-for-MFD-by: Lee Jones -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog

Re: [PATCH] backlight: remove obsolete comment for ->state

2018-07-04 Thread Lee Jones
YI, sending patches like this is not a good idea. I'll clean it up for you this time, but in future please send patches properly and place any additional comments you may have below the '---' line. > Cc: Jani Nikula > Signed-off-by: Daniel Vetter > Cc: Lee Jones > Cc: Daniel Thompson

Re: [PATCH] backlight: remove obsolete comment for ->state

2018-07-04 Thread Lee Jones
On Wed, 04 Jul 2018, Daniel Vetter wrote: > On Wed, Jul 04, 2018 at 10:38:16AM +0100, Lee Jones wrote: > > On Wed, 04 Jul 2018, Lee Jones wrote: > > > > > > Jani spotted this when reviewing my earlier patch to remove the driver > > > > internal usage o

Re: [PATCH] backlight: remove obsolete comment for ->state

2018-07-04 Thread Lee Jones
On Wed, 04 Jul 2018, Lee Jones wrote: > > Jani spotted this when reviewing my earlier patch to remove the driver > > internal usage of this field in > > > > commit 3cf91adaa594e8933af1727942ac560e5c7bc70e > > Author: Daniel Vetter > > Da

  1   2   3   4   5   6   7   8   9   10   >