Re: [PATCH V3 4/5] mfd: palmas: support IRQ inversion at the board level

2014-03-04 Thread Lee Jones
From: Stephen Warren swar...@nvidia.com Implement the new DT property ti,irq-externally-inverted, and add an equivalent platform data field to match. This allows the driver to correctly automatically configure the IRQ output polarity when the board or SoC contains an inverter between the

Re: [PATCH v5 6/7] of: Implement simplified graph binding for single port devices

2014-03-04 Thread Tomi Valkeinen
On 27/02/14 19:35, Philipp Zabel wrote: For simple devices with only one port, it can be made implicit. The endpoint node can be a direct child of the device node. snip @@ -2105,9 +2112,11 @@ struct device_node *of_graph_get_remote_port_parent( /* Get remote endpoint node. */ np

Re: [PATCH 02/12] phy: omap-control: Update DT binding information

2014-03-04 Thread Roger Quadros
Hi Tony, On 03/03/2014 09:02 PM, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [140303 07:10]: Move omap-control binding information to the right location. Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/ti-phy.txt | 25 ++

[PATCHv2 00/14]: ARM: OMAP2: clock DT conversion

2014-03-04 Thread Tero Kristo
Hi, Changes compared to v1: - fixed OMAP2 only build issues - fixed OMAP2420 boot issues - added patch #13 and #14 to remove legacy clock data for OMAP2/OMAP3 - fixed smatch + DT bindings documentation problems reported by Nishanth This set is un-tested on OMAP2 hardware as I don't have access

[PATCHv2 04/14] CLK: TI: DPLL: add support for omap2 core dpll

2014-03-04 Thread Tero Kristo
OMAP2 has slightly different DPLL compared to later OMAP generations. This patch adds support for the ti,omap2-dpll-core-clock and also adds the bindings documentation. Signed-off-by: Tero Kristo t-kri...@ti.com --- .../devicetree/bindings/clock/ti/dpll.txt |9 +++

[PATCHv2 05/14] CLK: TI: APLL: add support for omap2 aplls

2014-03-04 Thread Tero Kristo
This patch adds support for omap2 type aplls, which have gating and autoidle functionality. Signed-off-by: Tero Kristo t-kri...@ti.com --- .../devicetree/bindings/clock/ti/apll.txt | 24 ++- arch/arm/mach-omap2/clock.h| 11 -- drivers/clk/ti/apll.c

[PATCHv2 01/14] ARM: OMAP2: convert sys_ck and osc_ck to standard clock types

2014-03-04 Thread Tero Kristo
osc_ck can be simply defined as a multiplexer clock, and the sys_ck can be a simple divider. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/Makefile |3 +- arch/arm/mach-omap2/cclock2420_data.c | 52 +

[PATCHv2 06/14] CLK: TI: gate: fixed DT binding documentation bugs

2014-03-04 Thread Tero Kristo
ti,composite-gate-clock documentation was missing, also the register offset examples were wrong. Signed-off-by: Tero Kristo t-kri...@ti.com --- .../devicetree/bindings/clock/ti/gate.txt | 29 +--- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git

[PATCHv2 02/14] ARM: OMAP2420: clock: get rid of fixed-div property use

2014-03-04 Thread Tero Kristo
Cleans up the code a bit and is useful for clock data DT conversion. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/cclock2420_data.c | 15 --- arch/arm/mach-omap2/clock.c | 21 - arch/arm/mach-omap2/clock.h |3 ---

[PATCHv2 03/14] CLK: TI: DPLL: simplify autoidle register detection logic

2014-03-04 Thread Tero Kristo
AM dpll_data previously had autoidle_mask set, even if these SoC:s don't have autoidle register. Remove the bit-field value as it is unused, also drop the unnecessary DPLL_HAS_AUTOIDLE flag passing during init, as we can just simply check against the contents of the autoidle_mask.

[PATCHv2 07/14] CLK: TI: interface: add support for omap2430 specific interface clock

2014-03-04 Thread Tero Kristo
OMAP2430 I2CHS modules require specific hardware ops to be used, so added a new compatible string for this. Signed-off-by: Tero Kristo t-kri...@ti.com --- .../devicetree/bindings/clock/ti/interface.txt |2 ++ arch/arm/mach-omap2/clock.h|1 -

[PATCHv2 09/14] ARM: OMAP2: PRM: add support for OMAP2 specific clock providers

2014-03-04 Thread Tero Kristo
This patch adds support for initializing also omap2-prcm and omap2-scrm through DT. Signed-off-by: Tero Kristo t-kri...@ti.com --- .../devicetree/bindings/arm/omap/prcm.txt | 65 arch/arm/mach-omap2/prm_common.c |2 + 2 files changed, 67

[PATCHv2 12/14] ARM: OMAP2: clock: use DT clock boot if available

2014-03-04 Thread Tero Kristo
Otherwise legacy boot clock data is used. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/io.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index af432b1..e57088d 100644 ---

[PATCHv2 08/14] CLK: TI: OMAP2: add clock init support

2014-03-04 Thread Tero Kristo
Adds support for registering the alias clocks, boot time clock-enable list and disabling autoidle of clocks. Signed-off-by: Tero Kristo t-kri...@ti.com --- drivers/clk/ti/Makefile |1 + drivers/clk/ti/clk-2xxx.c | 254 + include/linux/clk/ti.h

[PATCHv2 10/14] ARM: dts: omap2 clock data

2014-03-04 Thread Tero Kristo
This patch creates a unique node for each clock in the OMAP2 power, reset and clock manager (PRCM). Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/boot/dts/omap2420-clocks.dtsi | 270 +++ arch/arm/boot/dts/omap2420.dtsi| 29 + arch/arm/boot/dts/omap2430-clocks.dtsi | 344

[PATCHv2 11/14] ARM: OMAP2: clock: add DT boot support for cpufreq_ck

2014-03-04 Thread Tero Kristo
The clock and clkdev for this are added manually. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c | 53 ++ drivers/clk/ti/clk-2xxx.c|2 + include/linux/clk/ti.h |1 + 3 files

Re: [RESEND][PATCH v4] gpio: davinci: reuse for keystone soc

2014-03-04 Thread Linus Walleij
On Thu, Feb 13, 2014 at 4:58 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: The similar GPIO HW block is used by keystone SoCs as in Davinci SoCs. Hence, reuse Davinci GPIO driver for Keystone taking into account that Keystone contains ARM GIC IRQ controller which is implemented using

Re: [PATCH 06/12] phy: omap: Select OMAP_OCP2SCP bus driver

2014-03-04 Thread Roger Quadros
On 03/03/2014 08:52 PM, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [140303 07:11]: The OMAP_USB2 and OMAP_PIP3 phy devices will not be detected if the OMAP_OCP2SCP driver is not present. So select it. Selecting drivers like this will easily lead into missing dependencies.

Re: [PATCH 01/12] phy: rename struct omap_control_usb to struct omap_control_phy

2014-03-04 Thread Kishon Vijay Abraham I
Roger, On Monday 03 March 2014 08:37 PM, Roger Quadros wrote: From: Kishon Vijay Abraham I kis...@ti.com Rename struct omap_control_usb to struct omap_control_phy since it can be used to control PHY of USB, SATA and PCIE. Also move the driver and include files under *phy* and made the

Re: [PATCH 3/3] ARM: Kirkwood: DT: Add missing vendor prefix

2014-03-04 Thread Andrew Lunn
On Mon, Mar 03, 2014 at 10:05:22PM -0500, Jason Cooper wrote: Andrew, Couple of stupid questions: - I haven't seen 0/1 nor 1/1 show up anywhere (dt, lakml, inbox), am I missing something? Humm, i will check, and do a resend if needed. On Sun, Mar 02, 2014 at 04:24:15PM +0100,

Re: [PATCH 03/12] phy: ti-pipe3: cleanup clock handling

2014-03-04 Thread Kishon Vijay Abraham I
Hi, On Monday 03 March 2014 08:37 PM, Roger Quadros wrote: As this driver is no longer USB specific, use generic clock names. - Fix PLL_SD_SHIFT from 9 to 10 - As optclk and wkupclk may not be always required, don't bail out if they aren't available. I think here too we face the same problem

Re: [PATCH 03/12] phy: ti-pipe3: cleanup clock handling

2014-03-04 Thread Roger Quadros
On 03/04/2014 11:29 AM, Kishon Vijay Abraham I wrote: Hi, On Monday 03 March 2014 08:37 PM, Roger Quadros wrote: As this driver is no longer USB specific, use generic clock names. - Fix PLL_SD_SHIFT from 9 to 10 - As optclk and wkupclk may not be always required, don't bail out if they

[PATCH v3] regulator: pfuze100: add pfuze200 support

2014-03-04 Thread Robin Gong
support pfuze200 chip which remove SW1C and SW4 based on pfuze100. Signed-off-by: Robin Gong b38...@freescale.com --- v3: 1. add device tree binding doc for PFUZE200 2. fix building error for non-devicetree case. --- .../devicetree/bindings/regulator/pfuze100.txt | 96 ++-

Re: [PATCH v3] regulator: pfuze100: add pfuze200 support

2014-03-04 Thread Mark Brown
On Tue, Mar 04, 2014 at 05:40:36PM +0800, Robin Gong wrote: support pfuze200 chip which remove SW1C and SW4 based on pfuze100. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCHv12] video: backlight: gpio-backlight: Add DT support.

