Re: [PATCH] mfd: devicetree: bindings: Add Qualcomm RPM regulator subnodes

2015-02-17 Thread Stephen Boyd
On 02/17/15 13:48, Bjorn Andersson wrote: On Fri, Feb 13, 2015 at 2:13 PM, Andy Gross agr...@codeaurora.org wrote: On Thu, Jan 29, 2015 at 05:51:06PM -0800, Bjorn Andersson wrote: Add the regulator subnodes to the Qualcomm RPM MFD device tree bindings. Signed-off-by: Bjorn Andersson

Re: [PATCH 1/2] device: Add dev_of_node() accessor

2015-02-17 Thread Rob Herring
+Greg KH On Sun, Feb 15, 2015 at 9:59 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: Suggested by Arnd Bergmann, this gives a practical accessor for the of_node field of struct device while instructing the compiler that it will be NULL if CONFIG_OF is not set. Signed-off-by:

Re: [PATCH v2 2/2] leds: add Qualcomm PM8941 WLED driver

2015-02-17 Thread Bjorn Andersson
On Thu, Feb 12, 2015 at 8:07 PM, Stephen Boyd sb...@codeaurora.org wrote: On 01/29/15 04:48, Ivan T. Ivanov wrote: Otherwise it looks good. Driver is loaded and device is detected properly (i have added readings for type and subtype registers). Do you know where I can measure result from

[PATCH 1/3] mailbox: add support for APM X-Gene platform mailbox driver

2015-02-17 Thread Feng Kan
Add support for APM X-Gene platform mailbox driver. Signed-off-by: Feng Kan f...@apm.com --- drivers/mailbox/Kconfig | 10 ++ drivers/mailbox/Makefile| 2 + drivers/mailbox/mailbox-xgene-slimpro.c | 289 3 files changed, 301

Re: [PATCH v2 2/2] leds: add Qualcomm PM8941 WLED driver

