[PATCH 1/7] input: cyapa: change strings of gen5 to pip in the name when they are shared

2015-06-12 Thread Dudley Du
Change strings 'gen5' to 'pip' for all macros, varibales and functions when they are shared to be used in for gen5 and gen6 modules. The change of these strings is aimed to keep name definition much more clear and readable. TEST=test on Chromebook. Signed-off-by: Dudley Du d...@cypress.com ---

[PATCH 5/7] input: cyapa: add proximity and interrupt sysfs interfaces support

2015-06-12 Thread Dudley Du
Add proximity and interrupt control interfaces in sysfs device node. The proximity interface is used to disable/enable proximity function in device. The interrupt interface is used to disbale/enable interrupt from device. TEST=test on Chromebook. Signed-off-by: Dudley Du d...@cypress.com ---

[PATCH 2/7] input: cyapa: add gen6 device module support in driver

2015-06-12 Thread Dudley Du
Based on the cyapa core, add the gen6 trackpad device's basic functions supported, so gen6 trackpad device can work with kernel input system. And also based on the state parse interface, the cyapa driver can automatically determine the attached is gen3, gen5 or gen6 protocol trackpad device, then

[PATCH 6/7] input: cyapa: add of match device support and description document

2015-06-12 Thread Dudley Du
Add of_match_device machanism support for Cypress trackpad device, and add the sample description document of adding the trackpad device node in DT. TEST=test on Chromebook. Signed-off-by: Dudley Du d...@cypress.com --- .../devicetree/bindings/input/cypress,cyapa.txt| 44

[PATCH 7/7] input: cyapa: add CYAP0002 Gen6 device for ACPI configuration

2015-06-12 Thread Dudley Du
Add CYTP0002 name for Gen6 device for ACPI configuration TEST=test on Chromebook. Signed-off-by: Dudley Du d...@cypress.com --- drivers/input/mouse/cyapa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c index 7e7613f..24302d6 100644

[PATCH 4/7] input: cyapa: fully support runtime suspend power management

2015-06-12 Thread Dudley Du
Fix the the runtime suspend power management not working issue when system starts up and before user touches the trackpad device. TEST=test on Chromebook. Signed-off-by: Dudley Du d...@cypress.com --- drivers/input/mouse/cyapa.c | 79 +++-

[PATCH 3/7] input: cyapa: add proximity function support for gen5 and gen6 modules

2015-06-12 Thread Dudley Du
Gen5 and Gen6 trackpad devices are able to detect and report object proximity data/events, add this function support in the cyapa driver through the MTB protocl ABS_MT_DISTANCE event. TEST=test on Chromebook. Signed-off-by: Dudley Du d...@cypress.com --- drivers/input/mouse/cyapa.c | 19

Re: [PATCH v2 05/22] doc: dt-binding: usb: add otg related properties

