[PATCH] drm: dw-hdmi-i2s: add missing company name on Copyright

2017-06-19 Thread Kuninori Morimoto
From: Kuninori Morimoto This driver's Copyright is under Renesas Solutions Corp Signed-off-by: Kuninori Morimoto --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c b

[RFC][PATCH 5/x] ASoC: remove platform related things

2017-06-19 Thread Kuninori Morimoto
Now, all platform code are replaced to component. This patch removes all platform code. platform_list_read_file() is replaced to component_list_read_file(), and snd_soc_lookup_platform() is replaced to snd_soc_lookup_component() Signed-off-by: Kuninori Morimoto --- include/sound/soc.h | 10

[RFC][PATCH 4/x] ASoC: replace platform to component on sst-xxx

2017-06-19 Thread Kuninori Morimoto
Now platform can be replaced to component, let's do it. Signed-off-by: Kuninori Morimoto --- sound/soc/intel/atom/sst-atom-controls.c | 36 +++ sound/soc/intel/atom/sst-mfld-platform-compress.c | 3 +- sound/soc/intel/atom/sst-mfld-platform-pcm.c | 32 ++---

[RFC][PATCH 3/x] ASoC: replace platform to component on sh/rcar

2017-06-19 Thread Kuninori Morimoto
Now platform can be replaced to component, let's do it. Signed-off-by: Kuninori Morimoto --- sound/soc/sh/rcar/core.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c index 409bac3..c03fb9f 100644 --- a/soun

[RFC][PATCH 2/x] ASoC: snd_soc_component_driver has snd_compr_ops

2017-06-19 Thread Kuninori Morimoto
snd_soc_platform_driver has snd_compr_ops, and it will be replaced into snd_soc_component_driver in the future. To prepare it, component driver has it. Signed-off-by: Kuninori Morimoto --- include/sound/soc.h | 1 + sound/soc/soc-compress.c | 116 +++---

[RFC][PATCH 1/x] ASoC: snd_soc_component_driver has snd_pcm_ops

2017-06-19 Thread Kuninori Morimoto
snd_soc_platform_driver has snd_pcm_ops, and it will be replaced into snd_soc_component_driver in the future. To prepare it, component driver has it. Signed-off-by: Kuninori Morimoto --- include/sound/soc.h | 5 ++- sound/soc/davinci/davinci-i2s.c | 15 +++-- sound/soc/soc-core.

[RFC][PATCH 0/x] ASoC: replace platform to component

2017-06-19 Thread Kuninori Morimoto
Hi Mark, Lars-Peter Now, we can replace "platform" to "component". It will be large patch-set. To avoid many posting big-patch-set, I will post few of then as example. 1) - 2) : prepare for last missing parts for replace 3) - 4) : example of replace patch 5) : remove platform Kuninori Mori

Re: [PATCH] clk: renesas: cpg-mssr: Use of_device_get_match_data() helper

2017-06-19 Thread Stephen Boyd
On 06/09, Geert Uytterhoeven wrote: > If CONFIG_OF=n: > > drivers/clk/renesas/renesas-cpg-mssr.c: In function ‘cpg_mssr_probe’: > drivers/clk/renesas/renesas-cpg-mssr.c:702: warning: dereferencing ‘void > *’ pointer > drivers/clk/renesas/renesas-cpg-mssr.c:702: error: request for memb

[PATCH] i2c: rcar: document HW incapabilities

2017-06-19 Thread Wolfram Sang
Add recent findings (IGNORE_NAK) and document in a bit more detail why the feature is not possible. Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-rcar.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-rcar.c b/drivers/i2c/busses/i2c-rcar.

Re: [PATCH v1 09/12] media: rcar: vin: Install notifier for digital input

