[PATCH v3 6/7] ARM: mvebu: Update the SDHCI node on Armada 38x

2015-01-23 Thread Gregory CLEMENT
The binding of the armada-380-sdhci has been extended with a new register in order to be able to use the SDR50 and DDR50 mode. This commit add the resource associated to this new register for the Armada 38x. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com ---

[PATCH v3 5/7] ARM: mvebu: Use macros for interrupt flags on Armada 38x sdhci node

2015-01-23 Thread Gregory CLEMENT
Instead of hardcoding the values of the interrupt flags, use the macros provided by include/dt-bindings/interrupt-controller/irq.h and include/dt-bindings/interrupt-controller/arm-gic.h for the Armada 38x SDHCI node. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com ---

[PATCH v3 4/7] mmc: sdhci-pxav3: Modify clock settings for the SDR50 and DDR50 modes

2015-01-23 Thread Gregory CLEMENT
From: Marcin Wojtas m...@semihalf.com According to erratum 'FE-2946959' both SDR50 and DDR50 modes require specific clock adjustments in SDIO3 Configuration register. This commit add the support of this register and for SDR50 or DDR50 mode use it as suggested by the erratum: - Set the SDIO3

[PATCH v3 7/7] ARM: mvebu: Add Device Tree description of SDHCI for Armada 388 RD

2015-01-23 Thread Gregory CLEMENT
The Device Tree description of SDHCI on Armada 388 RD board was missing. This commit adds the node for it. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/boot/dts/armada-388-rd.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git

[PATCH v3 1/5] genirq: Authorize chained handlers to remain disabled when initialized

2015-01-23 Thread Boris Brezillon
Currently there is no way to keep a chained handler disabled when registering it. This might be annoying for irq demuxer that want to keep the source irq disabled until at least one of their child irq is requested. Replace the is_chained argument of __irq_set_handler by an enum, thus adding a new

[PATCH v3 2/5] irqchip: add dumb demultiplexer implementation