2015-06-12 Thread Roger Quadros
On Fri, 12 Jun 2015 09:42:04 +0800 Li Jun b47...@freescale.com wrote: On Thu, Jun 11, 2015 at 05:55:57PM +0300, Roger Quadros wrote: drivers/usb/core/hub.c static int usb_enumerate_device_otg(struct usb_device *udev) { int err = 0; #ifdef CONFIG_USB_OTG

Re: [PATCH v2 05/22] doc: dt-binding: usb: add otg related properties

2015-06-12 Thread Roger Quadros
On Fri, 12 Jun 2015 16:23:59 +0800 Li Jun b47...@freescale.com wrote: On Fri, Jun 12, 2015 at 11:02:13AM +0300, Roger Quadros wrote: On Fri, 12 Jun 2015 09:42:04 +0800 Li Jun b47...@freescale.com wrote: On Thu, Jun 11, 2015 at 05:55:57PM +0300, Roger Quadros wrote:

Re: [PATCH v2 05/22] doc: dt-binding: usb: add otg related properties

2015-06-12 Thread Roger Quadros
On Fri, 12 Jun 2015 16:23:59 +0800 Li Jun b47...@freescale.com wrote: On Fri, Jun 12, 2015 at 11:02:13AM +0300, Roger Quadros wrote: On Fri, 12 Jun 2015 09:42:04 +0800 Li Jun b47...@freescale.com wrote: On Thu, Jun 11, 2015 at 05:55:57PM +0300, Roger Quadros wrote:

Re: [PATCH v2] powerpc/rcpm: add RCPM driver

2015-06-12 Thread Paul Bolle
Just a nit. On Thu, 2015-06-11 at 14:32 +0800, yuantian.t...@freescale.com wrote: --- /dev/null +++ b/arch/powerpc/sysdev/fsl_rcpm.c +int fsl_rcpm_init(void) This is used only through early_initcall(). I took the cargo cult approach of looking at the other uses of early_initcall() in

[RESEND PATCH v4 02/14] crypto: mv_cesa: use gen_pool to reserve the SRAM memory region

2015-06-12 Thread Boris Brezillon
The mv_cesa driver currently expects the SRAM memory region to be passed as a platform device resource. This approach implies two drawbacks: - the DT representation is wrong - the only one that can access the SRAM is the crypto engine The last point is particularly annoying in some cases: for

Re: [PATCH v3 2/2] NFC: nfcmrvl: add UART driver

2015-06-12 Thread Neil Brown
On Thu, 11 Jun 2015 23:06:54 -0500 Rob Herring robherri...@gmail.com wrote: Adding Neil Brown who has been doing a UART slave binding[1]. Thanks for the heads-up. This is quite a different approach to configuring a device that is attached to a UART, but then I think it is trying to handle

[RESEND PATCH v4 05/14] crypto: marvell/CESA: add TDMA support

2015-06-12 Thread Boris Brezillon
The CESA IP supports CPU offload through a dedicated DMA engine (TDMA) which can control the crypto block. When you use this mode, all the required data (operation metadata and payload data) are transferred using DMA, and the results are retrieved through DMA when possible (hash results are not

[RESEND PATCH v4 03/14] crypto: mv_cesa: explicitly define kirkwood and dove compatible strings

2015-06-12 Thread Boris Brezillon
We are about to add a new driver to support new features like using the TDMA engine to offload the CPU. Orion, Dove and Kirkwood platforms are already using the mv_cesa driver, but Orion SoCs do not embed the TDMA engine, which means we will have to differentiate them if we want to get TDMA

[RESEND PATCH v4 09/14] crypto: marvell/CESA: add SHA256 support

2015-06-12 Thread Boris Brezillon
From: Arnaud Ebalard a...@natisbad.org Add support for SHA256 operations. Signed-off-by: Arnaud Ebalard a...@natisbad.org Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/crypto/marvell/cesa.c | 2 + drivers/crypto/marvell/cesa.h | 2 +

Re: [PATCH 00/21] On-demand device registration

2015-06-12 Thread Linus Walleij
On Thu, Jun 11, 2015 at 6:40 PM, Alexander Holler hol...@ahsoftware.de wrote: Am 11.06.2015 um 14:30 schrieb Linus Walleij: Certainly it is possible to create deadlocks in this scenario, but the scope is not to create an ubreakable system. IAnd what happens if you run into a deadlock? Do you

[PATCH V2 2/2] mfd: 88pm88x: initialize 88pm886/88pm880 base support

2015-06-12 Thread Yi Zhang
88pm886 and 88pm880 are combo PMIC chip, which integrates regulator, onkey, rtc, gpadc, charger, fuelgauge function; this patch add the basic support for them, adding related resource, such as interrupt, preparing for the client-device driver Signed-off-by: Yi Zhang yizh...@marvell.com ---

[PATCH V2 0/2] add basic support to Marvell 88pm880/88pm886 PMIC chip

2015-06-12 Thread Yi Zhang
- 88pm880 and 88pm886 are PMIC chips which integrates regulator, gpadc, charger, fuelgauge, etc; they share most of the functions and register mapping - this version removes the redundant EXPORT_SYMBOL_GPL, compared with the first version Yi Zhang (2): mfd: add Marvell

[PATCH V2 1/2] mfd: add Marvell 88pm88x description

2015-06-12 Thread Yi Zhang
88pm880 and 88pm886 are two combo PMIC chips, most of the function and the register mapping are the same Signed-off-by: Yi Zhang yizh...@marvell.com --- Documentation/devicetree/bindings/mfd/88pm88x.txt | 33 +++ 1 file changed, 33 insertions(+) create mode 100644

[PATCH] serial: 8250_uniphier: add bindings document for UniPhier UART

2015-06-12 Thread Masahiro Yamada
This is binding information for the UniPhier on-chip UART driver (drivers/tty/serial/8250/8250_uniphier.c). Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- Greg, If not too late, can you merge this patch into your tty repository for the upcoming merge window, please?

Re: [PATCH] video: sm501fb: fixing static checker warning

2015-06-12 Thread Tomi Valkeinen
On 11/06/15 16:13, Heiko Schocher wrote: Dan Carpenter reported the static checker warning: drivers/video/fbdev/sm501fb.c:1958 sm501fb_probe() warn: strcpy() 'cp' of unknown size might be too large for 'fb_mode' Fix it, as the SM501 datasheet says the SM501 can 200 MHz DAC support

[PATCH 0/7] instruction of cyapa gen6 and proximity patches

2015-06-12 Thread Dudley Du
V0 patches mainly have following updates: 1) Add Gen6 trackpad device support; 2) Add report proximity data function support for Gen5 and Gen6 devices; 3) Fully support runtime suspend/resume power management; 4) Add of_match_table mechanism support. This patch series is mainly amied to add new

[RESEND PATCH v4 13/14] crypto: marvell/CESA: add support for Kirkwood and Dove SoCs

2015-06-12 Thread Boris Brezillon
From: Arnaud Ebalard a...@natisbad.org Add the Kirkwood and Dove SoC descriptions, and control the allhwsupport module parameter to avoid probing the CESA IP when the old CESA driver is enabled (unless it is explicitly requested to do so). Signed-off-by: Arnaud Ebalard a...@natisbad.org

[RESEND PATCH v4 08/14] crypto: marvell/CESA: add MD5 support