2014-03-04 Thread Jingoo Han
On Friday, February 28, 2014 12:22 AM, Lee Jones wrote: On Thu, 27 Feb 2014, Denis Carikli wrote: Signed-off-by: Denis Carikli de...@eukrea.com --- ChangeLog v11-resend-v12: - Moved the Cc from the commit message to the email patch. - The documentation is now more clear. - The

Re: [PATCH v5 6/7] of: Implement simplified graph binding for single port devices

2014-03-04 Thread Philipp Zabel
Am Dienstag, den 04.03.2014, 11:06 +0200 schrieb Tomi Valkeinen: On 27/02/14 19:35, Philipp Zabel wrote: For simple devices with only one port, it can be made implicit. The endpoint node can be a direct child of the device node. snip @@ -2105,9 +2112,11 @@ struct device_node

Re: [PATCH V3 1/5] genirq: define flag IRQ_SRC_DST_INVERTED, and accessors

2014-03-04 Thread Thomas Gleixner
On Mon, 3 Mar 2014, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Some devices have configurable IRQ output polarities. Software might use IRQ_TYPE_* to determine how to configure such a device's IRQ output polarity in order to match how the IRQ controller input is

RE: [PATCH RFC 3/3] Altera TSE: Add Altera Triple Speed Ethernet (TSE) Driver

