Re: [PATCH] clk: samsung: fix cpu clock's flags checking

2015-06-29 Thread Javier Martinez Canillas
On Tue, Jun 30, 2015 at 2:06 AM, Krzysztof Kozlowski wrote: > On 30.06.2015 02:29, Bartlomiej Zolnierkiewicz wrote: >> CLK_CPU_HAS_DIV1 and CLK_CPU_NEEDS_DEBUG_ALT_DIV masks were >> incorrectly used as a bit numbers. Fix it. >> >> Tested on Exynos4210 based Origen board and on Exynos5250 based >>

Re: [PATCH] pinctrl: samsung: Remove old unused defines

2015-06-29 Thread Linus Walleij
On Mon, Jun 15, 2015 at 6:54 AM, Krzysztof Kozlowski wrote: > Since 9a2c1c3b91aa ("pinctrl: samsung: Allow grouping multiple > pinmux/pinconf nodes") the defines for GPIO group and function names are > not used anywhere in the driver. > > Signed-off-by: Krzysztof Kozlowski > Inspired-by: Dan Car

Re: [PATCH 2/3] mfd: Remove MFD_CROS_EC depends on X86 || ARM

2015-06-29 Thread Paul Gortmaker
[Re: [PATCH 2/3] mfd: Remove MFD_CROS_EC depends on X86 || ARM] On 25/06/2015 (Thu 10:44) Javier Martinez Canillas wrote: > Hello Lee, > > On 06/25/2015 10:38 AM, Lee Jones wrote: > > On Thu, 25 Jun 2015, Javier Martinez Canillas wrote: > > > >> A dependency on X86 || ARM for MFD_CROS_EC was ad

Re: [PATCH] ARM: dts: exynos4: add DMA support for serial ports

2015-06-29 Thread Krzysztof Kozlowski
On 29.06.2015 22:22, Robert Baldyga wrote: > Enable DMA transfers for serial ports. > > Signed-off-by: Robert Baldyga > --- > arch/arm/boot/dts/exynos4.dtsi | 8 > 1 file changed, 8 insertions(+) Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof -- To unsubscribe from this li

Re: [PATCH v2 4/4] cpufreq: exynos: remove Exynos5250 specific cpufreq driver support

2015-06-29 Thread Krzysztof Kozlowski
On 30.06.2015 02:26, Bartlomiej Zolnierkiewicz wrote: > Exynos5250 based platforms have switched over to use generic > cpufreq driver for cpufreq functionality. So the Exynos > specific cpufreq support for these platforms can be removed. > > Based on the earlier work by Thomas Abraham. > > Cc: Vi

Re: [PATCH v2 3/4] ARM: Exynos: switch to using generic cpufreq driver for Exynos5250

2015-06-29 Thread Krzysztof Kozlowski
On 30.06.2015 02:26, Bartlomiej Zolnierkiewicz wrote: > From: Thomas Abraham > > The new CPU clock type allows the use of generic CPUfreq driver. > Switch Exynos5250 to using generic cpufreq driver. > > Changes by Bartlomiej: > - split Exynos5250 support from the original patch > > Cc: Tomasz F

Re: [PATCH v2 2/4] ARM: dts: Exynos5250: add CPU OPP and regulator supply property

2015-06-29 Thread Krzysztof Kozlowski
On 30.06.2015 02:26, Bartlomiej Zolnierkiewicz wrote: > From: Thomas Abraham > > For Exynos5250 platforms, add CPU operating points and CPU > regulator supply properties for migrating from Exynos specific > cpufreq driver to using generic cpufreq driver. > > Changes by Bartlomiej: > - split Exyn

Re: [PATCH] clk: samsung: fix cpu clock's flags checking

2015-06-29 Thread Krzysztof Kozlowski
On 30.06.2015 02:29, Bartlomiej Zolnierkiewicz wrote: > CLK_CPU_HAS_DIV1 and CLK_CPU_NEEDS_DEBUG_ALT_DIV masks were > incorrectly used as a bit numbers. Fix it. > > Tested on Exynos4210 based Origen board and on Exynos5250 based > Arndale board. > > Cc: Tomasz Figa > Cc: Michael Turquette > Cc

Re: [PATCHv7 04/15] HID: add HDMI CEC specific keycodes

2015-06-29 Thread Dmitry Torokhov
On Mon, Jun 29, 2015 at 12:14:49PM +0200, Hans Verkuil wrote: > From: Kamil Debski > > Add HDMI CEC specific keycodes to the keycodes definition. > > Signed-off-by: Kamil Debski > Signed-off-by: Hans Verkuil Could you please describe the intended use for these keycodes for people who do not l

Re: [PATCHv7 05/15] input.h: add BUS_CEC type

