[PATCH RFC v5 00/21] Add support for i.MX MIPI DSI DRM driver

2014-12-24 Thread Liu Ying
Hi, This series addresses comments from Andrzej Hajda on v4. Most comments are about the Himax HX8369A DRM panel driver. And, a single comment is about the Synopsys DesignWare MIPI DSI host controller DRM bridge driver. The i.MX MIPI DSI is a Synopsys DesignWare MIPI DSI host controller IP. This

[PATCH RFC v5 02/21] of: Add vendor prefix for Himax Technologies Inc.

2014-12-24 Thread Liu Ying
Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * None. v3-v4: * Fix an ordering issue to address Stefan Wahren's comment. v2-v3: * None. v1-v2: * None. Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH RFC v5 01/21] clk: divider: Correct parent clk round rate if no bestdiv is normally found

2014-12-24 Thread Liu Ying
If no best divider is normally found, we will try to use the maximum divider. We should not set the parent clock rate to be 1Hz by force for being rounded. Instead, we should take the maximum divider as a base and calculate a correct parent clock rate for being rounded. Signed-off-by: Liu Ying

[PATCH RFC v5 12/21] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver

2014-12-24 Thread Liu Ying
This patch adds Synopsys DesignWare MIPI DSI host controller driver support. Currently, the driver supports the burst with sync pulses mode only. Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * Remove 'dsi-panel = NULL;' in dw_mipi_dsi_host_detach() to address Andrzej Hajda's

[PATCH RFC v5 15/21] Documentation: dt-bindings: Add bindings for Himax HX8369A DRM panel driver

2014-12-24 Thread Liu Ying
This patch adds device tree bindings for Himax HX8369A DRM panel driver. Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * Merge the bs[3:0]-gpios properties into one property - bs-gpios. This addresses Andrzej Hajda's comment. v3-v4: * Newly introduced in v4. This is separated

[PATCH RFC v5 21/21] ARM: imx_v6_v7_defconfig: Add support for Himax HX8369A panel

2014-12-24 Thread Liu Ying
This patch adds support for Himax HX8369A panel. The new imx_v6_v7_defconfig is generated in this way: * make ARCH=arm imx_v6_v7_defconfig * make ARCH=arm menuconfig and manually choose to build in the Himax HX8369A panel driver * make ARCH=arm savedefconfig * cp defconfig

[PATCH RFC v5 17/21] ARM: dtsi: imx6qdl: Add support for MIPI DSI host controller

2014-12-24 Thread Liu Ying
This patch adds support for MIPI DSI host controller. Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * None. v3-v4: * None. v2-v3: * As suggested by Phillip Zabel, change the clocks and the clock-names properties to use the pllref and core_cfg clocks only. v1-v2: * None.

[PATCH v8 0/2] drivers/gpio: Altera soft IP GPIO driver

2014-12-24 Thread thloh
From: Tien Hock Loh th...@altera.com Adds a new device tree binding and driver for Altera soft GPIO IP. The driver is able to do read/write and allows GPIO to be a interrupt controller. Tested on Altera GHRD on interrupt handling and IO. v8: Using for_each_set_bit added const for struct

[PATCH RFC v5 18/21] ARM: dts: imx6qdl-sabresd: Add support for TRULY TFT480800-16-E MIPI DSI panel

2014-12-24 Thread Liu Ying
The TRULY TFT480800-16-E panel is driven by the Himax HX8369A driver IC. The driver IC supports several display/control interface modes, including the MIPI DSI video mode and command mode. Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * Replace the bs[3:0]-gpios properties with the

[PATCH RFC v5 20/21] ARM: imx_v6_v7_defconfig: Add support for MIPI DSI host controller

2014-12-24 Thread Liu Ying
This patch adds support for MIPI DSI host controller. The new imx_v6_v7_defconfig is generated in this way: * make ARCH=arm imx_v6_v7_defconfig * make ARCH=arm menuconfig and manually choose to build in the MIPI DSI host controller driver * make ARCH=arm savedefconfig * cp defconfig

[PATCH RFC v5 19/21] ARM: imx_v6_v7_defconfig: Cleanup for imx drm being moved out of staging