2015-02-17 Thread Stephen Boyd
On 02/17/15 15:02, Bjorn Andersson wrote: On Thu, Feb 12, 2015 at 8:26 PM, Stephen Boyd sb...@codeaurora.org wrote: On 01/23/15 16:54, Bjorn Andersson wrote: + +static int pm8941_wled_set(struct led_classdev *cdev, +enum led_brightness value) +{ + struct

[PATCH 2/2 v3] drivers/core/of: Add symlink to device-tree from devices with an OF node

2015-02-17 Thread Benjamin Herrenschmidt
So I've been annoyed lately with having a bunch of devices such as i2c eeproms (for use by VPDs, server world !) and other bits and pieces that I want to be able to identify from userspace, and possibly provide additional data about from FW. Basically, it boils down to correlating the sysfs

Re: [PATCH v2 2/2] leds: add Qualcomm PM8941 WLED driver

2015-02-17 Thread Bjorn Andersson
On Thu, Feb 12, 2015 at 8:26 PM, Stephen Boyd sb...@codeaurora.org wrote: On 01/23/15 16:54, Bjorn Andersson wrote: + +static int pm8941_wled_set(struct led_classdev *cdev, +enum led_brightness value) +{ + struct pm8941_wled *wled; + u8 ctrl = 0; + u16

Re: [PATCH v2 2/2] leds: add Qualcomm PM8941 WLED driver

2015-02-17 Thread Bjorn Andersson
On Thu, Feb 12, 2015 at 8:04 PM, Stephen Boyd sb...@codeaurora.org wrote: [..] + +static int pm8941_wled_remove(struct platform_device *pdev) +{ + struct pm8941_wled *wled; + + wled = platform_get_drvdata(pdev); + led_classdev_unregister(wled-cdev); Would be nice to have a

[PATCH 2/3] Documentation: mailbox: Add APM X-Gene SLIMpro mailbox dts documentation

2015-02-17 Thread Feng Kan
This adds the APM X-Gene SLIMpro mailbox device tree node documentation. Signed-off-by: Feng Kan f...@apm.com --- .../bindings/mailbox/xgene-slimpro-mailbox.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644

[PATCH 3/3] arm64: dts: mailbox device tree node for APM X-Gene platform.

2015-02-17 Thread Feng Kan
Mailbox device tree node for APM X-Gene platform. Signed-off-by: Feng Kan f...@apm.com --- arch/arm64/boot/dts/apm/apm-storm.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi index

Re: [PATCH 2/2 v3] drivers/core/of: Add symlink to device-tree from devices with an OF node

2015-02-17 Thread Rob Herring
On Tue, Feb 17, 2015 at 6:25 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: So I've been annoyed lately with having a bunch of devices such as i2c eeproms (for use by VPDs, server world !) and other bits and pieces that I want to be able to identify from userspace, and possibly

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-17 Thread zhangfei
Hi, Kishon On 02/18/2015 01:35 PM, Kishon Vijay Abraham I wrote: Hi, On Thursday 12 February 2015 01:07 PM, Zhangfei Gao wrote: Add usb phy controller for hi6220 platform Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/phy/Kconfig | 9 ++ drivers/phy/Makefile

Re: [PATCH v3 0/6] Convert twl4030_madc_battery to IIO consumer and add DT aupport

2015-02-17 Thread Belisko Marek
Ping. On Wed, Feb 4, 2015 at 11:14 PM, Marek Belisko ma...@goldelico.com wrote: This patches adding support for twl4030_madc_battery to use twl4030_madc iio framework + DT support. Patches was tested on gta04 board. twl4030_madc_battery driver is converted in first patch to iio consumer and

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-17 Thread Kishon Vijay Abraham I
Hi, On Thursday 12 February 2015 01:07 PM, Zhangfei Gao wrote: Add usb phy controller for hi6220 platform Signed-off-by: Zhangfei Gao zhangfei@linaro.org --- drivers/phy/Kconfig | 9 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-hi6220-usb.c | 306

Re: [PATCH 2/2 v3] drivers/core/of: Add symlink to device-tree from devices with an OF node

2015-02-17 Thread Greg Kroah-Hartman
On Wed, Feb 18, 2015 at 11:25:18AM +1100, Benjamin Herrenschmidt wrote: So I've been annoyed lately with having a bunch of devices such as i2c eeproms (for use by VPDs, server world !) and other bits and pieces that I want to be able to identify from userspace, and possibly provide additional

Re: [PATCH 2/2 v3] drivers/core/of: Add symlink to device-tree from devices with an OF node

2015-02-17 Thread Greg Kroah-Hartman
On Tue, Feb 17, 2015 at 07:07:14PM -0600, Rob Herring wrote: On Tue, Feb 17, 2015 at 6:25 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: So I've been annoyed lately with having a bunch of devices such as i2c eeproms (for use by VPDs, server world !) and other bits and pieces that

Re: [PATCH 2/2] phy: usbphy: Add Broadcom Cygnus USB PHY driver

2015-02-17 Thread Kishon Vijay Abraham I
Hi, On Wednesday 18 February 2015 12:50 AM, Arun Ramamurthy wrote: This driver adds support for USB 2.0 host and device phy for Broadcom's Cygnus chipset Reviewed-by: Ray Jui r...@broadcom.com Reviewed-by: Scott Branden sbran...@broadcom.com Signed-off-by: Arun Ramamurthy

Re: [PATCH 2/2] drivers/core/of: Add symlink to device-tree from devices with an OF node

2015-02-17 Thread Greg Kroah-Hartman
On Tue, Feb 17, 2015 at 09:00:47AM -0600, Rob Herring wrote: +GregKH On Sun, Feb 15, 2015 at 9:59 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: So I've been annoyed lately with having a bunch of devices such as i2c eeproms (for use by VPDs, server world !) and other bits and

Re: [PATCH v2] wlcore: add basic device-tree support

2015-02-17 Thread Mark Rutland
On Tue, Feb 17, 2015 at 03:39:03PM +, Eliad Peller wrote: On Mon, Feb 16, 2015 at 12:06 PM, Arnd Bergmann a...@arndb.de wrote: On Sunday 15 February 2015 13:09:10 Eliad Peller wrote: s + +This node provides properties for controlling the wilink wireless device. The +node is

Re: [PATCH v2 1/3] Ethernet packet sniffer: Device tree binding and vendor prefix

2015-02-17 Thread Stathis Voukelatos
Hi Mark, On 17/02/15 16:35, Mark Rutland wrote: +- tstamp-hz : frequency of the timestamp counter Is this the frequency the clock is running at, or a frequency that it should be programmed to in order to be used? The former can be queried from the common clock framework, and if you

Re: [PATCH v2 1/3] Ethernet packet sniffer: Device tree binding and vendor prefix

2015-02-17 Thread Mark Rutland
On Tue, Feb 17, 2015 at 04:22:04PM +, Stathis Voukelatos wrote: Hi Mark, On 17/02/15 14:51, Mark Rutland wrote: +Matched packet bytes and timestamp values are returned through a +FIFO. Timestamps are provided to the module through an externally +generated Gray-encoded counter.

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-02-17 Thread Rob Landley
On 02/15/2015 04:40 PM, Pavel Machek wrote: On Wed 2015-01-21 13:27:00, Jason Gunthorpe wrote: On Wed, Jan 21, 2015 at 06:33:12PM +0200, Pantelis Antoniou wrote: My point is that the current firmware layer is overly cautious and FPGAs are very big. My current project on small Xilinx device

Re: [PATCH v2] wlcore: add basic device-tree support

2015-02-17 Thread Mark Rutland
[...] + wlcore: wlcore@0 { + compatible = ti,wlcore; + reg = 2; Nit: the reg and unit-address (the bit after the '@' in the node name) should match. Mark. -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to

Re: [PATCH v2 1/3] Ethernet packet sniffer: Device tree binding and vendor prefix

2015-02-17 Thread Stathis Voukelatos
Hi Mark, On 17/02/15 14:51, Mark Rutland wrote: +Matched packet bytes and timestamp values are returned through a +FIFO. Timestamps are provided to the module through an externally +generated Gray-encoded counter. Does this counter unit need to be enabled (or have any input clocks enabled)?

Re: [PATCH/RFC 2/2] regulator: da9210: Add optional interrupt support

2015-02-17 Thread Mark Brown
On Tue, Feb 17, 2015 at 01:11:12PM +0100, Geert Uytterhoeven wrote: - Does there exist any regulator notifier event that corresponds to DA9210_E_VMAX? What does that mean, I might be able to tell you? I guess it might be an over voltage event... + error = regmap_read(chip-regmap,

Re: [PATCH/RFC 2/2] regulator: da9210: Add optional interrupt support

2015-02-17 Thread Geert Uytterhoeven
Hi Mark, On Tue, Feb 17, 2015 at 3:01 PM, Mark Brown broo...@kernel.org wrote: On Tue, Feb 17, 2015 at 01:11:12PM +0100, Geert Uytterhoeven wrote: - Does there exist any regulator notifier event that corresponds to DA9210_E_VMAX? What does that mean, I might be able to tell you? I

Re: [PATCH v2] wlcore: add basic device-tree support

2015-02-17 Thread Eliad Peller
On Mon, Feb 16, 2015 at 12:06 PM, Arnd Bergmann a...@arndb.de wrote: On Sunday 15 February 2015 13:09:10 Eliad Peller wrote: s + +This node provides properties for controlling the wilink wireless device. The +node is expected to be specified as a child node to the SDIO controller that

[PATCH v2 2/3] Packet sniffer core framework

2015-02-17 Thread Stathis Voukelatos
The framework registers each backend sniffer channel as a netdev, which can be accessed from user space through a raw packet socket. Packets received from user space are treated as a command string configuration. Each match event from the backend driver will generate a packet with the matching

Re: [PATCH v2 1/3] Ethernet packet sniffer: Device tree binding and vendor prefix

2015-02-17 Thread Sergei Shtylyov
Hello. On 02/17/2015 05:03 PM, Stathis Voukelatos wrote: Signed-off-by: Stathis Voukelatos stathis.voukela...@linn.co.uk [...] diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index d443279..891c224 100644 ---

Re: [PATCH v2 1/3] Ethernet packet sniffer: Device tree binding and vendor prefix

2015-02-17 Thread Mark Rutland
On Tue, Feb 17, 2015 at 02:03:31PM +, Stathis Voukelatos wrote: Signed-off-by: Stathis Voukelatos stathis.voukela...@linn.co.uk --- .../bindings/net/linn-ether-packet-sniffer.txt | 42 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + 2 files

Re: ARM: shmobile: koelsch: da9210/da9063 interrupt storm (was: Re: [PATCH 3/4] ARM: shmobile: koelsch: Add DA9063 PMIC device node for system restart)

2015-02-17 Thread Mark Brown
On Tue, Feb 17, 2015 at 01:05:07PM +0100, Geert Uytterhoeven wrote: However, as soon as the da9210 driver will get interrupt support (I wrote something, based on the da9211 driver) and the da9210 will have an interrupts property in DTS, the interrupt storm will reappear, irrespectively of the

[PATCH v2 0/3] net: Linn Ethernet Packet Sniffer driver

2015-02-17 Thread Stathis Voukelatos
This patch adds support the Ethernet Packet Sniffer H/W module developed by Linn Products Ltd and found in the IMG Pistachio SoC. The module allows Ethernet packets to be parsed, matched against a user-defined pattern and timestamped. It sits between a 100M Ethernet MAC and PHY and is completely

[PATCH v2 1/3] Ethernet packet sniffer: Device tree binding and vendor prefix

2015-02-17 Thread Stathis Voukelatos
Signed-off-by: Stathis Voukelatos stathis.voukela...@linn.co.uk --- .../bindings/net/linn-ether-packet-sniffer.txt | 42 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + 2 files changed, 43 insertions(+) create mode 100644

[PATCH v2 3/3] Linn Ethernet packet sniffer driver

2015-02-17 Thread Stathis Voukelatos
Driver for the Ethernet Mii packet sniffer H/W module found in the IMG Pistachio SoC. Signed-off-by: Stathis Voukelatos stathis.voukela...@linn.co.uk --- drivers/net/pkt-sniffer/Kconfig | 11 + drivers/net/pkt-sniffer/Makefile | 4 +

Re: [PATCH 2/2] drivers/core/of: Add symlink to device-tree from devices with an OF node

2015-02-17 Thread Rob Herring
+GregKH On Sun, Feb 15, 2015 at 9:59 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: So I've been annoyed lately with having a bunch of devices such as i2c eeproms (for use by VPDs, server world !) and other bits and pieces that I want to be able to identify from userspace, and

[PATCH v2 0/3] ARM: dts: add openpandora device support

2015-02-17 Thread Marek Belisko
changes from v1: - add new boards to makefile in patch 2,3 (don't add them in separate commit together), fix gpmc issues (reported by Tony Lindgren) - fix various issues reported by Grazvydas Ignotas (drop internal pullups from pinmux as external are in place, fix gpio buttons active state ...)

[PATCH v2 1/3] ARM: dts: omap3-pandora: add common device tree

2015-02-17 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com This device tree allows to boot, supports the panel, framebuffer, touch screen, as well as some more peripherals. Since there is a OMAP3530 based 600 MHz variant and a DM3730 based 1 GHz variant we must include this common device tree code in one of

[PATCH v2 3/3] ARM: dts: omap3-pandora: add DM3730 1 GHz version

2015-02-17 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com Added Pandora 1 GHz model which is based on Classic/Rebirth with following changes: - upgraded cpu to dm3730 runs on 1GHz - 512 MiB DDR-333 SDRAM @ 200 MHz Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- arch/arm/boot/dts/Makefile

[PATCH v2 2/3] ARM: dts: omap3-pandora: add OMAP3530 600 MHz version

2015-02-17 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com Added Pandora Rebirth model which is based on Pandora Classic with 512 MiB DDR-333 SDRAM memory. Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/omap3-pandora-600mhz.dts

Re: [PATCH 1/8] i2c: mux-pinctrl: Rework to honor disabled child nodes

2015-02-17 Thread Stephen Warren
On 02/17/2015 11:52 AM, Sebastian Hesselbarth wrote: I2C mux pinctrl driver currently determines the number of sub-busses by counting available pinctrl-names. Unfortunately, this requires each incarnation of the devicetree node with different available sub-busses to be rewritten. Can you be

Re: [PATCH 1/2] phy: usbphy: Add dt documentation for Broadcom Cygnus USB PHY driver

2015-02-17 Thread Arnd Bergmann
On Tuesday 17 February 2015 11:20:20 Arun Ramamurthy wrote: + /* This nodes declares port 0 + and port 1 as host*/ + + ehci0: usb@0x18048000 { + compatible = generic-ehci; + reg = 0x18048000 0x100; + interrupts = GIC_SPI 72

Re: [PATCH v5 1/6] mfd: fsl imx25 Touchscreen ADC driver

2015-02-17 Thread Uwe Kleine-König
Hello Markus, On Sat, Jan 24, 2015 at 03:01:38PM +0100, Markus Pargmann wrote: +config MFD_MX25_TSADC + tristate Freescale i.MX25 integrated Touchscreen and ADC unit + select REGMAP_MMIO + depends on SOC_IMX25 Can you make that: depends on SOC_IMX25 || COMPILE_TEST ? +

Re: [PATCH v6 0/7] Add initial support for DA9150 Charger Fuel-Gauge IC

2015-02-17 Thread Sebastian Reichel
Hi, On Mon, Feb 16, 2015 at 09:45:59PM +, Opensource [Adam Thomson] wrote: Just a quick one to see what the status is on this patch set? Just interested as to when it'll be pulled in. I plan to pull it into for-next once -rc1 has been tagged (probably about a week). Feel free to send a new

[PATCH 0/8] Add proper support for Compulab CM-A510/SBC-A510

2015-02-17 Thread Sebastian Hesselbarth
This patch set improves current mainline support for the Compulab CM-A510 System-on-Module (SoM) and its default Compulab SBC-A510 base board. Thanks to Gabriel Dobato who agreed to remote debug and test the provided DT changes. On the way to proper support, we - Rework i2c-mux-pinctrl to honor

Re: [PATCH v4 2/4] mfd: lubbock_cplds: add lubbock IO board

2015-02-17 Thread Nicolas Pitre
On Tue, 17 Feb 2015, Lee Jones wrote: Arnd, Greg, Perhaps you have some ideas WRT programmables (PLDs/CPLDs/FPGAs)? FWIW... The Lubbock is an ancient development board (circa 2003) using a CPLD to multiplex a couple things on the board. I really doubt anyone would reprogram this CPLD

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-02-17 Thread Jason Gunthorpe
On Sun, Feb 15, 2015 at 11:40:06PM +0100, Pavel Machek wrote: So keeping that much memory pinned in the kernel when I can prove it is uncessary for my system (either because there is no suspend/resume possibility, or because I know the CPU can always access the filesytem) is very

RE: [PATCH v6 0/7] Add initial support for DA9150 Charger Fuel-Gauge IC

2015-02-17 Thread Opensource [Adam Thomson]
On February 17, 2015 18:04, Sebastian Reichel wrote: Hi, On Mon, Feb 16, 2015 at 09:45:59PM +, Opensource [Adam Thomson] wrote: Just a quick one to see what the status is on this patch set? Just interested as to when it'll be pulled in. I plan to pull it into for-next once -rc1 has

[PATCH 0/2] USB PHY driver for Broadcom's Cygnus chipset

2015-02-17 Thread Arun Ramamurthy
This patchset adds the USB phy driver and documentation for Broadom's Cygnus chipset. The phy is configurable from device tree and is capable of both device and host functions. It also provides a clock and reset to the host controller Arun Ramamurthy (2): phy: usbphy: Add dt documentation for

[PATCH 1/2] phy: usbphy: Add dt documentation for Broadcom Cygnus USB PHY driver

2015-02-17 Thread Arun Ramamurthy
Reviewed-by: Ray Jui r...@broadcom.com Reviewed-by: Scott Branden sbran...@broadcom.com Signed-off-by: Arun Ramamurthy arun.ramamur...@broadcom.com --- .../bindings/phy/brcm,cygnus-usb-phy.txt | 50 ++ 1 file changed, 50 insertions(+) create mode 100644

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-02-17 Thread Pavel Machek
On Tue 2015-02-17 11:07:53, Rob Landley wrote: On 02/15/2015 04:40 PM, Pavel Machek wrote: On Wed 2015-01-21 13:27:00, Jason Gunthorpe wrote: On Wed, Jan 21, 2015 at 06:33:12PM +0200, Pantelis Antoniou wrote: My point is that the current firmware layer is overly cautious and FPGAs are

Re: [PATCH v2 1/3] Ethernet packet sniffer: Device tree binding and vendor prefix

2015-02-17 Thread Mark Rutland
On Tue, Feb 17, 2015 at 05:13:19PM +, Stathis Voukelatos wrote: Hi Mark, On 17/02/15 16:35, Mark Rutland wrote: +- tstamp-hz : frequency of the timestamp counter Is this the frequency the clock is running at, or a frequency that it should be programmed to in order to be used?

[PATCH 2/2] phy: usbphy: Add Broadcom Cygnus USB PHY driver

2015-02-17 Thread Arun Ramamurthy
This driver adds support for USB 2.0 host and device phy for Broadcom's Cygnus chipset Reviewed-by: Ray Jui r...@broadcom.com Reviewed-by: Scott Branden sbran...@broadcom.com Signed-off-by: Arun Ramamurthy arun.ramamur...@broadcom.com --- drivers/phy/Kconfig | 12 +

[PATCH 2/8] devicetree: vendor-prefixes: Add CompuLab to known vendors

2015-02-17 Thread Sebastian Hesselbarth
This adds compulab as a vendor-prefix for CompuLab (compulab.co.il), an Israeli company that builds ARM-based SoMs and CoMs. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Jason Cooper ja...@lakedaemon.net Cc: Andrew Lunn and...@lunn.ch Cc: Gregory Clement

[PATCH 7/8] ARM: dts: dove: Add internal i2c multiplexer node

2015-02-17 Thread Sebastian Hesselbarth
This adds a i2c-mux-pinctrl node to dove.dtsi for the internal i2c mux found on Dove SoCs. Up to now, we had no board using any of the two additional i2c busses, so make sure the change does not break any existing boards. Therefore, we rename the i2c-controller node label to i2c and enable it by

[PATCH 1/8] i2c: mux-pinctrl: Rework to honor disabled child nodes

2015-02-17 Thread Sebastian Hesselbarth
I2C mux pinctrl driver currently determines the number of sub-busses by counting available pinctrl-names. Unfortunately, this requires each incarnation of the devicetree node with different available sub-busses to be rewritten. This patch reworks i2c-mux-pinctrl driver to count the number of

Re: [PATCH v5 1/6] mfd: fsl imx25 Touchscreen ADC driver

2015-02-17 Thread Fabio Estevam
On Mon, Feb 16, 2015 at 11:38 AM, Lee Jones lee.jo...@linaro.org wrote: +static int mx25_tsadc_setup_irq(struct platform_device *pdev, + struct mx25_tsadc *tsadc) +{ + struct device *dev = pdev-dev; + struct device_node *np = dev-of_node; + int irq;

Re: [PATCH RFC v9 01/20] clk: divider: Correct parent clk round rate if no bestdiv is normally found

2015-02-17 Thread Sascha Hauer
On Mon, Feb 16, 2015 at 01:18:13PM +0200, Tomi Valkeinen wrote: On 13/02/15 20:57, Sascha Hauer wrote: On Fri, Feb 13, 2015 at 04:35:36PM +0200, Tomi Valkeinen wrote: On 12/02/15 15:41, Sascha Hauer wrote: Tomis patch is based on the assumption that clk_set_rate(clk_round_rate(rate))

ARM: shmobile: koelsch: da9210/da9063 interrupt storm (was: Re: [PATCH 3/4] ARM: shmobile: koelsch: Add DA9063 PMIC device node for system restart)

2015-02-17 Thread Geert Uytterhoeven
On Mon, Dec 22, 2014 at 2:21 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Sun, Dec 21, 2014 at 11:52 AM, Simon Horman ho...@verge.net.au wrote: On Tue, Dec 09, 2014 at 12:22:48PM +0100, Geert Uytterhoeven wrote: Add a minimal device node for the DA9063 PMIC, which is connected to i2c6.

Re: [PATCH v4 5/5] usb: dwc3: add Fujitsu Specific Glue layer

2015-02-17 Thread Felipe Balbi
On Tue, Feb 17, 2015 at 01:41:37PM +0800, Sneeker Yeh wrote: This patch adds support for Synopsis DesignWare USB3 IP Core found on Fujitsu Socs. Signed-off-by: Sneeker Yeh sneeker@tw.fujitsu.com --- .../devicetree/bindings/usb/fujitsu-dwc3.txt | 33

Re: [PATCH 2/8] devicetree: vendor-prefixes: Add CompuLab to known vendors

2015-02-17 Thread Rob Herring
On Tue, Feb 17, 2015 at 12:52 PM, Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: This adds compulab as a vendor-prefix for CompuLab (compulab.co.il), an Israeli company that builds ARM-based SoMs and CoMs. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com

Re: [PATCH 1/2] phy: usbphy: Add dt documentation for Broadcom Cygnus USB PHY driver

2015-02-17 Thread Arun Ramamurthy
Thank you for the review Arnd. On 15-02-17 11:41 AM, Arnd Bergmann wrote: On Tuesday 17 February 2015 11:20:20 Arun Ramamurthy wrote: + /* This nodes declares port 0 + and port 1 as host*/ + + ehci0: usb@0x18048000 { + compatible = generic-ehci; +

Re: [PATCH v5 00/11] Improvements to Tegra-based Chromebook support

2015-02-17 Thread Stephen Warren
On 02/12/2015 01:50 AM, Tomeu Vizoso wrote: Hello, this series adds support for the Tegra-based HP Chromebook 14 (aka nyan blaze), which is very similar to the Acer Chromebook 13 (aka nyan big). Because they both include tegra124-nyan.dtsi, some improvements to Blaze support have also

Re: [PATCH 1/2] phy: usbphy: Add dt documentation for Broadcom Cygnus USB PHY driver

2015-02-17 Thread Arun Ramamurthy
On 15-02-17 12:53 PM, Arnd Bergmann wrote: On Tuesday 17 February 2015 12:00:49 Arun Ramamurthy wrote: Arnd, I patched the ehci and ohci driver to accept multiple phys so they require different names and cannot both be usb. That patch was accepted by Alen Stern but I did not update the

Re: [PATCH 1/8] i2c: mux-pinctrl: Rework to honor disabled child nodes

2015-02-17 Thread Stephen Warren
On 02/17/2015 02:08 PM, Sebastian Hesselbarth wrote: On 17.02.2015 21:46, Stephen Warren wrote: On 02/17/2015 11:52 AM, Sebastian Hesselbarth wrote: I2C mux pinctrl driver currently determines the number of sub-busses by counting available pinctrl-names. Unfortunately, this requires each

Re: [PATCH 1/2] phy: usbphy: Add dt documentation for Broadcom Cygnus USB PHY driver

2015-02-17 Thread Arnd Bergmann
On Tuesday 17 February 2015 12:00:49 Arun Ramamurthy wrote: Arnd, I patched the ehci and ohci driver to accept multiple phys so they require different names and cannot both be usb. That patch was accepted by Alen Stern but I did not update the bindings documentation. I will send out another

Re: [PATCH 1/2] power: reset: Add support for NI Ettus Research USRP E3x0 soft-poweroff.

2015-02-17 Thread Moritz Fischer
Paul, thanks for your feedback. Will incorporate the changes into the v2 when I'll resend. On Sun, Feb 15, 2015 at 12:32 PM, Paul Bolle pebo...@tiscali.nl wrote: One nit below. On Thu, 2015-02-12 at 17:14 -0800, Moritz Fischer wrote: Signed-off-by: Moritz Fischer moritz.fisc...@ettus.com

Re: [PATCH 1/8] i2c: mux-pinctrl: Rework to honor disabled child nodes

2015-02-17 Thread Sebastian Hesselbarth
On 17.02.2015 21:46, Stephen Warren wrote: On 02/17/2015 11:52 AM, Sebastian Hesselbarth wrote: I2C mux pinctrl driver currently determines the number of sub-busses by counting available pinctrl-names. Unfortunately, this requires each incarnation of the devicetree node with different available

Re: [PATCH] mfd: devicetree: bindings: Add Qualcomm RPM regulator subnodes

2015-02-17 Thread Bjorn Andersson
On Fri, Feb 13, 2015 at 2:13 PM, Andy Gross agr...@codeaurora.org wrote: On Thu, Jan 29, 2015 at 05:51:06PM -0800, Bjorn Andersson wrote: Add the regulator subnodes to the Qualcomm RPM MFD device tree bindings. Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- #include

Re: [PATCH 1/8] i2c: mux-pinctrl: Rework to honor disabled child nodes

2015-02-17 Thread Sebastian Hesselbarth
On 17.02.2015 22:15, Stephen Warren wrote: On 02/17/2015 02:08 PM, Sebastian Hesselbarth wrote: On 17.02.2015 21:46, Stephen Warren wrote: Can you be more explicit about the problem here? Why does anything need to be re-written if a child node is disabled; presumably there's no need for the

[Patch V3 2/2] ASoC: max98357a: Remove use of DRV_NAME

2015-02-17 Thread Kenneth Westfield
From: Kenneth Westfield kwest...@codeaurora.org Remove use of DRV_NAME define. Signed-off-by: Kenneth Westfield kwest...@codeaurora.org --- for fix/max98357a branch changes from v2: - split patch into logical changes - rebased to new branch changes from v1: - matched subject line to

[Patch V3 1/2] ASoC: max98357a: Add missing header files

2015-02-17 Thread Kenneth Westfield
From: Kenneth Westfield kwest...@codeaurora.org Add missing header files to avoid implicit declarations and indirect inclusions. Signed-off-by: Kenneth Westfield kwest...@codeaurora.org --- for fix/max98357a branch changes from v2: - split patch into logical changes - rebased to new branch

Re: [PATCH v2 2/2] leds: add Qualcomm PM8941 WLED driver

2015-02-17 Thread Bryan Wu
On Thu, Feb 12, 2015 at 8:04 PM, Stephen Boyd sb...@codeaurora.org wrote: On 01/23/15 16:54, Bjorn Andersson wrote: Thanks for the review, Stephen. Bjorn, could you please update your patch according to Stephen's review. -Bryan + +static int pm8941_wled_configure(struct pm8941_wled *wled,

Re: [PATCH 2/2] drivers/core/of: Add symlink to device-tree from devices with an OF node

2015-02-17 Thread Benjamin Herrenschmidt
On Tue, 2015-02-17 at 07:09 -0800, Greg Kroah-Hartman wrote: Doesn't this need sysfs documentation? Yes it does. Ok, will do. Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org I don't mind applying, but this is Greg's code. Rob --- drivers/base/core.c

Re: [PATCH 2/2] drivers/core/of: Add symlink to device-tree from devices with an OF node

2015-02-17 Thread Olof Johansson
On Sun, Feb 15, 2015 at 7:59 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: So I've been annoyed lately with having a bunch of devices such as i2c eeproms (for use by VPDs, server world !) and other bits and pieces that I want to be able to identify from userspace, and possibly

Re: [PATCH v2 2/2] leds: add Qualcomm PM8941 WLED driver

2015-02-17 Thread Bjorn Andersson
On Tue, Feb 17, 2015 at 2:14 PM, Bryan Wu coolo...@gmail.com wrote: On Thu, Feb 12, 2015 at 8:04 PM, Stephen Boyd sb...@codeaurora.org wrote: On 01/23/15 16:54, Bjorn Andersson wrote: Thanks for the review, Stephen. Bjorn, could you please update your patch according to Stephen's review. I

Re: [PATCH v2 2/2] leds: add Qualcomm PM8941 WLED driver

2015-02-17 Thread Bryan Wu
On Tue, Feb 17, 2015 at 2:30 PM, Bjorn Andersson bj...@kryo.se wrote: On Tue, Feb 17, 2015 at 2:14 PM, Bryan Wu coolo...@gmail.com wrote: On Thu, Feb 12, 2015 at 8:04 PM, Stephen Boyd sb...@codeaurora.org wrote: On 01/23/15 16:54, Bjorn Andersson wrote: Thanks for the review, Stephen. Bjorn,

Re: [PATCH] of/overlay: Directly include idr.h

2015-02-17 Thread Pantelis Antoniou
Hi Mark, On Feb 17, 2015, at 04:36 , Mark Brown broo...@kernel.org wrote: The overlay code uses IDRs but does not explicitly include the header providing the interface, instead relying on an implicit inclusion. Make the dependency implict to avoid potential future build issues if the

Re: [PATCH] of/overlay: Directly include idr.h

2015-02-17 Thread Mark Brown
On Tue, Feb 17, 2015 at 11:15:28AM +0200, Pantelis Antoniou wrote: providing the interface, instead relying on an implicit inclusion. Make the dependency implict to avoid potential future build issues if the s/implicit/explicit/ signature.asc Description: Digital signature

[PATCH/RFC 2/2] regulator: da9210: Add optional interrupt support

2015-02-17 Thread Geert Uytterhoeven
Add optional interrupt support to the da9210 regulator driver, to handle over-current, under-voltage, and over-temperature events. Only the interrupt sources for which we handle events are unmasked, to avoid interrupts we cannot handle. Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be