2015-06-12 Thread Boris Brezillon
From: Arnaud Ebalard a...@natisbad.org Add support for MD5 operations. Signed-off-by: Arnaud Ebalard a...@natisbad.org Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/crypto/marvell/cesa.c | 2 + drivers/crypto/marvell/cesa.h | 2 +

[RESEND PATCH v4 14/14] crypto: marvell/CESA: add DT bindings documentation

2015-06-12 Thread Boris Brezillon
Add DT bindings documentation for the new marvell-cesa driver. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- .../devicetree/bindings/crypto/marvell-cesa.txt| 45 ++ 1 file changed, 45 insertions(+) create mode 100644

[RESEND PATCH v4 00/14] crypto: add a new driver for Marvell's CESA

2015-06-12 Thread Boris Brezillon
Hello, This patch series adds a new driver supporting Marvell's CESA IP. This driver addresses some limitations of the existing one. From a performance and CPU load point of view the most important limitation in the existing driver is the lack of DMA support, thus preventing us from chaining

[PATCH v3 1/2] arm64: dts: mt8173: Add watchdog device node

2015-06-12 Thread Eddie Huang
Add MT8173 watchdog device node. Signed-off-by: Eddie Huang eddie.hu...@mediatek.com --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 30ac8dd..b52ec43

[PATCH v3 2/2] arm64: dts: mt8173: Add I2C device node

2015-06-12 Thread Eddie Huang
Add MT8173 I2C device nodes, include I2C controllers and pins. MT8173 has six I2C controllers, from i2c0 to i2c6, exclude i2c5. The 6th I2C controller register base doesn't next to 5th I2C, and there is a hardware between 5th and 6th I2C controller. So SoC designer name 6th controller as i2c6, not

[PATCH v3 0/2] arm64: dts: Mediatek: MT8173 updtes

2015-06-12 Thread Eddie Huang
This series add MT8173 watchdog and I2C device nodes. Both device nodes are based on 4.1-rc1, but I2C need two extra CCF patches from Sascha [1][2]. [1] clk: Add common clock support for Mediatek MT8135 and MT8173 http://lists.infradead.org/pipermail/linux-arm-kernel/2015-April/338763.html

Re: [alsa-devel][PATCH] ASoC: fsl: add imx-wm8960 machine driver

2015-06-12 Thread Zidan Wang
On Thu, Jun 11, 2015 at 08:51:07AM -0700, Nicolin Chen wrote: On Thu, Jun 11, 2015 at 07:10:00PM +0800, Zidan Wang wrote: This imx-wm8960 device-tree-only machine driver works with sai driver and have below feature. * support codec master and slave mode * support headphone jack

Re: [PATCH v2 05/22] doc: dt-binding: usb: add otg related properties

2015-06-12 Thread Li Jun
On Fri, Jun 12, 2015 at 11:41:40AM +0300, Roger Quadros wrote: On Fri, 12 Jun 2015 16:23:59 +0800 Li Jun b47...@freescale.com wrote: On Fri, Jun 12, 2015 at 11:02:13AM +0300, Roger Quadros wrote: On Fri, 12 Jun 2015 09:42:04 +0800 Li Jun b47...@freescale.com wrote: On

[RESEND PATCH v4 04/14] crypto: add a new driver for Marvell's CESA

2015-06-12 Thread Boris Brezillon
The existing mv_cesa driver supports some features of the CESA IP but is quite limited, and reworking it to support new features (like involving the TDMA engine to offload the CPU) is almost impossible. This driver has been rewritten from scratch to take those new features into account. This

[RESEND PATCH v4 06/14] crypto: marvell/CESA: add DES support

2015-06-12 Thread Boris Brezillon
Add support for DES operations. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Signed-off-by: Arnaud Ebalard a...@natisbad.org --- drivers/crypto/marvell/cesa.c | 2 + drivers/crypto/marvell/cesa.h | 2 + drivers/crypto/marvell/cipher.c | 150

[RESEND PATCH v4 12/14] crypto: marvell/CESA: add support for Orion SoCs

