Re: [PATCH] ARM: OMAP2: HSMMC: explicit fields to declare cover/card detect pin

2015-03-25 Thread Ulf Hansson
On 20 March 2015 at 15:53, Andreas Fenkart afenk...@gmail.com wrote: board-rx51 has no card detect pin in the mmc slot, but can detect that the (cell-phone) cover has been removed and the card is accessible. The semantics between cover/card detect differ, the gpio on the slot informs you after

Re: [PATCHv5 29/35] ARM: dts: am4372: add minimal l4 bus layout with control module support

2015-03-25 Thread Tero Kristo
On 03/24/2015 10:10 PM, Suman Anna wrote: Hi Tero, On 03/20/2015 01:44 PM, Kristo, Tero wrote: This patch creates an l4_wkup interconnect for AM43xx, and moves some of the generic peripherals under it. System control module nodes are moved under this new interconnect also, and the SCM clock

Re: [PATCH] gpio: pcf857x: restore the initial line state of all pcf lines

2015-03-25 Thread Linus Walleij
On Wed, Mar 18, 2015 at 2:21 PM, Kishon Vijay Abraham I kis...@ti.com wrote: [Me] Specify exactly what stuff may happen after the reboot notifier. okay, it's assumed the device may be used (active) till the shutdown handler of that particular device is called. In this particular case we are

Re: [PATCHv5 11/35] ARM: OMAP2+: clock: move clock provider infrastructure to clock driver

2015-03-25 Thread Tero Kristo
Hi, Tony had a small comment about this patch, so I made a slightly modified version where the direct reg access (not through memmap) is dropped; it is no longer needed as the legacy omap3 clock data was moved under TI clock driver. I force pushed this patch to the v5 branch, the modified

Re: [PATCH] ARM: OMAP2: HSMMC: explicit fields to declare cover/card detect pin

2015-03-25 Thread Tony Lindgren
* Ulf Hansson ulf.hans...@linaro.org [150325 01:32]: On 20 March 2015 at 15:53, Andreas Fenkart afenk...@gmail.com wrote: board-rx51 has no card detect pin in the mmc slot, but can detect that the (cell-phone) cover has been removed and the card is accessible. The semantics between

Re: [PATCHv5 29/35] ARM: dts: am4372: add minimal l4 bus layout with control module support

2015-03-25 Thread Tero Kristo
On 03/25/2015 11:10 AM, Tero Kristo wrote: On 03/24/2015 10:10 PM, Suman Anna wrote: Hi Tero, On 03/20/2015 01:44 PM, Kristo, Tero wrote: This patch creates an l4_wkup interconnect for AM43xx, and moves some of the generic peripherals under it. System control module nodes are moved under this

Re: [PATCHv5 27/35] ARM: dts: am33xx: add minimal l4 bus layout with control module support

2015-03-25 Thread Tero Kristo
On 03/21/2015 01:30 AM, Tony Lindgren wrote: * Suman Anna s-a...@ti.com [150320 16:24]: On 03/20/2015 05:35 PM, Tony Lindgren wrote: * Suman Anna s-a...@ti.com [150320 14:44]: On 03/20/2015 01:44 PM, Kristo, Tero wrote: + scm: scm@21 { +

[GIT PULL] wireless wl12xx and omap device tree changes for v4.1

2015-03-25 Thread Tony Lindgren
The following changes since commit 06e5801b8cb3fc057d88cb4dc03c0b64b2744cda: Linux 4.0-rc4 (2015-03-15 17:38:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v4.1/wl12xx-dt for you to fetch changes up to

[PATCH 1/1] usb: musb: dsps: fix build on i386 when COMPILE_TEST is set

2015-03-25 Thread Tony Lindgren
Commit 3e457371f436 (usb: musb: Fix fifo reads for dm816x with musb_dsps) fixed a USB error on dm816x, but introduced a new build error on i386 when COMPILE_TEST is set: drivers/usb/musb/musb_dsps.c: In function ‘dsps_read_fifo32’: drivers/usb/musb/musb_dsps.c:624:3: error: implicit declaration

Re: omap voltage management

2015-03-25 Thread Tony Lindgren
* Ran Shalit ransha...@gmail.com [150321 12:18]: On Fri, Mar 20, 2015 at 7:11 AM, Ran Shalit ransha...@gmail.com wrote: We currently are missing dm8148 support from mainline, dm8168 does have basic support now. Adding dm8148 will hopefully happen too with time permitting :) Hi Tony,

[PATCH v2 06/15] omap3isp: Refactor device configuration structs for Device Tree

2015-03-25 Thread Sakari Ailus
Make omap3isp configuration data structures more suitable for consumption by the DT by separating the I2C bus information of all the sub-devices in a group and the ISP bus information from each other. The ISP bus information is made a pointer instead of being directly embedded in the struct. In

[PATCH v2 07/15] omap3isp: Rename regulators to better suit the Device Tree

2015-03-25 Thread Sakari Ailus
Rename VDD_CSIPHY1 as vdd-csiphy1 and VDD_CSIPHY2 as vdd-csiphy2. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/platform/omap3isp/isp.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 03/15] omap3isp: Separate external link creation from platform data parsing

