Re: [PATCH 2/5] media: i2c: max2175: Add MAX2175 support

2016-11-10 Thread Antti Palosaari
Hello On 11/09/2016 05:44 PM, Ramesh Shanmugasundaram wrote: +static int max2175_set_lo_freq(struct max2175 *ctx, u64 lo_freq) +{ + u64 scaled_lo_freq, scaled_npf, scaled_integer, scaled_fraction; + u32 frac_desired, int_desired, lo_mult = 1; + const u32 scale_factor =

Re: [RFC 5/5] doc_rst: media: New SDR formats SC16, SC18 & SC20

2016-11-10 Thread Antti Palosaari
Hello On 11/10/2016 10:08 AM, Laurent Pinchart wrote: Antti, Hans, ping ? Please see below. On Friday 04 Nov 2016 09:23:29 Ramesh Shanmugasundaram wrote: On 11/02/2016 10:58 PM, Laurent Pinchart wrote: On Wednesday 02 Nov 2016 09:00:00 Ramesh Shanmugasundaram wrote: On Wednesday 12 Oct 2016

[PATCH] iommu/ipmmu-vmsa: Unify domain alloc/free implementations

2016-11-10 Thread Laurent Pinchart
The ARM and ARM64 implementations of the IOMMU domain alloc/free operations can be unified with the correct combination of type checking, as the domain type can never be IOMMU_DOMAIN_DMA on 32-bit ARM due to the driver calling iommu_group_get_for_dev() on ARM64 only. Do so. Signed-off-by: Laurent

Re: The failure summary report of GEN2 for linux stable v4.8

2016-11-10 Thread Laurent Pinchart
Hello Truong, On Friday 21 Oct 2016 14:20:24 Laurent Pinchart wrote: > On Friday 21 Oct 2016 19:53:47 Xuan Truong Nguyen wrote: > > Hello Laurent. > > > > > The document mentions that you have used shmobile_defconfig. However, > > > that configuration in v4.8 doesn't enable CONFIG_CMA, which

Re: [PATCH v6 06/07] iommu/ipmmu-vmsa: ARM and ARM64 archdata access

2016-11-10 Thread Laurent Pinchart
Hello, On Friday 21 Oct 2016 18:32:54 Robin Murphy wrote: > On 20/10/16 00:36, Magnus Damm wrote: > > From: Magnus Damm > > > > Not all architectures have an iommu member in their archdata, so > > use #ifdefs support build wit COMPILE_TEST on any architecture. > >

Re: [PATCH v6 05/07] iommu/ipmmu-vmsa: Add new IOMMU_DOMAIN_DMA ops

2016-11-10 Thread Laurent Pinchart
Hi Magnus, Thank you for the patch. On Thursday 20 Oct 2016 08:36:23 Magnus Damm wrote: > From: Magnus Damm > > Introduce an alternative set of iommu_ops suitable for 64-bit ARM > as well as 32-bit ARM when CONFIG_IOMMU_DMA=y. Also adjust the > Kconfig to depend on

Re: [PATCH v6 05/07] iommu/ipmmu-vmsa: Add new IOMMU_DOMAIN_DMA ops

2016-11-10 Thread Laurent Pinchart
Hello, On Thursday 10 Nov 2016 12:42:06 Joerg Roedel wrote: > On Fri, Oct 21, 2016 at 06:52:53PM +0100, Robin Murphy wrote: > > > -static struct iommu_domain *ipmmu_domain_alloc(unsigned type) > > > -{ > > > - if (type != IOMMU_DOMAIN_UNMANAGED) > > > - return NULL; > > > > I *think*

Re: [PATCH v6 04/07] iommu/ipmmu-vmsa: Break out domain allocation code

2016-11-10 Thread Laurent Pinchart
Hi Magnus, Thank you for the patch. On Thursday 20 Oct 2016 08:36:13 Magnus Damm wrote: > From: Magnus Damm > > Break out the domain allocation code into a separate function. > This is preparation for future code sharing. > > Signed-off-by: Magnus Damm

Re: [PATCH v6 03/07] iommu/ipmmu-vmsa: Break out utlb parsing code

2016-11-10 Thread Laurent Pinchart
Hi Magnus, Thank you for the patch. On Thursday 20 Oct 2016 08:36:03 Magnus Damm wrote: > From: Magnus Damm > > Break out the utlb parsing code and dev_data allocation into a > separate function. This is preparation for future code sharing. > > Signed-off-by:

Re: [PATCH v6 02/07] iommu/ipmmu-vmsa: Rework interrupt code and use bitmap for context

2016-11-10 Thread Laurent Pinchart
Hi Magnus, Thank you for the patch. On Thursday 20 Oct 2016 08:35:53 Magnus Damm wrote: > From: Magnus Damm > > Introduce a bitmap for context handing and convert the > interrupt routine to handle all registered contexts. > > At this point the number of contexts

Re: [git pull] clk: renesas: Updates for v4.10 (take one)

2016-11-10 Thread Stephen Boyd
On 11/07, Geert Uytterhoeven wrote: > clk: renesas: Updates for v4.10 (take one) > > - SYS-DMAC, (H)SCIF, I2C, DRIF, and graphics related clocks for R-Car > M3-W, > - Minor fixes and cleanups. > > Thanks for pulling! > >

Re: [PATCH v8 0/6] UHS-I SDR-104 support for sh_mobile_sdhi

2016-11-10 Thread Ulf Hansson
On 10 November 2016 at 12:45, Wolfram Sang wrote: > On Thu, Nov 03, 2016 at 03:15:58PM +0100, Simon Horman wrote: >> Hi, >> >> this series is based on work by Ai Kyuse to add UHS-I SDR-104 support for >> sh_mobile_sdhi. It builds on work by Shinobu Uehara, Rob Taylor, William

Re: [PATCH v4 14/14] i2c: mux: demux-pinctrl: make drivers with no pinctrl work again

2016-11-10 Thread Wolfram Sang
On Sun, Nov 06, 2016 at 09:20:32PM +0100, Wolfram Sang wrote: > Some drivers like i2c-gpio do not have dedicated pinctrl states. They > broke when error checking for pinctrl was added. Detect them now, and in > their case, simply skip over pinctrl configuration. > > Signed-off-by: Wolfram Sang

Re: [PATCH v4 00/14] ARM: dts: r8a779x: use demuxer for I2C

2016-11-10 Thread Niklas Söderlund
Hi Simon and Wolfram, Following up with my findings based on our IRC discussion. On 2016-11-09 09:44:07 +0100, Simon Horman wrote: > Hi Wolfram, > > On Sun, Nov 06, 2016 at 09:20:18PM +0100, Wolfram Sang wrote: > > So, here is the newest series for using the I2C demuxer on Gen2 boards. > >

Re: [PATCH v6] clk: renesas: cpg-mssr: add R8A7743 support

2016-11-10 Thread Geert Uytterhoeven
Hi Sergei, On Tue, Nov 8, 2016 at 10:21 PM, Sergei Shtylyov wrote: > Add RZ/G1M (R8A7743) Clock Pulse Generator / Module Standby and Software > Reset support, using the CPG/MSSR driver core and the common R-Car Gen2 > (and RZ/G) code. > > Based on the

Re: [PATCH v4] clk: renesas: cpg-mssr: add R8A7745 support

2016-11-10 Thread Geert Uytterhoeven
On Tue, Nov 8, 2016 at 10:25 PM, Sergei Shtylyov wrote: > Add RZ/G1E (R8A7745) Clock Pulse Generator / Module Standby and Software > Reset support, using the CPG/MSSR driver core and the common R-Car Gen2 > (and RZ/G) code. > > Based on the proof-of-concept

Re: [PATCH v4] clk: renesas: cpg-mssr: add common R-Car Gen2 support

2016-11-10 Thread Geert Uytterhoeven
Hi Sergei, On Tue, Nov 8, 2016 at 10:17 PM, Sergei Shtylyov wrote: > Add the common R-Car Gen2 (and RZ/G) Clock Pulse Generator / Module Standby > and Software Reset support code, using the CPG/MSSR driver core. > > Based on the proof-of-concept R8A7791

Re: [PATCH v8 0/3] ARM, arm64: renesas: Enable UHS-I SDR-104

2016-11-10 Thread Wolfram Sang
On Thu, Nov 03, 2016 at 04:07:22PM +0100, Simon Horman wrote: > Hi, > > this series enables SDHI UHS-I SDR-104 on: > * r8a7790/lager > * r8a7791/koelsch > * r8a7794/alt > > It is based on renesas-next-20161102-v4.9-rc1. For the whole series: Reviewed-by: Wolfram Sang

Re: [PATCH v6 00/07] iommu/ipmmu-vmsa: IPMMU multi-arch update V6

2016-11-10 Thread Joerg Roedel
On Thu, Oct 20, 2016 at 08:35:33AM +0900, Magnus Damm wrote: > iommu/ipmmu-vmsa: IPMMU multi-arch update V6 > > [PATCH v6 01/07] iommu/ipmmu-vmsa: Remove platform data handling > [PATCH v6 02/07] iommu/ipmmu-vmsa: Rework interrupt code and use bitmap for > context > [PATCH v6 03/07]

Re: [PATCH v2 7/7] soc: renesas: Identify SoC and register with the SoC bus

2016-11-10 Thread Arnd Bergmann
On Thursday, November 10, 2016 11:19:20 AM CET Geert Uytterhoeven wrote: > Hi Arnd, > > Thanks for your comments! > > On Wed, Nov 9, 2016 at 5:55 PM, Arnd Bergmann wrote: > > On Monday, October 31, 2016 12:30:55 PM CET Geert Uytterhoeven wrote: > >> v2: > >> - Drop SoC families

Re: [PATCH v4 01/14] ARM: dts: lager: rename and reindex i2cexio

2016-11-10 Thread Simon Horman
On Mon, Nov 07, 2016 at 02:12:05PM +0100, Geert Uytterhoeven wrote: > On Sun, Nov 6, 2016 at 9:20 PM, Wolfram Sang > wrote: > > From: Simon Horman > > > > The rename from i2cexio to i2cexio0 is in in preparation for adding > > double

Re: [PATCH v2 0/7] soc: renesas: Identify SoC and register with the SoC bus

2016-11-10 Thread Geert Uytterhoeven
Hi Ulf, On Wed, Nov 9, 2016 at 10:12 PM, Arnd Bergmann wrote: > On Wednesday, November 9, 2016 6:19:06 PM CET Geert Uytterhoeven wrote: >> On Wed, Nov 9, 2016 at 5:56 PM, Arnd Bergmann wrote: >> > On Wednesday, November 9, 2016 2:34:33 PM CET Geert Uytterhoeven

Re: [PATCH 5/5] media: platform: rcar_drif: Add DRIF support

2016-11-10 Thread Laurent Pinchart
Hi Ramesh, Thank you for the patch. On Wednesday 09 Nov 2016 15:44:44 Ramesh Shanmugasundaram wrote: > This patch adds Digital Radio Interface (DRIF) support to R-Car Gen3 SoCs. > The driver exposes each instance of DRIF as a V4L2 SDR device. A DRIF > device represents a channel and each channel

Re: [RFC 1/5] media: i2c: max2175: Add MAX2175 support

2016-11-10 Thread Laurent Pinchart
Hi Ramesh, On Friday 21 Oct 2016 14:49:30 Ramesh Shanmugasundaram wrote: > > On Wednesday 12 Oct 2016 15:10:25 Ramesh Shanmugasundaram wrote: > >> This patch adds driver support for MAX2175 chip. This is Maxim > >> Integrated's RF to Bits tuner front end chip designed for > >> software-defined

Re: [PATCH 4/5] doc_rst: media: New SDR formats SC16, SC18 & SC20

2016-11-10 Thread Laurent Pinchart
Hi Ramesh, Thank you for the patch. On Wednesday 09 Nov 2016 15:44:43 Ramesh Shanmugasundaram wrote: > This patch adds documentation for the three new SDR formats > > V4L2_SDR_FMT_SCU16BE > V4L2_SDR_FMT_SCU18BE > V4L2_SDR_FMT_SCU20BE > > Signed-off-by: Ramesh Shanmugasundaram >

Re: [PATCH v4 00/14] ARM: dts: r8a779x: use demuxer for I2C

2016-11-10 Thread Magnus Damm
Hi Wolfram, On Thu, Nov 10, 2016 at 4:57 PM, Wolfram Sang wrote: > >> I think postponing merge of patches is one thing but I don't think >> dropping them forever is a long term solution. I think we should have > > Just to make sure because you wrote 'them': I talked about one

Re: [RFC 5/5] doc_rst: media: New SDR formats SC16, SC18 & SC20

2016-11-10 Thread Laurent Pinchart
Antti, Hans, ping ? Please see below. On Friday 04 Nov 2016 09:23:29 Ramesh Shanmugasundaram wrote: > > On 11/02/2016 10:58 PM, Laurent Pinchart wrote: > >> On Wednesday 02 Nov 2016 09:00:00 Ramesh Shanmugasundaram wrote: > > On Wednesday 12 Oct 2016 15:10:29 Ramesh Shanmugasundaram wrote: >