2014-12-24 Thread Liu Ying
The new imx_v6_v7_defconfig is generated in this way: * make ARCH=arm imx_v6_v7_defconfig * make ARCH=arm savedefconfig * cp defconfig arch/arm/configs/imx_v6_v7_defconfig Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * None. v3-v4: * None. v2-v3: * None. v1-v2: * None.

[PATCH v8 2/2] drivers/gpio: Altera soft IP GPIO driver

2014-12-24 Thread thloh
From: Tien Hock Loh th...@altera.com Adds a new driver for Altera soft GPIO IP. The driver is able to do read/write and allows GPIO to be a interrupt controller. Tested on Altera GHRD on interrupt handling and IO. Signed-off-by: Tien Hock Loh th...@altera.com --- MAINTAINERS|

[PATCH RFC v5 11/21] Documentation: dt-bindings: Add bindings for Synopsys DW MIPI DSI DRM bridge driver

2014-12-24 Thread Liu Ying
This patch adds device tree bindings for Synopsys DesignWare MIPI DSI host controller DRM bridge driver. Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * None. v3-v4: * Newly introduced in v4. This is separated from the relevant driver patch in v3 to address Stefan Wahren's

[PATCH RFC v5 14/21] drm: imx: Support Synopsys DesignWare MIPI DSI host controller

2014-12-24 Thread Liu Ying
This patch adds support for Synopsys DesignWare MIPI DSI host controller which is embedded in the i.MX6q/sdl SoCs. Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * None. v3-v4: * Move the relevant dt-bindings to a separate patch to address Stefan Wahren's comment. v2-v3: * To

[PATCH RFC v5 16/21] drm: panel: Add support for Himax HX8369A MIPI DSI panel

2014-12-24 Thread Liu Ying
This patch adds support for Himax HX8369A MIPI DSI panel. Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * Address Andrzej Hajda's comments. * Get the bs-gpios property instead of the bs[3:0]-gpios properties. * Implement error propagation for panel register configurations. * Other

[PATCH RFC v5 13/21] Documentation: dt-bindings: Add bindings for i.MX specific Synopsys DW MIPI DSI driver

2014-12-24 Thread Liu Ying
This patch adds device tree bindings for i.MX specific Synopsys DW MIPI DSI driver. Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * None. v3-v4: * Newly introduced in v4. This is separated from the relevant driver patch in v3 to address Stefan Wahren's comment.

[PATCH RFC v5 08/21] ARM: imx6q: clk: Add support for mipi_core_cfg clock as a shared clock gate

2014-12-24 Thread Liu Ying
The CG8 field of the CCM CCGR3 register is named as 'mipi_core_cfg' clock, according to the i.MX6q/sdl reference manuals. This clock is actually the gate for several clocks, including the hsi_tx_sel clock's output and the video_27m clock's output. The MIPI DSI host controller embedded in the

[PATCH RFC v5 07/21] ARM: imx6q: clk: Change hsi_tx clock to be a shared clock gate

2014-12-24 Thread Liu Ying
The CG8 field of the CCM CCGR3 register is named as 'mipi_core_cfg' clock, according to the i.MX6q/sdl reference manuals. This clock is actually the gate for several clocks, including the hsi_tx_sel clock's output and the video_27m clock's output. So, this patch changes the hsi_tx clock to be a

[PATCH RFC v5 06/21] ARM: imx6q: clk: Change hdmi_isfr clock's parent to be video_27m clock

2014-12-24 Thread Liu Ying
According to the table 33-1 in the i.MX6Q reference manual, the hdmi_isfr clock's parent should be the video_27m clock. The i.MX6DL reference manual has the same statement. This patch changes the hdmi_isfr clock's parent from the pll3_pfd1_540m clock to the video_27m clock. Suggested-by:

[PATCH RFC v5 09/21] ARM: dts: imx6qdl: Move existing MIPI DSI ports into a new 'ports' node

2014-12-24 Thread Liu Ying
The MIPI DSI node contains some ports which represent possible DRM CRTCs it can connect with. Each port has a 'reg' property embedded. This property will be wrongly interpretted by the MIPI DSI bus driver, because the driver will take each subnode which contains a 'reg' property as a DSI

[PATCH RFC v5 10/21] drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format