2017-06-19 Thread Niklas Söderlund
Hi Jacopo, On 2017-06-19 19:04:46 +0200, Jacopo Mondi wrote: > Install async notifier for digital input on Gen3 when no other CSI-2 > input has been found connected. > > Signed-off-by: Jacopo Mondi > --- > drivers/media/platform/rcar-vin/rcar-core.c | 23 +-- > 1 file change

Re: [PATCH v1 07/12] media: rcar: vin: Add ID for parallel input on Gen3

2017-06-19 Thread Niklas Söderlund
Hi Jacopo, Thanks for your patch. On 2017-06-19 19:04:44 +0200, Jacopo Mondi wrote: > Add an identifier for parallel input on Gen3. > Also define the maximum number of available inputs on Gen3 boards. > > Signed-off-by: Jacopo Mondi > --- > drivers/media/platform/rcar-vin/rcar-vin.h | 2 ++ >

Re: [PATCH v1 05/12] media: rcar: vin: Prepare to parse Gen3 digital input

2017-06-19 Thread Niklas Söderlund
Hi Jacopo, Thanks for your patch. On 2017-06-19 19:04:42 +0200, Jacopo Mondi wrote: > Support parsing digital input on configurable port id and reg > properties. Also make the function return -ENOENT when no subdevice is > found. > This change is needed to support parsing digital input on Gen3. >

Re: [PATCH v1 02/12] arm64: boot: dts: Salvator-X: Add VIN parallel input

2017-06-19 Thread Niklas Söderlund
Hi Jacopo, Thanks for your patch. On 2017-06-19 19:04:39 +0200, Jacopo Mondi wrote: > Add parallel video input port to VIN channel #4 and link it to camera > module remote endpoint. > > Signed-off-by: Jacopo Mondi > --- > arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 23 > +

Re: [PATCH v4 02/09] iommu/ipmmu-vmsa: Add optional root device feature

2017-06-19 Thread Robin Murphy
On 19/06/17 10:14, Magnus Damm wrote: > From: Magnus Damm > > Add root device handling to the IPMMU driver by allowing certain > DT compat strings to enable has_cache_leaf_nodes that in turn will > support both root devices with interrupts and leaf devices that > face the actual IPMMU consumer de

[PATCH v1 02/12] arm64: boot: dts: Salvator-X: Add VIN parallel input

2017-06-19 Thread Jacopo Mondi
Add parallel video input port to VIN channel #4 and link it to camera module remote endpoint. Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 23 ++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7796-salvato

[PATCH v1 12/12] media: rcar: vin: Link digital subdev to VIN instance

2017-06-19 Thread Jacopo Mondi
Link digital subdevice to the current VIN instance if the instance support it and we are currently using media controller API. Signed-off-by: Jacopo Mondi --- drivers/media/platform/rcar-vin/rcar-core.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/dr

[PATCH v1 01/12] arm64: boot: dts: salvator-x: Add camera module

2017-06-19 Thread Jacopo Mondi
Add camera module to Salvator-X M3W device tree. The camera module sits on a i2c-gpio interface and it connected to VIN channel #4 parallel video input port. Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 35 ++ 1 file changed, 35 inserti

Re: [PATCH] i2c : busses : emev2 : Handle return value of clk_prepare_enable

2017-06-19 Thread Wolfram Sang
On Wed, May 24, 2017 at 07:31:06PM +0530, Arvind Yadav wrote: > clk_prepare_enable() can fail here and we must check its return value. > > Signed-off-by: Arvind Yadav Applied to for-next, thanks! signature.asc Description: PGP signature

[PATCH v1 07/12] media: rcar: vin: Add ID for parallel input on Gen3

2017-06-19 Thread Jacopo Mondi
Add an identifier for parallel input on Gen3. Also define the maximum number of available inputs on Gen3 boards. Signed-off-by: Jacopo Mondi --- drivers/media/platform/rcar-vin/rcar-vin.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/platform/rcar-vin/rcar-vin.h b/drivers/

[PATCH v1 03/12] media: i2c: mt9m111: Skip chid identification