2014-03-04 Thread David Laight
From: Of Vince Bridgers Hello Florian, thank you for taking the time to comments. My responses inline. On Sun, Mar 2, 2014 at 6:59 PM, Florian Fainelli f.faine...@gmail.com wrote: Hello Vince, It might help reviewing the patches by breaking the patches into: - the SGDMA bits - the

Re: [PATCH v5 5/7] [media] of: move common endpoint parsing to drivers/of

2014-03-04 Thread Philipp Zabel
Am Freitag, den 28.02.2014, 22:09 +0100 schrieb Sylwester Nawrocki: [...] --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -1985,6 +1985,37 @@ struct device_node *of_find_next_cache_node(const struct device_node *np) } /** + * of_graph_parse_endpoint() - parse common

Re: [PATCH v5 3/7] of: Warn if of_graph_get_next_endpoint is called with the root node

2014-03-04 Thread Philipp Zabel
Am Freitag, den 28.02.2014, 22:09 +0100 schrieb Sylwester Nawrocki: On 02/27/2014 06:35 PM, Philipp Zabel wrote: If of_graph_get_next_endpoint is given a parentless node instead of an endpoint node, it is clearly a bug. Signed-off-by: Philipp Zabelp.za...@pengutronix.de ---

Re: [PATCH v5 2/7] Documentation: of: Document graph bindings

2014-03-04 Thread Philipp Zabel
Hi Sylwester, Am Freitag, den 28.02.2014, 22:08 +0100 schrieb Sylwester Nawrocki: Hi Philipp, Just couple minor comments... Thanks, I'll fix all of those. On 02/27/2014 06:35 PM, Philipp Zabel wrote: The device tree graph bindings as used by V4L2 and documented in

Re: [PATCH V3 1/5] genirq: define flag IRQ_SRC_DST_INVERTED, and accessors

2014-03-04 Thread Thomas Gleixner
On Tue, 4 Mar 2014, Thomas Gleixner wrote: On Mon, 3 Mar 2014, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Some devices have configurable IRQ output polarities. Software might use IRQ_TYPE_* to determine how to configure such a device's IRQ output polarity in order

Re: [RESEND][PATCH v4] gpio: davinci: reuse for keystone soc

2014-03-04 Thread Grygorii Strashko
On 03/04/2014 11:20 AM, Linus Walleij wrote: On Thu, Feb 13, 2014 at 4:58 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: The similar GPIO HW block is used by keystone SoCs as in Davinci SoCs. Hence, reuse Davinci GPIO driver for Keystone taking into account that Keystone contains ARM

[PATCHv3 0/4] Add DT support for fixed PHYs

2014-03-04 Thread Thomas Petazzoni
Hello, Here is a third version of the patch set that adds a Device Tree binding and the related code to support fixed PHYs. Since the second version, the changes have been: * Rebased on top of v3.14-rc1, and re-tested on hardware. * Removed the RFC tag, since there seems to be some real

[PATCHv3 3/4] of: provide a binding for fixed link PHYs

2014-03-04 Thread Thomas Petazzoni
Some Ethernet MACs have a fixed link, and are not connected to a normal MDIO-managed PHY device. For those situations, a Device Tree binding allows to describe a fixed link using a special PHY node. This patch adds: * A documentation for the fixed PHY Device Tree binding. * An

[PATCHv3 4/4] net: mvneta: add support for fixed links

2014-03-04 Thread Thomas Petazzoni
Following the introduction of of_phy_register_fixed_link(), this patch introduces fixed link support in the mvneta driver, for Marvell Armada 370/XP SOCs. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- .../devicetree/bindings/net/marvell-armada-370-neta.txt| 4

[PATCHv3 1/4] net: phy: decouple PHY id and PHY address in fixed PHY driver

2014-03-04 Thread Thomas Petazzoni
Until now, the fixed_phy_add() function was taking as argument 'phy_id', which was used both as the PHY address on the fake fixed MDIO bus, and as the PHY id, as available in the MII_PHYSID1 and MII_PHYSID2 registers. However, those two informations are completely unrelated. This patch decouples

[PATCHv3 2/4] net: phy: extend fixed driver with fixed_phy_register()

2014-03-04 Thread Thomas Petazzoni
The existing fixed_phy_add() function has several drawbacks that prevents it from being used as is for OF-based declaration of fixed PHYs: * The address of the PHY on the fake bus needs to be passed, while a dynamic allocation is desired. * Since the phy_device instantiation is post-poned

RESEND [PATCH V9 2/2] ARM: dts: exynos5250: Enable ahci sata and sata phy

2014-03-04 Thread Yuvaraj Kumar C D
This patch adds dt entry for ahci sata controller and its corresponding phy controller.phy node has been added w.r.t new generic phy framework. Signed-off-by: Yuvaraj Kumar C D yuvaraj...@samsung.com --- .../devicetree/bindings/ata/exynos-sata-phy.txt| 14

[PATCH v4 3/5] clk/samsung: add support for pll2650xx

2014-03-04 Thread Rahul Sharma
Add support for pll2650xx in samsung pll file. This pll variant is close to pll36xx but uses CON2 registers instead of CON1. Aud_pll in Exynos5260 is pll2650xx and uses this code. Signed-off-by: Rahul Sharma rahul.sha...@samsung.com --- drivers/clk/samsung/clk-pll.c | 101

[PATCH v4 1/5] clk/samsung: add support for multiple clock providers

2014-03-04 Thread Rahul Sharma
Samsung CCF helper functions do not provide support to register multiple Clock Providers for a given SoC. Due to this limitation SoC platforms are not able to use these helpers for registering multiple clock providers and are forced to bypass this layer. This layer is modified accordingly to

[PATCH v4 4/5] clk/exynos5260: add macros and documentation for exynos5260

2014-03-04 Thread Rahul Sharma
Add macros which are used as Clock IDs in DT and clock file. It also adds the documentation for the exynos5260 clocks. Signed-off-by: Rahul Sharma rahul.sha...@samsung.com --- .../devicetree/bindings/clock/exynos5260-clock.txt | 55 + include/dt-bindings/clk/exynos5260-clk.h |

[PATCH v4 2/5] clk/samsung: add support for pll2550xx

2014-03-04 Thread Rahul Sharma
From: Pankaj Dubey pankaj.du...@samsung.com exynos5260 use pll2550xx and it has different bit fields for P,M,S values as compared to pll2550. Support for pll2550xx is added here. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Rahul Sharma rahul.sha...@samsung.com

[PATCH v4 0/5] clk: exynos: add support for exynos5260 SoC

2014-03-04 Thread Rahul Sharma
From: Rahul Sharma rahul.sha...@samsung.com Add clock support for exynos5260 SoC. This series is based on Kukjin's for-next and Mike's clk-next branches. V4: 1) Rework clock file as per Tomasz review comments at http://www.spinics.net/lists/arm-kernel/msg310116.html. V3: 1) Removed

Re: [PATCH v2 0/8] Input: pixcir_i2c_ts: Add Type-B Multi-touch and DT support

2014-03-04 Thread Roger Quadros
Hi Dmitry, Gentle reminder to comment on this series. Thanks. cheers, -roger On 02/26/2014 05:27 PM, Roger Quadros wrote: Hi, This series does the following - use devres managed resource allocations - convert to Type-B multi touch protocol - support upto 5 fingers with hardware

Re: [PATCH v2 4/4] video: mmp: add device tree support

2014-03-04 Thread Zhou Zhu
Hi, Tomi and Mark, On Mon, Feb 17, 2014 at 10:37 PM, Mark Rutland mark.rutl...@arm.com wrote: On Tue, Jan 14, 2014 at 11:16:24AM +, Zhou Zhu wrote: add device tree support for mmp fb/controller the description of DT config is at Documentation/devicetree/bindings/fb/mmp-disp.txt

Re: [PATCHv3 4/4] net: mvneta: add support for fixed links

2014-03-04 Thread Thomas Petazzoni
Hello all, On Tue, 4 Mar 2014 11:58:24 +0100, Thomas Petazzoni wrote: phy_node = of_parse_phandle(dn, phy, 0); - if (!phy_node) { - dev_err(pdev-dev, no associated PHY\n); - err = -ENODEV; - goto err_free_irq; + if

Re: [PATCH v5 5/7] [media] of: move common endpoint parsing to drivers/of

2014-03-04 Thread Philipp Zabel
Hi Tomi, Am Dienstag, den 04.03.2014, 10:58 +0200 schrieb Tomi Valkeinen: [...] +int of_graph_parse_endpoint(const struct device_node *node, + struct of_endpoint *endpoint) +{ + struct device_node *port_node = of_get_parent(node); Can port_node be NULL? Probably

Re: [RFC PATCH v2 19/21] ARM: dts: exynos5250-arndale: add dsi and panel nodes

2014-03-04 Thread Andrzej Hajda
On 02/28/2014 02:39 PM, Tomi Valkeinen wrote: On 28/02/14 15:31, Tomi Valkeinen wrote: Compared to what I've done on OMAP, you don't seem to specify the video inputs for the tc358764 at all. In this case it's obvious, as the chip is a child of the DSI master. But the chip could as well be

Re: [PATCH v7 08/15] ahci-imx: Port to library-ised ahci_platform

2014-03-04 Thread Bartlomiej Zolnierkiewicz
Hi, On Saturday, February 22, 2014 04:53:37 PM Hans de Goede wrote: This avoids the ugliness of creating a nested platform device from probe. While moving it around anyways, move the mk6q phy init code from probe to imx_sata_enable, as the phy needs to be re-initialized on resume too,

Re: [PATCH v2 1/3] power_supply: modelgauge_battery: Maxim ModelGauge ICs gauge

2014-03-04 Thread Krzysztof Kozlowski
And one more comment: On Sun, 2014-02-02 at 02:23 +0400, Vladimir Barinov wrote: +static int modelgauge_get_property(struct power_supply *psy, +enum power_supply_property psp, +union power_supply_propval *val) +{ + struct

Re: [RFC PATCH v2 14/21] ARM: dts: exynos4412-trats2: add panel node

2014-03-04 Thread Andrzej Hajda
On 02/28/2014 02:33 PM, Tomi Valkeinen wrote: I have the same comment here as for the bridge chip: I would specify the video ports/endpoints between DSI master and the panel, even if you don't use them at the moment. Tomi I have sent my answer in bridge chip subthread. Regards Andrzej --

Re: [PATCH v5 5/7] [media] of: move common endpoint parsing to drivers/of

2014-03-04 Thread Tomi Valkeinen
On 04/03/14 13:36, Philipp Zabel wrote: Hi Tomi, Am Dienstag, den 04.03.2014, 10:58 +0200 schrieb Tomi Valkeinen: [...] +int of_graph_parse_endpoint(const struct device_node *node, + struct of_endpoint *endpoint) +{ + struct device_node *port_node =

Re: [RFC PATCH v2 19/21] ARM: dts: exynos5250-arndale: add dsi and panel nodes

2014-03-04 Thread Tomi Valkeinen
On 04/03/14 14:00, Andrzej Hajda wrote: I have made video path binding optional, in case of video bus if the specific video path is not present driver uses the bus it is connected to. In case DSI panel is controlled via different bus the path should be specified explicitly. I have no

Re: [PATCH 3/9] Doc/DT: Add DT binding documentation for DVI Connector

2014-03-04 Thread Daniel Vetter
On Fri, Feb 28, 2014 at 04:23:27PM +, Russell King - ARM Linux wrote: On Fri, Feb 28, 2014 at 06:12:23PM +0200, Tomi Valkeinen wrote: On 28/02/14 17:59, Russell King - ARM Linux wrote: +dvi0: connector@0 { +compatible = dvi-connector; +label = dvi; + +

Re: [PATCH 4/9] Doc/DT: Add DT binding documentation for HDMI Connector

2014-03-04 Thread Daniel Vetter
On Fri, Feb 28, 2014 at 04:06:12PM +, Russell King - ARM Linux wrote: On Fri, Feb 28, 2014 at 02:20:11PM +0200, Tomi Valkeinen wrote: Add DT binding documentation for HDMI Connector. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com Reviewed-by: Archit Taneja arc...@ti.com ---

[PATCH v5] can: xilinx CAN controller support.

2014-03-04 Thread Kedareswara rao Appana
This patch adds xilinx CAN controller support. This driver supports both ZYNQ CANPS and Soft IP AXI CAN controller. Signed-off-by: Kedareswara rao Appana appa...@xilinx.com --- This patch is rebased on the 3.14 rc5 kernel. Changes for v5: - Updated the driver with the review comments. - Remove

Re: [PATCH v5 0/6] Make dwc3 use Generic PHY Framework

2014-03-04 Thread Kishon Vijay Abraham I
On Monday 03 March 2014 10:10 PM, Felipe Balbi wrote: Hi, On Mon, Mar 03, 2014 at 05:08:09PM +0530, Kishon Vijay Abraham I wrote: Added support for optional PHY in dwc3 as not all SoCs having PHYs for DWC3 should be programmed. While this can be considered as a temporary fix, a long term

Re: RESEND [PATCH V9 2/2] ARM: dts: exynos5250: Enable ahci sata and sata phy

2014-03-04 Thread Kishon Vijay Abraham I
On Tuesday 04 March 2014 04:40 PM, Yuvaraj Kumar C D wrote: This patch adds dt entry for ahci sata controller and its corresponding phy controller.phy node has been added w.r.t new generic phy framework. Signed-off-by: Yuvaraj Kumar C D yuvaraj...@samsung.com FWIW Acked-by: Kishon Vijay

Re: [PATCH RFC 1/5] ASoC: tlv320aic31xx: Add basic codec driver implementation

2014-03-04 Thread Jyri Sarha
On 03/03/2014 08:34 AM, Mark Brown wrote: On Wed, Feb 26, 2014 at 11:14:25AM +0200, Jyri Sarha wrote: This commit adds a bare bones driver support for TLV320AIC31XX family audio codecs. The driver adds basic stereo playback trough headphone and speaker outputs and mono capture trough microphone

Re: [RFC PATCH v4 3/8] staging: imx-drm: Document updated imx-drm device tree bindings

2014-03-04 Thread Philipp Zabel
Hi Tomi, Am Freitag, den 28.02.2014, 09:36 +0200 schrieb Tomi Valkeinen: On 27/02/14 18:54, Philipp Zabel wrote: - One IPU enabled, one disabled: nothing special here, just set the other IPU to status=disabled in the DT data. The driver for the enabled IPU would register the required DRM

[PATCH v2 0/4] AM43xx-ePOS-EVM audio support with TLV320AIC31XX driver

2014-03-04 Thread Jyri Sarha
Since the RFC version of the patches [1] I have addressed Mark Browns comments [2] as described in my mail here [3]. Besr regards, Jyri [1] http://mailman.alsa-project.org/pipermail/alsa-devel/2014-February/073289.html [2]

[PATCH v2 4/4] ASoC: tlv320aic32x4: Sort Makefile in alphabetic order

2014-03-04 Thread Jyri Sarha
The tlv320aic32x4 related files were wrongly placed after tlv320aic3x files. Signed-off-by: Jyri Sarha jsa...@ti.com --- sound/soc/codecs/Makefile |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/Makefile b/sound/soc/codecs/Makefile index

[PATCH v2 1/4] ASoC: tlv320aic31xx: Add basic codec driver implementation

2014-03-04 Thread Jyri Sarha
This commit adds a bare bones driver support for TLV320AIC31XX family audio codecs. The driver adds basic stereo playback trough headphone and speaker outputs and mono capture trough microphone inputs. The driver is currently missing support at least for mini DSP features and jack detection. I

[PATCH v2 2/4] ASoC: davinci-evm: Add AM43xx-EPOS-EVM audio support

2014-03-04 Thread Jyri Sarha
Add machine driver support for AM43xx-ePOS-EVM and update associated device tree binding document. Signed-off-by: Jyri Sarha jsa...@ti.com --- .../bindings/sound/davinci-evm-audio.txt |9 +++-- sound/soc/davinci/davinci-evm.c| 41 2 files

[PATCH v2 3/4] ASoC: davinci: Add SND_AM43XX_SOC_EPOS_EVM build option

2014-03-04 Thread Jyri Sarha
Add support for am335x and am43x based boards with tlv320aic31xx compatible codec connected to McASP. Signed-off-by: Jyri Sarha jsa...@ti.com --- sound/soc/davinci/Kconfig | 12 sound/soc/davinci/Makefile |1 + 2 files changed, 13 insertions(+) diff --git

Re: [alsa-devel] [PATCH v2 2/4] ASoC: davinci-evm: Add AM43xx-EPOS-EVM audio support

2014-03-04 Thread Lars-Peter Clausen
+static const struct snd_soc_dapm_widget aic31xx_dapm_widgets[] = { + SND_SOC_DAPM_HP(Headphone Jack, NULL), + SND_SOC_DAPM_SPK(Speaker, NULL), + SND_SOC_DAPM_MIC(Mic Jack, NULL), +}; + +/* Logic for EVMs with an aic31xx */ +static int evm_aic31xx_init(struct

Re: [PATCH 7/7] PCI: designware: split samsung and fsl bindings

2014-03-04 Thread Lucas Stach
Am Freitag, den 28.02.2014, 21:03 +0100 schrieb Arnd Bergmann: On Friday 28 February 2014, Lucas Stach wrote: +Required properties: +- compatible: fsl,imx6q-pcie +- reg: base addresse and length of the pcie controller +- interrupts: First entry must contain interrupt handle for controller

Re: [PATCH 7/7] PCI: designware: split samsung and fsl bindings

2014-03-04 Thread Arnd Bergmann
On Tuesday 04 March 2014, Lucas Stach wrote: Right, we should be able to reuse the clock names. Though I'm not really sure how the Samsung clocks maps to those used on i.MX, as the names are a bit generic. Maybe someone from Samsung could shed a bit of light on this. On i.MX6 the clock

Re: [PATCH 6/7] PCI: designware: use new OF interrupt mapping when possible

2014-03-04 Thread Tim Harvey
On Fri, Feb 28, 2014 at 9:28 AM, Lucas Stach l.st...@pengutronix.de wrote: This is the recommended method of doing the IRQ mapping. For old devicetrees we fall back to the previous practice. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- drivers/pci/host/pcie-designware.c | 8

Re: [PATCH v2 4/7] dma: of: introduce of_dma_is_coherent() helper

2014-03-04 Thread Will Deacon
On Mon, Mar 03, 2014 at 02:04:17PM +, Rob Herring wrote: Adding Will... Thanks Rob! On Fri, Feb 28, 2014 at 9:24 AM, Arnd Bergmann a...@arndb.de wrote: On Friday 28 February 2014 09:14:19 Rob Herring wrote: I know Will D was not a fan of this property. Primarily I believe because

[PATCH v7 0/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-04 Thread Kamil Debski
Hi, This is the seventh version of this patchset. First and most significant change is that this patchset includes only patches touching the Generic PHY Framework. Patches to the USB controllers were stripped as they require additional work. S5PV210 support is also omitted - it requires more

[PATCH v7 1/4] phy: core: Add an exported of_phy_get function

2014-03-04 Thread Kamil Debski
Previously the of_phy_get function took a struct device * and was declared static. It was impossible to call it from another driver and thus it was impossible to get phy defined for a given node. The old function was renamed to _of_phy_get and was left for internal use. of_phy_get function was

[PATCH v7 3/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-04 Thread Kamil Debski
Add a new driver for the Exynos USB 2.0 PHY. The new driver uses the generic PHY framework. The driver includes support for the Exynos 4210 and 4x12 SoC families. Signed-off-by: Kamil Debski k.deb...@samsung.com --- .../devicetree/bindings/phy/samsung-phy.txt| 53

[PATCH v7 2/4] phy: core: Add devm_of_phy_get to phy-core

2014-03-04 Thread Kamil Debski
Adding devm_of_phy_get will allow to get phys by supplying a pointer to the struct device_node instead of struct device. Signed-off-by: Kamil Debski k.deb...@samsung.com --- drivers/phy/phy-core.c | 31 +++ include/linux/phy/phy.h |8 2 files changed,

[PATCH v7 4/4] phy: Add Exynos 5250 support to the Exynos USB 2.0 PHY driver

2014-03-04 Thread Kamil Debski
Add support for Exynos 5250. This driver is to replace the old USB 2.0 PHY driver. Signed-off-by: Kamil Debski k.deb...@samsung.com --- .../devicetree/bindings/phy/samsung-phy.txt|1 + drivers/phy/Kconfig| 11 + drivers/phy/Makefile

Re: [PATCH 7/7] PCI: designware: split samsung and fsl bindings

2014-03-04 Thread Lucas Stach
Am Dienstag, den 04.03.2014, 15:53 +0100 schrieb Arnd Bergmann: On Tuesday 04 March 2014, Lucas Stach wrote: Right, we should be able to reuse the clock names. Though I'm not really sure how the Samsung clocks maps to those used on i.MX, as the names are a bit generic. Maybe someone from

Re: [alsa-devel] [PATCH v2 2/4] ASoC: davinci-evm: Add AM43xx-EPOS-EVM audio support

2014-03-04 Thread Jyri Sarha
On 03/04/2014 04:12 PM, Lars-Peter Clausen wrote: +static const struct snd_soc_dapm_widget aic31xx_dapm_widgets[] = { +SND_SOC_DAPM_HP(Headphone Jack, NULL), +SND_SOC_DAPM_SPK(Speaker, NULL), +SND_SOC_DAPM_MIC(Mic Jack, NULL), +}; + +/* Logic for EVMs with an aic31xx */ +static int

Re: [PATCH v5 5/7] [media] of: move common endpoint parsing to drivers/of

2014-03-04 Thread Philipp Zabel
Am Dienstag, den 04.03.2014, 14:21 +0200 schrieb Tomi Valkeinen: On 04/03/14 13:36, Philipp Zabel wrote: [...] Can port_node be NULL? Probably only if something is quite wrong, but maybe it's safer to return error in that case. both of_property_read_u32 and of_node_put can handle

[PATCH v5 4/7] pci: Introduce a domain number for pci_host_bridge.

2014-03-04 Thread Liviu Dudau
Make it easier to discover the domain number of a bus by storing the number in pci_host_bridge for the root bus. Several architectures have their own way of storing this information, so it makes sense to try to unify the code. While at this, add a new function that creates a root bus in a given

[PATCH v5 2/3] arm64: Extend the PCI I/O space to 16MB

2014-03-04 Thread Liviu Dudau
From: Catalin Marinas catalin.mari...@arm.com The patch moves the PCI I/O space (currently at 64K) before the earlyprintk mapping and extends it to 16MB. Signed-off-by: Catalin Marinas catalin.mari...@arm.com diff --git a/Documentation/arm64/memory.txt b/Documentation/arm64/memory.txt index

[PATCH v5 0/3] [RFC] Add support for PCI in AArch64

2014-03-04 Thread Liviu Dudau
Hi, This patch adds support for PCI to AArch64. It is based on my v5 patch that adds support for creating generic host bridge structure from device tree. With that in place, I was able to boot a platform that has PCIe host bridge support and use a PCIe network card. Changes from v4: - Fixed

[PATCH v5 3/3] arm64: Add architecture support for PCI

2014-03-04 Thread Liviu Dudau
Use the generic host bridge functions to provide support for PCI Express on arm64. There is no support for ISA memory. Signed-off-by: Liviu Dudau liviu.du...@arm.com create mode 100644 arch/arm64/include/asm/pci.h create mode 100644 arch/arm64/kernel/pci.c diff --git a/arch/arm64/Kconfig

[PATCH v5 1/3] Fix ioport_map() for !CONFIG_GENERIC_IOMAP cases.

2014-03-04 Thread Liviu Dudau
The inline version of ioport_map() that gets used when !CONFIG_GENERIC_IOMAP is wrong. It returns a mapped (i.e. virtual) address that can start from zero and completely ignores the PCI_IOBASE and IO_SPACE_LIMIT that most architectures that use !CONFIG_GENERIC_MAP define. Signed-off-by: Liviu

[PATCH v5 6/7] pci: Export find_pci_host_bridge() function.

2014-03-04 Thread Liviu Dudau
This is a useful function and we should make it visible outside the generic PCI code. Export it as a GPL symbol. Signed-off-by: Liviu Dudau liviu.du...@arm.com diff --git a/drivers/pci/host-bridge.c b/drivers/pci/host-bridge.c index 06ace62..8708b652 100644 --- a/drivers/pci/host-bridge.c +++

[PATCH v5 0/7] [RFC] Support for creating generic host_bridge from device tree

2014-03-04 Thread Liviu Dudau
This is v5 of my attempt to add support for a generic pci_host_bridge controller created from a description passed in the device tree. Changes from v4: - Export pci_find_host_bridge() to be used by arch code. There is scope for making the arch/arm64 version of pci_domain_nr the default

[PATCH v5 2/7] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-03-04 Thread Liviu Dudau
The ranges property for a host bridge controller in DT describes the mapping between the PCI bus address and the CPU physical address. The resources framework however expects that the IO resources start at a pseudo port address 0 (zero) and have a maximum size of IO_SPACE_LIMIT. The conversion

[PATCH v5 3/7] pci: Create pci_host_bridge before its associated bus in pci_create_root_bus.

2014-03-04 Thread Liviu Dudau
Before commit 7b5436635800 the pci_host_bridge was created before the root bus. As that commit has added a needless dependency on the bus for pci_alloc_host_bridge() the creation order has been changed for no good reason. Revert the order of creation as we are going to depend on the

[PATCH v5 1/7] pci: Introduce pci_register_io_range() helper function.

2014-03-04 Thread Liviu Dudau
Some architectures do not share x86 simple view of the I/O space and instead use a range of addresses that map to external devices. For PCI, these ranges can be expressed by OF bindings in a device tree file. Introduce a pci_register_io_range() helper function that can be used by the architecture

[PATCH v5 5/7] pci: Use parent domain number when allocating child busses.

2014-03-04 Thread Liviu Dudau
pci_alloc_child_bus() uses the newly allocated child bus to figure out the domain number that is going to use for setting the device name. A better option is to use the parent bus domain number. Signed-off-by: Liviu Dudau liviu.du...@arm.com diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c

[PATCH v5 7/7] pci: Add support for creating a generic host_bridge from device tree

2014-03-04 Thread Liviu Dudau
Several platforms use a rather generic version of parsing the device tree to find the host bridge ranges. Move the common code into the generic PCI code and use it to create a pci_host_bridge structure that can be used by arch code. Based on early attempts by Andrew Murray to unify the code. Used

Re: [PATCH V3 1/5] genirq: define flag IRQ_SRC_DST_INVERTED, and accessors

2014-03-04 Thread Stephen Warren
On 03/04/2014 03:04 AM, Thomas Gleixner wrote: On Mon, 3 Mar 2014, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Some devices have configurable IRQ output polarities. Software might use IRQ_TYPE_* to determine how to configure such a device's IRQ output polarity in order to

Re: [PATCHv3 00/13] OMAP IOMMU DT adaptation for 3.15

2014-03-04 Thread Joerg Roedel
On Fri, Feb 28, 2014 at 03:00:00PM -0800, Tony Lindgren wrote: * Suman Anna s-a...@ti.com [140228 12:46]: Hi Joerg, Tony, This is an updated series of the OMAP IOMMU DT adaptation intended for 3.15 merge window, addressing the comments from the v2 series. This series is rebased onto

[PATCH v2 6/7] ARM: mvebu: Enable Armada 380/385 watchdog in the devicetree

2014-03-04 Thread Ezequiel Garcia
Add the DT nodes to enable the watchdog support available on Armada 380/385 SoC. Signed-off-by: Ezequiel Garcia ezequiel.gar...@free-electrons.com --- arch/arm/boot/dts/armada-38x.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/armada-38x.dtsi

[PATCH v2 5/7] ARM: mvebu: Enable Armada 375 watchdog in the devicetree

2014-03-04 Thread Ezequiel Garcia
Add the DT nodes to enable the watchdog support available on Armada 375 SoC. Signed-off-by: Ezequiel Garcia ezequiel.gar...@free-electrons.com --- arch/arm/boot/dts/armada-375.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/armada-375.dtsi

[PATCH v2 3/7] watchdog: orion: Introduce per-SoC enabled() function

2014-03-04 Thread Ezequiel Garcia
In order to support other SoCs, it's needed to have a different enabled() implementation for each SoC. This commit adds no functionality, and it consists of preparation work. Signed-off-by: Ezequiel Garcia ezequiel.gar...@free-electrons.com --- drivers/watchdog/orion_wdt.c | 15 +--

[PATCH v2 4/7] watchdog: orion: Add Armada 375/380 SoC support

2014-03-04 Thread Ezequiel Garcia
This commit adds support for the Armada 375 and Armada 380 SoCs. This SoC variant has a second RSTOUT register, in addition to the already existent, which is shared with the system-controller. To handle this RSTOUT, we introduce a new MMIO register 'rstout_mask' to be required on

[PATCH v2 0/7] Watchdog support for Armada 375/38x SoC

2014-03-04 Thread Ezequiel Garcia
Here's a new patchset adding support for watchdog on Armada 375 and Armada 38x SoCs. Regarding the previous patchset, this time we're handling the SoCs differences in the watchdog driver itself. The new Armada 375/385 SoCs have two registers for the watchdog RSTOUT: 1. It has a dedicated

[PATCH v2 1/7] watchdog: orion: Introduce a SoC-specific RSTOUT mapping

2014-03-04 Thread Ezequiel Garcia
This commit separates the RSTOUT register mapping for the different compatible strings supported by the driver. This is needed as preparation work to support other SoCs. Signed-off-by: Ezequiel Garcia ezequiel.gar...@free-electrons.com --- drivers/watchdog/orion_wdt.c | 28

[PATCH v2 2/7] watchdog: orion: Introduce per-SoC stop() function

2014-03-04 Thread Ezequiel Garcia
In order to support other SoCs, it's needed to have a different stop() implementation for each SoC. This commit adds no functionality, and it consists of preparation work. Signed-off-by: Ezequiel Garcia ezequiel.gar...@free-electrons.com --- drivers/watchdog/orion_wdt.c | 26

  1   2   3   >