2015-06-12 Thread Boris Brezillon
Add the Orion SoC description, and select this implementation by default to support non-DT probing: Orion is the only platform where non-DT boards are declaring the CESA block. Control the allhwsupport module parameter to avoid probing the CESA IP when the old CESA driver is enabled (unless it is

[RESEND PATCH v4 11/14] crypto: marvell/CESA: add allhwsupport module parameter

2015-06-12 Thread Boris Brezillon
The old and new marvell CESA drivers both support Orion and Kirkwood SoCs. Add a module parameter to choose whether these SoCs should be attached to the new or the old driver. The default policy is to keep attaching those IPs to the old driver if it is enabled, until we decide the new CESA driver

Re: [alsa-devel] [PATCH 1/3] ASoC: mediatek: Add AFE platform driver

2015-06-12 Thread Koro Chen
On Fri, 2015-06-12 at 09:37 +0200, Paul Bolle wrote: On Fri, 2015-06-12 at 09:55 +0800, Koro Chen wrote: On Thu, 2015-06-11 at 09:03 +0200, Paul Bolle wrote: (What does negating a bool twice do?) Because bool actually can be unsigned char, although actually in this driver, the caller

Re: [PATCH v2 05/22] doc: dt-binding: usb: add otg related properties

2015-06-12 Thread Li Jun
On Fri, Jun 12, 2015 at 11:02:13AM +0300, Roger Quadros wrote: On Fri, 12 Jun 2015 09:42:04 +0800 Li Jun b47...@freescale.com wrote: On Thu, Jun 11, 2015 at 05:55:57PM +0300, Roger Quadros wrote: drivers/usb/core/hub.c static int usb_enumerate_device_otg(struct usb_device

[RESEND PATCH v4 07/14] crypto: marvell/CESA: add Triple-DES support

2015-06-12 Thread Boris Brezillon
From: Arnaud Ebalard a...@natisbad.org Add support for Triple-DES operations. Signed-off-by: Arnaud Ebalard a...@natisbad.org Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/crypto/marvell/cesa.c | 2 + drivers/crypto/marvell/cesa.h | 2 +

[RESEND PATCH v4 01/14] crypto: mv_cesa: document the clocks property

2015-06-12 Thread Boris Brezillon
On Dove platforms, the crypto engine requires a clock. Document this clocks property in the mv_cesa bindings doc. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- Documentation/devicetree/bindings/crypto/mv_cesa.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH v3 1/3] dt-bindings: Document the STM32F4 clock bindings

2015-06-12 Thread Maxime Coquelin
Hi Daniel, 2015-06-10 22:09 GMT+02:00 Daniel Thompson daniel.thomp...@linaro.org: This adds documentation of device tree bindings for the clock related portions of the STM32 RCC block. Signed-off-by: Daniel Thompson daniel.thomp...@linaro.org ---

Re: [PATCH v3 1/2] drm/bridge: dw-hdmi: support optional supply regulators

2015-06-12 Thread Heiko Stübner
Am Mittwoch, 10. Juni 2015, 00:36:18 schrieb Russell King - ARM Linux: On Wed, Jun 10, 2015 at 01:29:43AM +0200, Heiko Stübner wrote: Allthough from the discussion and explanations I've now also got the don't make it worse feeling, so am somehow reluctant to add supplies that also might

Re: [PATCH v2 05/22] doc: dt-binding: usb: add otg related properties

2015-06-12 Thread Roger Quadros
On Fri, 12 Jun 2015 11:09:17 +0800 Li Jun b47...@freescale.com wrote: On Thu, Jun 11, 2015 at 05:52:15PM +0300, Roger Quadros wrote: On Thu, 11 Jun 2015 22:11:22 +0800 Li Jun b47...@freescale.com wrote: On Thu, Jun 11, 2015 at 03:37:03PM +0300, Roger Quadros wrote: On

Re: [PATCH 2/3] watchdog: bcm2835: Add poweroff code for the Raspberry Pi

2015-06-12 Thread Guenter Roeck
On 06/09/2015 03:21 AM, Noralf Trønnes wrote: This adds a new poweroff function to the watchdog driver for the Raspberry Pi. Currently poweroff/halt results in a reboot. The Raspberry Pi firmware uses the RSTS register to know which partiton to boot from. The partiton value is spread into bits

[PATCH v6 02/15] drm/exynos: Add the dependency for DRM_EXYNOS to DPI/DSI/DP

2015-06-12 Thread Hyungwon Hwang
Without this dependency, Kbuild is confused and the configs below them are not placed under Exynos DRM. This patch fixes it, so the configs below them become to be placed under Exynos DRM. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- Changes for v6: - New

[PATCH v6 04/15] drm/exynos: fix the input prompt of Exynos7 DECON

2015-06-12 Thread Hyungwon Hwang
This patch is a preparation patch for adding support for Exynos5433 DECON. Exynos7 DECON have to be distinguished from Exynos5433 DECON. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- Changes for v6: - New drivers/gpu/drm/exynos/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v6 03/15] drm/exynos: add drm_iommu_attach_device_if_possible()

2015-06-12 Thread Hyungwon Hwang
Every CRTC drivers in Exynos DRM implements the code which checks whether IOMMU is supported or not, and if supported enable it. Making new helper for it generalize each CRTC drivers. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- Changes for v6: - New

Re: [PATCH 1/3] ASoC: mediatek: Add AFE platform driver

2015-06-12 Thread Mark Brown
On Wed, Jun 10, 2015 at 10:24:34PM +0800, Koro Chen wrote: This is the DPCM based platform driver of AFE (Audio Front End) unit. Signed-off-by: Koro Chen koro.c...@mediatek.com Signed-off-by: Sascha Hauer s.ha...@pengutronix.de Your signoff should be last if you're the one sending the patch.

Re: [PATCH v2 2/2] pwm: add MediaTek display PWM driver support

2015-06-12 Thread Thierry Reding
On Thu, May 21, 2015 at 09:29:24PM +0800, YH Huang wrote: Add display PWM driver support to modify backlight for MT8173. The driver also claims compatibility with MT6595, so you should mention that here as well. Also please be more verbose in the commit message. You should mention things like

Re: [PATCH 00/21] On-demand device registration