2017-06-19 Thread Jacopo Mondi
Reads of chip identification code (both on registers 0x00 and 0xff) always return 0x00. Skip chip identification to have the device complete probing. Signed-off-by: Jacopo Mondi --- drivers/media/i2c/mt9m111.c | 19 --- 1 file changed, 19 deletions(-) diff --git a/drivers/media/

[PATCH v1 09/12] media: rcar: vin: Install notifier for digital input

2017-06-19 Thread Jacopo Mondi
Install async notifier for digital input on Gen3 when no other CSI-2 input has been found connected. Signed-off-by: Jacopo Mondi --- drivers/media/platform/rcar-vin/rcar-core.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/drivers/media/platform/rca

[PATCH v1 04/12] media: i2c: mt9m111: Add source pad

2017-06-19 Thread Jacopo Mondi
Add a single source pad to mt9m111 media entity. Signed-off-by: Jacopo Mondi --- drivers/media/i2c/mt9m111.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/mt9m111.c b/drivers/media/i2c/mt9m111.c index 8e86d51..7e70969 100644 --- a/drivers

[PATCH v1 10/12] media: rcar: vin: Add digital input mask to vin_dev

2017-06-19 Thread Jacopo Mondi
Add bitmask to enumerate VIN channel identifiers that support digital video inputs. Signed-off-by: Jacopo Mondi --- drivers/media/platform/rcar-vin/rcar-core.c | 4 drivers/media/platform/rcar-vin/rcar-vin.h | 4 2 files changed, 8 insertions(+) diff --git a/drivers/media/platform/rc

[PATCH v1 08/12] media: rcar: vin: Parse digital input after CSI on Gen3

2017-06-19 Thread Jacopo Mondi
When parsing available inputs on Gen3 boards, add parsing of digital input enpoints to the already in-place CSI-2 node parsing. Signed-off-by: Jacopo Mondi --- drivers/media/platform/rcar-vin/rcar-core.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/driv

[PATCH v1 11/12] media: rcar: vin: Store VIN instance id

2017-06-19 Thread Jacopo Mondi
Store VIN instance id in rvin_dev. The instance id is reported by "renesas,id" OF property. Signed-off-by: Jacopo Mondi --- drivers/media/platform/rcar-vin/rcar-core.c | 1 + drivers/media/platform/rcar-vin/rcar-vin.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/drivers/media/platform

[PATCH v1 05/12] media: rcar: vin: Prepare to parse Gen3 digital input

2017-06-19 Thread Jacopo Mondi
Support parsing digital input on configurable port id and reg properties. Also make the function return -ENOENT when no subdevice is found. This change is needed to support parsing digital input on Gen3. Signed-off-by: Jacopo Mondi --- drivers/media/platform/rcar-vin/rcar-core.c | 22 +++

[PATCH v1 06/12] media: rcar: vin: Accept parallel input on Gen3

2017-06-19 Thread Jacopo Mondi
Accept parallel/BT.565 bus types when parsing OF on Gen3. Signed-off-by: Jacopo Mondi --- drivers/media/platform/rcar-vin/rcar-core.c | 37 + 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/drivers/media/platform/rcar-vin/rcar-core.c b/drivers/media/p

[PATCH v1 00/12] rcar: vin: Add digital input to Gen3

2017-06-19 Thread Jacopo Mondi
Hello, this patch series implements support for parsing OF nodes describing digital video inputs such as parallel camera sensor connected to a Gen3 VIN instance. It also supports linking the camera sub-device to media controller graph. Sending as RFC because work is far from being complete, but

[PATCH v1 00/12] rcar: vin: Add digital input to Gen3

2017-06-19 Thread Jacopo Mondi
Hello, this patch series implements support for parsing OF nodes describing digital video inputs such as parallel camera sensor connected to a Gen3 VIN instance. It also supports linking the camera sub-device to media controller graph. Sending as RFC because work is far from being complete, but