2014-12-24 Thread Liu Ying
Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * None. v3-v4: * None. v2-v3: * None. v1-v2: * Thierry Reding suggested that the mipi_dsi_pixel_format_to_bpp() function could be placed at the common DRM MIPI DSI driver. This patch is newly added. include/drm/drm_mipi_dsi.h

[PATCH RFC v5 04/21] ARM: imx6q: Add GPR3 MIPI muxing control register field shift bits definition

2014-12-24 Thread Liu Ying
This patch adds a macro to define the GPR3 MIPI muxing control register field shift bits. Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * None. v3-v4: * None. v2-v3: * None. v1-v2: * None. include/linux/mfd/syscon/imx6q-iomuxc-gpr.h | 1 + 1 file changed, 1 insertion(+) diff

[PATCH RFC v5 05/21] ARM: imx6q: clk: Add the video_27m clock

2014-12-24 Thread Liu Ying
This patch supports the video_27m clock which is a fixed factor clock of the pll3_pfd1_540m clock. Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * None. v3-v4: * None. v2-v3: * None. v1-v2: * None. arch/arm/mach-imx/clk-imx6q.c | 1 +

[PATCH RFC v5 03/21] of: Add vendor prefix for Truly Semiconductors Limited

2014-12-24 Thread Liu Ying
Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * None. v3-v4: * None. v2-v3: * None. v1-v2: * None. Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

Re: [PATCH v2 3/4] arm64: dts: Add mediatek MT8173 SoC and evaluation board dts and Makefile

2014-12-24 Thread Marc Zyngier
On 2014-12-23 21:07, Arnd Bergmann wrote: On Tuesday 23 December 2014 08:43:55 Marc Zyngier wrote: Neverthless, MT8173 SoC already use 0x10224000 and 0x10225000 as VGIC base address. Then its fate is sealed virtualization wise. It should still work with 4kb pages on the host, right?

[PATCH v8 1/2] drivers/gpio: Altera soft IP GPIO driver device tree binding

2014-12-24 Thread thloh
From: Tien Hock Loh th...@altera.com Adds a new driver device tree binding for Altera soft GPIO IP Signed-off-by: Tien Hock Loh th...@altera.com --- .../devicetree/bindings/gpio/gpio-altera.txt | 43 1 files changed, 43 insertions(+), 0 deletions(-) create mode

[PATCH v2] mtd: hisilicon: add device tree node for NAND controller

2014-12-24 Thread Zhou Wang
This patch add dts support for NAND flash controller of Hisilicon Soc Hip04 Changes in v2: - Base on v3.19-rc1 - Use nand-ecc-strength, nand-ecc-step-size to replace hisi,nand-ecc-bits Changes in v1: - Move partition and other board related information into board dts file: hip04-d01.dts

[PATCH v2 3/3] ASoC: rockchip: i2s: fix maxburst of dma data to 4

2014-12-24 Thread Jianqun Xu
Since RK3288 DMAC's burst length only support max to 4, here set maxburst of playback and capture dma data to 4. Signed-off-by: Jianqun Xu jay...@rock-chips.com --- changes since v1: - new patch since v1 sound/soc/rockchip/rockchip_i2s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH v2 0/3] ASoC: rockchip: i2s: fix watermark to 16 and maxburst to 4

2014-12-24 Thread Jianqun Xu
To make Bus DMA works more efficiency, DMA may work in burst mode, we set the watermark of transmit and receive reach to 16 bits. Jianqun Xu (3): ASoC: rockchip: i2s: fix error defination of transmit data level ASoC: rockchip: i2s: set TDL and RDL to 16 samples ASoC: rockchip: i2s: fix

[PATCH v2 2/3] ASoC: rockchip: i2s: set TDL and RDL to 16 samples

2014-12-24 Thread Jianqun Xu
Set Transmit Data Level(TDL) and Receive Data Level(RDL) to 16 samples. Without this setting, the TDL is default to be 0x00 (means 0 sample), and the RDL is default to be 0x1f (means 32 samples). Signed-off-by: Jianqun Xu jay...@rock-chips.com --- changes since v1: - modify commit message bit to

[PATCH v2 1/3] ASoC: rockchip: i2s: fix error defination of transmit data level