2015-06-12 Thread Alexander Holler
Am 12.06.2015 um 13:19 schrieb Alexander Holler: Am 12.06.2015 um 09:25 schrieb Linus Walleij: On Thu, Jun 11, 2015 at 6:40 PM, Alexander Holler hol...@ahsoftware.de wrote: Am 11.06.2015 um 14:30 schrieb Linus Walleij: Certainly it is possible to create deadlocks in this scenario, but the

Re: [PATCH v2 2/6] regulator: Add system_load constraint

2015-06-12 Thread Mark Brown
On Thu, Jun 11, 2015 at 05:37:03PM -0700, Stephen Boyd wrote: Some regulators have a fixed load that isn't captured by consumers that the kernel knows about. Add a constraint to support this. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 3/3] ASoC: mediatek: Add machine driver for rt5650 rt5676 codec

2015-06-12 Thread Mark Brown
On Wed, Jun 10, 2015 at 10:24:36PM +0800, Koro Chen wrote: This is the DPCM based machine driver with rt5650 and rt5676 Similar issues to the Maxim driver ehre. signature.asc Description: Digital signature

Re: [PATCH v2 2/2] pwm: add MediaTek display PWM driver support

2015-06-12 Thread Thierry Reding
On Thu, May 21, 2015 at 09:29:24PM +0800, YH Huang wrote: Add display PWM driver support to modify backlight for MT8173. Signed-off-by: YH Huang yh.hu...@mediatek.com --- drivers/pwm/Kconfig| 10 ++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-mtk-disp.c | 228

[PATCH] power_supply: rt9455_charger: Fix error reported by static analysis tool

2015-06-12 Thread Anda-Maria Nicolae
The result of container_of macro cannot be NULL, so there is no need to check whether info is NULL. Signed-off-by: Anda-Maria Nicolae anda-maria.nico...@intel.com --- drivers/power/rt9455_charger.c |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/power/rt9455_charger.c

[PATCH v6 09/15] drm/exynos: dsi: add macros for register access

2015-06-12 Thread Hyungwon Hwang
This patch adds macros for register writing/reading. This is needed for adding support Exynos5433 MIPI DSI driver, not by using if statement, but by using driver data. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- Changes before: - Refer https://patchwork.kernel.org/patch/6191761

[PATCH v6 12/15] drm/exynos: dsi: add support for Exynos5433

2015-06-12 Thread Hyungwon Hwang
This patch adds support for Exynos5433 mipi dsi. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- Changes before: - Refer https://patchwork.kernel.org/patch/6191811 Changes for v6: - Change the order of DSIM_CONFIG_REG register - Add error checking code in probe function

[PATCH 3/3] ARM: dts: fix the clock-frequency of rinato board's panel

2015-06-12 Thread Hyungwon Hwang
After the commit abc0b1447d4974963548777a5ba4a4457c82c426 (drm: Perform basic sanity checks on probed modes), proper clock-frequency becomes mandatory for validating the mode of panel. The display does not work if there is no mode validated. Also, this clock-frequency must be set appropriately for

[PATCH 2/2] drm/exynos: ipp: validate a GEM handle with multiple planes

2015-06-12 Thread Hyungwon Hwang
FIMC GSC driver can calculate the offset of planes. So there are use cases which IPP receives just one GEM handle of an image with multiple plane. This patch extends ipp_validate_mem_node() to validate this case. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com ---

[PATCH 1/3] drm/panel: add s6e63j0x03 LCD panel driver

2015-06-12 Thread Hyungwon Hwang
From: Inki Dae inki@samsung.com This patch adds MIPI-DSI based S6E63J0X03 AMOLED LCD panel driver which uses mipi_dsi bus to communicate with panel. The panel has 320×320 resolution in 1.63-inch physical panel. This panel is used in Samsung Galaxy Gear 2. Signed-off-by: Inki Dae

[PATCH v6 07/15] drm/exynos: mic: add MIC driver

2015-06-12 Thread Hyungwon Hwang
MIC(Mobile image compressor) is newly added IP in Exynos5433. MIC resides between decon and mipi dsim, and compresses frame data by 50%. With dsi, not display port, to send frame data to the panel, the bandwidth is not enough. That is why this compressor is introduced. Signed-off-by: Hyungwon

[PATCH v6 08/15] drm/exynos: dsi: rename pll_clk to sclk_clk

2015-06-12 Thread Hyungwon Hwang
This patch renames pll_clk to sclk_clk. The clock referenced by pll_clk is actually not the pll input clock for dsi. The pll input clock comes from the board's oscillator directly. But for the backward compatibility, the old clock name pll_clk is also OK. Signed-off-by: Hyungwon Hwang

[PATCH v6 05/15] drm/exynos: add Exynos5433 decon driver

2015-06-12 Thread Hyungwon Hwang
From: Joonyoung Shim jy0922.s...@samsung.com DECON(Display and Enhancement Controller) is new IP replacing FIMD in Exynos5433. This patch adds Exynos5433 decon driver. Signed-off-by: Joonyoung Shim jy0922.s...@samsung.com Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- Changes before:

[PATCH v6 01/15] drm/exynos: remove the dependency of DP driver for ARCH_EXYNOS