Re: [PATCH 01/04] iommu/ipmmu-vmsa: Use iommu_device_register()/unregister()

2017-06-19 Thread Robin Murphy
On 15/06/17 11:29, Magnus Damm wrote: > From: Magnus Damm > > Extend the driver to make use of iommu_device_register()/unregister() > functions together with iommu_device_set_ops() and iommu_set_fwnode(). > > These used to be part of the earlier posted 64-bit ARM (r8a7795) series but > it turns

Re: [PATCH 00/04] iommu/ipmmu-vmsa: 32-bit ARM update

2017-06-19 Thread Robin Murphy
Hi Magnus, On 15/06/17 11:29, Magnus Damm wrote: > iommu/ipmmu-vmsa: 32-bit ARM update > > [PATCH 01/04] iommu/ipmmu-vmsa: Use iommu_device_register()/unregister() > [PATCH 02/04] iommu/ipmmu-vmsa: Consistent ->of_xlate() handling > [PATCH 03/04] iommu/ipmmu-vmsa: Use fwspec on both 32 and 64-bit

Re: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-06-19 Thread Dong Aisheng
Hi Jmondi, On Thu, Jun 15, 2017 at 7:11 PM, jmondi wrote: > Hi Dong, > > On Tue, Jun 13, 2017 at 02:25:08PM +0800, Dong Aisheng wrote: >> On Mon, Jun 12, 2017 at 5:44 PM, jmondi wrote: >> > Fair enough :) >> > >> > I'll try to keep this short: I don't like "output-enable", and at the >> > same t

Re: [PATCH 2/7] i2c: use proper name for the R-Car SoC

2017-06-19 Thread Wolfram Sang
On Sun, May 28, 2017 at 11:30:45AM +0200, Wolfram Sang wrote: > It is 'R-Car', not 'RCar'. No code or binding changes, only descriptive text. > > Signed-off-by: Wolfram Sang Applied to for-next, thanks! signature.asc Description: PGP signature

Re: [PATCH mmc/next v3 1/2] mmc: tmio: improve checkpatch cleanness

2017-06-19 Thread Ulf Hansson
+Lee On 16 June 2017 at 18:11, Simon Horman wrote: > Trivial updates to improve checkpatch cleanness. > > Signed-off-by: Simon Horman > --- > v3 > * Really don't add bogus ',' after KERN_DEBUG > * Adjustments as per Wolfram's preferences > > v2 > * Don't add bogus ',' after KERN_DEBUG > * Leave

Re: [PATCH mmc/next v3 2/2] mmc: renesas-sdhi: improve checkpatch cleanness

2017-06-19 Thread Ulf Hansson
On 16 June 2017 at 18:11, Simon Horman wrote: > Trivial updates to improve checkpatch cleanness. > > Signed-off-by: Simon Horman > Reviewed-by: Wolfram Sang > Tested-by: Wolfram Sang Thanks, applied for next! Kind regards Uffe > --- > v2 > * Correct one-line comment style > * Leave bus_shift

Re: [PATCH mmc/next v2 0/4] mmc: renesas_sdhi: add support for R-Car Gen3 SDHI DMAC

2017-06-19 Thread Simon Horman
On Sat, Jun 17, 2017 at 05:03:42PM +0200, Wolfram Sang wrote: > > Based on mmc/next > > > > Headline performance boost: 9.5MB/s -> 39.7MB/s > > Did you test writing as well? For me, this fails on M3-W with CMD12 > timeouts. We had some changes in CMD12 handling recently, so it might be > because

Re: [PATCH mmc/next v2 2/4] mmc: tmio, renesas-sdhi: add complete to DMA ops