2015-03-25 Thread Sakari Ailus
Move the code which connects the external entity to an ISP entity into a separate function. This disconnects it from parsing the platform data. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/platform/omap3isp/isp.c |

[PATCH v2 02/15] omap3isp: Avoid a BUG_ON() in media_entity_create_link()

2015-03-25 Thread Sakari Ailus
If an uninitialised v4l2_subdev struct was passed to media_entity_create_link(), one of the BUG_ON()'s in the function will be hit since media_entity.num_pads will be zero. Avoid this by checking whether the num_pads field is non-zero for the interface. Signed-off-by: Sakari Ailus

[PATCH v2 09/15] omap3isp: Replace mmio_base_phys array with the histogram block base

2015-03-25 Thread Sakari Ailus
Only the histogram sub-block driver uses the physical address. Do not store it for other sub-blocks. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/platform/omap3isp/isp.c |3 ++-

[PATCH v2 14/15] omap3isp: Add support for the Device Tree

2015-03-25 Thread Sakari Ailus
Add the ISP device to omap3 DT include file and add support to the driver to use it. Also obtain information on the external entities and the ISP configuration related to them through the Device Tree in addition to the platform data. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi ---

[PATCH v2 05/15] omap3isp: Platform data could be NULL

2015-03-25 Thread Sakari Ailus
Only check for call platform data callback functions if there's platform data. Also take care of a few other cases where the NULL pdata pointer could have been accessed, and remove the check for NULL dev-platform_data pointer. Removing the check for NULL dev-platform_data isn't strictly needed by

[PATCH v2 10/15] omap3isp: Move the syscon register out of the ISP register maps

2015-03-25 Thread Sakari Ailus
The syscon register isn't part of the ISP, use it through the syscom driver regmap instead. The syscom block is considered to be from 343x on ISP revision 2.0 whereas 15.0 is assumed to have 3630 syscon. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart

[PATCH v2 15/15] omap3isp: Deprecate platform data support

2015-03-25 Thread Sakari Ailus
Print a warning when the driver is used with platform data. Existing platform data users should move to DT now. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/platform/omap3isp/isp.c |2 ++ 1 file changed, 2

Re: [PATCH v7 5/6] ARM: dts: add wl12xx/wl18xx bindings

2015-03-25 Thread Tony Lindgren
* Kalle Valo kv...@codeaurora.org [150322 21:52]: Tony Lindgren t...@atomide.com writes: After John retired we actually have two set of trees now: mac80211 maintained by Johannes and wireless-drivers maintained by me. I haven't pulled anything from your tree and I'm 100% sure Johannes

[PATCH] ARM: DRA7: Enable Cortex A15 errata 798181

2015-03-25 Thread Nishanth Menon
ARM errata 798181 is applicable for DRA7 based devices. So enable the same in the build. Errata extract and workaround information is as below. On Cortex-A15 (r0p0..r3p2) the TLBI*IS/DSB operations are not adequately shooting down all use of the old entries. The ARM_ERRATA_798181 option enables

Re: omap voltage management