2015-06-29 Thread Dmitry Torokhov
On Mon, Jun 29, 2015 at 12:14:50PM +0200, Hans Verkuil wrote: > Inputs can come in over the HDMI CEC bus, so add a new type for this. > > Signed-off-by: Hans Verkuil Acked-by: Dmitry Torokhov > --- > include/uapi/linux/input.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/

[PATCH] clk: samsung: fix cpu clock's flags checking

2015-06-29 Thread Bartlomiej Zolnierkiewicz
CLK_CPU_HAS_DIV1 and CLK_CPU_NEEDS_DEBUG_ALT_DIV masks were incorrectly used as a bit numbers. Fix it. Tested on Exynos4210 based Origen board and on Exynos5250 based Arndale board. Cc: Tomasz Figa Cc: Michael Turquette Cc: Javier Martinez Canillas Cc: Thomas Abraham Reported-by: Dan Carpent

[PATCH v2 3/4] ARM: Exynos: switch to using generic cpufreq driver for Exynos5250

2015-06-29 Thread Bartlomiej Zolnierkiewicz
From: Thomas Abraham The new CPU clock type allows the use of generic CPUfreq driver. Switch Exynos5250 to using generic cpufreq driver. Changes by Bartlomiej: - split Exynos5250 support from the original patch Cc: Tomasz Figa Cc: Kukjin Kim Cc: Javier Martinez Canillas Signed-off-by: Thomas

[PATCH v2 0/4] cpufreq: use generic cpufreq drivers for Exynos5250 platform