2015-01-23 Thread Boris Brezillon
Some interrupt controllers are multiplexing several peripheral IRQs on a single interrupt line. While this is not a problem for most IRQs (as long as all peripherals request the interrupt with IRQF_SHARED flag set), multiplexing timers and other type of peripherals will generate a WARNING (mixing

[PATCH v3 3/5] irqchip: Add DT binding doc for dumb demuxer chips

2015-01-23 Thread Boris Brezillon
Add documentation for the dumb demuxer. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- .../bindings/interrupt-controller/dumb-demux.txt | 41 ++ 1 file changed, 41 insertions(+) create mode 100644

Re: [alsa-devel] [PATCH v2 3/3] ASoC: add generic dt-card support

2015-01-23 Thread Mark Brown
On Fri, Jan 23, 2015 at 02:56:04PM +0100, Lars-Peter Clausen wrote: On 01/23/2015 01:15 PM, Jean-Francois Moine wrote: Your example is a relative simple one where you do not have any additional audio fabric on the board itself. Right, and that's why I'd be glad to have quickly something in

Re: [PATCH v3 2/4] of: move of_dma_configure() to device,c to help re-use

2015-01-23 Thread Rob Herring
On Fri, Jan 23, 2015 at 12:19 PM, Murali Karicheri m-kariche...@ti.com wrote: On 01/09/2015 10:34 AM, Rob Herring wrote: On Thu, Jan 8, 2015 at 4:24 PM, Arnd Bergmanna...@arndb.de wrote: On Thursday 08 January 2015 14:26:36 Murali Karicheri wrote: On 01/08/2015 03:40 AM, Arnd Bergmann

[PATCH v3 4/5] ARM: at91/dt: select DUMB_IRQ_DEMUX for all at91 SoCs

2015-01-23 Thread Boris Brezillon
Older at91 SoCs need a virtual dumb irq demuxer to gracefully support the fact that irq1 is shared by several devices and a timer. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/mach-at91/Kconfig | 2 ++ 1 file

Re: [PATCH] arm64: dts: Add initial device tree support for Tegra132

2015-01-23 Thread Stephen Warren
On 01/23/2015 10:34 AM, Mark Rutland wrote: On Fri, Jan 23, 2015 at 04:57:19PM +, Stephen Warren wrote: On 01/23/2015 04:31 AM, Paul Walmsley wrote: + Arto, Terje for comments on the host1x section + Stephen Warren for comments on the serial DT data On Wed, 21 Jan 2015, Mark Rutland

Re: [alsa-devel] [PATCH v2 3/3] ASoC: add generic dt-card support

2015-01-23 Thread Jean-Francois Moine
On Fri, 23 Jan 2015 14:56:04 +0100 Lars-Peter Clausen l...@metafoo.de wrote: On 01/23/2015 01:15 PM, Jean-Francois Moine wrote: [...] The DT should describe the hardware, and the simple-card mixes hardware and software. For example, the kirkwood controller may create 2 CPU DAIs. With the

Re: [PATCH v2 RESEND 1/8] dt: bindings: Supply shared ST IRQ defines

2015-01-23 Thread Lee Jones
On Fri, 23 Jan 2015, Thomas Gleixner wrote: On Thu, 22 Jan 2015, Lee Jones wrote: These defines are used to allow values used for configuration to be easily human readable and will lessen the chance of logical mistakes. Signed-off-by: Lee Jones lee.jo...@linaro.org ---

[PATCH v3 2/7] mmc: sdhci-pxav3: Fix Armada 38x controller's caps according to erratum ERR-7878951

2015-01-23 Thread Gregory CLEMENT
From: Marcin Wojtas m...@semihalf.com According to erratum 'ERR-7878951' Armada 38x SDHCI controller has different capabilities than the ones shown in its registers: - it doesn't support the voltage switching: it can work either with 3.3V or 1.8V supply - it doesn't support the SDR104 mode -

[PATCH v3 3/7] mmc: sdhci-pxav3: Extend binding with SDIO3 conf reg for the Armada 38x

2015-01-23 Thread Gregory CLEMENT
The SDHCI unit used on the Armada 38x needs using an extra register to do specific clock adjustments in order to support the SDR50 and DDR50 modes. This patch extends the binding to allow using this register. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com ---

[PATCH v3 1/7] mmc: sdhci-pxav3: Fix SDR50 and DDR50 capabilities for the Armada 38x flavor

2015-01-23 Thread Gregory CLEMENT
According to erratum 'FE-2946959' both SDR50 and DDR50 modes require specific clock adjustments in SDIO3 Configuration register. However, this register was not part of the device tree binding. Even if the binding can (and will) be extended we still need handling the case where this register was

[PATCH v3 0/7] Fixes and improvements for SDHCI on Armada 38x

2015-01-23 Thread Gregory CLEMENT
Hi, this series brings fixes and improvements for the SDHCI controller of the Armada 38x SoCs. The changes for this third version was done on the second patch, see the changelog for the details. The first two patches are fixes and should be also applied on the stable branch (I added stable in

Re: [PATCH] arm64: dts: Add initial device tree support for Tegra132

2015-01-23 Thread Mark Rutland
On Fri, Jan 23, 2015 at 04:57:19PM +, Stephen Warren wrote: On 01/23/2015 04:31 AM, Paul Walmsley wrote: + Arto, Terje for comments on the host1x section + Stephen Warren for comments on the serial DT data On Wed, 21 Jan 2015, Mark Rutland wrote: As mentioned in my reply to the DT

[PATCH v3 5/5] ARM: at91/dt: define a dumb irq demultiplexer chip connected on irq1

2015-01-23 Thread Boris Brezillon
IRQ is multiplexing several peripheral IRQs, but there's no way to properly demultiplex those IRQs. Use a dumb irq demux chip to achieve this demultiplexing operation. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/at91rm9200.dtsi | 20

Re: [PATCH v2 RESEND 2/8] irqchip: Supply new driver for STi based devices

2015-01-23 Thread Lee Jones
On Fri, 23 Jan 2015, Thomas Gleixner wrote: On Thu, 22 Jan 2015, Lee Jones wrote: This driver is used to enable System Configuration Register controlled External, CTI (Core Sight), PMU (Performance Management), and PL310 L2 Cache IRQs prior to use. I'm wondering how this is related to

[PATCH v3 0/5] ARM: at91: fix irq_pm_install_action WARNING

2015-01-23 Thread Boris Brezillon
Commit cab303be91dc47942bc25de33dc1140123540800 [1] introduced a WARN_ON test which triggers a WARNING backtrace on at91 platforms. While this WARN_ON is absolutely necessary to warn users that they should not mix request with and without IRQF_NO_SUSPEND flags on shared IRQs, there is no easy way

Re: [PATCH] arm64: dts: Add initial device tree support for Tegra132

2015-01-23 Thread Stephen Warren
On 01/23/2015 04:31 AM, Paul Walmsley wrote: + Arto, Terje for comments on the host1x section + Stephen Warren for comments on the serial DT data On Wed, 21 Jan 2015, Mark Rutland wrote: As mentioned in my reply to the DT list patch [1], there are a couple of bits I'd like to see cleaned up

Re: [PATCH V4 4/4] mmc: pwrseq_simple: Add support for a reset GPIO pin

2015-01-23 Thread Ulf Hansson
On 23 January 2015 at 16:56, Javier Martinez Canillas jav...@dowhile0.org wrote: Hello Ulf, On Mon, Jan 19, 2015 at 10:13 AM, Ulf Hansson ulf.hans...@linaro.org wrote: int mmc_pwrseq_simple_alloc(struct mmc_host *host, struct device *dev) { struct mmc_pwrseq_simple *pwrseq; +

Re: [PATCH V4 4/4] mmc: pwrseq_simple: Add support for a reset GPIO pin

2015-01-23 Thread Javier Martinez Canillas
Hello Ulf, On Fri, Jan 23, 2015 at 6:01 PM, Ulf Hansson ulf.hans...@linaro.org wrote: Any reason to not use the devm_gpiod_get_index() managed version instead? This struct device don't have a bound driver to it. Thus this device won't be freed automagically from the -remove() or failed

Re: [PATCH v3 2/4] of: move of_dma_configure() to device,c to help re-use

2015-01-23 Thread Murali Karicheri
On 01/09/2015 10:34 AM, Rob Herring wrote: On Thu, Jan 8, 2015 at 4:24 PM, Arnd Bergmanna...@arndb.de wrote: On Thursday 08 January 2015 14:26:36 Murali Karicheri wrote: On 01/08/2015 03:40 AM, Arnd Bergmann wrote: On Wednesday 07 January 2015 17:37:56 Rob Herring wrote: On Wed, Jan 7, 2015

Associating nodes with phandles for pci devices

2015-01-23 Thread Chris Packham
Hi, I'm working on a new board that has a marvell,dsa switch. Similar to the kirkwood-mv88f6281gtw-ge board. However the major difference is that instead of being connected to an integrated Ethernet port it is connected via a PCI-e Ethernet port (basically a NIC hardwired onto the board).

Re: [PATCH] net: Linn Ethernet Packet Sniffer driver

2015-01-23 Thread James Hogan
Hi, A few general things below (I'll leave the actual networking bits for others to comment about). On Friday 23 January 2015 10:07:01 Stathis Voukelatos wrote: --- .../bindings/net/linn-ether-packet-sniffer.txt | 27 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 +

[PATCH v2] SATA: OCTEON: support SATA on OCTEON platform

2015-01-23 Thread Aleksey Makarov
The OCTEON SATA controller is currently found on cn71XX devices. Signed-off-by: David Daney david.da...@cavium.com Signed-off-by: Vinita Gupta vgu...@caviumnetworks.com Signed-off-by: Aleksey Makarov aleksey.maka...@auriga.com --- Version 1:

Re: Associating nodes with phandles for pci devices

2015-01-23 Thread Arnd Bergmann
On Friday 23 January 2015 19:02:33 Chris Packham wrote: Hi, I'm working on a new board that has a marvell,dsa switch. Similar to the kirkwood-mv88f6281gtw-ge board. However the major difference is that instead of being connected to an integrated Ethernet port it is connected via a PCI-e

[PATCH] ARM: dts: sun4i: Add initial dts for Gemei G9 tablet

2015-01-23 Thread Priit Laes
Gemei G9 is an A10 based tablet, with 1G RAM, 16G NAND, 1024x768 IPS LCD display, stereo speakers, 1.3MP front camera and 5 MP rear camera, 8000mAh battery, GT901 2+1 touchscreen, Bosch BMA250 accelerometer and RTL8188CUS USB wifi. It also has MicroSD slot, miniHDMI, 1 x MicroUSB OTG port and 1 x

[PATCH] ARM: shmobile: henninger: rename board to Porter

2015-01-23 Thread Sergei Shtylyov
Renesas has made some changes to the Henninger low cost board hardware and at the same time decided to rename the board to Porter. Signed-off-by: Sergei Shtylyov sergei.shtyl...@cogentembedded.com --- This patch is against 'renesas-devel-20150123-v3.19-rc5' tag of Simon Horman's 'renesas.git

Re: [alsa-devel] [PATCH v2 3/3] ASoC: add generic dt-card support

2015-01-23 Thread Mark Brown
On Fri, Jan 23, 2015 at 07:34:56PM +0100, Jean-Francois Moine wrote: A card builder is a device which - scans the graph of ports, - fills the struct snd_soc_card according to the links between the ports and their properties, - and, eventually, calls snd_soc_register_card(). The simple

Re: Associating nodes with phandles for pci devices

2015-01-23 Thread Chris Packham
Hi Arnd, Thanks for the quick response (and sorry for the horribly formatted message, travelling with only a webmail interface at the moment). On Fri, 23 Jan 2015, Arnd Bergmann wrote: On Friday 23 January 2015 19:02:33 Chris Packham wrote: Hi, I'm working on a new board that has a

[PATCH v4 2/6] of: move of_dma_configure() to device.c to help re-use

2015-01-23 Thread Murali Karicheri
Move of_dma_configure() to device.c so that same function can be re-used for PCI devices to obtain DMA configuration from DT. Also add a second argument so that for PCI, DT node of root bus host bridge can be used to obtain the DMA configuration for the slave PCI device. Cc: Joerg Roedel

[PATCH v4 3/6] of: fix size when dma-range is not used

2015-01-23 Thread Murali Karicheri
Fix the dma-range size when the DT attribute is missing. i.e set size to dev-coherent_dma_mask + 1 instead of dev-coherent_dma_mask. To detect overflow when mask is set to max of u64, add a check, log error and return. Some platform use mask format for size in DTS. So add a work around to catch

Re: [PATCH v4 5/6] PCI: update dma configuration from DT

2015-01-23 Thread Bjorn Helgaas
On Fri, Jan 23, 2015 at 05:32:38PM -0500, Murali Karicheri wrote: If there is a DT node available for the root bridge's parent device, use the dma configuration from that device node. For example, keystone PCI devices would require dma_pfn_offset to be set correctly in the device structure of

Re: [PATCH] arm64: dts: add baud rate to Juno stdout-path

2015-01-23 Thread Olof Johansson
On Thu, Jan 22, 2015 at 11:21:32AM +, Robin Murphy wrote: Without explicit command-line parameters, the Juno UART ends up running at 57600 baud in the kernel, which is at odds with the 115200 baud used by the rest of the firmware. Since commit 7914a7c5651a5161 now lets us fix this by

Re: [PATCH] ARM: dts: sun4i: Add initial dts for Gemei G9 tablet

2015-01-23 Thread Priit Laes
On Fri, 2015-01-23 at 22:22 +0100, Maxime Ripard wrote: On Fri, Jan 23, 2015 at 10:36:49PM +0200, Priit Laes wrote: Gemei G9 is an A10 based tablet, with 1G RAM, 16G NAND, 1024x768 IPS LCD display, stereo speakers, 1.3MP front camera and 5 MP rear camera, 8000mAh battery, GT901 2+1

[PATCH 0/4] arm: am43xx: add PMU support

2015-01-23 Thread Felipe Balbi
Hi all, with these patches we can use perf with AM43xx devices and get actual statistics. Full boot logs: http://hastebin.com/yoxaxurohu Felipe Balbi (4): arm: omap: hwmod: 43xx: add DebugSS hwmod data arm: dts: am4372: add missing debugss clocks clk: ti: 43xx: add debugss clocks to

Re: [PATCH 12/13] ARM: dts: omap3-gta04: uart4 is not connected, so mark it disabled

2015-01-23 Thread NeilBrown
On Thu, 22 Jan 2015 13:40:53 -0800 Tony Lindgren t...@atomide.com wrote: * Marek Belisko ma...@goldelico.com [150122 12:42]: From: NeilBrown n...@brown.name Signed-off-by: NeilBrown n...@brown.name --- arch/arm/boot/dts/omap3-gta04.dtsi | 4 1 file changed, 4 insertions(+)

[PATCH v4 6/6] arm: dma-mapping: updates to limit dma_mask and iommu mapping size

2015-01-23 Thread Murali Karicheri
Limit the dma_mask to minimum of dma_mask and dma_base + size - 1. Also arm_iommu_create_mapping() has size parameter of size_t and arm_setup_iommu_dma_ops() can take a value higher than that. So limit the size to SIZE_MAX. Signed-off-by: Murali Karicheri m-kariche...@ti.com ---

Re: Associating nodes with phandles for pci devices

2015-01-23 Thread Florian Fainelli
On 23/01/15 11:38, Chris Packham wrote: Hi Arnd, Thanks for the quick response (and sorry for the horribly formatted message, travelling with only a webmail interface at the moment). On Fri, 23 Jan 2015, Arnd Bergmann wrote: On Friday 23 January 2015 19:02:33 Chris Packham wrote: Hi,

Re: [PATCH] ARM: dts: sun4i: Add Hyundau A7HD board

2015-01-23 Thread Maxime Ripard
On Fri, Jan 23, 2015 at 04:39:23PM +0100, Hans de Goede wrote: The Hyundai A7HD is a 7 16:9 A10 powered tablet featuring 1G RAM, 8G nand, 1024x600 IPS screen, a mini hdmi port, mini usb receptacle and a headphones port for details see: http://linux-sunxi.org/Hyundai_A7HD Cc: Mark Janssen

Re: [PATCH] ARM: dts: sun4i: Add initial dts for Gemei G9 tablet

2015-01-23 Thread Maxime Ripard
On Fri, Jan 23, 2015 at 10:36:49PM +0200, Priit Laes wrote: Gemei G9 is an A10 based tablet, with 1G RAM, 16G NAND, 1024x768 IPS LCD display, stereo speakers, 1.3MP front camera and 5 MP rear camera, 8000mAh battery, GT901 2+1 touchscreen, Bosch BMA250 accelerometer and RTL8188CUS USB wifi. It

[PATCH v4 4/6] of/pci: add of_pci_dma_configure() update dma configuration

2015-01-23 Thread Murali Karicheri
Add of_pci_dma_configure() to allow updating the dma configuration of the pci device using the configuration from DT of the parent of the root bridge device. Cc: Joerg Roedel j...@8bytes.org Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring robh...@kernel.org Cc: Bjorn Helgaas

[PATCH v4 0/6] PCI: get DMA configuration from parent device

2015-01-23 Thread Murali Karicheri
PCI devices on Keystone doesn't have correct dma_pfn_offset set. This patch add capability to set the dma configuration such as dma-mask, dma_pfn_offset, and dma ops etc using the information from DT. The prior RFCs and discussions are available at [1] and [2] below. [2] :

[PATCH v4 1/6] of: iommu: add ptr to OF node arg to of_iommu_configure()

2015-01-23 Thread Murali Karicheri
Function of_iommu_configure() is called from of_dma_configure() to setup iommu ops using DT property. This API is currently used for platform devices for which DMA configuration (including iommu ops) may come from device's parent. To extend this functionality for PCI devices, this API need to take

[PATCH v4 5/6] PCI: update dma configuration from DT

2015-01-23 Thread Murali Karicheri
If there is a DT node available for the root bridge's parent device, use the dma configuration from that device node. For example, keystone PCI devices would require dma_pfn_offset to be set correctly in the device structure of the pci device in order to have the correct dma mask. The DT node will

[PATCH 2/4] arm: dts: am4372: add missing debugss clocks

2015-01-23 Thread Felipe Balbi
These clocks are needed so that OMAP HWMOD can control them when we're using performance monitors. Signed-off-by: Felipe Balbi ba...@ti.com --- arch/arm/boot/dts/am43xx-clocks.dtsi | 51 1 file changed, 51 insertions(+) diff --git

[PATCH 1/4] arm: omap: hwmod: 43xx: add DebugSS hwmod data

2015-01-23 Thread Felipe Balbi
Without hwmod data for DebugSS, performance monitors have no chance of running on AM43xx devices. Signed-off-by: Felipe Balbi ba...@ti.com --- arch/arm/mach-omap2/omap_hwmod_43xx_data.c | 40 ++ arch/arm/mach-omap2/prcm43xx.h | 1 + 2 files changed, 41

[PATCH 4/4] arm: dts: am4372: add pmu DT data

2015-01-23 Thread Felipe Balbi
with this patch, performance monitors work and show sensible data on AM43xx devices: ~# perf stat sleep 5 Performance counter stats for 'sleep 5': 6.079585 task-clock (msec) #0.001 CPUs utilized 3 context-switches #0.493 K/sec

[PATCH 3/4] clk: ti: 43xx: add debugss clocks to DT_CLK() table

2015-01-23 Thread Felipe Balbi
without these entries, omap_hwmod will not be able to find debugss clocks. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/clk/ti/clk-43xx.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/ti/clk-43xx.c b/drivers/clk/ti/clk-43xx.c index 3795fce8a830..46a597c815c9

Re: [RFC V2] OPP: Redefine bindings to overcome shortcomings

2015-01-23 Thread Viresh Kumar
On 23 January 2015 at 17:22, Mark Brown broo...@kernel.org wrote: On Fri, Jan 23, 2015 at 12:39:14PM +0100, Lucas Stach wrote: I tend to agree that this is clearer. It might be nice to have variants for specifying directly as a percentage but I don't think it's really worth the complexity.

Re: [PATCH v2] Removes OF_UNITTEST dependency on OF_DYNAMIC config symbol

2015-01-23 Thread Geert Uytterhoeven
On Sun, Jan 11, 2015 at 8:19 AM, Gaurav Minocha gaurav.minocha...@gmail.com wrote: This patch intends to remove the unittests dependency on the functions defined in dynamic.c. So, rather than calling of_attach_node defined in dynamic.c, minimal functionality required to attach a new node is

Re: [PATCH v7 2/2] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-23 Thread Lyra Zhang
On Fri, Jan 23, 2015 at 9:31 PM, Peter Hurley pe...@hurleysoftware.com wrote: Hi Chunyan, Just the minor fix to zeroing the stack local in sprd_set_termios() and using dev_get_drvdata() in sprd_suspend()/sprd_resume(). ok, I see. Regards, Peter Hurley On 01/23/2015 08:01 AM, Chunyan

Re: [PATCH v3/resend 3/4] drivers: bus: Add Simple Power-Managed Bus DT Bindings

2015-01-23 Thread Arnd Bergmann
On Friday 23 January 2015 09:56:51 Geert Uytterhoeven wrote: diff --git a/Documentation/devicetree/bindings/bus/simple-pm-bus.txt b/Documentation/devicetree/bindings/bus/simple-pm-bus.txt new file mode 100644 index ..d03abf7fd8e3997a --- /dev/null +++

Re: [alsa-devel] [PATCH v2 3/3] ASoC: add generic dt-card support

2015-01-23 Thread Lars-Peter Clausen
On 01/23/2015 01:15 PM, Jean-Francois Moine wrote: [...] The DT should describe the hardware, and the simple-card mixes hardware and software. For example, the kirkwood controller may create 2 CPU DAIs. With the simple-card, the DT contains a number to reference these DAIs (for example,

[PATCH v2 1/2] input: Add Qualcomm PM8941 power key driver

2015-01-23 Thread Bjorn Andersson
From: Courtney Cavin courtney.ca...@sonymobile.com Signed-off-by: Courtney Cavin courtney.ca...@sonymobile.com Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- drivers/input/misc/Kconfig | 12 ++ drivers/input/misc/Makefile| 1 +

[PATCH v2 0/2] Qualcomm PM8941 power key driver

2015-01-23 Thread Bjorn Andersson
These patches add dt bindings and a device driver for the power key block in the Qualcomm PM8941 pmic. Changes since v1: * Use a reboot_notifier to set power off/reboot mode * Use irq flags from devicetree * Some style fixes Courtney Cavin (2): input: Add Qualcomm PM8941 power key driver

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

2015-01-23 Thread Bjorn Andersson
On Fri, Jan 23, 2015 at 4:54 PM, Bjorn Andersson bjorn.anders...@sonymobile.com wrote: From: Courtney Cavin courtney.ca...@sonymobile.com This adds support for the WLED ('White' LED) block on Qualcomm's PM8941 PMICs. Signed-off-by: Courtney Cavin courtney.ca...@sonymobile.com Signed-off-by:

[PATCH v2 2/2] input: pm8941-pwrkey: Add DT binding documentation

2015-01-23 Thread Bjorn Andersson
From: Courtney Cavin courtney.ca...@sonymobile.com Signed-off-by: Courtney Cavin courtney.ca...@sonymobile.com Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- .../bindings/input/qcom,pm8941-pwrkey.txt | 43 ++ 1 file changed, 43 insertions(+)

Re: [PATCH 4/9] pci: add DT based ARM Versatile PCI host driver

2015-01-23 Thread Bjorn Helgaas
On Tue, Dec 30, 2014 at 10:58:00PM +0100, Arnd Bergmann wrote: On Tuesday 30 December 2014 13:28:33 Rob Herring wrote: + list_for_each_entry(win, res, list) { + struct resource *parent, *res = win-res; + + switch (resource_type(res)) { + case

Re: [PATCH 12/13] ARM: dts: omap3-gta04: uart4 is not connected, so mark it disabled

2015-01-23 Thread Tony Lindgren
* NeilBrown ne...@suse.de [150123 14:31]: On Thu, 22 Jan 2015 13:40:53 -0800 Tony Lindgren t...@atomide.com wrote: +uart4 { + status = disabled; +}; + This you probably want to avoid from PM point of view. Depending on bootloader state of uart4, Linux may or may not be

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

2015-01-23 Thread Bjorn Andersson
From: Courtney Cavin courtney.ca...@sonymobile.com This adds support for the WLED ('White' LED) block on Qualcomm's PM8941 PMICs. Signed-off-by: Courtney Cavin courtney.ca...@sonymobile.com Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- drivers/leds/Kconfig| 8 +

[PATCH v2 1/2] leds: add DT binding for Qualcomm PM8941 WLED block

2015-01-23 Thread Bjorn Andersson
From: Courtney Cavin courtney.ca...@sonymobile.com This adds device tree binding documentation for the WLED ('White' LED) block on Qualcomm's PM8941 PMICs. Signed-off-by: Courtney Cavin courtney.ca...@sonymobile.com Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com ---

Re: [PATCH 4/9] pci: add DT based ARM Versatile PCI host driver

2015-01-23 Thread Bjorn Helgaas
Sorry for the late reply; maybe this has already been queued up somewhere, so this might be moot. I usually capitalize the PCI and first letter of the subject, like: PCI: Add DT based ARM Versatile PCI host driver And I try to ask for MAINTAINER updates since these drivers are under

Re: [PATCH 3/4] clk: ti: 43xx: add debugss clocks to DT_CLK() table

2015-01-23 Thread Felipe Balbi
On Fri, Jan 23, 2015 at 05:11:43PM -0600, Felipe Balbi wrote: without these entries, omap_hwmod will not be able to find debugss clocks. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/clk/ti/clk-43xx.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH v4 4/6] of/pci: add of_pci_dma_configure() update dma configuration

2015-01-23 Thread Bjorn Helgaas
On Fri, Jan 23, 2015 at 05:32:37PM -0500, Murali Karicheri wrote: Add of_pci_dma_configure() to allow updating the dma configuration of the pci device using the configuration from DT of the parent of the root bridge device. Cc: Joerg Roedel j...@8bytes.org Cc: Grant Likely

Re: [PATCH v2 00/16] ASoC: samsung: Add clk provider for I2S internal clocks

2015-01-23 Thread Tobias Jakobi
Hello, I've tested the series on my X2 and so far I haven't encountered any obvious issues with it. I have a small question though. With the move to simple-audio-card the old driver (selected by SND_SOC_ODROIDX2) is probably going away after some time. Currently SND_SOC_ODROIDX2 also selects

Re: [PATCH 2/2 v3 RESEND] mtd: fsl_upm: Support NAND ECC DTS properties

2015-01-23 Thread Brian Norris
On Wed, Jan 14, 2015 at 05:41:49PM -0600, Aaron Sierra wrote: From: Jordan Friendshuh jfriends...@xes-inc.com Support the generic nand-ecc-mode, nand-ecc-strength, and nand-ecc-step-size device-tree properties with the Freescale UPM NAND driver. This patch preserves the default software

Re: [PATCH] ethernet: atheros: Add nss-gmac driver

2015-01-23 Thread David Miller
From: Arnd Bergmann a...@arndb.de Date: Thu, 22 Jan 2015 11:18:50 +0100 I see. In this case, I think merging your new driver is not a good idea: +1 -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [RFC V2] OPP: Redefine bindings to overcome shortcomings

2015-01-23 Thread Lucas Stach
Am Freitag, den 23.01.2015, 16:14 +0530 schrieb Viresh Kumar: Rob et al, This is another attempt to redefine OPP bindings which we concluded to after first round of reviews. Current OPP (Operating performance point) DT bindings are proven to be insufficient at multiple instances. There

Re: [PATCH] arm64: dts: Add initial device tree support for Tegra132

2015-01-23 Thread Mark Rutland
On Fri, Jan 23, 2015 at 11:31:24AM +, Paul Walmsley wrote: + Arto, Terje for comments on the host1x section + Stephen Warren for comments on the serial DT data Hi Mark, thanks for the review. On Wed, 21 Jan 2015, Mark Rutland wrote: As mentioned in my reply to the DT list patch

Re: [RFC] using dt overlays: how to? today?

2015-01-23 Thread Pantelis Antoniou
Hi Ludovic, On Jan 23, 2015, at 11:07 , Ludovic Desroches ludovic.desroc...@atmel.com wrote: Hi Pantelis, On Thu, Jan 22, 2015 at 10:54:42PM +0200, Pantelis Antoniou wrote: Hi Ludovic, On Jan 22, 2015, at 17:02 , Ludovic Desroches ludovic.desroc...@atmel.com wrote: Hi, I have

Re: [PATCH] arm64: dts: Add initial device tree support for Tegra132

2015-01-23 Thread Mark Rutland
On Fri, Jan 23, 2015 at 12:14:00PM +, Arto Merilainen wrote: Hi all, On 01/23/2015 01:31 PM, Paul Walmsley wrote: + Arto, Terje for comments on the host1x section + Stephen Warren for comments on the serial DT data Hi Mark, thanks for the review. On Wed, 21 Jan 2015, Mark

Re: [PATCH v2 2/7] mmc: sdhci-pxav3: Fix Armada 38x controller's caps according to erratum ERR-7878951

2015-01-23 Thread Marcin Wojtas
Dear Gregory, @@ -118,8 +118,11 @@ static int mv_conf_mbus_windows(struct platform_device *pdev, return 0; } -static int armada_38x_quirks(struct sdhci_host *host) +static int armada_38x_quirks(struct platform_device *pdev, +struct sdhci_host *host)

Re: [RFC V2] OPP: Redefine bindings to overcome shortcomings

2015-01-23 Thread Mark Brown
On Fri, Jan 23, 2015 at 12:39:14PM +0100, Lucas Stach wrote: + Required properties: + - opp-khz: Frequency in kHz + - opp-microvolt: voltage in micro Volts Each OPP voltage should be defined by the triplet of minimum, nominal/typical, maximum. This lets you specify exact tolerances in

Re: [PATCH] arm64: dts: Add initial device tree support for Tegra132

2015-01-23 Thread Thierry Reding
On Fri, Jan 23, 2015 at 11:44:24AM +, Mark Rutland wrote: On Fri, Jan 23, 2015 at 11:31:24AM +, Paul Walmsley wrote: On Wed, 21 Jan 2015, Mark Rutland wrote: On Fri, Jan 16, 2015 at 11:45:29AM +, Paul Walmsley wrote: [...] + + clocks = tegra_car

Re: [PATCH] arm64: dts: Add initial device tree support for Tegra132

2015-01-23 Thread Arto Merilainen
Hi all, On 01/23/2015 01:31 PM, Paul Walmsley wrote: + Arto, Terje for comments on the host1x section + Stephen Warren for comments on the serial DT data Hi Mark, thanks for the review. On Wed, 21 Jan 2015, Mark Rutland wrote: As mentioned in my reply to the DT list patch [1], there are a

Re: [alsa-devel] [PATCH v2 3/3] ASoC: add generic dt-card support

2015-01-23 Thread Jean-Francois Moine
On Thu, 22 Jan 2015 20:25:39 +0100 Lars-Peter Clausen l...@metafoo.de wrote: On 01/22/2015 09:07 AM, Jean-Francois Moine wrote: On Wed, 21 Jan 2015 21:14:07 +0100 Lars-Peter Clausen l...@metafoo.de wrote: [...] + card-dai_link-dai_fmt = + snd_soc_of_parse_daifmt(of_cpu,

Re: [PATCH] arm64: dts: Add initial device tree support for Tegra132

2015-01-23 Thread Mark Rutland
On Fri, Jan 23, 2015 at 12:03:57PM +, Thierry Reding wrote: On Fri, Jan 23, 2015 at 11:44:24AM +, Mark Rutland wrote: On Fri, Jan 23, 2015 at 11:31:24AM +, Paul Walmsley wrote: On Wed, 21 Jan 2015, Mark Rutland wrote: On Fri, Jan 16, 2015 at 11:45:29AM +, Paul Walmsley

Re: [PATCH] i2c: Mark instantiated device nodes with OF_POPULATE

2015-01-23 Thread Wolfram Sang
Feel free to apply it for 3.19 with my ack. You then want to pick up v1 of this patch. Sigh, I give up, this is too confusing. I don't know which one is V1, they are not numbered in any way. And I have been holding back my pull request for too long already. I'll drop this patch. Whatever

[PATCH] i2c: Mark instantiated device nodes with OF_POPULATE

2015-01-23 Thread Pantelis Antoniou
Mark (and unmark) device nodes with the POPULATE flag as appropriate. This is required to avoid multi probing when using I2C and device overlays containing a mux. This patch is also more careful with the release of the adapter device which caused a deadlock with muxes, and does not break the build

Re: [PATCH] i2c: Mark instantiated device nodes with OF_POPULATE

2015-01-23 Thread Pantelis Antoniou
Hi Wolfram, On Jan 24, 2015, at 06:26 , Wolfram Sang w...@the-dreams.de wrote: Feel free to apply it for 3.19 with my ack. You then want to pick up v1 of this patch. Sigh, I give up, this is too confusing. I don't know which one is V1, they are not numbered in any way. And I have been

Re: [alsa-devel] [PATCH v2 3/3] ASoC: add generic dt-card support

2015-01-23 Thread Jean-Francois Moine
On Fri, 23 Jan 2015 19:13:43 + Mark Brown broo...@kernel.org wrote: On Fri, Jan 23, 2015 at 07:34:56PM +0100, Jean-Francois Moine wrote: A card builder is a device which - scans the graph of ports, - fills the struct snd_soc_card according to the links between the ports and their

Re: [PATCH v2 4/9] ARM: STi: DT: STiH407: Add Device Tree node for the LPC

2015-01-23 Thread Lee Jones
On Fri, 23 Jan 2015, David Paris wrote: Hi Lee, Just a minor remark/question, David On 01/22/2015 12:56 PM, Lee Jones wrote: On current ST platforms the LPC controls a number of functions. This patch enables support for the LPC Watchdog and LPC RTC devices on LPC1 and LPC2

Re: [PATCH 2/2] remoteproc: microblaze: Add support for microblaze on Zynq

2015-01-23 Thread Michal Simek
On 01/22/2015 05:53 PM, Nathan Lynch wrote: On 01/19/2015 04:30 AM, Michal Simek wrote: diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig index 5e343bab9458..3955f42e9e9c 100644 --- a/drivers/remoteproc/Kconfig +++ b/drivers/remoteproc/Kconfig @@ -64,4 +64,15 @@ config

Re: [PATCH v2 4/9] ARM: STi: DT: STiH407: Add Device Tree node for the LPC

2015-01-23 Thread David Paris
Hi Lee, Just a minor remark/question, David On 01/22/2015 12:56 PM, Lee Jones wrote: On current ST platforms the LPC controls a number of functions. This patch enables support for the LPC Watchdog and LPC RTC devices on LPC1 and LPC2 respectively. Signed-off-by: David Paris

Re: [RFC] using dt overlays: how to? today?

2015-01-23 Thread Ludovic Desroches
Hi Pantelis, On Thu, Jan 22, 2015 at 10:54:42PM +0200, Pantelis Antoniou wrote: Hi Ludovic, On Jan 22, 2015, at 17:02 , Ludovic Desroches ludovic.desroc...@atmel.com wrote: Hi, I have assisted to Pantelis' talk about device tree and overlays at ELCE 2014. Since the patch

Re: [PATCH v1 2/4] gpio: add parameter to allow the use named gpios

2015-01-23 Thread Alexandre Courbot
On Thu, Jan 22, 2015 at 6:44 AM, Olliver Schinagl oli...@schinagl.nl wrote: Hey Alexandre, On 01/19/2015 05:04 AM, Alexandre Courbot wrote: On Wed, Jan 7, 2015 at 6:08 PM, Olliver Schinagl oliver+l...@schinagl.nl wrote: From: Olliver Schinagl oli...@schinagl.nl The gpio binding document

Re: [PATCH v3 2/3] ARM: at91/dt: sama5d4: add pioD controller

2015-01-23 Thread Nicolas Ferre
Le 21/01/2015 10:49, Linus Walleij a écrit : On Mon, Jan 19, 2015 at 11:46 AM, Nicolas Ferre nicolas.fe...@atmel.com wrote: Le 16/01/2015 16:31, Ludovic Desroches a écrit : PioD controller was not described in the device tree since we don't use it. As pinctrl-at91 allows disabled gpio

[PATCH] net: Linn Ethernet Packet Sniffer driver

2015-01-23 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 v6 2/2] arm64: Add support for Spreadtrum's Sharkl64 Platform in Kconfig and defconfig

2015-01-23 Thread Chunyan Zhang
From: Zhizhou Zhang zhizhou.zh...@spreadtrum.com Adds support for Spreadtrum's SoC Platform in the arm64 Kconfig and defconfig files. Signed-off-by: Zhizhou Zhang zhizhou.zh...@spreadtrum.com Signed-off-by: Orson Zhai orson.z...@spreadtrum.com Signed-off-by: Chunyan Zhang

[PATCH v6 0/2] Add Spreadtrum Sharkl64 Platform support

2015-01-23 Thread Chunyan Zhang
This patch-set split the last version, and addressed the review comments from last version on serial driver code. Changes from v5: - Added maintenance interrupt for gic - Removed reg property from 'soc' and 'apb' nodes Zhizhou Zhang (2): arm64: dts: Add support for Spreadtrum

Re: [RFC V2] OPP: Redefine bindings to overcome shortcomings

2015-01-23 Thread Viresh Kumar
Fixing Olof's email address .. On 23 January 2015 at 16:14, Viresh Kumar viresh.ku...@linaro.org wrote: Rob et al, This is another attempt to redefine OPP bindings which we concluded to after first round of reviews. Current OPP (Operating performance point) DT bindings are proven to be

Re: [PATCH] net: Linn Ethernet Packet Sniffer driver

2015-01-23 Thread Mark Rutland
On Fri, Jan 23, 2015 at 10:07:01AM +, Stathis Voukelatos wrote: 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

[PATCH v2 0/7] Fixes and improvements for SDHCI on Armada 38x

2015-01-23 Thread Gregory CLEMENT
Hi, this series brings fixes and improvements for the SDHCI controller of the Armada 38x SoCs. The main change for this second version was to put back the authorship on patch 2 and 4 from Marcin as I ported them a 3.10 kernel. The first two patches are fixes and should be also applied on the

[PATCH v2 5/7] ARM: mvebu: Use macros for interrupt flags on Armada 38x sdhci node

2015-01-23 Thread Gregory CLEMENT
Instead of hardcoding the values of the interrupt flags, use the macros provided by include/dt-bindings/interrupt-controller/irq.h and include/dt-bindings/interrupt-controller/arm-gic.h for the Armada 38x SDHCI node. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com ---

[PATCH v2 2/7] mmc: sdhci-pxav3: Fix Armada 38x controller's caps according to erratum ERR-7878951

2015-01-23 Thread Gregory CLEMENT
From: Marcin Wojtas m...@semihalf.com According to erratum 'ERR-7878951' Armada 38x SDHCI controller has different capabilities than the ones shown in its registers: - it doesn't support the voltage switching: it can work either with 3.3V or 1.8V supply - it doesn't support the SDR104 mode -

[PATCH v2 4/7] mmc: sdhci-pxav3: Modify clock settings for the SDR50 and DDR50 modes

2015-01-23 Thread Gregory CLEMENT
From: Marcin Wojtas m...@semihalf.com According to erratum 'FE-2946959' both SDR50 and DDR50 modes require specific clock adjustments in SDIO3 Configuration register. This commit add the support of this register and for SDR50 or DDR50 mode use it as suggested by the erratum: - Set the SDIO3

  1   2   >