2015-03-25 Thread Nishanth Menon
On Wed, Mar 25, 2015 at 4:47 PM, Tony Lindgren t...@atomide.com wrote: * Ran Shalit ransha...@gmail.com [150321 12:18]: On Fri, Mar 20, 2015 at 7:11 AM, Ran Shalit ransha...@gmail.com wrote: We currently are missing dm8148 support from mainline, dm8168 does have basic support now. Adding

Re: [PATCH] ARM: DRA7: Enable Cortex A15 errata 798181

2015-03-25 Thread Nishanth Menon
On 03/25/2015 05:12 PM, Nishanth Menon wrote: ARM errata 798181 is applicable for DRA7 based devices. So enable the same in the build. Errata extract and workaround information is as below. On Cortex-A15 (r0p0..r3p2) the TLBI*IS/DSB operations are not adequately shooting down all use of the

Re: [PATCHv5 11/35] ARM: OMAP2+: clock: move clock provider infrastructure to clock driver

2015-03-25 Thread Tony Lindgren
* Tero Kristo t-kri...@ti.com [150325 08:12]: Splits the clock provider init out of the PRM driver and moves it to clock driver. This is needed so that once the PRCM drivers are separated, they can logically just access the clock driver not needing to go through common PRM code. This would

Re: [PATCH 3/4] mmc: sdio: support switching to 1-bit before turning off clocks