2017-06-19 Thread Simon Horman
On Sat, Jun 17, 2017 at 05:01:05PM +0200, Wolfram Sang wrote: > On Fri, Jun 16, 2017 at 11:58:52AM +0200, Simon Horman wrote: > > Add complete to DMA ops to allow DMAC implementation dependent > > handling of DMA completion. > > > > Also implement the operation for SDHI. > > > > Signed-off-by: Si

Re: [PATCH] arm64: renesas: salvator-common: sound clock-frequency needs descending order

2017-06-19 Thread Simon Horman
On Mon, Jun 19, 2017 at 09:46:12AM +, Kuninori Morimoto wrote: > > Hi Simon > > > > > I guess you forgot to add these tags, that would have hinted Simon they > > > > are > > > > fixes for commits he was about to send a pull request for to arm-soc? > > > > > > > > Fixes: d37d2b3c0ec2708a ("a

Re: [PATCH v7 2/2] media: rcar-csi2: add Renesas R-Car MIPI CSI-2 receiver driver

2017-06-19 Thread Hans Verkuil
On 06/12/2017 04:48 PM, Niklas Söderlund wrote: Hi Hans, Thanks for your comments. On 2017-05-29 13:16:23 +0200, Hans Verkuil wrote: On 05/24/2017 02:13 AM, Niklas Söderlund wrote: From: Niklas Söderlund A V4L2 driver for Renesas R-Car MIPI CSI-2 receiver. The driver supports the rcar-vin d

Re: [PATCH 1/6] v4l: vsp1: Remove WPF vertical flip support on VSP2-B[CD] and VSP2-D

2017-06-19 Thread Hans Verkuil
On 06/19/2017 01:16 PM, Laurent Pinchart wrote: Hi Hans, On Thursday 15 Jun 2017 10:53:33 Hans Verkuil wrote: On 06/15/17 10:24, Laurent Pinchart wrote: The WPF vertical flip is only supported on Gen3 SoCs on the VSP2-I. Don't enable it on other VSP2 instances. Signed-off-by: Laurent Pinchart

RE: [PATCH] gpio: rcar: Add R8A7743 (RZ/G1M) support

2017-06-19 Thread Biju Das
> Subject: Re: [PATCH] gpio: rcar: Add R8A7743 (RZ/G1M) support > > Hello! > > On 06/16/2017 04:32 PM, Biju Das wrote: > > > Renesas RZ/G1M (R8A7743 SoC) GPIO blocks are identical to the R-Car > Gen2 > > SoC should be outside the parens. Thanks. I will correct it. > > > family. Add support fo

Re: [PATCH 1/6] v4l: vsp1: Remove WPF vertical flip support on VSP2-B[CD] and VSP2-D

2017-06-19 Thread Laurent Pinchart
Hi Hans, On Thursday 15 Jun 2017 10:53:33 Hans Verkuil wrote: > On 06/15/17 10:24, Laurent Pinchart wrote: > > The WPF vertical flip is only supported on Gen3 SoCs on the VSP2-I. > > Don't enable it on other VSP2 instances. > > > > Signed-off-by: Laurent Pinchart > > > > Should this go to older

[PATCH v4 2/3] iommu/ipmmu-vmsa: Increase maximum micro-TLBS to 48

2017-06-19 Thread Magnus Damm
From: Magnus Damm Bump up the maximum numbers of micro-TLBS to 48. Each IPMMU device instance get micro-TLB assignment via the "iommus" property in DT. Older SoCs tend to use a maximum number of 32 micro-TLBs per IPMMU instance however newer SoCs such as r8a7796 make use of up to 48 micro-TLBs.

[PATCH v4 1/3] iommu/ipmmu-vmsa: Add r8a7796 DT binding

2017-06-19 Thread Magnus Damm
From: Magnus Damm Update the IPMMU DT binding documentation to include the r8a7796 compat string for R-Car M3-W. Signed-off-by: Magnus Damm Acked-by: Laurent Pinchart Acked-by: Rob Herring Acked-by: Simon Horman Acked-by: Geert Uytterhoeven --- Changes since V3: - None Changes since V2

[PATCH v4 3/3] iommu/ipmmu-vmsa: Hook up r8a7796 DT matching code

2017-06-19 Thread Magnus Damm
From: Magnus Damm Support the r8a7796 IPMMU by sharing feature flags between r8a7795 and r8a7796. Also update IOMMU_OF_DECLARE to hook up the updated compat string. Signed-off-by: Magnus Damm Reviewed-by: Geert Uytterhoeven --- Changes since V3: - Added Reviewed-by from Geert - thanks! Ch

[PATCH v4 0/3] iommu/ipmmu-vmsa: r8a7796 support V4

2017-06-19 Thread Magnus Damm
iommu/ipmmu-vmsa: r8a7796 support V4 [PATCH v4 1/3] iommu/ipmmu-vmsa: Add r8a7796 DT binding [PATCH v4 2/3] iommu/ipmmu-vmsa: Increase maximum micro-TLBS to 48 [PATCH v4 3/3] iommu/ipmmu-vmsa: Hook up r8a7796 DT matching code This series adds r8a7796 support to the IPMMU driver. The DT binding ge

Re: [PATCH v2] media: fdp1: Support ES2 platforms

2017-06-19 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Monday 12 Jun 2017 11:30:16 Kieran Bingham wrote: > From: Kieran Bingham > > The new Renesas R-Car H3 ES2.0 platforms have a new hw version register. > Update the driver accordingly, defaulting to the new hw revision, and > differentiating the older revisi

Re: [PATCH] arm64: renesas: salvator-common: sound clock-frequency needs descending order

2017-06-19 Thread Kuninori Morimoto
Hi Simon > > > I guess you forgot to add these tags, that would have hinted Simon they > > > are > > > fixes for commits he was about to send a pull request for to arm-soc? > > > > > > Fixes: d37d2b3c0ec2708a ("arm64: dts: salvator-x: add 12288000 for sound > > > ADG") > > > Fixes: 0b03c32db03

[PATCH v4 07/09] iommu/ipmmu-vmsa: Make IMBUSCTR setup optional

2017-06-19 Thread Magnus Damm
From: Magnus Damm Introduce a feature to allow opt-out of setting up IMBUSCR. The default case is unchanged. Signed-off-by: Magnus Damm --- Changes since V3: - None Changes since V2: - None Changes since V1: - Updated the commit message - Reworked patch to coexist with the multi conte

[PATCH v4 09/09] iommu/ipmmu-vmsa: Hook up r8a7795 DT matching code

2017-06-19 Thread Magnus Damm
From: Magnus Damm Tie in r8a7795 features and update the IOMMU_OF_DECLARE compat string to include the updated compat string. Signed-off-by: Magnus Damm --- Changes since V3: - Rebased code on top of [PATCH 00/04] iommu/ipmmu-vmsa: 32-bit ARM update This includes support for iommu_fwsp

[PATCH v4 05/09] iommu/ipmmu-vmsa: IPMMU device is 40-bit bus master

2017-06-19 Thread Magnus Damm
From: Magnus Damm The r8a7795 IPMMU supports 40-bit bus mastering. Both the coherent DMA mask and the streaming DMA mask are set to unlock the 40-bit address space for coherent allocations and streaming operations. Signed-off-by: Magnus Damm --- Changes since V3: - None Changes since V2:

[PATCH v4 04/09] iommu/ipmmu-vmsa: Make use of IOMMU_OF_DECLARE()

2017-06-19 Thread Magnus Damm
From: Magnus Damm Hook up IOMMU_OF_DECLARE() support in case CONFIG_IOMMU_DMA is enabled. The only current supported case for 32-bit ARM is disabled, however for 64-bit ARM usage of OF is required. Signed-off-by: Magnus Damm --- Changes since V3: - Reworked to fit on top of [PATCH 00/04]

[PATCH v4 06/09] iommu/ipmmu-vmsa: Write IMCTR twice

2017-06-19 Thread Magnus Damm
From: Magnus Damm Write IMCTR both in the root device and the leaf node. To allow access of IMCTR introduce the following function: - ipmmu_ctx_write_all() While at it also rename context functions: - ipmmu_ctx_read() -> ipmmu_ctx_read_root() - ipmmu_ctx_write() -> ipmmu_ctx_write_root() Si

[PATCH v4 08/09] iommu/ipmmu-vmsa: Allow two bit SL0

2017-06-19 Thread Magnus Damm
From: Magnus Damm Introduce support for two bit SL0 bitfield in IMTTBCR by using a separate feature flag. Signed-off-by: Magnus Damm --- Changes since V3: - None Changes since V2: - None Changes since V1: - None drivers/iommu/ipmmu-vmsa.c | 14 +- 1 file changed, 13 ins

[PATCH v4 02/09] iommu/ipmmu-vmsa: Add optional root device feature

2017-06-19 Thread Magnus Damm
From: Magnus Damm Add root device handling to the IPMMU driver by allowing certain DT compat strings to enable has_cache_leaf_nodes that in turn will support both root devices with interrupts and leaf devices that face the actual IPMMU consumer devices. Signed-off-by: Magnus Damm --- Changes

[PATCH v4 03/09] iommu/ipmmu-vmsa: Enable multi context support

2017-06-19 Thread Magnus Damm
From: Magnus Damm Add support for up to 8 contexts. Each context is mapped to one domain. One domain is assigned one or more slave devices. Contexts are allocated dynamically and slave devices are grouped together based on which IPMMU device they are connected to. This makes slave devices tied to

[PATCH v4 01/09] iommu/ipmmu-vmsa: Introduce features, break out alias

2017-06-19 Thread Magnus Damm
From: Magnus Damm Introduce struct ipmmu_features to track various hardware and software implementation changes inside the driver for different kinds of IPMMU hardware. Add use_ns_alias_offset as a first example of a feature to control if the secure register bank offset should be used or not. Si

[PATCH v4 00/09] iommu/ipmmu-vmsa: r8a7795 support V4

2017-06-19 Thread Magnus Damm
iommu/ipmmu-vmsa: r8a7795 support V4 [PATCH v4 01/09] iommu/ipmmu-vmsa: Introduce features, break out alias [PATCH v4 02/09] iommu/ipmmu-vmsa: Add optional root device feature [PATCH v4 03/09] iommu/ipmmu-vmsa: Enable multi context support [PATCH v4 04/09] iommu/ipmmu-vmsa: Make use of IOMMU_OF_DE

Re: [PATCH] arm64: renesas: salvator-common: sound clock-frequency needs descending order

2017-06-19 Thread Simon Horman
On Mon, Jun 19, 2017 at 06:33:08AM +, Kuninori Morimoto wrote: > Hi Geert > > > >> On Fri, Jun 16, 2017 at 01:41:20AM +, Kuninori Morimoto wrote: > > >> > From: Kuninori Morimoto > > >> > > > >> > It will be used ADG clock initial settings, and will be > > >> > sound codec's initial syste

Re: [PATCH mmc/next v3 1/2] mmc: tmio: improve checkpatch cleanness

2017-06-19 Thread Simon Horman
On Fri, Jun 16, 2017 at 06:34:47PM +0200, Wolfram Sang wrote: > On Fri, Jun 16, 2017 at 06:11:03PM +0200, Simon Horman wrote: > > Trivial updates to improve checkpatch cleanness. > > > > Signed-off-by: Simon Horman > > Thanks for updating it! Thanks for your patience :) > Reviewed-by: Wolfram