2015-06-12 Thread Hyungwon Hwang
This dependency is a historical thing. It is added when this DP driver is under media subsystem. Now because it is under Exynos DRM, this dependency is not needed anymore. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- Changes for v6: - New drivers/gpu/drm/exynos/Kconfig | 2 +- 1

[PATCH v6 00/15] Add drivers for Exynos5433 display

2015-06-12 Thread Hyungwon Hwang
This patchset is based on the git(branch name: exynos-drm-next) which is maintained by Inki Dae. https://kernel.googlesource.com/pub/scm/linux/kernel/git/... This patchset adds 2 new device drivers, Exynos54333 decon and mic, and adds support for Exynos5433 mipi dsi. To enable display in a

[PATCH v6 14/15] drm/exynos: dsi: do not set TE GPIO direction by input

2015-06-12 Thread Hyungwon Hwang
On some board, TE GPIO should be configured properly thoughout pinctrl driver as an wakeup interrupt. So this gpio should be configurable in the board's DT, not being requested as a input pin. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- Changes before: - Refer

[PATCH v6 11/15] drm/exynos: dsi: make use of array for clock access

2015-06-12 Thread Hyungwon Hwang
This patch make the driver to use an array for clock access. The number of clocks are different from the existing MIPI DSI driver and Exynos5433 MIPI DSI driver. So this patch is needed before adding support for Exynos5433 MIPI DSI driver. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com ---

[v3,2/3] drm/panel: add s6e63j0x03 LCD panel driver

2015-06-12 Thread Hyungwon Hwang
From: Inki Dae inki@samsung.com This patch adds MIPI-DSI based S6E63J0X03 AMOLED LCD panel driver which uses mipi_dsi bus to communicate with panel. The panel has 320×320 resolution in 1.63-inch physical panel. This panel is used in Samsung Galaxy Gear 2. Signed-off-by: Inki Dae

[PATCH v6 06/15] of: add helper for getting endpoint node of specific identifiers

2015-06-12 Thread Hyungwon Hwang
When there are multiple ports or multiple endpoints in a port, they have to be distinguished by the value of reg property. It is common. The drivers can get the specific endpoint in the specific port via this function. Now the drivers have to implement this code in themselves or have to force the

[PATCH 1/2] drm/exynos: ipp: fix wrong index referencing a config element

2015-06-12 Thread Hyungwon Hwang
Config depends on the opreation. So it must be referenced by an operation id, not a property id. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH v6 13/15] drm/exynos: dsi: add support for MIC driver as a bridge

2015-06-12 Thread Hyungwon Hwang
MIC must be initilized by MIPI DSI when it is being bound. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- Changes before: - Refer https://patchwork.kernel.org/patch/6191811 Changes for v6: - None .../devicetree/bindings/video/exynos_dsim.txt | 23 ++---

[PATCH v6 10/15] drm/exynos: dsi: make use of driver data for static values

2015-06-12 Thread Hyungwon Hwang
Exynos MIPI DSI driver uses some static values such as address offsets, register setting values, and etc. This patch makes the driver get those values from the driver data. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- Changes before: - Refer https://patchwork.kernel.org/patch/6191731

[PATCH] ARM: dts: set display clock correctly for exynos4412-trats2

2015-06-12 Thread Hyungwon Hwang
From: Inki Dae inki@samsung.com This patch sets display clock correctly. If Display clock isn't set correctly then you would find below messages and Display controller doesn't work correctly. exynos-drm: No connectors reported connected with modes [drm] Cannot find any crtc or sizes -

[PATCH 2/3] ARM: dts: Add the reference node for syscon to mipi phy for Exynos3250

2015-06-12 Thread Hyungwon Hwang
Exynos mipi phy driver needs syscon node to be probed successfully. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- arch/arm/boot/dts/exynos3250.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi index

[PATCH v6 15/15] ARM: dts: rename the clock of MIPI DSI 'pll_clk' to 'sclk_mipi'

2015-06-12 Thread Hyungwon Hwang
The clock which was named as 'pll_clk' is actually not the clock source of PLL in MIPI DSI. This patch fixes this disagreement. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- Changes before: - Refer https://patchwork.kernel.org/patch/6191811 Changes for v6: - None

Re: [PATCH v2 5/6] regulator: Add input current limit support

2015-06-12 Thread Mark Brown
On Thu, Jun 11, 2015 at 05:37:06PM -0700, Stephen Boyd wrote: Some regulators can limit their input current (typically annotated as ilim). Add an op (set_input_current_limit) and a DT property + constraint to support this. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v3 2/2] arm64: dts: mt8173: Add I2C device node

2015-06-12 Thread Daniel Kurtz
Hi Eddie, On Fri, Jun 12, 2015 at 5:27 PM, Eddie Huang eddie.hu...@mediatek.com wrote: Add MT8173 I2C device nodes, include I2C controllers and pins. MT8173 has six I2C controllers, from i2c0 to i2c6, exclude i2c5. The 6th I2C controller register base doesn't next to 5th I2C, and there is a

Re: [PATCH 5/7] input: cyapa: add proximity and interrupt sysfs interfaces support