2014-12-24 Thread Jianqun Xu
According to description about Transmit Data Level, This bit field controls the level at which a DMA request is made by the transmit logic. It is equal to the watermark level. That is, the dma_tx_req signal is generated when the number of valid data entries in the TXFIFO (TXFIFO0 if CSR=00

Re: [PATCH] ARM: socfpga: dts: Add adxl34x

2014-12-24 Thread Steffen Trumtrar
Hi! On Tue, Dec 23, 2014 at 10:04:22AM -0300, Walter Lozano wrote: This patch adds the DTS bindings for the adxl34x digital accelerometer. Thanks for doing this. Does the ADXL34 work now? Last time I tried it, I didn't get any interrupts, but as I didn't really care for the accelerometer I

[PATCH v5 1/2] mtd: hisilicon: add a new NAND controller driver for hisilicon hip04 Soc

2014-12-24 Thread Zhou Wang
Signed-off-by: Zhou Wang wangzhou@gmail.com --- drivers/mtd/nand/Kconfig|5 + drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/hisi504_nand.c | 907 +++ 3 files changed, 913 insertions(+) create mode 100644

[PATCH v5 2/2] mtd: hisilicon: add device tree binding documentation

2014-12-24 Thread Zhou Wang
Signed-off-by: Zhou Wang wangzhou@gmail.com --- .../devicetree/bindings/mtd/hisi504-nand.txt | 48 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/hisi504-nand.txt diff --git

[PATCH v5 0/2] mtd: hisilicon: add a new driver for NAND controller of hisilicon hip04 Soc

2014-12-24 Thread Zhou Wang
This patchset adds the support for NAND controller of hisilicon hip04 Soc. The NAND controller IP was developed by hisilicon and needs a new driver to support it. This patchset is based on l2-mtd/master. I have tested this NAND flash controller driver in Hip04 D01 board using MTD test modules.

Re: [PATCH v8 2/2] drivers/gpio: Altera soft IP GPIO driver

2014-12-24 Thread Joe Perches
On Wed, 2014-12-24 at 00:22 -0800, th...@altera.com wrote: Adds a new driver for Altera soft GPIO IP. The driver is able to do read/write and allows GPIO to be a interrupt controller. Some trivial comments, some not quite so trivial. diff --git a/drivers/gpio/gpio-altera.c

Re: [PATCH v2] spi: sh-msiof: Configure MSIOF sync signal timing in device tree

2014-12-24 Thread Mark Brown
On Fri, Dec 19, 2014 at 05:15:53PM +0900, Yoshihiro Shimoda wrote: The MSIOF controller has DTDL and SYNCDL in SITMDR1 register. So, this patch adds new properties like the following commit: d0fb47a5237d8b9576113568bacfd27892308b62 (spi: fsl-espi: Configure FSL eSPI CSBEF and CSAFT)

Re: [RFC PATCH v2 1/4] arm64: defconfig: increase NR_CPUS range to 2-128

2014-12-24 Thread Ganapatrao Kulkarni
On Tue, Dec 9, 2014 at 1:57 PM, Arnd Bergmann a...@arndb.de wrote: On Monday 08 December 2014 17:57:03 Zi Shen Lim wrote: Hi Arnd, On Mon, Nov 24, 2014 at 3:53 AM, Arnd Bergmann a...@arndb.de wrote: On Saturday 22 November 2014 02:53:27 Ganapatrao Kulkarni wrote: Raising the maximum

Re: [PATCH v3 3/8] regulator: MT6397: Add support for MT6397 regulator

2014-12-24 Thread Mark Brown
On Fri, Dec 05, 2014 at 12:07:54PM +0800, Flora Fu wrote: Add MT6397 regulator driver. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v3 6/8] dt-bindings: Add document for MT6397 regulator

2014-12-24 Thread Mark Brown
On Fri, Dec 05, 2014 at 12:07:57PM +0800, Flora Fu wrote: Signed-off-by: Flora Fu flora...@mediatek.com Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v2 0/3] ASoC: rockchip: i2s: fix watermark to 16 and maxburst to 4

2014-12-24 Thread Mark Brown
On Wed, Dec 24, 2014 at 05:36:59PM +0800, Jianqun Xu wrote: To make Bus DMA works more efficiency, DMA may work in burst mode, we set the watermark of transmit and receive reach to 16 bits. Applied all, thanks. signature.asc Description: Digital signature