Re: [PATCH 1/2] arm64: dts: r8a7795: Add support for the DU

2017-06-19 Thread Simon Horman
On Mon, Jun 19, 2017 at 11:20:17AM +0300, Laurent Pinchart wrote: > Hi Simon, > > On Friday 16 Jun 2017 14:38:10 Simon Horman wrote: > > On Fri, Jun 16, 2017 at 09:34:02AM +0200, Geert Uytterhoeven wrote: > > > On Thu, Jun 15, 2017 at 9:37 AM, Laurent Pinchart wrote: > > >> Add a compatible string

Re: [PATCH] ARM: dts: iwg20d-q7: Add pinctl support for scif0

2017-06-19 Thread Geert Uytterhoeven
Hi Biju, On Fri, Jun 16, 2017 at 4:57 PM, Biju Das wrote: > Adding pinctrl support for scif0 interface. > > Signed-off-by: Biju Das The patch looks good to me, but without schematics, we cannot verify the actual pins used. Are the schematics somewhere available? Having access to them would all

Re: [PATCH] i2c: algo-bit: add support for I2C_M_STOP

2017-06-19 Thread Jean Delvare
Hi Wolfram, On Sat, 17 Jun 2017 19:12:38 +0200, Wolfram Sang wrote: > Support for enforced STOPs will allow us to use SCCB compatible devices. > > Signed-off-by: Wolfram Sang > --- > > Notes: I don't actually have any SCCB compatible sensor but verified with a > logic analyzer that repeated star