2015-06-12 Thread Dmitry Torokhov
Hi Dudley, On Fri, Jun 12, 2015 at 02:56:36PM +0800, Dudley Du wrote: Add proximity and interrupt control interfaces in sysfs device node. The proximity interface is used to disable/enable proximity function in device. The interrupt interface is used to disbale/enable interrupt from device.

Re: [PATCH v4 2/2] pwm: Add support for R-Car PWM Timer

2015-06-12 Thread Thierry Reding
On Thu, May 21, 2015 at 07:57:26PM +0900, Yoshihiro Shimoda wrote: [...] diff --git a/drivers/pwm/pwm-rcar.c b/drivers/pwm/pwm-rcar.c [...] +#define to_rcar_pwm_chip(chip) container_of(chip, struct rcar_pwm_chip, chip) For consistency with other drivers I'd like this to be a static

Re: [PATCH 1/2] drm/exynos: ipp: fix wrong index referencing a config element

2015-06-12 Thread Hyungwon Hwang
Please ignore this mail. I didn't know that git send * includes all files in the subdirectories. I am very sorry for disturbing you. Best regards, Hyungwon Hwang On Fri, 12 Jun 2015 21:59:11 +0900 Hyungwon Hwang human.hw...@samsung.com wrote: Config depends on the opreation. So it must be

Re: [PATCH 00/21] On-demand device registration

2015-06-12 Thread Alexander Holler
Am 12.06.2015 um 09:25 schrieb Linus Walleij: On Thu, Jun 11, 2015 at 6:40 PM, Alexander Holler hol...@ahsoftware.de wrote: Am 11.06.2015 um 14:30 schrieb Linus Walleij: Certainly it is possible to create deadlocks in this scenario, but the scope is not to create an ubreakable system. IAnd

Re: [PATCH v2 3/6] regulator: Add pull down support

2015-06-12 Thread Mark Brown
On Thu, Jun 11, 2015 at 05:37:04PM -0700, Stephen Boyd wrote: Some regulators need to be configured to pull down a resistor when the regulator is disabled. Add an op (set_pull_down) and a DT property + constraint to support this. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 2/3] watchdog: bcm2835: Add poweroff code for the Raspberry Pi