Re: [PATCH] thermal: ti-soc-thermal: ti-bandgap.c: Remove unused function

2014-12-24 Thread Nishanth Menon
On 12/21/2014 11:43 AM, Rickard Strandqvist wrote: Remove the function ti_bandgap_write_thot() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se ---

Re: [RFC v1 PATCH 1/2] of/pci: add of_pci_dma_configure() update dma configuration

2014-12-24 Thread Murali Karicheri
On 12/23/2014 05:42 PM, Arnd Bergmann wrote: On Tuesday 23 December 2014 12:42:05 Murali Karicheri wrote: here. Arnd, I guess so. Besides we need to keep the default coherent dma mask to 32bit 0xull as well to work on Keystone and also in sync with current defaults used in

[Patch V3 03/10] ASoC: qcom: Document LPASS CPU bindings

2014-12-24 Thread Kenneth Westfield
From: Kenneth Westfield kwest...@codeaurora.org Add documentation to the sound directory of the device-tree bindings for the IPQ806x LPASS CPU DAI driver. Signed-off-by: Kenneth Westfield kwest...@codeaurora.org Acked-by: Banajit Goswami bgosw...@codeaurora.org ---

[Patch V3 02/10] ASoC: qcom: Document MAX98357A bindings

2014-12-24 Thread Kenneth Westfield
From: Kenneth Westfield kwest...@codeaurora.org Add documentation to the sound directory of the device-tree bindings for the Maxim MAX98357A audio codec driver. Signed-off-by: Kenneth Westfield kwest...@codeaurora.org Acked-by: Banajit Goswami bgosw...@codeaurora.org ---

[Patch V3 00/10] ASoC: QCOM: Add support for ipq806x SOC

2014-12-24 Thread Kenneth Westfield
From: Kenneth Westfield kwest...@codeaurora.org This set of patches adds support for audio on the Qualcomm Technologies ipq806x SOC. The ipq806x SOC has audio-related hardware blocks in its low-power audio subsystem (or LPASS). One of the relevant blocks in the LPASS is its low-power audio

[Patch V3 06/10] ASoC: ipq806x: Add LPASS CPU DAI driver

2014-12-24 Thread Kenneth Westfield
From: Kenneth Westfield kwest...@codeaurora.org Add the CPU DAI driver for the QCOM LPASS SOC. Signed-off-by: Kenneth Westfield kwest...@codeaurora.org Acked-by: Banajit Goswami bgosw...@codeaurora.org --- sound/soc/qcom/lpass-cpu-mi2s.c | 378 1 file

[Patch V3 07/10] ASoC: ipq806x: Add I2S PCM platform driver

2014-12-24 Thread Kenneth Westfield
From: Kenneth Westfield kwest...@codeaurora.org Add PCM platform driver for the LPASS I2S port. Signed-off-by: Kenneth Westfield kwest...@codeaurora.org Acked-by: Banajit Goswami bgosw...@codeaurora.org --- sound/soc/qcom/lpass-pcm-mi2s.c | 486 1 file

[Patch V3 10/10] ARM: dts: Model IPQ LPASS audio hardware

2014-12-24 Thread Kenneth Westfield
From: Kenneth Westfield kwest...@codeaurora.org Model the LPASS audio hardware for the IPQ806X. Signed-off-by: Kenneth Westfield kwest...@codeaurora.org Acked-by: Banajit Goswami bgosw...@codeaurora.org --- arch/arm/boot/dts/qcom-ipq8064.dtsi | 23 +++ 1 file changed, 23

[Patch V3 08/10] ASoC: qcom: Add ability to build QCOM drivers

2014-12-24 Thread Kenneth Westfield
From: Kenneth Westfield kwest...@codeaurora.org Now all drivers are in place, allow them to build. Signed-off-by: Kenneth Westfield kwest...@codeaurora.org Acked-by: Banajit Goswami bgosw...@codeaurora.org --- sound/soc/qcom/Kconfig | 27 +++ sound/soc/qcom/Makefile |

[Patch V3 05/10] ASoC: ipq806x: add LPASS header files

