Re: [PATCH] ARM: dts: omap3: Include missing bandgap data for ti-soc-thermal driver

2015-12-26 Thread Pavel Machek
On Sat 2015-12-26 00:32:25, Pali Rohár wrote: > Driver for omap3 with documentation is there since v4.4-rc1. > > Signed-off-by: Pali Rohár Acked-by: Pavel Machek Tested-by: Pavel Machek Thanks!

Re: [PATCH] ARM: dts: n900: Include adp1653 device

2015-12-26 Thread Pavel Machek
On Sat 2015-12-26 00:40:12, Pali Rohár wrote: > This patch adds adp1653 device into n900 DT structure. DT support in > adp1653 driver is there since v4.2-rc1 version. > > Signed-off-by: Pali Rohár Acked-by: Pavel Machek -- (english)

[PATCH 0/7] fix error return code

2015-12-26 Thread Julia Lawall
The complate semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @ok exists@ identifier f,ret,i; expression e; constant c; @@ // identify a function that returns a negative return value at least once. f(...) { ... when any ( return -c@i; | ret = -c@i; ... when

[PATCH 3/7] omapfb: fix error return code

2015-12-26 Thread Julia Lawall
Return a negative error code on failure. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ identifier ret; expression e1,e2; @@ ( if (\(ret < 0\|ret != 0\)) { ... return ret; } | ret = 0 ) ... when != ret = e1 when !=

bbb kexec bug: Unhandled fault external abort on non-linefetch (0x1028) at 0xfa1ac140

2015-12-26 Thread Dave Young
Hi, Here is what I get when I test kdump on Beagle bone black: Added a printk line at the begin of function omap_gpio_rmw: printk("## %lx, %x, %x\n", base, reg, mask); Any hints how to fix it? I tried call the machine_kexec_mask_interrupts at runtime kernel also panics so it may not

Re: [PATCH] ARM: omapfb: Add early framebuffer memory allocator

2015-12-25 Thread Ivaylo Dimitrov
On 26.12.2013 01:12, Ivaylo Dimitrov wrote: From: Ivaylo Dimitrov On memory limited devices, CMA fails easily when asked to allocate big chunks of memory like framebuffer memory needed for video playback. Add boot parameter "omapfb_memsize" which allocates memory to be

Re: [PATCH 1/2] mmc: omap_hsmmc: Add support for slot-name property in DT

2015-12-25 Thread Pali Rohár
On Monday 18 May 2015 17:07:57 Arnd Bergmann wrote: > On Monday 18 May 2015 08:06:07 Tony Lindgren wrote: > > * Arnd Bergmann [150515 14:26]: > > > On Friday 15 May 2015 23:22:37 Pali Rohár wrote: > > If setting up the generic binding is expected to take a while, > > you can

Re: [PATCH v2] ARM: OMAPFB: panel-sony-acx565akm: fix missing mutex unlocks

2015-12-25 Thread Ivaylo Dimitrov
Hi Tomi, On 13.01.2014 12:20, Tomi Valkeinen wrote: On 2014-01-11 11:39, Ivaylo Dimitrov wrote: The patch does not apply cleanly on top of rc7, however I applied it by hand. So far it seems it fixes the issue brought by c37dd677988ca50bc8bc60ab5ab053720583c168, though I didn't test if

[PATCH] ARM: dts: n900: Include adp1653 device

2015-12-25 Thread Pali Rohár
This patch adds adp1653 device into n900 DT structure. DT support in adp1653 driver is there since v4.2-rc1 version. Signed-off-by: Pali Rohár --- arch/arm/boot/dts/omap3-n900.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git

[PATCH] ARM: dts: omap3: Include missing bandgap data for ti-soc-thermal driver

2015-12-25 Thread Pali Rohár
Driver for omap3 with documentation is there since v4.4-rc1. Signed-off-by: Pali Rohár --- arch/arm/boot/dts/omap34xx.dtsi |5 + arch/arm/boot/dts/omap36xx.dtsi |5 + 2 files changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/omap34xx.dtsi

PWM Driver for OMAP (and backlight)

2015-12-25 Thread Adam Ford
Happy Holidays everyone. I have a DM3730 that am trying to setup timer 10 to drive a PWM that controls the LCD backlight. Using the linux-next git branch, I am trying to use the pwm-omap-dmtimer function and I have configured the Device Tree as follows: bl: backlight { compatible =

Re: [PATCH 1/3] ARM: ATAGS: move atags.h to include/asm so it can be included by files outside kernel/

2015-12-24 Thread kbuild test robot
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system] Hi Ivaylo, [auto build test ERROR on omap/for-next] [also build test ERROR on v4.4-rc6 next-20151223] url:

Re: [PATCH 1/2] ARM: ATAGS: move save_atags() to include/asm arch/arm/include/asm/setup.h

2015-12-24 Thread Tony Lindgren
* Pali Rohár [151224 09:48]: > On Thursday 24 December 2015 17:37:55 Ivaylo Dimitrov wrote: > > So it can be used by code outside arch/arm/kernel/. Fix save_atags() > > declaration to match its definition while at it. > > > > Signed-off-by: Ivaylo Dimitrov

Re: [PATCH 2/2] OMAP: RX51: save ATAGS data in the early boot stage