Re: [GIT PULL FOR renesas-drivers] R-Car H3 ES2.0 display support

2017-06-19 Thread Geert Uytterhoeven
Hi Laurent, On Mon, Jun 19, 2017 at 10:15 AM, Laurent Pinchart wrote: > On Friday 16 Jun 2017 10:03:57 Geert Uytterhoeven wrote: >> On Thu, Jun 15, 2017 at 8:54 PM, Laurent Pinchart wrote: >> > The following changes implement display support for the R-Car H3 ES2.0. >> > They have been split in th

Re: [PATCH 2/2] arm64: dts: r8a7795: salvator-x: Unify DU node between ES1.x and ES2.0

2017-06-19 Thread Laurent Pinchart
Hi Geert, On Friday 16 Jun 2017 09:37:12 Geert Uytterhoeven wrote: > On Thu, Jun 15, 2017 at 9:37 AM, Laurent Pinchart wrote: > > The external clocks used by the DU are identical on the H3 ES1.x and > > ES2.0 SoCs. There is thus no need to duplicate DU clocks in both > > r8a7795-salvator-x.dts and

Re: [PATCH 1/2] arm64: dts: r8a7795: Add support for the DU

2017-06-19 Thread Laurent Pinchart
Hi Simon, On Friday 16 Jun 2017 14:38:10 Simon Horman wrote: > On Fri, Jun 16, 2017 at 09:34:02AM +0200, Geert Uytterhoeven wrote: > > On Thu, Jun 15, 2017 at 9:37 AM, Laurent Pinchart wrote: > >> Add a compatible string and VSP links to the DU node. The H3 ES1.x and > >> H3 ES2.0 are compatible s

Re: [GIT PULL FOR renesas-drivers] R-Car H3 ES2.0 display support

2017-06-19 Thread Laurent Pinchart
Hi Geert, On Friday 16 Jun 2017 10:03:57 Geert Uytterhoeven wrote: > On Thu, Jun 15, 2017 at 8:54 PM, Laurent Pinchart wrote: > > The following changes implement display support for the R-Car H3 ES2.0. > > They have been split in three distinct branches: > > Thanks for your branches! > > > - tags

Re: [PATCH v1] pinctrl: generic: Add output-enable property

2017-06-19 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Friday 16 Jun 2017 10:59:41 Jacopo Mondi wrote: > Add output-enable generic pin configuration property. > This properties allows enabling/disabling pin's output capabilities > without actually driving any value on the line. > > Signed-off-by: Jacopo Mondi