2014-12-24 Thread Kenneth Westfield
From: Kenneth Westfield kwest...@codeaurora.org Add the LPASS header files for ipq806x SOCs. This includes the register definitions for the LPAIF, and the structure definition for the CPU DAI. Signed-off-by: Kenneth Westfield kwest...@codeaurora.org Acked-by: Banajit Goswami

[Patch V3 09/10] ASoC: Allow for building QCOM drivers

2014-12-24 Thread Kenneth Westfield
From: Kenneth Westfield kwest...@codeaurora.org Allow for the QCOM LPASS drivers to build. Signed-off-by: Kenneth Westfield kwest...@codeaurora.org Acked-by: Banajit Goswami bgosw...@codeaurora.org --- sound/soc/Kconfig | 1 + sound/soc/Makefile | 1 + 2 files changed, 2 insertions(+) diff

[Patch V3 01/10] MAINTAINERS: Add QCOM audio ASoC maintainer

2014-12-24 Thread Kenneth Westfield
From: Kenneth Westfield kwest...@codeaurora.org Signed-off-by: Kenneth Westfield kwest...@codeaurora.org Acked-by: Banajit Goswami bgosw...@codeaurora.org --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[Patch V3 04/10] ASoC: codec: Add MAX98357A codec driver

2014-12-24 Thread Kenneth Westfield
From: Kenneth Westfield kwest...@codeaurora.org Add codec driver for the Maxim MAX98357A DAC. Signed-off-by: Kenneth Westfield kwest...@codeaurora.org Acked-by: Banajit Goswami bgosw...@codeaurora.org --- sound/soc/codecs/Kconfig | 4 ++ sound/soc/codecs/Makefile| 2 +

Re: [PATCH V3 2/2] dmaengine: Add driver for IMG MDC

2014-12-24 Thread Andrew Bresticker
On Tue, Dec 23, 2014 at 9:22 PM, Vinod Koul vinod.k...@intel.com wrote: On Thu, Dec 11, 2014 at 02:59:17PM -0800, Andrew Bresticker wrote: Add support for the IMG Multi-threaded DMA Controller (MDC) found on certain IMG SoCs. Currently this driver supports the variant present on the

[PATCH 3.19 REGRESSION FIX] ARM: dts: Fix missing usb0_reset for sun4i / sun5i

2014-12-24 Thread Hans de Goede
Hi Maxime, The recent sun4i-usb-phy changes to add (preliminary) support for the oth phy, cause the ehci/ohci controllers to no longer work on sun4i / sun5i, because the phy driver refuses to load due to a missing usb0_reset reset controller in the dts files for sun4i / sun5i: [0.094293]

[PATCH] ARM: dts: Fix missing usb0_reset for sun4i / sun5i

2014-12-24 Thread Hans de Goede
The recent sun4i-usb-phy changes to add (preliminary) support for the oth phy, cause the ehci/ohci controllers to no longer work on sun4i / sun5i, because the phy driver refuses to load due to a missing usb0_reset reset controller in the dts files for sun4i / sun5i: [0.094293] sun4i-usb-phy

Re: [PATCH V3 2/2] dmaengine: Add driver for IMG MDC

2014-12-24 Thread James Hartley
On 24 Dec 2014, at 17:21, Andrew Bresticker abres...@chromium.org wrote: On Tue, Dec 23, 2014 at 9:22 PM, Vinod Koul vinod.k...@intel.com wrote: On Thu, Dec 11, 2014 at 02:59:17PM -0800, Andrew Bresticker wrote: Add support for the IMG Multi-threaded DMA Controller (MDC) found on certain

[PATCH] dma-mapping: limit dma_mask in arch_setup_dma_ops()

2014-12-24 Thread Murali Karicheri
dma_mask should be limited to minimum of the default dma mask and dma-range size configured in DT for proper operation. Signed-off-by: Murali Karicheri m-kariche...@ti.com Reviewed-by: Arnd Bergmann a...@arndb.de --- arch/arm/mm/dma-mapping.c |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH] dma-mapping: fix size when of_dma_get_range() fails

2014-12-24 Thread Murali Karicheri
When call to of_dma_get_range() fails, the code currently set size to dev-coherent_dma_mask instead of dev-coherent_dma_mask + 1. Fix this to make the code consistent with the case when size is obtained from dma-range property. Signed-off-by: Murali Karicheri m-kariche...@ti.com Reviewed-by: Arnd