2015-12-24 Thread Tony Lindgren
* Pali Rohár [151224 09:49]: > On Thursday 24 December 2015 17:37:56 Ivaylo Dimitrov wrote: > > Nokia N900 (RX51) legacy userspace needs various ATAGS passed by the > > bootloader (boot reason, device serial, boot mode, various GPIO > > swithes, etc). Save that data early

Re: [PATCH 1/5] arm: devtree: Set system_rev from DT "/revision"

2015-12-24 Thread Pali Rohár
On Monday 06 July 2015 22:26:09 Pali Rohár wrote: > With this patch "/revision" DT entry is used to set global system_rev > variable. DT "/revision" is expected to be u32 numeric value. > > TODO: add documentation > > Signed-off-by: Pali Rohár > --- >

Re: [PATCH 1/2] ARM: ATAGS: move save_atags() to include/asm arch/arm/include/asm/setup.h

2015-12-24 Thread Ivaylo Dimitrov
On 24.12.2015 20:53, Tony Lindgren wrote: * Pali Rohár [151224 09:48]: On Thursday 24 December 2015 17:37:55 Ivaylo Dimitrov wrote: So it can be used by code outside arch/arm/kernel/. Fix save_atags() declaration to match its definition while at it. Signed-off-by:

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-24 Thread Mark Brown
On Thu, Dec 24, 2015 at 07:12:53PM +0100, Paul Kocialkowski wrote: > Le mercredi 23 décembre 2015 à 11:56 +, Mark Brown a écrit : > > This isn't really adding support for the enable GPIO as the changelog > > suggests, it's requesting but not managing the GPIO. Since there is > > core support

Re: [PATCH 5/6] ARM: LG Optimus Black (P970) codename sniper support, with basic features

