From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752884Ab2DQTuR (ORCPT ); Tue, 17 Apr 2012 15:50:17 -0400 Received: from mail-yw0-f46.google.com ([209.85.213.46]:43649 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751350Ab2DQTuE convert rfc822-to-8bit (ORCPT ); Tue, 17 Apr 2012 15:50:04 -0400 MIME-Version: 1.0 In-Reply-To: <1334688545-8465-2-git-send-email-swarren@wwwdotorg.org> References: <1334688545-8465-1-git-send-email-swarren@wwwdotorg.org> <1334688545-8465-2-git-send-email-swarren@wwwdotorg.org> Date: Tue, 17 Apr 2012 21:50:02 +0200 Message-ID: Subject: Re: [PATCH 2/2] i2c: Add generic I2C multiplexer using pinctrl API From: Linus Walleij To: Stephen Warren Cc: Grant Likely , Rob Herring , Ben Dooks , Wolfram Sang , devicetree-discuss@lists.ozlabs.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Stephen Warren Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 17, 2012 at 8:49 PM, Stephen Warren wrote: > This is useful for SoCs whose I2C module's signals can be routed to > different sets of pins at run-time, using the pinctrl API. > >                                 +-----+  +-----+ >                                 | dev |  | dev | >    +------------------------+   +-----+  +-----+ >    | SoC                    |      |        | >    |                   /----|------+--------+ >    |   +---+   +------+     | child bus A, on first set of pins >    |   |I2C|---|Pinmux|     | >    |   +---+   +------+     | child bus B, on second set of pins >    |                   \----|------+--------+--------+ >    |                        |      |        |        | >    +------------------------+  +-----+  +-----+  +-----+ >                                | dev |  | dev |  | dev | >                                +-----+  +-----+  +-----+ > > Signed-off-by: Stephen Warren I remember you told me about this thing, it's really fascinating! Acked-by: Linus Walleij > Note: This patch depends on the latest pinctrl tree. In order to merge > this series into the I2C tree, you'll need to merge the pinctrl tree > into it first. However, the pinctrl tree doesn't yet have a stable tag/branch > that you can merge, so this patch can't actually be committed yet. I'll create a tag once I have the devm* stuff in place (it's so good we just have to have it). BTW another way is to have this ACK:ed by Jean/Dooks/Wolfram and I just put it in the pinctrl tree, unless there is something radical happening in the mux part of the I2C tree this merge window? Yours, Linus Walleij From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH 2/2] i2c: Add generic I2C multiplexer using pinctrl API Date: Tue, 17 Apr 2012 21:50:02 +0200 Message-ID: References: <1334688545-8465-1-git-send-email-swarren@wwwdotorg.org> <1334688545-8465-2-git-send-email-swarren@wwwdotorg.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1334688545-8465-2-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Stephen Warren Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Rob Herring , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Ben Dooks List-Id: devicetree@vger.kernel.org On Tue, Apr 17, 2012 at 8:49 PM, Stephen Warren wro= te: > This is useful for SoCs whose I2C module's signals can be routed to > different sets of pins at run-time, using the pinctrl API. > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 +-----+ = =A0+-----+ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | dev | = =A0| dev | > =A0 =A0+------------------------+ =A0 +-----+ =A0+-----+ > =A0 =A0| SoC =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0| =A0 = =A0 =A0 =A0| > =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /----|------+--------+ > =A0 =A0| =A0 +---+ =A0 +------+ =A0 =A0 | child bus A, on first set of pi= ns > =A0 =A0| =A0 |I2C|---|Pinmux| =A0 =A0 | > =A0 =A0| =A0 +---+ =A0 +------+ =A0 =A0 | child bus B, on second set of p= ins > =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 \----|------+--------+------= --+ > =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0| = =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0| > =A0 =A0+------------------------+ =A0+-----+ =A0+-----+ =A0+-----+ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| dev | = =A0| dev | =A0| dev | > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0+-----+ = =A0+-----+ =A0+-----+ > > Signed-off-by: Stephen Warren I remember you told me about this thing, it's really fascinating! Acked-by: Linus Walleij > Note: This patch depends on the latest pinctrl tree. In order to merge > this series into the I2C tree, you'll need to merge the pinctrl tree > into it first. However, the pinctrl tree doesn't yet have a stable tag/br= anch > that you can merge, so this patch can't actually be committed yet. I'll create a tag once I have the devm* stuff in place (it's so good we just have to have it). BTW another way is to have this ACK:ed by Jean/Dooks/Wolfram and I just put it in the pinctrl tree, unless there is something radical happening in the mux part of the I2C tree this merge window? Yours, Linus Walleij