From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f46.google.com ([209.85.214.46]:38707 "EHLO mail-it0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752300AbcKPNsY (ORCPT ); Wed, 16 Nov 2016 08:48:24 -0500 MIME-Version: 1.0 In-Reply-To: References: <20161106202032.5227-1-wsa+renesas@sang-engineering.com> <20161106202032.5227-8-wsa+renesas@sang-engineering.com> From: Geert Uytterhoeven Date: Wed, 16 Nov 2016 14:48:18 +0100 Message-ID: Subject: Re: [PATCH v4 07/14] ARM: dts: koelsch: use demuxer for I2C4 To: Wolfram Sang Cc: Linux-Renesas , Simon Horman , Linux I2C , Simon Horman Content-Type: text/plain; charset=UTF-8 Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: On Tue, Nov 15, 2016 at 4:45 PM, Geert Uytterhoeven 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. I inspected the DTSes for Koelsch, Lager, Gose, and Alt, looking for conflicting configurations of pins: - Lager: - i2c1 and iic1 share GP1_16 and GP1_17, but that is handled through i2c-demux-pinctrl - usb0_ovc_vbus and usb0 share GP5_19, but that is probably OK, as these groups are configured for the same function? - Koelsch: i2c4 and and vin0_data24 share pins GP4_13 and GP4_14 (vin0_data8 would be OK) - Gose: Same issue as Koelsch. - Alt: No conflicts. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds