Re: [PATCHv4 04/10] arm: mvebu: move Armada 370/XP pinctrl node definition armada-370-xp.dtsi

2014-11-19 Thread Uwe Kleine-König
Hello Arnaud, On Wed, Nov 19, 2014 at 12:02:11AM +0100, Arnaud Ebalard wrote: + + sdio_pins: sdio-pins { + marvell,pins = mpp30, mpp31, mpp32, +mpp33, mpp34, mpp35; + marvell,function = sd0; + }; +}; \ No newline at end of file

Re: [PATCHv4 1/1] thermal: of: improve of-thermal sensor registration API

2014-11-19 Thread Alexandre Courbot
On Tue, Nov 18, 2014 at 11:39 PM, Eduardo Valentin edubez...@gmail.com wrote: Different drivers request API extensions in of-thermal. For this reason, additional callbacks are required to fit the new drivers needs. The current API implementation expects the registering sensor driver to

Re: [PATCHv4 1/1] thermal: of: improve of-thermal sensor registration API

2014-11-19 Thread Lukasz Majewski
Hi Eduardo, Different drivers request API extensions in of-thermal. For this reason, additional callbacks are required to fit the new drivers needs. The current API implementation expects the registering sensor driver to provide a get_temp and get_trend callbacks as function parameters.

Re: [PATCH v5.5] of/fdt: export fdt blob as /sys/firmware/fdt

2014-11-19 Thread Ard Biesheuvel
On 19 November 2014 00:11, Rob Herring rob.herr...@linaro.org wrote: On Tue, Nov 18, 2014 at 4:11 PM, Grant Likely grant.lik...@linaro.org wrote: On Tue, 18 Nov 2014 17:25:45 + , Mark Rutland mark.rutl...@arm.com wrote: On Tue, Nov 18, 2014 at 04:51:45PM +, Grant Likely wrote: On

[PATCH 0/7] Fix sti drivers whcih mix reg address spaces

2014-11-19 Thread Peter Griffin
Hi, Following on from Arnds comments about the picophy driver here https://lkml.org/lkml/2014/11/13/161, this series fixes the remaining upstreamed drivers for STI, which are mixing address spaces in the reg property. We do this in a way similar to the keystone and bcm7445 platforms, by having

[PATCH 7/7] stmmac: dwmac-sti: Pass sysconfig register offset via syscon dt property.

2014-11-19 Thread Peter Griffin
Based on Arnds review comments here https://lkml.org/lkml/2014/11/13/161, we should not be mixing address spaces in the reg property like this driver currently does. This patch updates the driver, dt docs and also the existing dt nodes to pass the sysconfig offset in the syscon dt property. This

[PATCH 5/7] ARM: STi: DT: STiH410: Add DT nodes for the ehci and ohci usb controllers.

2014-11-19 Thread Peter Griffin
This patch adds the DT nodes for the extra ehci and ohci usb controllers on the stih410 SoC. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- arch/arm/boot/dts/stih410.dtsi | 52 ++ 1 file changed, 52 insertions(+) diff --git

[PATCH 4/7] ARM: STi: DT: STiH410: Add usb2 picophy dt nodes

2014-11-19 Thread Peter Griffin
This patch adds the dt nodes for the extra usb2 picophys found on the stih410. These two picophys are used in conjunction with the extra ehci/ohci usb controllers also found on the stih410. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- arch/arm/boot/dts/stih410.dtsi | 18

[PATCH 3/7] ARM: STi: DT: STiH407: Add usb2 picophy dt nodes

2014-11-19 Thread Peter Griffin
This patch adds the dt nodes for the usb2 picophy found on the stih407 device family. It is used on stih407 by the dwc3 usb3 controller when controlling usb2/1.1 devices. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- arch/arm/boot/dts/stih407-family.dtsi | 9 + 1 file

[PATCH 6/7] ARM: multi_v7_defconfig: Enable stih407 usb picophy

2014-11-19 Thread Peter Griffin
This patch enables the picoPHY usb phy which is used by the usb2 and usb3 host controllers when controlling usb2/1.1 devices. It is found in stih407 family SoC's from STMicroelectronics. Signed-off-by: Peter Griffin peter.grif...@linaro.org Acked-by: Lee Jones lee.jo...@linaro.org ---

[PATCH 1/7] phy: phy-stih407-usb: Pass sysconfig register offsets via syscfg property.

2014-11-19 Thread Peter Griffin
Based on Arnds review comments here https://lkml.org/lkml/2014/11/13/161, update the phy driver to not use the reg property to access the sysconfig register offsets. This is because other phy's (miphy28, miphy365) have a combination of memory mapped registers and sysconfig control regs, and we

[PATCH 2/7] phy: miphy365x: Pass sysconfig register offsets via syscfg dt property.

2014-11-19 Thread Peter Griffin
Based on Arnds review comments here https://lkml.org/lkml/2014/11/13/161, update the miphy365 phy driver to access sysconfig register offsets via syscfg dt property. This is because the reg property should not be mixing address spaces like it does currently for miphy365. This change then also

Re: [PATCHv4 04/10] arm: mvebu: move Armada 370/XP pinctrl node definition armada-370-xp.dtsi

2014-11-19 Thread Arnaud Ebalard
Hi Uwe, Uwe Kleine-König u.kleine-koe...@pengutronix.de writes: On Wed, Nov 19, 2014 at 12:02:11AM +0100, Arnaud Ebalard wrote: + +sdio_pins: sdio-pins { +marvell,pins = mpp30, mpp31, mpp32, + mpp33, mpp34, mpp35; +marvell,function =

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

2014-11-19 Thread Arnd Bergmann
On Wednesday 19 November 2014 13:35:44 Benjamin Herrenschmidt wrote: On Wed, 2014-11-19 at 10:39 +1100, Jeremy Kerr wrote: Hi Rob, diff --git a/drivers/base/core.c b/drivers/base/core.c index 20da3ad..8c7b607 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -493,6

Re: [PATCH v2] ARM: dts: sunxi: Update simplfb nodes so that u-boot can find them

2014-11-19 Thread Maxime Ripard
On Tue, Nov 18, 2014 at 12:07:13PM +0100, Hans de Goede wrote: Review of the u-boot sunxi simplefb patches has led to the decision that u-boot should not use a specific path to find the nodes as this goes contrary to how devicetree usually works. Instead a platform specific compatible +

Re: [PATCH 7/7] stmmac: dwmac-sti: Pass sysconfig register offset via syscon dt property.

2014-11-19 Thread Lee Jones
On Wed, 19 Nov 2014, Peter Griffin wrote: Based on Arnds review comments here https://lkml.org/lkml/2014/11/13/161, we should not be mixing address spaces in the reg property like this driver currently does. This patch updates the driver, dt docs and also the existing dt nodes to pass the

Re: [PATCH v12 1/3] drm: rockchip: Add basic drm driver

2014-11-19 Thread Boris Brezillon
On Wed, 19 Nov 2014 10:02:53 +0800 Mark yao mark@rock-chips.com wrote: On 2014年11月19日 09:09, Mark yao wrote: On 2014年11月18日 22:24, Daniel Vetter wrote: On Tue, Nov 18, 2014 at 02:21:30PM +0100, Boris Brezillon wrote: Hi Daniel, On Tue, 18 Nov 2014 09:32:34 +0100 Daniel Vetter

Re: [RFC PATCH v2] drivers: pci: move PCI domain assignment to generic PCI code

2014-11-19 Thread Yijing Wang
Hi Lorenzo, You should send this to Bjorn instead of cc. Other, why put the OF related function in PCI core. Why not move it in drivers/of/of_pci.c ? On 2014/11/11 0:41, Lorenzo Pieralisi wrote: The current logic used for PCI domain assignment in arm64 pci_bus_assign_domain_nr() is flawed in

[PATCH 2/2] drm/panel: Add support for Giantplus GPG482739QS5 panel

2014-11-19 Thread Lucas Stach
From: Philipp Zabel philipp.za...@gmail.com This patch adds support for the GiantPlus GPG48273QS5 4.3 WQVGA TFT LCD panel to the simple-panel driver. This panel is connected via a parallel bus and uses both HSYNC and VSYNC, whose lengths are unfortunately not clearly defined. The datasheet only

[PATCH 1/2] of: Add vendor prefix for Giantplus Technology Co., Ltd.

2014-11-19 Thread Lucas Stach
From: Philipp Zabel philipp.za...@gmail.com Signed-off-by: Philipp Zabel philipp.za...@gmail.com Signed-off-by: Lucas Stach l.st...@pengutronix.de --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v2 1/4] spi: Add 'last' flag to spi_transfer structure

2014-11-19 Thread Mark Brown
On Tue, Nov 18, 2014 at 11:55:46PM +0100, Beniamino Galvani wrote: Would it be better to introduce something like: static inline bool spi_transfer_is_last(struct spi_master *master, struct spi_transfer *xfer) { return list_is_last(xfer-transfer_list, master-cur_msg-transfers); }

Re: [PATCH V8 00/14] drm/exynos: few patches to enhance bridge chip support

2014-11-19 Thread Javier Martinez Canillas
Hello Ajay, On 11/18/2014 07:20 AM, Ajay kumar wrote: On Sat, Nov 15, 2014 at 3:24 PM, Ajay Kumar ajaykumar...@samsung.com wrote: This series is based on master branch of Linus tree at: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git I applied your series on top of 3.18-rc5 +

Re: [PATCH V8 00/14] drm/exynos: few patches to enhance bridge chip support

2014-11-19 Thread Ajay kumar
Hi Javier, In the cover letter, I have mentioned that it is tested on Linus tree: This series is based on master branch of Linus tree at: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Kindly test the patches with that. Ajay On Wed, Nov 19, 2014 at 3:05 PM, Javier Martinez

Re: [RFC PATCH v2] drivers: pci: move PCI domain assignment to generic PCI code

2014-11-19 Thread Lorenzo Pieralisi
On Wed, Nov 19, 2014 at 09:16:34AM +, Yijing Wang wrote: Hi Lorenzo, You should send this to Bjorn instead of cc. Other, why put the OF related function in PCI core. Why not move it in drivers/of/of_pci.c ? I did, you missed v1, and the problem is that with ACPI forthcoming we do not

Re: [RFC] adp1653: Add device tree bindings for LED controller

2014-11-19 Thread Jacek Anaszewski
Hi Pavel, Sakari, On 11/18/2014 05:51 PM, Pavel Machek wrote: Hi! If the hardware LED changes with one that needs different current, the block for the adp1653 stays the same, but white LED block should be updated with different value. I think that you are talking about sub nodes. Indeed I

Re: [PATCH V8 00/14] drm/exynos: few patches to enhance bridge chip support

2014-11-19 Thread Javier Martinez Canillas
Hello Ajay, On 11/19/2014 10:38 AM, Ajay kumar wrote: Hi Javier, In the cover letter, I have mentioned that it is tested on Linus tree: This series is based on master branch of Linus tree at: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Kindly test the patches with

Re: [RESUBMIT PATCH v7 7/9] regulator: sky81452: Modify Device Tree structure

2014-11-19 Thread Mark Brown
On Wed, Nov 19, 2014 at 04:39:54PM +0900, Gyungoh Yoo wrote: If of_match and regulators_node are assigned, don't I need to call of_regulator_match()? Does regulator_register() call it internally? So can I write code like below? static const struct regulator_desc sky81452_reg = {

Re: [PATCH] ARM: dts: fix PWM clock found on RK3288 Socs

2014-11-19 Thread Caesar Wang
Doug, 在 2014/11/19 13:14, Doug Anderson 写道: Caesar, On Tue, Nov 18, 2014 at 7:25 PM, Caesar Wang caesar.w...@rock-chips.com wrote: We use the new PWM IP on RK3288,but the PWM's clock indeed incorrect. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288.dtsi |

Re: [PATCH v4] mmc: dw_mmc: add support for the other bit of sdio interrupt

2014-11-19 Thread Ulf Hansson
On 4 November 2014 15:03, Addy Ke addy...@rock-chips.com wrote: The bit of sdio interrupt is 16 in designware implementation, but it is 24 on Rockchip SoCs.This patch add sdio_id0 for the number of slot0 in the SDIO interrupt registers. Signed-off-by: Addy Ke addy...@rock-chips.com Thanks!

Re: [PATCH 2/7] phy: miphy365x: Pass sysconfig register offsets via syscfg dt property.

2014-11-19 Thread Lee Jones
On Wed, 19 Nov 2014, Peter Griffin wrote: Based on Arnds review comments here https://lkml.org/lkml/2014/11/13/161, update the miphy365 phy driver to access sysconfig register offsets via syscfg dt property. This is because the reg property should not be mixing address spaces like it

Re: [PATCH V8 00/14] drm/exynos: few patches to enhance bridge chip support

2014-11-19 Thread Paolo Pisati
On Wed, Nov 19, 2014 at 10:35:40AM +0100, Javier Martinez Canillas wrote: Hello Ajay, On 11/18/2014 07:20 AM, Ajay kumar wrote: On Sat, Nov 15, 2014 at 3:24 PM, Ajay Kumar ajaykumar...@samsung.com wrote: This series is based on master branch of Linus tree at:

Re: [PATCH v7 0/3] new Atmel DMA controller

2014-11-19 Thread Nicolas Ferre
On 06/11/2014 06:27, Vinod Koul : On Wed, Oct 22, 2014 at 05:22:17PM +0200, Ludovic Desroches wrote: Hi, This set of patches introduces support for the new Atmel DMA controller know as XDMAC and available on SAMA5D4. Applied all, thanks Vinod, I saw that you had created a topic branch

Re: [PATCH v7 0/3] new Atmel DMA controller

2014-11-19 Thread Vinod Koul
On Wed, Nov 19, 2014 at 12:03:31PM +0100, Nicolas Ferre wrote: On 06/11/2014 06:27, Vinod Koul : On Wed, Oct 22, 2014 at 05:22:17PM +0200, Ludovic Desroches wrote: Hi, This set of patches introduces support for the new Atmel DMA controller know as XDMAC and available on SAMA5D4.

Re: [PATCH V8 00/14] drm/exynos: few patches to enhance bridge chip support

2014-11-19 Thread Javier Martinez Canillas
Hello Paolo, On 11/19/2014 11:55 AM, Paolo Pisati wrote: to get a working framebuffer out of linus 318rc4 on my peach pi, i had to cherry pick these 3 patches: arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy I was missing this patch, I've display working now. Thanks for the

Re: [PATCH v4 1/2] ARM: keystone: pm: switch to use generic pm domains

2014-11-19 Thread Grygorii Strashko
Hi Arnd, On 11/18/2014 09:32 PM, Arnd Bergmann wrote: On Tuesday 18 November 2014 20:54:36 Grygorii Strashko wrote: Hi All, Thank you for your comments. On 11/17/2014 11:50 PM, Kevin Hilman wrote: Arnd Bergmann a...@arndb.de writes: On Monday 17 November 2014 11:14:16 Kevin Hilman wrote:

Re: [PATCH v2 2/2] arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy

2014-11-19 Thread Javier Martinez Canillas
[adding Kukjin to cc list] Hello Vivek, On Wed, Nov 12, 2014 at 5:21 AM, Jingoo Han jg1@samsung.com wrote: On Thursday, October 30, 2014 10:24 PM, Vivek Gautam wrote: DP PHY now require pmu-system-controller to handle PMU register to control PHY's power isolation. Adding the same to

[PATCH] ARM: dts: dove: add DT LCD controllers

2014-11-19 Thread Russell King
Add the DT fragment for the Marvell Dove LCD controllers. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- The documentation for this binding was submitted previously as part of the code which parses this - v3.17-rc1~82^2~32^2~2. arch/arm/boot/dts/dove.dtsi | 14 ++ 1

[PATCH 08/10] dt/bindings: add clock-select function property to micrel phy binding

2014-11-19 Thread Johan Hovold
Add micrel,rmii-reference-clock-select-25-mhz to Micrel ethernet PHY binding documentation. This property is needed to properly describe some revisions of Micrel PHYs which has the function of this configuration bit inverted so that setting it enables 25 MHz rather than 50 MHz clock mode. Note

[PATCH 07/10] dt/bindings: reformat micrel eth-phy documentation

2014-11-19 Thread Johan Hovold
Reduce indentation of Micrel PHY binding documentations somewhat. Also fix reference input clock typo while at it. Cc: devicetree@vger.kernel.org Signed-off-by: Johan Hovold jo...@kernel.org --- Documentation/devicetree/bindings/net/micrel.txt | 26 1 file changed, 13

Re: [PATCH v2 2/2] arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy

2014-11-19 Thread Vivek Gautam
Hi Javier, On Wed, Nov 19, 2014 at 5:06 PM, Javier Martinez Canillas jav...@dowhile0.org wrote: [adding Kukjin to cc list] Hello Vivek, On Wed, Nov 12, 2014 at 5:21 AM, Jingoo Han jg1@samsung.com wrote: On Thursday, October 30, 2014 10:24 PM, Vivek Gautam wrote: DP PHY now require

Re: [PATCHv4 02/10] arm: mvebu: add uartX labels for Armada SoC serial nodes

2014-11-19 Thread Thomas Petazzoni
Dear Arnaud Ebalard, On Wed, 19 Nov 2014 00:01:47 +0100, Arnaud Ebalard wrote: This patch adds uartX labels for Armada SoC serial nodes. This is a preliminary work to be able to easily reference the serial lines in Device Tree files. One expected use is when providing stdout-path property

Re: [PATCHv4 03/10] arm: mvebu: use recently introduced uart label for stdout-path

2014-11-19 Thread Thomas Petazzoni
Dear Arnaud Ebalard, On Wed, 19 Nov 2014 00:01:59 +0100, Arnaud Ebalard wrote: Now that labels for uartX are available in Marvell Armada .dtsi files, this patch replaces the /soc/internal-regs/serial@12000 found in armada-xp-lenovo-ix4-300d.dts file for stdout-path property by the more

Re: [PATCH] of/address: Don't throw errors on absent ranges properties

2014-11-19 Thread Grant Likely
On Wed, 19 Nov 2014 13:32:31 +1100 , Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Tue, 2014-11-18 at 16:57 +, Grant Likely wrote: On Fri, 14 Nov 2014 17:58:23 +1100 , Benjamin Herrenschmidt b...@kernel.crashing.org wrote: The core always tries to translate any reg

[PATCH V2] ARM: dts: DRA7: Add node for RTC

2014-11-19 Thread Lokesh Vutla
Add node for RTC. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com [n...@ti.com: update with rtc crossbar number] Signed-off-by: Nishanth Menon n...@ti.com --- Changes since v1: - Fixed rtc dt node label. arch/arm/boot/dts/dra7.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH v3] leds: lp8860: Introduce TI lp8860 4 channel LED driver

2014-11-19 Thread Dan Murphy
Introduce the Texas Instruments lp8860 4 channel LED driver. This driver configures the device in display cluster mode as this seems to be the most used configuration at the time of the driver configuration. For more product information please see the link below:

Looking for good references for ARM driver development

2014-11-19 Thread Mason
Hello everyone, I've been using several Linux distributions, and writing user-space programs, for 15 years. I recently seized an opportunity to move into kernel development, mainly writing drivers for an ARM SoC, and I'm finding the transition harder than I expected. I'm having a hard time

Re: [PATCH v5.5] of/fdt: export fdt blob as /sys/firmware/fdt

2014-11-19 Thread Ian Campbell
On Tue, 2014-11-18 at 22:11 +, Grant Likely wrote: * It also helps with exposing the reserved map to userspace, but kexec has done without that feature for years, and it is in the process of being deprecated in favour of /reserved-memory anyway. This is the first I'd heard of

Re: [PATCH v12 1/3] drm: rockchip: Add basic drm driver

2014-11-19 Thread Daniel Vetter
On Wed, Nov 19, 2014 at 10:04:13AM +0100, Boris Brezillon wrote: AFAIU, the suggestion was to split drm_connector_init and drm_connector_register calls: - drm_connector_init call should still be part of the load procedure (this function adds the connector to the connector list which is

Re: [PATCHv4 1/1] thermal: of: improve of-thermal sensor registration API

2014-11-19 Thread Eduardo Valentin
Hey Lukasz, On Wed, Nov 19, 2014 at 09:21:39AM +0100, Lukasz Majewski wrote: Hi Eduardo, big cut } On which branch should I apply this patch? This is based in my -linus branch. That means I will send this for the next major window, not rc. The branch -fixes of thermal-soc include

Re: [PATCH v4 1/2] ARM: keystone: pm: switch to use generic pm domains

2014-11-19 Thread Arnd Bergmann
On Wednesday 19 November 2014 13:32:45 Grygorii Strashko wrote: On 11/18/2014 09:32 PM, Arnd Bergmann wrote: On Tuesday 18 November 2014 20:54:36 Grygorii Strashko wrote: Have one pmdomain driver in the generic code that knows about clocks, possibly also regulators and pins and just

[PATCH v3] clk_mux: Fix set_parent doing the wrong thing when INDEX_BIT index = 3

2014-11-19 Thread Hans de Goede
If CLK_MUX_INDEX_BIT is set, then each bit turns on / off a single parent, so theoretically multiple parents could be enabled at the same time, but in practice only one bit should ever be 1. So to select parent 0, set the register (*) to 0x01, to select parent 1 set it 0x02, parent 2, 0x04, parent

[PATCH v8 2/2] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-11-19 Thread Boris Brezillon
The Atmel HLCDC (HLCD Controller) IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provides a display controller device. The HLCDC block provides a single RGB output port, and only supports LCD panels connection to LCD panels for now. The atmel,panel

[PATCH v8 0/2] drm: add support for Atmel HLCDC Display Controller

2014-11-19 Thread Boris Brezillon
Hello, This patch series adds support for the Atmel HLCDC Display Controller embedded in the HLCDC block. The drivers supports basic CRTC functionalities, several overlays and provides an hardware cursor. At the moment, it only supports connection to LCD panels through an RGB connector (defined

[PATCH v8 1/2] drm: add Atmel HLCDC Display Controller support

2014-11-19 Thread Boris Brezillon
The Atmel HLCDC (HLCD Controller) IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provides a display controller device. This display controller supports at least one primary plane and might provide several overlays and an hardware cursor depending on the IP

Re: [PATCH] Patch to improve device tree structure

2014-11-19 Thread Grant Likely
On Wed, Nov 19, 2014 at 1:37 AM, Frank Rowand frowand.l...@gmail.com wrote: On 11/18/2014 7:10 AM, Grant Likely wrote: On Sun, 16 Nov 2014 20:52:56 -0800 , Gaurav Minocha gaurav.minocha...@gmail.com wrote: This patch improves the implementation of device tree structure. Traditional child

Re: [PATCH 2/2] dt-bindings: simplefb-sunxi: Add sunxi simplefb extensions

2014-11-19 Thread Grant Likely
On Mon, Nov 17, 2014 at 3:55 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Mon, Nov 17, 2014 at 01:39:18PM +, Grant Likely wrote: On Mon, Nov 17, 2014 at 12:47 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Mon, Nov 17, 2014 at 12:34:46PM +0100, Hans de Goede

[PATCH v7 0/4] ARM: mediatek: Add support for interrupt polarity

2014-11-19 Thread Yingjoe Chen
This series is 7th version of interrupt polarity support for MediaTek SoCs. I rebased previous version on latest tip/irq/irqdomain and use newly added helper function irq_domain_add_hierarchy(). I also changed according to Marc's suggestion. Simplified block diagram for interrupt on my system:

[PATCH v7 4/4] dt-bindings: add bindings for mediatek sysirq

2014-11-19 Thread Yingjoe Chen
Add binding documentation for Mediatek SoC SYSIRQ. Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com --- .../bindings/arm/mediatek/mediatek,sysirq.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644

[PATCH v7 3/4] ARM: mediatek: Add sysirq in mt6589/mt8135/mt8127 dtsi

2014-11-19 Thread Yingjoe Chen
Add sysirq settings for mt6589/mt8135/mt8127 This also correct timer interrupt flag. The old setting works because boot loader already set polarity for timer interrupt. Without intpol support, the setting was not changed so gic can get the irq correctly. Signed-off-by: Yingjoe Chen

[PATCH v7 2/4] ARM: mediatek: Add sysirq interrupt polarity support

2014-11-19 Thread Yingjoe Chen
Mediatek SoCs have interrupt polarity support in sysirq which allows to invert polarity for given interrupt. Add this support using hierarchy irq domain. Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com --- drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-mtk-sysirq.c | 158

[PATCH v7 1/4] irqchip: gic: Support hierarchy irq domain.

2014-11-19 Thread Yingjoe Chen
Add support to use gic as a parent for stacked irq domain. Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com --- drivers/irqchip/Kconfig | 1 + drivers/irqchip/irq-gic.c | 78 --- 2 files changed, 55 insertions(+), 24 deletions(-) diff --git

Re: [PATCH 2/2] DT: i2c: Add more devices handled by the adxl34x-i2c driver

2014-11-19 Thread Wolfram Sang
On Fri, Nov 14, 2014 at 05:03:31PM +0100, Geert Uytterhoeven wrote: This allows checkpatch to validate more DTSes. Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be Applied to for-next, thanks! signature.asc Description: Digital signature

Re: [PATCH 1/2] DT: i2c: Add more devices handled by the rtc-rs5c372 driver

2014-11-19 Thread Wolfram Sang
On Fri, Nov 14, 2014 at 05:03:30PM +0100, Geert Uytterhoeven wrote: This allows checkpatch to validate more DTSes. Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be Applied to for-next, thanks! signature.asc Description: Digital signature

Question about fixed regulator DT properties

2014-11-19 Thread Vladimir Zapolskiy
Hello Mark, On 18.11.2014 17:00, Vladimir Zapolskiy wrote: Hello, I need to set a GPIO (active high) output high on boot, which enables a power rail supplying some external devices. I have a question regarding regulator-boot-on and enable-active-high fixed regulator device tree

Re: [PATCH V2 09/10] serial: earlycon: Set UPIO_MEM32BE based on DT properties

2014-11-19 Thread Grant Likely
On Tue, 18 Nov 2014 21:16:08 -0600 , Rob Herring r...@kernel.org wrote: On Wed, Nov 12, 2014 at 2:54 PM, Kevin Cernekee cerne...@gmail.com wrote: If an earlycon (stdout-path) node is being used, check for big-endian or native-endian properties and pass the appropriate iotype to the driver.

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

2014-11-19 Thread Rob Herring
On Wed, Nov 19, 2014 at 2:38 AM, Arnd Bergmann a...@arndb.de wrote: On Wednesday 19 November 2014 13:35:44 Benjamin Herrenschmidt wrote: On Wed, 2014-11-19 at 10:39 +1100, Jeremy Kerr wrote: Hi Rob, diff --git a/drivers/base/core.c b/drivers/base/core.c index 20da3ad..8c7b607 100644

Re: [PATCH V2 06/10] serial: pxa: Add fifo-size and {big,native}-endian properties

2014-11-19 Thread Grant Likely
On Wed, 12 Nov 2014 12:54:03 -0800 , Kevin Cernekee cerne...@gmail.com wrote: With a few tweaks, the PXA serial driver can handle other 16550A clones. Add a fifo-size DT property to override the FIFO depth (BCM7xxx uses 32), and {native,big}-endian properties similar to regmap to support SoCs

Re: [PATCH 1/2] of: Add vendor prefix for Giantplus Technology Co., Ltd.

2014-11-19 Thread Rob Herring
On Wed, Nov 19, 2014 at 3:29 AM, Lucas Stach l.st...@pengutronix.de wrote: From: Philipp Zabel philipp.za...@gmail.com Signed-off-by: Philipp Zabel philipp.za...@gmail.com Signed-off-by: Lucas Stach l.st...@pengutronix.de Acked-by: Rob Herring r...@kernel.org ---

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

2014-11-19 Thread Arnd Bergmann
On Wednesday 19 November 2014 08:45:58 Rob Herring wrote: static inline struct device_node *dev_of_node(struct device *of_node) { if (!IS_ENABLED(CONFIG_OF)) return NULL; return dev-of_node; } Adding the IS_ENABLED() in a lot of drivers isn't

Re: Looking for good references for ARM driver development

2014-11-19 Thread Andreas Färber
Hi, Am 19.11.2014 um 13:50 schrieb Mason: [...] I'm writing a driver for a temperature sensor, which is supposed to work within the hwmon/lm-sensors framework. The sensor's API consists of 3 memory-mapped registers, which are accessible over the SoC's memory bus. [...] 1) Which bus

Re: [PATCH v5.5] of/fdt: export fdt blob as /sys/firmware/fdt

2014-11-19 Thread Grant Likely
On Wed, 19 Nov 2014 13:09:36 + , Ian Campbell ian.campb...@citrix.com wrote: On Tue, 2014-11-18 at 22:11 +, Grant Likely wrote: * It also helps with exposing the reserved map to userspace, but kexec has done without that feature for years, and it is in the process of

Re: [PATCH v5.5] of/fdt: export fdt blob as /sys/firmware/fdt

2014-11-19 Thread Grant Likely
On Wed, 19 Nov 2014 09:24:41 +0100 , Ard Biesheuvel ard.biesheu...@linaro.org wrote: On 19 November 2014 00:11, Rob Herring rob.herr...@linaro.org wrote: On Tue, Nov 18, 2014 at 4:11 PM, Grant Likely grant.lik...@linaro.org wrote: On Tue, 18 Nov 2014 17:25:45 + , Mark Rutland

Re: [PATCH v2 1/5] video: omapdss: Add opa362 driver

2014-11-19 Thread Dr. H. Nikolaus Schaller
Am 13.11.2014 um 17:41 schrieb Tomi Valkeinen tomi.valkei...@ti.com: On 13/11/14 18:25, Dr. H. Nikolaus Schaller wrote: Hi, Am 13.11.2014 um 12:51 schrieb Tomi Valkeinen tomi.valkei...@ti.com: On 13/11/14 00:10, Marek Belisko wrote: opa362 is amplifier for video and can be connected to

[PATCH 2/2] ARM: shmobile: sh73a0 dtsi: Add missing INTCA0 clock for irqpin module

2014-11-19 Thread Geert Uytterhoeven
This clock drives the irqpin controller modules. Before, it was assumed enabled by the bootloader or reset state. By making it available to the driver, we make sure it gets enabled when needed, and allow it to be managed by system or runtime PM. Signed-off-by: Geert Uytterhoeven

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

2014-11-19 Thread Rob Herring
On Wed, Nov 19, 2014 at 8:49 AM, Arnd Bergmann a...@arndb.de wrote: On Wednesday 19 November 2014 08:45:58 Rob Herring wrote: static inline struct device_node *dev_of_node(struct device *of_node) { if (!IS_ENABLED(CONFIG_OF)) return NULL; return

Re: [PATCHv4 1/1] thermal: of: improve of-thermal sensor registration API

2014-11-19 Thread Mikko Perttunen
On 11/18/2014 04:39 PM, Eduardo Valentin wrote: Different drivers request API extensions in of-thermal. For this reason, additional callbacks are required to fit the new drivers needs. The current API implementation expects the registering sensor driver to provide a get_temp and get_trend

Re: [PATCHv4 1/1] thermal: of: improve of-thermal sensor registration API

2014-11-19 Thread Mikko Perttunen
On 11/19/2014 05:41 PM, Mikko Perttunen wrote: On 11/18/2014 04:39 PM, Eduardo Valentin wrote: Different drivers request API extensions in of-thermal. For this reason, additional callbacks are required to fit the new drivers needs. The current API implementation expects the registering sensor

Re: [PATCH 6/6] ARM: at91/dt: add ISI node

2014-11-19 Thread Nicolas Ferre
On 30/09/2014 18:19, Boris Brezillon : Add ISI (Image Sensor Interface) DT node. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com I take this one for at91-3.19-dt2 Thanks, best regards. --- arch/arm/boot/dts/at91sam9g45.dtsi | 32 1 file

[PATCH 2/4] ARM: dts: Add temperature sensor to exynos5250-spring

2014-11-19 Thread Andreas Färber
Spotted in the Chrome OS 3.8 based device tree. Needs CONFIG_SENSORS_LM90. Signed-off-by: Andreas Färber afaer...@suse.de --- arch/arm/boot/dts/exynos5250-spring.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-spring.dts

[PATCH 1/4] ARM: dts: Add usb3503 pinctrl to exynos5250-spring

2014-11-19 Thread Andreas Färber
Reported-by: Doug Anderson diand...@chromium.org Signed-off-by: Andreas Färber afaer...@suse.de --- arch/arm/boot/dts/exynos5250-spring.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-spring.dts b/arch/arm/boot/dts/exynos5250-spring.dts index

[PATCH 4/4] ARM: dts: Add trackpad to exynos5250-spring

2014-11-19 Thread Andreas Färber
The HP Chromebook 11 uses an Atmel maXTouch as trackpad. The keymap was found by trial-and-error. Signed-off-by: Andreas Färber afaer...@suse.de --- arch/arm/boot/dts/exynos5250-spring.dts | 23 +++ 1 file changed, 23 insertions(+) diff --git

[PATCH 3/4] ARM: exynos_defconfig: Enable LM90 driver

2014-11-19 Thread Andreas Färber
multi_v7_defconfig has it as Y already, so build it in here, too, for consistency, and therefore build in HWMON as well. Signed-off-by: Andreas Färber afaer...@suse.de --- arch/arm/configs/exynos_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 7/7] [RFC] ARM: shmobile: r8a7740 dtsi: Add missing memory-controller node

2014-11-19 Thread Geert Uytterhoeven
Add a memory-controller node for the DDR3 Bus State Controller (DBSC3), which lies in the A4S PM domain. There are no documented bindings for the DBSC3 yet (so far there's still no need for a driver), but all of its properties follow the standard conventions. This has no visible effect for now,

Re: [PATCH 5/6] ARM: at91/dt: add trng node

2014-11-19 Thread Nicolas Ferre
On 30/09/2014 18:19, Boris Brezillon : Add a DT node for the TRNG (True Random Number Generator) block. Keep this block enabled as it does not depend on any external connection, and thus should be available on all boards. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com

[PATCH 6/7] drivers: sh: Disable PM runtime for multi-platform sh73a0 with genpd

2014-11-19 Thread Geert Uytterhoeven
If the default PM domain using PM_CLK is used for PM runtime, the real PM domain(s) cannot be registered from DT later. Hence do not enable it when running a multi-platform kernel with genpd support on an sh73a0. The R-Mobile PM domain driver will take care of PM runtime management of the module

[PATCH RFC 0/7] ARM: shmobile: sh73a0: DT PM domain support

2014-11-19 Thread Geert Uytterhoeven
Hi Simon, Magnus, This patch series enables DT support for PM domains on the Renesas SH-Mobile AG5 (sh73a0) SoC. It is marked RFC due to the addition of memory-controllers nodes without bindings in patch [5/7] and [7/7]. This series builds further on the series [PATCH v5 0/8] ARM:

[PATCH 3/7] ARM: shmobile: R-Mobile: Generalize adding/looking up special PM domains

2014-11-19 Thread Geert Uytterhoeven
Make adding special PM domains to an array, and looking them up later, more generic, so it can be used for all special hardware blocks. The type of PM domain is also stored, so rmobile_setup_pm_domain() can use a switch() statement instead of a chain of if/else statements. Signed-off-by: Geert

[PATCH 5/7] [RFC] ARM: shmobile: sh73a0 dtsi: Add PM domain support

2014-11-19 Thread Geert Uytterhoeven
Add a device node for the System Controller, with subnodes that represent the hardware power area hierarchy. Hook up all devices to their respective PM domains. Add memory-controller nodes for the SDRAM Bus State Controllers (SBSC1 and SBSC2), which lie in the A4BC0 resp. A4BC1 PM domains, to

[PATCH 2/7] ARM: shmobile: R-Mobile: Consolidate rmobile_pd_suspend_*()

2014-11-19 Thread Geert Uytterhoeven
Consolidate the identical rmobile_pd_suspend_*() routines that just return -EBUSY to prevent a PM domain from being powered down into a single rmobile_pd_suspend_busy(). Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- arch/arm/mach-shmobile/pm-rmobile.c | 28

[PATCH 1/7] PM / Domains: Document SH-Mobile AG5 (sh73a0) binding

2014-11-19 Thread Geert Uytterhoeven
SH-Mobile AG5 (sh73a0) can be handled by the existing bindings. Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- Documentation/devicetree/bindings/power/renesas,sysc-rmobile.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 4/7] ARM: shmobile: R-Mobile: Special-case PM domains containing SBSCs

2014-11-19 Thread Geert Uytterhoeven
Add a special case for PM domains containing a memory controller like the SDRAM Bus State Controller (SBSC). Such a PM domain must not be turned off if SDRAM is in use. On sh73a0 PM domains A4BC0 and A4BC1 each contain an SDRAM Bus State Controller (SBSC1 resp. SBSC2). On r8a73a4 PM domain A3BC

[PATCH RESEND 3/4] hwrng: atmel: Add TRNG DT binding doc

2014-11-19 Thread Boris Brezillon
Document DT bindings of Atmel's TRNG (True Random Number Generator) IP. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- Documentation/devicetree/bindings/hwrng/atmel-trng.txt | 16 1 file changed, 16

[PATCH RESEND 1/4] hwrng: atmel: use clk_prepapre_enable/_disable_unprepare

2014-11-19 Thread Boris Brezillon
Use clk_prepare_enable/_disable_unprepare instead of clk_enable/disable to work properly with the CCF. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Peter Korsgaard pe...@korsgaard.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com ---

[PATCH RESEND 4/4] ARM: at91/dt: add trng node

2014-11-19 Thread Boris Brezillon
Add a DT node for the TRNG (True Random Number Generator) block. Keep this block enabled as it does not depend on any external connection, and thus should be available on all boards. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com

Re: Looking for good references for ARM driver development

2014-11-19 Thread Mason
Hello Andreas, On 19/11/2014 16:02, Andreas Färber wrote: Am 19.11.2014 um 13:50 schrieb Mason: [...] I'm writing a driver for a temperature sensor, which is supposed to work within the hwmon/lm-sensors framework. The sensor's API consists of 3 memory-mapped registers, which are accessible

[PATCH RESEND 2/4] hwrng: atmel: add DT support

2014-11-19 Thread Boris Brezillon
Add DT support. Make the driver depend on CONFIG_OF as at91sam9g45 was the only SoC making use of the TRNG block and this SoC is now fully migrated to DT. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com ---

[PATCH RESEND 0/4] ARM: at91: remove at91sam9g45/9m10 legacy board support

2014-11-19 Thread Boris Brezillon
Hello, This series adds DT support for the TRNG (True Random Generator) block and adds missing trng nodes to dtsi files. Best Regards, Boris Boris Brezillon (4): hwrng: atmel: use clk_prepapre_enable/_disable_unprepare hwrng: atmel: add DT support hwrng: atmel: Add TRNG DT binding doc

Re: [PATCH RESEND 0/4] hrng: atmel: add DT support

2014-11-19 Thread Boris Brezillon
On Wed, 19 Nov 2014 17:15:47 +0100 Nicolas Ferre nicolas.fe...@atmel.com wrote: On 19/11/2014 17:07, Boris Brezillon : Hello, This series adds DT support for the TRNG (True Random Generator) block and adds missing trng nodes to dtsi files. Nitpicking: subject of this cover letter

Re: [PATCH RESEND 0/4] ARM: at91: remove at91sam9g45/9m10 legacy board support

2014-11-19 Thread Nicolas Ferre
On 19/11/2014 17:07, Boris Brezillon : Hello, This series adds DT support for the TRNG (True Random Generator) block and adds missing trng nodes to dtsi files. Nitpicking: subject of this cover letter seems not good ;-) Herbert, do you think you can take this series yourself or do I have to

Re: [PATCH V8 00/14] drm/exynos: few patches to enhance bridge chip support

2014-11-19 Thread Paolo Pisati
On Wed, Nov 19, 2014 at 12:20:53PM +0100, Javier Martinez Canillas wrote: If someone else is interested, I've pushed a branch [0] with 3.18-rc5 + all the needed patches. Ajay, feel free to add to your series: Tested-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Best

  1   2   >