[PATCH v2 2/3] platform/chrome: Support reading/writing the vboot context

2015-09-14 Thread Emilio López
Some EC implementations include a small nvram space used to store verified boot context data. This patch offers a way to expose this data to userspace. Signed-off-by: Emilio López --- Changes from v1: - Use is_bin_visible instead of is_visible

[PATCH v2 0/3] platform/chrome: vboot context support

2015-09-14 Thread Emilio López
Hi everyone, This series adds support for reading and writing the verified boot context nvram space on the EC using the cros_ec sysfs interface. The first patch improves is_visible() functionality, making it work for binary attributes as well as normal ones. This is needed so the sysfs group can

[RESEND v2] mfd: s2mps11: Add manual shutdown method for Odroid XU3

2015-09-14 Thread Krzysztof Kozlowski
On Odroid XU3 board (with S2MPS11 PMIC) the PWRHOLD bit in CTRL1 register must be manually set to 0 before initiating power off sequence. One of usual power down methods for Exynos based devices looks like: 1. PWRHOLD pin of PMIC is connected to PSHOLD of Exynos SoC. 2. Exynos holds up this pin

[PATCH v2] ARM: exynos_defconfig: Enable USB Video Class support

2015-09-14 Thread Javier Martinez Canillas
The Exynos5420 Peach Pit and Exynos5800 Peach Pi boards have a built-in Silicon Motion USB UVC WebCam. Enable support for the USB Video Class driver and its needed media Kconfig symbols so the camera is supported. Signed-off-by: Javier Martinez Canillas --- Changes in

[PATCH v2 2/2] [media] media-device: split media initialization and registration

2015-09-14 Thread Javier Martinez Canillas
The media device node is registered and so made visible to user-space before entities are registered and links created which means that the media graph obtained by user-space could be only partially enumerated if that happens too early before all the graph has been created. To avoid this race

[PATCH v2 0/2] [media] Fix race between graph enumeration and entities registration

2015-09-14 Thread Javier Martinez Canillas
Hello, The Media Controller framework has an issue in which the media device node is registered before all the media entities and pads links are created so if user-space tries to enumerate the graph too early, it may get a partial graph since not everything has been registered yet. This series

[PATCH v2 1/3] sysfs: Support is_visible() on binary attributes

2015-09-14 Thread Emilio López
According to the sysfs header file: "The returned value will replace static permissions defined in struct attribute or struct bin_attribute." but this isn't the case, as is_visible is only called on struct attribute only. This patch introduces a new is_bin_visible() function to

Re: [PATCH v2 1/3] sysfs: Support is_visible() on binary attributes

2015-09-14 Thread Guenter Roeck
On 09/14/2015 05:34 AM, Emilio López wrote: According to the sysfs header file: "The returned value will replace static permissions defined in struct attribute or struct bin_attribute." but this isn't the case, as is_visible is only called on struct attribute only. This patch

Re: [PATCH v2 3/3] ARM: dts: Enable EC vboot context support on Peach boards

2015-09-14 Thread Krzysztof Kozlowski
On 14.09.2015 21:34, Emilio López wrote: > The Peach boards use the EC to store the vboot context information, > so add the corresponding properties on the EC node to indicate so. > > Signed-off-by: Emilio López > --- > > Changes from v1: > - none > >

Re: [PATCH v2] ARM: exynos_defconfig: Enable USB Video Class support

2015-09-14 Thread Krzysztof Kozlowski
On 14.09.2015 21:04, Javier Martinez Canillas wrote: > The Exynos5420 Peach Pit and Exynos5800 Peach Pi boards have a built-in > Silicon Motion USB UVC WebCam. Enable support for the USB Video Class > driver and its needed media Kconfig symbols so the camera is supported. > > Signed-off-by:

Re: [PATCH v5 0/4] cpufreq-dt: add suspend frequency support

2015-09-14 Thread Krzysztof Kozlowski
On 09.09.2015 10:16, Rafael J. Wysocki wrote: > On Tuesday, September 08, 2015 06:41:00 PM Bartlomiej Zolnierkiewicz wrote: >> Hi, >> >> This patch series adds suspend frequency support (using opp-v2 >> bindings and suspend-opp functionality) to cpufreq-dt driver and >> then adds suspend opp for

Re: [PATCH v5 0/4] cpufreq-dt: add suspend frequency support

2015-09-14 Thread Viresh Kumar
On 14-09-15, 16:08, Krzysztof Kozlowski wrote: > If you want, the fourth patch can go now through your tree - the late > SoC changes were pulled by Linus. No difference... I can grab it as I > had other DT related fix in queue. > > The only important thing is to get entire patchset to 4.3 because

Re: [PATCH v5 0/4] cpufreq-dt: add suspend frequency support

2015-09-14 Thread Krzysztof Kozlowski
On 14.09.2015 16:17, Viresh Kumar wrote: > On 14-09-15, 16:08, Krzysztof Kozlowski wrote: >> If you want, the fourth patch can go now through your tree - the late >> SoC changes were pulled by Linus. No difference... I can grab it as I >> had other DT related fix in queue. >> >> The only important

Re: [PATCH] arm64: dts: Add BUS1 instance pinctrl support

2015-09-14 Thread Krzysztof Kozlowski
On 14.09.2015 15:16, Alim Akhtar wrote: > Hello, > > On 09/14/2015 11:21 AM, Krzysztof Kozlowski wrote: >> On 14.09.2015 14:08, Alim Akhtar wrote: >>> Hi >>> >>> On 08/31/2015 11:12 AM, Krzysztof Kozlowski wrote: On 28.08.2015 20:25, Alim Akhtar wrote: > This adds BUS1 instance pinctrl

Re: [PATCH] arm64: dts: Add BUS1 instance pinctrl support

2015-09-14 Thread Alim Akhtar
Hello, On 09/14/2015 11:21 AM, Krzysztof Kozlowski wrote: On 14.09.2015 14:08, Alim Akhtar wrote: Hi On 08/31/2015 11:12 AM, Krzysztof Kozlowski wrote: On 28.08.2015 20:25, Alim Akhtar wrote: This adds BUS1 instance pinctrl for exynos7 soc. Signed-off-by: Alim Akhtar

Re: [PATCH v2 2/3] mfd: s2mps11: Add manual shutdown method for Odroid XU3

2015-09-14 Thread Lee Jones
On Sun, 13 Sep 2015, Krzysztof Kozlowski wrote: > You acked this patch. However finally it did not go through other tree > so maybe you could pick it up for 4.4? > > If you want I could reabse and resend it. Yes, please rebase and resend. > 2015-08-11 19:09 GMT+09:00 Krzysztof Kozlowski

Re: [PATCH] ARM: multi_v7_defconfig: enable usb3503

2015-09-14 Thread Riku Voipio
On 5 June 2015 at 15:45, Arnd Bergmann wrote: > On Thursday 04 June 2015 10:47:07 Kevin Hilman wrote: >> >> > But I wonder why is not working, shouldn't the driver defer and >> > be probed again once the PHY driver probe succeeds? >> >> Yeah, I'm not sure why that isn't working,