[PATCH v2 2/2] PCI: update dma configuration from DT

2014-12-24 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 v2 1/2] of/pci: add of_pci_dma_configure() update dma configuration

2014-12-24 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. Signed-off-by: Murali Karicheri m-kariche...@ti.com --- drivers/of/of_pci.c| 73

[PATCH v2 0/2] PCI: get DMA configuration from parent device

2014-12-24 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 v2] clk-rcar-gen2: RCAN clock support

2014-12-24 Thread Sergei Shtylyov
Add the RCAN clock support to the R-Car generation 2 CPG driver. This clock gets derived from the USB_EXTAL clock, dividing it by 6. The layout of the RCANCKCR register is similar to those of the clocks supported by the 'clk-div6' driver but has no divider field, and so can't be supported by

[PATCHv2] media: i2c/adp1653: devicetree support for adp1653

2014-12-24 Thread Pavel Machek
We are moving to device tree support on OMAP3, but that currently breaks ADP1653 driver. This adds device tree support, plus required documentation. Signed-off-by: Pavel Machek pa...@ucw.cz --- Changed -microsec to -us, as requested by devicetree people. Fixed checkpatch issues. diff --git

Re: [PATCH] media: i2c/adp1653: devicetree support for adp1653

2014-12-24 Thread Pavel Machek
On Tue 2014-12-23 21:49:04, Pavel Machek wrote: On Tue 2014-12-23 15:23:25, Mauro Carvalho Chehab wrote: Em Wed, 3 Dec 2014 22:46:41 +0100 Pavel Machek pa...@ucw.cz escreveu: We are moving to device tree support on OMAP3, but that currently breaks ADP1653 driver. This adds device

Re: [PATCH] ARM: socfpga: dts: Add adxl34x

2014-12-24 Thread Walter Lozano
On Wed, Dec 24, 2014 at 6:45 AM, Steffen Trumtrar s.trumt...@pengutronix.de wrote: Hi! On Tue, Dec 23, 2014 at 10:04:22AM -0300, Walter Lozano wrote: This patch adds the DTS bindings for the adxl34x digital accelerometer. Thanks for doing this. Does the ADXL34 work now? Last time I tried

[PATCH v2] ARM: socfpga: dts: Add adxl34x

2014-12-24 Thread Walter Lozano
This patch adds the DTS bindings for the adxl34x digital accelerometer. Signed-off-by: Walter Lozano wal...@vanguardiasur.com.ar --- arch/arm/boot/dts/socfpga_cyclone5_sockit.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts

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

2014-12-24 Thread Yingjoe Chen
Hi Matthias, On Tue, 2014-11-25 at 16:04 +0800, Yingjoe Chen wrote: 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

[PATCH 0/2] ARM: dts: berlin: enable PMU and add PPI cpu mask to twd interrupts

2014-12-24 Thread Jisheng Zhang
One of the patch enables PMU support to BG2Q and BG2CD SoCs. Another patch adds the missing PPI cpu mask to twd timer interrupts. Jisheng Zhang (2): ARM: dts: berlin: add pmu node for BG2Q and BG2CD ARM: dts: berlin: add PPI cpu mask to twd timer interrupts arch/arm/boot/dts/berlin2.dtsi

[PATCH 1/2] ARM: dts: berlin: add pmu node for BG2Q and BG2CD

2014-12-24 Thread Jisheng Zhang
This patch adds the pmu node, enabling the PMU unit on Marvell BG2Q and BG2CD SoCs. Signed-off-by: Jisheng Zhang jszh...@marvell.com --- arch/arm/boot/dts/berlin2cd.dtsi | 5 + arch/arm/boot/dts/berlin2q.dtsi | 8 2 files changed, 13 insertions(+) diff --git

[PATCH 2/2] ARM: dts: berlin: add PPI cpu mask to twd timer interrupts

2014-12-24 Thread Jisheng Zhang
Signed-off-by: Jisheng Zhang jszh...@marvell.com --- arch/arm/boot/dts/berlin2.dtsi | 3 ++- arch/arm/boot/dts/berlin2cd.dtsi | 3 ++- arch/arm/boot/dts/berlin2q.dtsi | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/berlin2.dtsi