2015-12-24 Thread Paul Kocialkowski
Hi, Le mercredi 23 décembre 2015 à 07:44 -0800, Tony Lindgren a écrit : > * Paul Kocialkowski [151223 03:00]: > > + { > > + ti,no-reset-on-init; > > +}; > > + > > + { > > + ti,no-reset-on-init; > > +}; > > + > > + { > > + ti,no-reset-on-init; > > +}; > > + > > + { > > +

Re: [PATCH 5/6] ARM: LG Optimus Black (P970) codename sniper support, with basic features

2015-12-24 Thread Paul Kocialkowski
Hi, Le mercredi 23 décembre 2015 à 13:03 -0300, Javier Martinez Canillas a écrit : > Hello Paul, > > [snip] > > > + > > +_pmx_core { > > + pinctrl-names = "default"; > > + > > + uart3_pins: pinmux_uart3_pins { > > + pinctrl-single,pins = < > > +

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-24 Thread Paul Kocialkowski
Le jeudi 24 décembre 2015 à 19:35 +, Mark Brown a écrit : > On Thu, Dec 24, 2015 at 07:12:53PM +0100, Paul Kocialkowski wrote: > > Le mercredi 23 décembre 2015 à 11:56 +, Mark Brown a écrit : > > > > This isn't really adding support for the enable GPIO as the changelog > > > suggests,

Re: [PATCH v2 2/3] wlcore/wl12xx: spi: add device tree support

2015-12-24 Thread Uri Mashiach
Hi Grygorii, On 12/24/2015 06:32 PM, Grygorii Strashko wrote: On 12/24/2015 05:35 PM, Uri Mashiach wrote: Add DT support for the wl1271 SPI WiFi. Add documentation file for the wl1271 SPI WiFi. Signed-off-by: Uri Mashiach Acked-by: Igor Grinberg

Re: [PATCH 1/2] ARM: ATAGS: move save_atags() to include/asm arch/arm/include/asm/setup.h

2015-12-24 Thread Pali Rohár
On Thursday 24 December 2015 17:37:55 Ivaylo Dimitrov wrote: > So it can be used by code outside arch/arm/kernel/. Fix save_atags() > declaration to match its definition while at it. > > Signed-off-by: Ivaylo Dimitrov Tested-by: Pali Rohár --

Re: [PATCH 2/2] OMAP: RX51: save ATAGS data in the early boot stage

2015-12-24 Thread Pali Rohár
On Thursday 24 December 2015 17:37:56 Ivaylo Dimitrov wrote: > Nokia N900 (RX51) legacy userspace needs various ATAGS passed by the > bootloader (boot reason, device serial, boot mode, various GPIO > swithes, etc). Save that data early enough in the boot process, so > it can be exported later in

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-24 Thread Paul Kocialkowski
Le mercredi 23 décembre 2015 à 11:56 +, Mark Brown a écrit : > On Wed, Dec 23, 2015 at 11:58:37AM +0100, Paul Kocialkowski wrote: > > > + gpio = lp->pdata->enable_gpio; > > + if (!gpio_is_valid(gpio)) > > + return 0; > > + > > + /* Always set enable GPIO high. */ > > + ret =

Re: [PATCH v2 2/3] wlcore/wl12xx: spi: add device tree support

2015-12-24 Thread Uri Mashiach
Hello Javier, On 12/24/2015 06:25 PM, Javier Martinez Canillas wrote: Hello Uri, On Thu, Dec 24, 2015 at 12:35 PM, Uri Mashiach wrote: Add DT support for the wl1271 SPI WiFi. Add documentation file for the wl1271 SPI WiFi. Signed-off-by: Uri Mashiach

Re: [PATCH 0/3] drivers: net: cpsw: phy-handle fixes

2015-12-24 Thread Markus Brunner
On Wednesday 23 December 2015 20:18:16 David Rivshin wrote: > On Thu, 24 Dec 2015 00:34:49 +0100 > > Nicolas Chauvet wrote: > > 2015-12-23 22:54 GMT+01:00 David Rivshin (Allworx) < > > > > here is the full dmesg output with this serie applied to linux-next: > >

Re: [PATCH v2 2/3] wlcore/wl12xx: spi: add device tree support

2015-12-24 Thread Javier Martinez Canillas
Hello Uri, On Thu, Dec 24, 2015 at 12:35 PM, Uri Mashiach wrote: > Add DT support for the wl1271 SPI WiFi. > > Add documentation file for the wl1271 SPI WiFi. > > Signed-off-by: Uri Mashiach > Acked-by: Igor Grinberg

Re: [PATCH v2 3/3] wlcore/wl12xx: spi: add wifi support to cm-t335

2015-12-24 Thread Javier Martinez Canillas
Hello Uri, On Thu, Dec 24, 2015 at 12:35 PM, Uri Mashiach wrote: > Device tree modifications: > - Pinmux for SPI0 and WiFi GPIOs. > - SPI0 node with wlcore as a child node. > > Cc: Tony Lindgren > Signed-off-by: Uri Mashiach

Re: [PATCH v2 2/3] wlcore/wl12xx: spi: add device tree support

2015-12-24 Thread Grygorii Strashko
On 12/24/2015 05:35 PM, Uri Mashiach wrote: > Add DT support for the wl1271 SPI WiFi. > > Add documentation file for the wl1271 SPI WiFi. > > Signed-off-by: Uri Mashiach > Acked-by: Igor Grinberg > --- > v1 -> v2: update interrupt

Re: [PATCH v2 1/3] wlcore/wl12xx: spi: add power operation function

2015-12-24 Thread Grygorii Strashko
On 12/24/2015 05:35 PM, Uri Mashiach wrote: The power function uses a consumer regulator access to update the WiFi enable GPIO value. Signed-off-by: Uri Mashiach --- v1 -> v2: oops fix was removed to a separate fix. drivers/net/wireless/ti/wlcore/spi.c | 37

[PATCH 0/2] OMAP: RX51: save atags data to be exported on /proc/atags

2015-12-24 Thread Ivaylo Dimitrov
Nokia N900 legacy userspace needs ATAGS passed by the bootloder to be available in /proc/atags. With DT booted kernel this information is no longer availabe. Fix that by saving ATAGS data early in the boot stage so it can be exported in /proc/atags later Ivaylo Dimitrov (2): ARM: ATAGS: move

[PATCH 1/2] ARM: ATAGS: move save_atags() to include/asm arch/arm/include/asm/setup.h

2015-12-24 Thread Ivaylo Dimitrov
So it can be used by code outside arch/arm/kernel/. Fix save_atags() declaration to match its definition while at it. Signed-off-by: Ivaylo Dimitrov --- arch/arm/include/asm/setup.h | 6 ++ arch/arm/kernel/atags.h | 6 -- 2 files changed, 6

[PATCH 2/2] OMAP: RX51: save ATAGS data in the early boot stage

2015-12-24 Thread Ivaylo Dimitrov
Nokia N900 (RX51) legacy userspace needs various ATAGS passed by the bootloader (boot reason, device serial, boot mode, various GPIO swithes, etc). Save that data early enough in the boot process, so it can be exported later in /proc/atags Signed-off-by: Ivaylo Dimitrov

[PATCH 1/3] ARM: ATAGS: move atags.h to include/asm so it can be included by files outside kernel/

2015-12-24 Thread Ivaylo Dimitrov
This is needed by a follow-up patch that saves atags on RX51 device Signed-off-by: Ivaylo Dimitrov --- arch/arm/include/asm/atags.h | 20 arch/arm/kernel/atags.h | 20 arch/arm/kernel/atags_parse.c | 3 +--

[PATCH 0/3] OMAP: RX51: save atags data to be exported on /proc/atags

2015-12-24 Thread Ivaylo Dimitrov
Nokia N900 legacy userspace needs ATAGS passed by the bootloder to be available in /proc/atags. With DT booted kernel this information is no longer availabe. Fix that by saving ATAGS data early in the boot stage so it can be exported in /proc/atags later Ivaylo Dimitrov (3): ARM: ATAGS: move

[PATCH 3/3] OMAP: RX51: save ATAGS data in the early boot stage

2015-12-24 Thread Ivaylo Dimitrov
Nokia N900 (RX51) legacy userspace needs various ATAGS passed by the bootloader (boot reason, device serial, boot mode, various GPIO swithes, etc). Save that data early enough in the boot process, so it can be exported later in /proc/atags Signed-off-by: Ivaylo Dimitrov

[PATCH 2/3] ARM: ATAGS: Fix declaration of function save_atags

2015-12-24 Thread Ivaylo Dimitrov
In file atags_proc.c function save_atags() expect const argument, but in atags.h file is declarated as non const. Fix declaration in atags.h file to match what is expected. Signed-off-by: Ivaylo Dimitrov --- arch/arm/include/asm/atags.h | 4 ++-- 1 file changed, 2

Re: [PATCH 1/3] ARM: ATAGS: move atags.h to include/asm so it can be included by files outside kernel/

2015-12-24 Thread Russell King - ARM Linux
On Thu, Dec 24, 2015 at 04:00:56PM +0200, Ivaylo Dimitrov wrote: > This is needed by a follow-up patch that saves atags on RX51 device > > Signed-off-by: Ivaylo Dimitrov > --- > arch/arm/include/asm/atags.h | 20 > arch/arm/kernel/atags.h

[PATCH v2 3/3] wlcore/wl12xx: spi: add wifi support to cm-t335

2015-12-24 Thread Uri Mashiach
Device tree modifications: - Pinmux for SPI0 and WiFi GPIOs. - SPI0 node with wlcore as a child node. Cc: Tony Lindgren Signed-off-by: Uri Mashiach Acked-by: Igor Grinberg --- v1 -> v2: replace interrupts and

[PATCH v2 2/3] wlcore/wl12xx: spi: add device tree support

2015-12-24 Thread Uri Mashiach
Add DT support for the wl1271 SPI WiFi. Add documentation file for the wl1271 SPI WiFi. Signed-off-by: Uri Mashiach Acked-by: Igor Grinberg --- v1 -> v2: update interrupt documentation. replace interrupts and interrupt-parent with

[PATCH v2 0/3] wlcore/wl12xx: spi: add wifi support to cm-t335

2015-12-24 Thread Uri Mashiach
Add DT support for WLS1271 SPI driver. Add power operation function to the WLS1271 SPI driver. Uri Mashiach (3): wlcore/wl12xx: spi: add power operation function wlcore/wl12xx: spi: add device tree support wlcore/wl12xx: spi: add wifi support to cm-t335

[PATCH v2 1/3] wlcore/wl12xx: spi: add power operation function

2015-12-24 Thread Uri Mashiach
The power function uses a consumer regulator access to update the WiFi enable GPIO value. Signed-off-by: Uri Mashiach --- v1 -> v2: oops fix was removed to a separate fix. drivers/net/wireless/ti/wlcore/spi.c | 37 1 file

Re: [PATCH 0/3] OMAP: RX51: save atags data to be exported on /proc/atags

2015-12-24 Thread Arnd Bergmann
On Thursday 24 December 2015, Ivaylo Dimitrov wrote: > Nokia N900 legacy userspace needs ATAGS passed by the bootloder to be > available in /proc/atags. With DT booted kernel this information is > no longer availabe. Fix that by saving ATAGS data early in the boot > stage so it can be exported in

Re: [PATCH 1/3] wlcore/wl12xx: spi: fix NULL pointer dereference (Oops)

2015-12-23 Thread Grygorii Strashko
On 12/23/2015 10:35 AM, Uri Mashiach wrote: > The power function uses a consumer regulator access to update the WiFi > enable GPIO value. > > Fix the below Oops when trying to modprobe wlcore_spi. > The oops occurs because the wl1271_power_{off,on}() > function doesn't check the power() function

Re: [PATCH 2/3] wlcore/wl12xx: spi: add device tree support

2015-12-23 Thread Grygorii Strashko
On 12/23/2015 10:35 AM, Uri Mashiach wrote: > Add DT support for the wl1271 SPI WiFi. > > Add documentation file for the wl1271 SPI WiFi. > > Signed-off-by: Uri Mashiach > Acked-by: Igor Grinberg > --- >

[PATCH 1/3] ti-st: use device handles and add device tree binding

2015-12-23 Thread Reizer, Eyal
- Add support for getting the platform data which includes the uart used and gpio pin used for enable from device tree. - Fix the implementation for using device handle for the uart and gpiod for the enable pin, instead of device name (as string) used for the uart and pio number which are

[PATCH 2/3] ARM: dts: am335x-evm: add shared transport device tree bindings

2015-12-23 Thread Reizer, Eyal
The shared Shared Transport (ST) software enables BT and GPS protocols or software components to interact with their respective cores over single physical port. Add the uart and enable pin device tree bindings Signed-off-by: Eyal Reizer --- arch/arm/boot/dts/am335x-evm.dts | 12

[PATCH 3/3] ARM: dts: am437x-gp-evm: add shared transport device tree bindings

2015-12-23 Thread Reizer, Eyal
The shared Shared Transport (ST) software enables BT and GPS protocols or software components to interact with their respective cores over single physical port. Add the uart and enable pin device tree bindings Signed-off-by: Eyal Reizer --- arch/arm/boot/dts/am437x-gp-evm.dts |

Re: [PATCH 3/6] regulator: lp872x: Remove warning about invalid DVS GPIO

2015-12-23 Thread Mark Brown
On Wed, Dec 23, 2015 at 11:58:36AM +0100, Paul Kocialkowski wrote: > Some devices don't hook the DVS pin to a GPIO but to ground or VCC. > In those cases, it is not a problem to have no DVS GPIO. I would expect the driver at least needs to know how the pins or strapped, or otherwise have

Re: [PATCH 3/6] regulator: lp872x: Remove warning about invalid DVS GPIO

2015-12-23 Thread Paul Kocialkowski
Le mercredi 23 décembre 2015 à 11:41 +, Mark Brown a écrit : > On Wed, Dec 23, 2015 at 11:58:36AM +0100, Paul Kocialkowski wrote: > > Some devices don't hook the DVS pin to a GPIO but to ground or VCC. > > In those cases, it is not a problem to have no DVS GPIO. > > I would expect the driver

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-23 Thread Mark Brown
On Wed, Dec 23, 2015 at 11:58:37AM +0100, Paul Kocialkowski wrote: > + gpio = lp->pdata->enable_gpio; > + if (!gpio_is_valid(gpio)) > + return 0; > + > + /* Always set enable GPIO high. */ > + ret = devm_gpio_request_one(lp->dev, gpio, GPIOF_OUT_INIT_HIGH, "LP872X >

Re: [PATCH 3/6] regulator: lp872x: Remove warning about invalid DVS GPIO

2015-12-23 Thread Mark Brown
On Wed, Dec 23, 2015 at 12:50:20PM +0100, Paul Kocialkowski wrote: > Le mercredi 23 décembre 2015 à 11:41 +, Mark Brown a écrit : > > I would expect the driver at least needs to know how the pins or > > strapped, or otherwise have configuration for ignoring the input on the > > pins. This

Re: [PATCH 2/3] wlcore/wl12xx: spi: add device tree support

2015-12-23 Thread Uri Mashiach
Hi Grygorii, On 12/23/2015 12:25 PM, Grygorii Strashko wrote: On 12/23/2015 10:35 AM, Uri Mashiach wrote: Add DT support for the wl1271 SPI WiFi. Add documentation file for the wl1271 SPI WiFi. Signed-off-by: Uri Mashiach Acked-by: Igor Grinberg

Re: [PATCH 1/3] wlcore/wl12xx: spi: fix NULL pointer dereference (Oops)

2015-12-23 Thread Uri Mashiach
Hi Grygorii, On 12/23/2015 12:08 PM, Grygorii Strashko wrote: On 12/23/2015 10:35 AM, Uri Mashiach wrote: The power function uses a consumer regulator access to update the WiFi enable GPIO value. Fix the below Oops when trying to modprobe wlcore_spi. The oops occurs because the

Re: [PATCH 5/6] ARM: LG Optimus Black (P970) codename sniper support, with basic features

2015-12-23 Thread Tony Lindgren
Hi, * Paul Kocialkowski [151223 03:00]: > The LG Optimus Black (P970) codename sniper is a smartphone that was designed > and manufactured by LG Electronics (LGE) and released back in 2011. > It is using an OMAP3630 SoC, GP version. > > This adds devicetree support for the

Re: [PATCH 5/6] ARM: LG Optimus Black (P970) codename sniper support, with basic features

2015-12-23 Thread Javier Martinez Canillas
Hello Paul, [snip] > + > +_pmx_core { > + pinctrl-names = "default"; > + > + uart3_pins: pinmux_uart3_pins { > + pinctrl-single,pins = < > + 0x16e (PIN_INPUT | MUX_MODE0) /* > uart3_rx_irrx */ > + 0x170 (PIN_OUTPUT

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-12-23 Thread Ivaylo Dimitrov
Hi, On 15.12.2015 14:20, Russell King - ARM Linux wrote: You could also just save_atags() in there, with a comment saying that this is a work-around for N900 which needs the ATAGs saved, and this is allowed in ->reserve as a special exception. What about this (just to confirm I got the idea

Re: [PATCH 2/3] wlcore/wl12xx: spi: add device tree support

2015-12-23 Thread Tony Lindgren
* Uri Mashiach [151223 06:38]: > On 12/23/2015 12:25 PM, Grygorii Strashko wrote: > > >>+that services interrupts for this device > >>+- vwlan-supply :Point the node of the regulator that controls the > >>wl1271 chip WLAN_EN pin > > >

Re: [PATCH 2/3] ARM: dts: am335x-evm: add shared transport device tree bindings

2015-12-23 Thread Tony Lindgren
* Reizer, Eyal [151223 03:40]: > The shared Shared Transport (ST) software enables BT and GPS protocols > or software components to interact with their respective cores over > single physical port. > Add the uart and enable pin device tree bindings ... > ---

Re: [PATCH 2/3] ARM: dts: am335x-evm: add shared transport device tree bindings

2015-12-23 Thread Tony Lindgren
* Tony Lindgren [151223 10:19]: > * Reizer, Eyal [151223 03:40]: > > The shared Shared Transport (ST) software enables BT and GPS protocols > > or software components to interact with their respective cores over > > single physical port. > > Add the uart and

Re: [PATCH 0/3] drivers: net: cpsw: phy-handle fixes

2015-12-23 Thread David Miller
From: "David Rivshin (Allworx)" Date: Tue, 22 Dec 2015 19:36:31 -0500 > Testing by anyone who has real hardware using phy-handle or dual_emac > with fixed-link would be appreciated. I'm going to wait for such testing before applying this series. Thanks. -- To

Re: [PATCH 0/3] drivers: net: cpsw: phy-handle fixes

2015-12-23 Thread Markus Brunner
On Wednesday 23 December 2015 12:04:25 David Miller wrote: > From: "David Rivshin (Allworx)" > Date: Tue, 22 Dec 2015 19:36:31 -0500 > > > Testing by anyone who has real hardware using phy-handle or dual_emac > > with fixed-link would be appreciated. > > I'm going to

Re: [PATCH 0/3] drivers: net: cpsw: phy-handle fixes

2015-12-23 Thread David Rivshin (Allworx)
On Thu, 24 Dec 2015 00:34:49 +0100 Nicolas Chauvet wrote: > 2015-12-23 22:54 GMT+01:00 David Rivshin (Allworx) < > drivshin.allw...@gmail.com>: > > > On Wed, 23 Dec 2015 22:20:58 +0100 > > Nicolas Chauvet wrote: > > > > > 2015-12-23 1:36 GMT+01:00 David

Re: [PATCH 0/3] drivers: net: cpsw: phy-handle fixes

2015-12-23 Thread David Rivshin (Allworx)
On Wed, 23 Dec 2015 19:35:37 +0100 Markus Brunner wrote: > On Wednesday 23 December 2015 12:04:25 David Miller wrote: > > From: "David Rivshin (Allworx)" > > Date: Tue, 22 Dec 2015 19:36:31 -0500 > > > > > Testing by anyone

Re: [PATCH 0/3] drivers: net: cpsw: phy-handle fixes

2015-12-23 Thread David Rivshin (Allworx)
On Wed, 23 Dec 2015 22:20:58 +0100 Nicolas Chauvet wrote: > 2015-12-23 1:36 GMT+01:00 David Rivshin (Allworx) < > drivshin.allw...@gmail.com>: > > > From: David Rivshin > > > > This series is based on the tip of the net tree. > > > > The first patch

Re: [PATCH 2/3] wlcore/wl12xx: spi: add device tree support

2015-12-23 Thread Uri Mashiach
Hi Grygorii, On 12/23/2015 12:25 PM, Grygorii Strashko wrote: On 12/23/2015 10:35 AM, Uri Mashiach wrote: Add DT support for the wl1271 SPI WiFi. Add documentation file for the wl1271 SPI WiFi. Signed-off-by: Uri Mashiach Acked-by: Igor Grinberg

Re: [PATCH v3 00/23] Unrestricted media entity ID range support

2015-12-23 Thread Mauro Carvalho Chehab
Em Wed, 16 Dec 2015 16:03:01 +0200 Sakari Ailus escreveu: > Hi Javier, > > On Wed, Dec 16, 2015 at 03:32:15PM +0200, Sakari Ailus wrote: > > This is the third version of the unrestricted media entity ID range > > support set. I've taken Mauro's comments into account and

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-23 Thread Paul Kocialkowski
Le mercredi 23 décembre 2015 à 11:56 +, Mark Brown a écrit : > On Wed, Dec 23, 2015 at 11:58:37AM +0100, Paul Kocialkowski wrote: > > > + gpio = lp->pdata->enable_gpio; > > + if (!gpio_is_valid(gpio)) > > + return 0; > > + > > + /* Always set enable GPIO high. */ > > + ret =

[PATCH 0/6] LG Optimus Black (P970) codename sniper support and lp872x improvements

2015-12-23 Thread Paul Kocialkowski
This series introduces support for the LG Optimus Black, as described in the patch adding devicetree support for the device. In order to power the external mmc (mmc1), the lp872x regulator is used. Its code had to be improved a bit to work on the device. Note that the patch adding devicetree

[PATCH 5/6] ARM: LG Optimus Black (P970) codename sniper support, with basic features

2015-12-23 Thread Paul Kocialkowski
The LG Optimus Black (P970) codename sniper is a smartphone that was designed and manufactured by LG Electronics (LGE) and released back in 2011. It is using an OMAP3630 SoC, GP version. This adds devicetree support for the device, with only a few basic features supported, such as debug uart,

[PATCH 2/6] regulator: lp872x: Get rid of duplicate reference to DVS GPIO

2015-12-23 Thread Paul Kocialkowski
The lp872x structure holds a reference to the DVS GPIO, but it is never actually used anywhere, since a first reference exists from the lp872x_dvs structure. Signed-off-by: Paul Kocialkowski --- drivers/regulator/lp872x.c | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-23 Thread Paul Kocialkowski
LP872x regulators are made active via the EN pin, which might be hooked to a GPIO. This adds support for driving the GPIO high when the driver is in use. Signed-off-by: Paul Kocialkowski --- .../devicetree/bindings/regulator/lp872x.txt | 1 + drivers/regulator/lp872x.c

[PATCH 3/6] regulator: lp872x: Remove warning about invalid DVS GPIO

2015-12-23 Thread Paul Kocialkowski
Some devices don't hook the DVS pin to a GPIO but to ground or VCC. In those cases, it is not a problem to have no DVS GPIO. Signed-off-by: Paul Kocialkowski --- drivers/regulator/lp872x.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 1/6] regulator: lp872x: Add missing of_match in regulators descriptions

2015-12-23 Thread Paul Kocialkowski
In order to select the regulators via of_find_regulator_by_node (and thus use them in devicetree), defining of_match for each regulator is required. Signed-off-by: Paul Kocialkowski --- drivers/regulator/lp872x.c | 15 +++ 1 file changed, 15 insertions(+) diff

[PATCH 6/6] ARM: multi_v7_defconfig: Enable LP872x regulator support

2015-12-23 Thread Paul Kocialkowski
The LP872x regulator is used in the LG Optimus Black (P970) codename sniper to supply the external mmc card. Signed-off-by: Paul Kocialkowski --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig

Re: [PATCH 5/5] fbdev: omap2: panel-dpi: allow specification of a vcc regulator

2015-12-23 Thread Tomi Valkeinen
Hi, On 19/12/15 22:41, Adam Ford wrote: > Tomi, > > Do you have any thought on how to approach adding sleep/delay > functions? I have a display that requires a small delay before and > after the enable gpio toggle. I assume that some may require a delay > after the regulator starts for it to

[PATCH 3/3] wlcore/wl12xx: spi: add wifi support to cm-t335

2015-12-23 Thread Uri Mashiach
Device tree modifications: - Pinmux for SPI0 and WiFi GPIOs. - SPI0 node with wlcore as a child node. Cc: Tony Lindgren Signed-off-by: Uri Mashiach Acked-by: Igor Grinberg --- Prerequisites: This patch applies on Tony's

[PATCH 0/3] wlcore/wl12xx: spi: add wifi support to cm-t335

2015-12-23 Thread Uri Mashiach
Add DT support for WLS1271 SPI driver. Fix oops by adding a power callback. Uri Mashiach (3): wlcore/wl12xx: spi: fix NULL pointer dereference (Oops) wlcore/wl12xx: spi: add device tree support wlcore/wl12xx: spi: add wifi support to cm-t335 .../bindings/net/wireless/ti,wlcore,spi.txt

[PATCH 1/3] wlcore/wl12xx: spi: fix NULL pointer dereference (Oops)

2015-12-23 Thread Uri Mashiach
The power function uses a consumer regulator access to update the WiFi enable GPIO value. Fix the below Oops when trying to modprobe wlcore_spi. The oops occurs because the wl1271_power_{off,on}() function doesn't check the power() function pointer. [ 23.401447] Unable to handle kernel NULL

[PATCH 2/3] wlcore/wl12xx: spi: add device tree support

2015-12-23 Thread Uri Mashiach
Add DT support for the wl1271 SPI WiFi. Add documentation file for the wl1271 SPI WiFi. Signed-off-by: Uri Mashiach Acked-by: Igor Grinberg --- .../bindings/net/wireless/ti,wlcore,spi.txt| 35 +++

Re: [PATCH 2/2] gpio: omap: convert to use generic irq handler

2015-12-22 Thread Sebastian Andrzej Siewior
* Grygorii Strashko | 2015-12-12 10:30:10 [+0200]: >git://git.ti.com/~gragst/ti-linux-kernel/gragsts-ti-linux-kernel.git sucked in, thanks. Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo

[PATCH v4] clk: ti: Add support for dm814x ADPLL

2015-12-22 Thread Tony Lindgren
On dm814x we have 13 ADPLLs with 3 to 4 outputs on each. The ADPLLs have several dividers and muxes controlled by a shared control register for each PLL. Note that for the clocks to work as device drivers for booting on dm814x, this patch depends on "ARM: OMAP2+: Change core_initcall levels to

Re: [PATCH v3 9/9] phy: omap-usb2: use *syscon* framework API to power on/off the PHY

2015-12-22 Thread Rob Herring
On Sun, Dec 20, 2015 at 6:07 AM, Kishon Vijay Abraham I wrote: > Hi Rob, > > On Sunday 20 December 2015 09:09 AM, Rob Herring wrote: >> On Tue, Dec 15, 2015 at 02:46:08PM +0530, Kishon Vijay Abraham I wrote: >>> Deprecate using phy-omap-control driver to power on/off the PHY, >>>

Re: [PATCH v2] ARM: dts: Add clocks for dm814x ADPLL

2015-12-22 Thread Tero Kristo
On 12/22/2015 05:53 PM, Tony Lindgren wrote: These use the standard clock bindings and now we can make some of the fixed clocks into real clocks. Cc: Tero Kristo Signed-off-by: Tony Lindgren --- Changes since v1: - Updated for changed clock names for

Re: [PATCH v4] clk: ti: Add support for dm814x ADPLL

2015-12-22 Thread Tero Kristo
On 12/22/2015 05:27 PM, Tony Lindgren wrote: On dm814x we have 13 ADPLLs with 3 to 4 outputs on each. The ADPLLs have several dividers and muxes controlled by a shared control register for each PLL. Note that for the clocks to work as device drivers for booting on dm814x, this patch depends on

Re: [PATCH v2] ARM: dts: Add clocks for dm814x ADPLL

2015-12-22 Thread Tony Lindgren
* Tero Kristo [151222 12:08]: > On 12/22/2015 05:53 PM, Tony Lindgren wrote: > >These use the standard clock bindings and now we can make some > >of the fixed clocks into real clocks. > > > >Cc: Tero Kristo > >Signed-off-by: Tony Lindgren >

[PATCH 3/3] drivers: net: cpsw: use of_phy_connect() in fixed-link case

2015-12-22 Thread David Rivshin (Allworx)
From: David Rivshin If a fixed-link DT subnode is used, the phy_device was looked up so that a PHY ID string could be constructed and passed to phy_connect(). This is not necessary, as the device_node can be passed directly to of_phy_connect() instead. This reuses the same

[PATCH 1/3] drivers: net: cpsw: fix parsing of phy-handle DT property in dual_emac config

2015-12-22 Thread David Rivshin (Allworx)
From: David Rivshin Commit 9e42f715264ff158478fa30eaed847f6e131366b ("drivers: net: cpsw: add phy-handle parsing") saved the "phy-handle" phandle into a new cpsw_priv field. However, phy connections are per-slave, so the phy_node field should be in cpsw_slave_data rather

[PATCH 0/3] drivers: net: cpsw: phy-handle fixes

2015-12-22 Thread David Rivshin (Allworx)
From: David Rivshin This series is based on the tip of the net tree. The first patch fixes a bug that makes dual_emac mode break if either slave uses the phy-handle property in the devicetree. The second patch fixes some cosmetic problems with error messages, and also

Re: [GIT PULL 2/4] omap changes for ti81xx devices and minimal dra62x j5eco-evm support

2015-12-22 Thread Tony Lindgren
Hi, * Olof Johansson [151222 15:41]: > On Tue, Dec 22, 2015 at 3:33 PM, Tony Lindgren wrote: > > * Olof Johansson [151222 14:58]: > >> > >> I'm a little puzzled by how you chose to organize this branch. We usually > >> ask for SoC enablement

[PATCH 2/3] drivers: net: cpsw: fix error messages when using phy-handle DT property

2015-12-22 Thread David Rivshin (Allworx)
From: David Rivshin The phy-handle, phy_id, and fixed-link properties are mutually exclusive, and only one need be specified. However if phy-handle was specified, an error message would complain about the lack of phy_id or fixed-link. Also, if phy-handle was specified and

Re: [PATCHv2] clk: ti: omap5+: dpll: implement errata i810

2015-12-22 Thread Michael Turquette
Hi Tero, On 12/16, Tony Lindgren wrote: > * Tero Kristo [151216 01:00]: > > Errata i810 states that DPLL controller can get stuck while transitioning > > to a power saving state, while its M/N ratio is being re-programmed. > > > > As a workaround, before re-programming the M/N

[GIT PULL 3/3] reworked dts changes for ti81xx devices and minimal dra62x j5ec-evm support

2015-12-22 Thread Tony Lindgren
The following changes since commit d893656e61040f3ff7b5f72a986052a348f3c94e: ARM: OMAP2+: Remove useless check for legacy booting for dm814x (2015-12-09 16:53:46 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

[GIT PULL 2/3] reworked soc changes for ti81xx devices and minimal dra62x j5ec-evm support

2015-12-22 Thread Tony Lindgren
The following changes since commit f2e6a0a913b53f5af87c7e9a783ceae5bb4ae2c4: ARM: OMAP2+: Remove device creation for omap-pcm-audio (2015-12-17 10:34:41 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

[GIT PULL 1/3] reworked fix for earlier ti81xx changes for v4.5 merge window

2015-12-22 Thread Tony Lindgren
Hi, Here are reworked pull requests to separate the dts changes as requested by Olof. The pull request below, and the third pull request in this series, still depend on the earlier branch omap-for-v4.5/81xx-fixes-signed. The pull request number two in this series does not. My updated for-next

Re: OMAP display kconfig options changing

2015-12-22 Thread Javier Martinez Canillas
Hello Tomi, On Fri, Dec 18, 2015 at 1:14 PM, Tomi Valkeinen wrote: > On 18/12/15 18:05, Tony Lindgren wrote: > >>> Are you referring to Kconfig options? Or userspace? >> >> Well sounds like both need updating :) > > Depends... For simple fb apps, omapdrm works fine, and X

Re: [GIT PULL] few minor omap fixes against v4.4-rc6

2015-12-22 Thread Olof Johansson
On Mon, Dec 21, 2015 at 12:54:19PM -0800, Tony Lindgren wrote: > The following changes since commit 14054fb1da099fd89208b8b319a00e0b902c7645: > > ARM: dts: am4372: fix clock source for arm twd and global timers > (2015-12-09 16:46:25 -0800) > > are available in the git repository at: > >

Re: [GIT PULL 2/4] omap changes for ti81xx devices and minimal dra62x j5eco-evm support

2015-12-22 Thread Olof Johansson
On Tue, Dec 22, 2015 at 3:33 PM, Tony Lindgren wrote: > * Olof Johansson [151222 14:58]: >> Hi Tony, >> >> On Mon, Dec 21, 2015 at 01:06:35PM -0800, Tony Lindgren wrote: >> > The following changes since commit >> > d893656e61040f3ff7b5f72a986052a348f3c94e: >> >

Re: [GIT PULL 2/4] omap changes for ti81xx devices and minimal dra62x j5eco-evm support

2015-12-22 Thread Tony Lindgren
* Olof Johansson [151222 14:58]: > Hi Tony, > > On Mon, Dec 21, 2015 at 01:06:35PM -0800, Tony Lindgren wrote: > > The following changes since commit d893656e61040f3ff7b5f72a986052a348f3c94e: > > > > ARM: OMAP2+: Remove useless check for legacy booting for dm814x > >

Re: [PATCH v4] clk: ti: Add support for dm814x ADPLL

2015-12-22 Thread Tony Lindgren
* Michael Turquette [151222 12:56]: > On 12/22, Tony Lindgren wrote: > > * Tero Kristo [151222 12:28]: > > > On 12/22/2015 05:27 PM, Tony Lindgren wrote: > > > >On dm814x we have 13 ADPLLs with 3 to 4 outputs on each. The > > > >ADPLLs have several

<    1   2   3   4   5   6   7   8   9   10   >