From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Horman Subject: Re: [PATCH v4 07/14] ARM: dts: koelsch: use demuxer for I2C4 Date: Wed, 16 Nov 2016 15:17:14 +0100 Message-ID: <20161116141713.GA25812@verge.net.au> References: <20161106202032.5227-1-wsa+renesas@sang-engineering.com> <20161106202032.5227-8-wsa+renesas@sang-engineering.com> <20161115174450.GA21715@verge.net.au> <20161116134736.GA20704@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-renesas-soc-owner@vger.kernel.org To: Geert Uytterhoeven Cc: Wolfram Sang , Linux-Renesas , Linux I2C , Ulrich Hecht List-Id: linux-i2c@vger.kernel.org On Wed, Nov 16, 2016 at 03:14:11PM +0100, Geert Uytterhoeven wrote: > Hi Simon, > > On Wed, Nov 16, 2016 at 2:47 PM, Simon Horman wrote: > > On Wed, Nov 16, 2016 at 11:35:22AM +0100, Geert Uytterhoeven wrote: > >> On Tue, Nov 15, 2016 at 6:44 PM, Simon Horman wrote: > >> >> i2c4 shares pins with vin0. Hence enabling the former breaks the latter: > >> >> > >> >> sh-pfc e6060000.pfc: pin GP_4_13 already requested by > >> >> e6520000.i2c; cannot claim for e6ef0000.video > >> >> sh-pfc e6060000.pfc: pin-141 (e6ef0000.video) status -22 > >> >> sh-pfc e6060000.pfc: could not request pin 141 (GP_4_13) from > >> >> group vin0_data24 on device sh-pfc > >> >> rcar-vin e6ef0000.video: Error applying setting, reverse things back > >> >> rcar-vin: probe of e6ef0000.video failed with error -22 > >> >> > >> >> There may be similar issues on other boards. Haven't checked yet. > >> > > >> > Thanks, I will drop this patch for now. > >> > > >> > I checked the boot logs of other boards with similar patches and didn't see > >> > anything there. > >> > >> Do you have CONFIG_VIDEO_ADV7604=y? > > > > No, mainly because its not in shmobile_defconfig. > > > > I tried again with that option enabled and still didn't see > > anything of interest in kernel log. > > > >> I expect the issue to be present on gose, too. So far I didn't see it > >> there, yet. > >> But the vin DTS of gose is different from koelsch, causing vin0 not to be > >> initialized? > > > > It seems so. > > I managed to reproduce the issue on gose, by adding r8a7793 support to > my koelsch .config. > Apparently I was missing CONFIG_I2C_DEMUX_PINCTRL=y. Ok, thanks. Curious that I didn't see it. It looks like we should drop: ARM: dts: gose: use demuxer for I2C4