2015-06-12 Thread Guenter Roeck
On 06/12/2015 04:26 AM, Stefan Wahren wrote: Hi Noralf, Am 09.06.2015 um 12:21 schrieb Noralf Trønnes: This adds a new poweroff function to the watchdog driver for the Raspberry Pi. Currently poweroff/halt results in a reboot. [...] +static void rpi_power_off(void) +{ +struct device_node

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-06-12 Thread Vinod Koul
On Thu, Jun 04, 2015 at 06:58:06PM +0300, Peter Ujfalusi wrote: Vinod, On 06/02/2015 03:55 PM, Vinod Koul wrote: On Fri, May 29, 2015 at 05:32:50PM +0300, Peter Ujfalusi wrote: On 05/29/2015 01:18 PM, Vinod Koul wrote: On Fri, May 29, 2015 at 11:42:27AM +0200, Geert Uytterhoeven wrote:

Re: [v3,2/3] drm/panel: add s6e63j0x03 LCD panel driver

2015-06-12 Thread Hyungwon Hwang
Please ignore this mail. I didn't know that git send * includes all files in the subdirectories. I am very sorry for disturbing you. Best regards, Hyungwon Hwang On Fri, 12 Jun 2015 21:59:17 +0900 Hyungwon Hwang human.hw...@samsung.com wrote: From: Inki Dae inki@samsung.com This patch

Re: [PATCH 2/2] drm/exynos: ipp: validate a GEM handle with multiple planes

2015-06-12 Thread Hyungwon Hwang
Please ignore this mail. I didn't know that git send * includes all files in the subdirectories. I am very sorry for disturbing you. Best regards, Hyungwon Hwang On Fri, 12 Jun 2015 21:59:12 +0900 Hyungwon Hwang human.hw...@samsung.com wrote: FIMC GSC driver can calculate the offset of

Re: [PATCH 1/3] drm/panel: add s6e63j0x03 LCD panel driver

2015-06-12 Thread Hyungwon Hwang
Please ignore this mail. I didn't know that git send * includes all files in the subdirectories. I am very sorry for disturbing you. Best regards, Hyungwon Hwang On Fri, 12 Jun 2015 21:59:14 +0900 Hyungwon Hwang human.hw...@samsung.com wrote: From: Inki Dae inki@samsung.com This patch

Re: [PATCH 2/3] ARM: dts: Add the reference node for syscon to mipi phy for Exynos3250

2015-06-12 Thread Hyungwon Hwang
Please ignore this mail. I didn't know that git send * includes all files in the subdirectories. I am very sorry for disturbing you. Best regards, Hyungwon Hwang On Fri, 12 Jun 2015 21:59:15 +0900 Hyungwon Hwang human.hw...@samsung.com wrote: Exynos mipi phy driver needs syscon node to be

Re: [PATCH 3/3] ARM: dts: fix the clock-frequency of rinato board's panel

2015-06-12 Thread Hyungwon Hwang
Please ignore this mail. I didn't know that git send * includes all files in the subdirectories. I am very sorry for disturbing you. Best regards, Hyungwon Hwang On Fri, 12 Jun 2015 21:59:16 +0900 Hyungwon Hwang human.hw...@samsung.com wrote: After the commit

Re: [PATCH 2/3] ASoC: mediatek: Add machine driver for MAX98090 codec

2015-06-12 Thread Mark Brown
On Wed, Jun 10, 2015 at 10:24:35PM +0800, Koro Chen wrote: --- /dev/null +++ b/Documentation/devicetree/bindings/sound/mt8173-max98090.txt @@ -0,0 +1,17 @@ +MT8173 with MAX98090 CODEC + +Required properties: +- compatible : mediatek,mt8173-max98090 +- mediatek,audio-codec: the phandle of

Re: [PATCH v2 1/2] dt-bindings: pwm: add MediaTek display PWM bindings

2015-06-12 Thread Thierry Reding
On Thu, May 21, 2015 at 09:29:23PM +0800, YH Huang wrote: Document the device-tree binding of MediatTek display PWM. s/MediatTek/MediaTek/ Signed-off-by: YH Huang yh.hu...@mediatek.com This could use a more verbose commit message. You could mention what the PWM is typically used for

Re: [PATCH v2 1/6] regulator: Add QCOM SPMI regulator driver

2015-06-12 Thread Mark Brown
On Thu, Jun 11, 2015 at 05:37:02PM -0700, Stephen Boyd wrote: Add an SPMI regulator driver for Qualcomm's PM8841, PM8941, and PM8916 PMICs. This driver is based largely on code from codeaurora.org[1]. This doesn't apply against current code, please check and resend. signature.asc

Re: [PATCH v2 4/6] regulator: Add soft start support

2015-06-12 Thread Mark Brown
On Thu, Jun 11, 2015 at 05:37:05PM -0700, Stephen Boyd wrote: Some regulators support a soft start feature where the voltage ramps up slowly when the regulator is enabled. Add an op (set_soft_start) and a DT property + constraint to support this. Applied, thanks. signature.asc Description:

[PATCH 4/8] of: overlay: Introduce target root capability.

2015-06-12 Thread Pantelis Antoniou
The target facility of an overlay allows the target to be any point in the live kernel tree, since it usually that's required when creating overlays for internal SoC devices. The target ends up to be a single node in the tree. However when we're dealing with probeable busses this is a problem

[PATCH 6/8] doc: dt: Document the target root overlay method

2015-06-12 Thread Pantelis Antoniou
Add a description of the target root overlay method to the overlay documention file. Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com --- Documentation/devicetree/overlay-notes.txt | 8 1 file changed, 8 insertions(+) diff --git

[PATCH 7/8] of: dynamic: Add __of_node_dupv()

2015-06-12 Thread Pantelis Antoniou
Add an __of_node_dupv() private method and make __of_node_dup() use it. This is required for the subsequent changeset accessors which will make use of it. Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com --- drivers/of/dynamic.c | 29 +++-- 1 file changed,

[PATCH 8/8] of: changesets: Introduce changeset helper methods

2015-06-12 Thread Pantelis Antoniou
Changesets are very powerful, but the lack of a helper API makes using them cumbersome. Introduce a simple copy based API that makes things considerably easier. To wit, adding a property using the raw API. struct property *prop; prop = kzalloc(sizeof(*prop)), GFP_KERNEL);

Re: Duplicated device tree and Dynamic symbols

2015-06-12 Thread Pantelis Antoniou
Hi Ricardo, On Jun 8, 2015, at 23:14 , Ricardo Ribalda Delgado ricardo.riba...@gmail.com wrote: Hello Pantelis Any progress here? I just posted a bunch of patches that make possible using PCI with device tree. Perhaps you’d like to take a look. Thanks Regards — Pantelis On

Re: [PATCH non-pretimeout 3/7] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi

2015-06-12 Thread Timur Tabi
On 06/10/2015 12:47 PM, fu@linaro.org wrote: + reg = 0x0 0xe0bb 0 0x1, + 0x0 0xe0bc 0 0x1; I think the sizes are wrong. They should be 0x1000 instead of 0x1. -- Qualcomm Innovation Center, Inc. The Qualcomm

Re: [PATCH v4 1/6] mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others

2015-06-12 Thread Sebastian Andrzej Siewior
On 2015-06-09 22:31:07 [+0200], Stefan Agner wrote: have the endian swap. So an abstraction like you provided earlier would be nice :) What do you mean by that? Something like you did for the reader where you have: |static inline u32 vf610_nfc_read(struct vf610_nfc *nfc, uint reg) |{ |

[PATCH 2/5] omap3: dts: Add DTS for Gumstix TobiDuo expansion board

2015-06-12 Thread Ash Charles
The Gumstix Tobi-Duo expansion board [1] can be used with either OMAP3 Overo or Overo Storm COMs. It provides two NICs using LAN9221 chips. It is necessary to duplicate the interface information for the second SMSC9221 chip as discussed [2]. [1] https://store.gumstix.com/index.php/products/241/

  1   2   >