2015-06-29 Thread Bartlomiej Zolnierkiewicz
top of next-20150629 branch of linux-next kernel tree - dropped dependency on "[PATCH 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform" patch series as it needs more work (Viresh has requested porting of cpufreq-dt's boost mode support over opp-v2 patches) Dep

[PATCH v2 4/4] cpufreq: exynos: remove Exynos5250 specific cpufreq driver support

2015-06-29 Thread Bartlomiej Zolnierkiewicz
Exynos5250 based platforms have switched over to use generic cpufreq driver for cpufreq functionality. So the Exynos specific cpufreq support for these platforms can be removed. Based on the earlier work by Thomas Abraham. Cc: Viresh Kumar Cc: Javier Martinez Canillas Cc: Thomas Abraham Signed

[PATCH v2 1/4] clk: samsung: exynos5250: add cpu clock configuration data and instantiate cpu clock

2015-06-29 Thread Bartlomiej Zolnierkiewicz
From: Thomas Abraham With the addition of the new Samsung specific cpu-clock type, the arm clock can be represented as a cpu-clock type. Add the CPU clock configuration data and instantiate the CPU clock type for Exynos5250. Changes by Bartlomiej: - split Exynos5250 support from the original pat

[PATCH v2 2/4] ARM: dts: Exynos5250: add CPU OPP and regulator supply property

2015-06-29 Thread Bartlomiej Zolnierkiewicz
From: Thomas Abraham For Exynos5250 platforms, add CPU operating points and CPU regulator supply properties for migrating from Exynos specific cpufreq driver to using generic cpufreq driver. Changes by Bartlomiej: - split Exynos5250 support from the original patch - added CPU regulator supply pr

Re: [PATCH] iommu: Ignore -ENODEV errors from add_device call-back returning -ENODEV

2015-06-29 Thread Joerg Roedel
On Mon, Jun 29, 2015 at 10:53:43AM +0200, Marek Szyprowski wrote: > On 2015-06-29 10:35, Joerg Roedel wrote: > >The -ENODEV error just means that the device is not > >translated by an IOMMU. We shouldn't bail out of iommu > >driver initialization when that happens, as this is a common > >scenario o

[PATCH] ARM: dts: exynos4: add DMA support for serial ports

2015-06-29 Thread Robert Baldyga
Enable DMA transfers for serial ports. Signed-off-by: Robert Baldyga --- arch/arm/boot/dts/exynos4.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index e20cdc2..21b839b 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +

Re: [RESEND PATCH v3] clocksource: exynos_mct: fix for sleeping in atomic ctx handling cpu hotplug notif.

2015-06-29 Thread Krzysztof Kozlowski
2015-06-29 18:19 GMT+09:00 Daniel Lezcano : > On 06/26/2015 03:23 PM, Damian Eppel wrote: >> >> This is to fix an issue of sleeping in atomic context when processing >> hotplug notifications in Exynos MCT(Multi-Core Timer). >> The issue was reproducible on Exynos 3250 (Rinato board) and Exynos 5420

[PATCH 4/4] cec-ctl: CEC control utility

2015-06-29 Thread Hans Verkuil
From: Hans Verkuil Generic CEC utility that can be used to send/receive/monitor CEC messages. Signed-off-by: Hans Verkuil --- configure.ac |1 + utils/Makefile.am |1 + utils/cec-ctl/Makefile.am |8 + utils/cec-ctl/cec-ctl.cpp | 1000 +++

[PATCH 3/4] cec-compliance: add new CEC compliance utility

2015-06-29 Thread Hans Verkuil
From: Hans Verkuil This utility will attempt to test whether the CEC protocol was implemented correctly. Signed-off-by: Hans Verkuil --- configure.ac| 1 + utils/Makefile.am | 1 + utils/cec-compliance/Makefile.am| 3 + utils/cec-

[PATCH 1/4] Makefile.am: copy cec headers with make sync-with-kernel

2015-06-29 Thread Hans Verkuil
From: Hans Verkuil Copy the new cec headers. Signed-off-by: Hans Verkuil --- Makefile.am | 4 1 file changed, 4 insertions(+) diff --git a/Makefile.am b/Makefile.am index 1a61592..b8c450d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,6 +21,8 @@ sync-with-kernel: ! -f $(

[PATCH 0/4] cec-ctl/compliance: new CEC utilities

2015-06-29 Thread Hans Verkuil
From: Hans Verkuil This patch series adds two new utilities to the v4l-utils git repository (http://git.linuxtv.org/cgit.cgi/v4l-utils.git/). It assumes that the new CEC framework available in the kernel: http://www.mail-archive.com/linux-media@vger.kernel.org/msg90085.html The first patch adds

[PATCH 2/4] sync-with-kernel

2015-06-29 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- contrib/freebsd/include/linux/input.h| 13 + include/linux/cec-funcs.h| 1516 ++ include/linux/cec.h | 709 ++ utils/keytable/parse.h

[PATCHv7 09/15] DocBook/media: add CEC documentation

2015-06-29 Thread Hans Verkuil
From: Hans Verkuil Add DocBook documentation for the CEC API. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: add documentation for passthrough mode] [k.deb...@samsung.com: minor fixes and change of reserved field sizes] Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil --- Document

[PATCHv7 12/15] adv7842: add cec support

2015-06-29 Thread Hans Verkuil
Add CEC support to the adv7842 driver. Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 211 +++- 1 file changed, 208 insertions(+), 3 deletions(-) diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index 4cf79b2..0ef01bd

[PATCHv7 08/15] cec.txt: add CEC framework documentation

2015-06-29 Thread Hans Verkuil
From: Hans Verkuil Document the new HDMI CEC framework. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: add DocBook documentation by Hans Verkuil, with Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil --- Documentation/cec.txt | 166 +

[PATCHv7 10/15] v4l2-subdev: add HDMI CEC ops

2015-06-29 Thread Hans Verkuil
Add CEC callbacks to the v4l2_subdev_video_ops. These are the low-level CEC ops that subdevs that support CEC have to implement. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil ---

[PATCHv7 15/15] cobalt: add cec support

2015-06-29 Thread Hans Verkuil
Add CEC support to the cobalt driver. Signed-off-by: Hans Verkuil --- drivers/media/pci/cobalt/cobalt-driver.c | 37 +-- drivers/media/pci/cobalt/cobalt-driver.h | 2 + drivers/media/pci/cobalt/cobalt-v4l2.c | 110 +-- 3 files changed, 138 insertions(+),

[PATCHv7 13/15] cec: adv7511: add cec support.

2015-06-29 Thread Hans Verkuil
Add CEC support to the adv7511 driver. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7511.c | 350 +++- include/

[PATCHv7 05/15] input.h: add BUS_CEC type

2015-06-29 Thread Hans Verkuil
Inputs can come in over the HDMI CEC bus, so add a new type for this. Signed-off-by: Hans Verkuil --- include/uapi/linux/input.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index 7430a3f..0af80b2 100644 --- a/include/uapi/linux/inpu

[PATCHv7 14/15] cec: s5p-cec: Add s5p-cec driver

2015-06-29 Thread Hans Verkuil
From: Kamil Debski Add CEC interface driver present in the Samsung Exynos range of SoCs. The following files were based on work by SangPil Moon: - exynos_hdmi_cec.h - exynos_hdmi_cecctl.c Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil --- .../devicetree/bindings/media/s5p-cec.txt

[PATCHv7 11/15] cec: adv7604: add cec support.

2015-06-29 Thread Hans Verkuil
From: Hans Verkuil Add CEC support to the adv7604 driver. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] [k.deb...@samsung.com: add missing methods cec/io_write_and_or] [k.deb...@samsung.com: change adv7604 to adv76xx in added function

[PATCHv7 00/15] HDMI CEC framework

2015-06-29 Thread Hans Verkuil
Hi all, The seventh version of this patchset addresses comments on the mailing list and many changes due to the work I did on the cec-compliance and cec-ctl utilities (will be posted in a separate patch series). Please see the changelog below for details. Note: I have taken over from Kamil: he no

[PATCHv7 06/15] rc: Add HDMI CEC protocol handling

2015-06-29 Thread Hans Verkuil
From: Kamil Debski Add handling of remote control events coming from the HDMI CEC bus. This patch includes a new keymap that maps values found in the CEC messages to the keys pressed and released. Also, a new protocol has been added to the core. Signed-off-by: Kamil Debski Signed-off-by: Hans V

[PATCHv7 02/15] dts: exynos4: add node for the HDMI CEC device

2015-06-29 Thread Hans Verkuil
From: Kamil Debski This patch adds HDMI CEC node specific to the Exynos4210/4x12 SoC series. Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil Acked-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boo

[PATCHv7 01/15] dts: exynos4*: add HDMI CEC pin definition to pinctrl

2015-06-29 Thread Hans Verkuil
From: Kamil Debski Add pinctrl nodes for the HDMI CEC device to the Exynos4210 and Exynos4x12 SoCs. These are required by the HDMI CEC device. Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil Acked-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4210-pinctrl.dtsi | 7 +++ arch

[PATCHv7 03/15] dts: exynos4412-odroid*: enable the HDMI CEC device

2015-06-29 Thread Hans Verkuil
From: Kamil Debski Add a dts node entry and enable the HDMI CEC device present in the Exynos4 family of SoCs. Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil Acked-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 4 1 file changed, 4 insertions(+) d

[PATCHv7 04/15] HID: add HDMI CEC specific keycodes

2015-06-29 Thread Hans Verkuil
From: Kamil Debski Add HDMI CEC specific keycodes to the keycodes definition. Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil --- include/uapi/linux/input.h | 12 1 file changed, 12 insertions(+) diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index

Re: [RESEND PATCH v3] clocksource: exynos_mct: fix for sleeping in atomic ctx handling cpu hotplug notif.

2015-06-29 Thread Daniel Lezcano
On 06/29/2015 11:24 AM, Thomas Gleixner wrote: On Mon, 29 Jun 2015, Daniel Lezcano wrote: On 06/26/2015 03:23 PM, Damian Eppel wrote: This is to fix an issue of sleeping in atomic context when processing hotplug notifications in Exynos MCT(Multi-Core Timer). The issue was reproducible on Exyno

Re: [RESEND PATCH v3] clocksource: exynos_mct: fix for sleeping in atomic ctx handling cpu hotplug notif.

2015-06-29 Thread Thomas Gleixner
On Mon, 29 Jun 2015, Daniel Lezcano wrote: > On 06/26/2015 03:23 PM, Damian Eppel wrote: > > This is to fix an issue of sleeping in atomic context when processing > > hotplug notifications in Exynos MCT(Multi-Core Timer). > > The issue was reproducible on Exynos 3250 (Rinato board) and Exynos 5420

Re: [RESEND PATCH v3] clocksource: exynos_mct: fix for sleeping in atomic ctx handling cpu hotplug notif.

2015-06-29 Thread Daniel Lezcano
On 06/26/2015 03:23 PM, Damian Eppel wrote: This is to fix an issue of sleeping in atomic context when processing hotplug notifications in Exynos MCT(Multi-Core Timer). The issue was reproducible on Exynos 3250 (Rinato board) and Exynos 5420 (Arndale Octa board). Whilst testing cpu hotplug event

Re: [PATCH] clocksource: exynos_mct: remove unneeded container_of()

2015-06-29 Thread Daniel Lezcano
On 06/21/2015 10:41 PM, Alexey Klimov wrote: Patch removes unneeded container_of() macro in exynos4_local_timer_setup(). Instead let's pass mevt pointer to setup and stop functions from exynos4_mct_cpu_notify() and let them get evt pointer. Tested on odroid-xu3. Signed-off-by: Alexey Klimov Ac

Re: [PATCH] iommu: Ignore -ENODEV errors from add_device call-back returning -ENODEV

2015-06-29 Thread Marek Szyprowski
Hello, On 2015-06-29 10:35, Joerg Roedel wrote: Hi Marek, On Thu, Jun 25, 2015 at 03:10:44PM +0200, Marek Szyprowski wrote: + /* skip devices which doesn't have sysmmu controller */ if (!has_sysmmu(dev)) - return -ENODEV; + return 0; Thanks for report

[PATCH] iommu: Ignore -ENODEV errors from add_device call-back returning -ENODEV

2015-06-29 Thread Joerg Roedel
Hi Marek, On Thu, Jun 25, 2015 at 03:10:44PM +0200, Marek Szyprowski wrote: > + /* skip devices which doesn't have sysmmu controller */ > if (!has_sysmmu(dev)) > - return -ENODEV; > + return 0; Thanks for reporting this! But I think that the -ENODEV return value