2015-03-25 Thread NeilBrown
On Mon, 23 Mar 2015 10:10:18 +0100 Ulf Hansson ulf.hans...@linaro.org wrote: On 24 February 2015 at 03:42, NeilBrown ne...@suse.de wrote: @@ -941,8 +947,12 @@ void mmc_release_host(struct mmc_host *host) WARN_ON(!host-claimed); - if (host-ops-disable host-claim_cnt ==

[PATCH 2/2] mmc: remove enable/disable methods.

2015-03-25 Thread NeilBrown
The 'enable' and 'disable' methods are deprecated according to host.h, and are no longer used. So discard them. Signed-off-by: NeilBrown n...@brown.name --- drivers/mmc/core/core.c |5 - include/linux/mmc/host.h |6 -- 2 files changed, 11 deletions(-) diff --git

Re: [PATCH 2/2] ARM: dts: dra7: remove ti,hwmod property from pcie phy

2015-03-25 Thread Kishon Vijay Abraham I
Hi, On Thursday 19 March 2015 10:19 PM, Paul Walmsley wrote: On Thu, 19 Mar 2015, grygorii.stras...@linaro.org wrote: On 03/19/2015 05:45 PM, Paul Walmsley wrote: On Thu, 19 Mar 2015, grygorii.stras...@linaro.org wrote: On 03/19/2015 04:55 PM, Paul Walmsley wrote: On Wed, 18 Mar 2015,

[PATCH 1/2] mmc: omap_hsmmc: stop using .enable and .disable method.

2015-03-25 Thread NeilBrown
enable and disable are only used to get and put runtime pm references. .set_ios already does this itself, and other drivers just do it in set_ios and .request without using enable/disable. So add pm_runtime get/put to omap_hsmmc_request(), and discard the enable/disable methods. Signed-off-by:

[PATCH 0/2] Remove mmc_host enable/disable methods.

2015-03-25 Thread NeilBrown
Only omap_hsmmc uses enable and disable, and this seems to be largely for historical reasons and is no longer necessary. I have tested these patches with an OMAP3 with an uSD card on mmc0 and a wifi SDIO device on mmc1. NeilBrown --- NeilBrown (2): mmc: omap_hsmmc: stop using .enable

Re: [PATCH v2 06/15] omap3isp: Refactor device configuration structs for Device Tree

2015-03-25 Thread Tony Lindgren
* Sakari Ailus sakari.ai...@iki.fi [150325 16:00]: Make omap3isp configuration data structures more suitable for consumption by the DT by separating the I2C bus information of all the sub-devices in a group and the ISP bus information from each other. The ISP bus information is made a pointer

[PATCH] ARM: DRA7: Enable Cortex A15 errata 798181

2015-03-25 Thread Praneeth Bajjuri
ARM errata 798181 is applicable for OMAP5/DRA7 based devices. So enable the same in the build. DRA7xx is based on Cortex-A15 r2p2 revision. ARM Errata extract and workaround information is as below. On Cortex-A15 (r0p0..r3p2) the TLBI*IS/DSB operations are not adequately shooting down all use

Re: [PATCH] ARM: DRA7: Enable Cortex A15 errata 798181

2015-03-25 Thread Nishanth Menon
On 03/25/2015 06:25 PM, Praneeth Bajjuri wrote: ARM errata 798181 is applicable for OMAP5/DRA7 based devices. So enable the same in the build. DRA7xx is based on Cortex-A15 r2p2 revision. ARM Errata extract and workaround information is as below. On Cortex-A15 (r0p0..r3p2) the

Re: Possible regression in next-20150323 due to ARM, arm64: kvm: get rid of the bounce page

2015-03-25 Thread Simon Horman
Hi Nishanth, On Tue, Mar 24, 2015 at 11:13:58AM -0500, Nishanth Menon wrote: On 09:31-20150324, Ard Biesheuvel wrote: On 24 March 2015 at 01:45, Simon Horman ho...@verge.net.au wrote: Hi Ard, I have observe what appears to be a build regression in next-20150323 caused by

Re: [PATCH 1/2] mmc: omap_hsmmc: stop using .enable and .disable method.

2015-03-25 Thread NeilBrown
On Thu, 26 Mar 2015 08:43:37 +1100 NeilBrown n...@brown.name wrote: enable and disable are only used to get and put runtime pm references. .set_ios already does this itself, and other drivers just do it in set_ios and .request without using enable/disable. So add pm_runtime get/put to

Re: [PATCH v1.1 14/15] omap3isp: Add support for the Device Tree

2015-03-25 Thread Sakari Ailus
Hi Laurent, Thanks again for the comments! On Sun, Mar 22, 2015 at 10:26:39PM +0200, Laurent Pinchart wrote: Hi Sakari, Thank you for the patch. This looks good to me, except that there's one last bug I've spotted. Please see below. On Saturday 21 March 2015 00:05:04 Sakari Ailus wrote:

[PATCH v2 04/15] omap3isp: DT support for clocks

2015-03-25 Thread Sakari Ailus
From: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/platform/omap3isp/isp.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/media/platform/omap3isp/isp.c

[PATCH v2 11/15] omap3isp: Replace many MMIO regions by two

2015-03-25 Thread Sakari Ailus
The omap3isp MMIO register block is contiguous in the MMIO register space apart from the fact that the ISP IOMMU register block is in the middle of the area. Ioremap it at two occasions, and keep the rest of the layout of the register space internal to the omap3isp driver. Signed-off-by: Sakari

[PATCH v2 00/15] omap3isp driver DT support

2015-03-25 Thread Sakari Ailus
Hi folks, Here's an update to the omap3isp DT support patchset. v1 can be found here: URL:http://www.spinics.net/lists/linux-media/msg87733.html Changes since v1: patch 10: - Add Kconfig dependency to MFD_SYSCON patch 12: - Rename lane-polarity property as lane-polarities patch 13: - Add

[PATCH v2 08/15] omap3isp: Calculate vpclk_div for CSI-2

2015-03-25 Thread Sakari Ailus
The video port clock is l3_ick divided by vpclk_div. This clock must be high enough for the external pixel rate. The video port requires two clock cycles to process a pixel. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

[PATCH v2 13/15] v4l: of: Read lane-polarities endpoint property

2015-03-25 Thread Sakari Ailus
Add lane_polarities field to struct v4l2_of_bus_mipi_csi2 and write the contents of the lane-polarities property to it. The field tells the polarity of the physical lanes starting from the first one. Any unused lanes are ignored, i.e. only the polarity of the used lanes is specified. Also rework

[PATCH v2 01/15] omap3isp: Fix error handling in probe

2015-03-25 Thread Sakari Ailus
The mutex was not destroyed correctly if dma_coerce_mask_and_coherent() failed for some reason. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/platform/omap3isp/isp.c |2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 12/15] dt: bindings: Add lane-polarity property to endpoint nodes

2015-03-25 Thread Sakari Ailus
Add lane-polarity property to endpoint nodes. This essentially tells that the order of the differential signal wires is inverted. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---