From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751981AbbGOI2d (ORCPT ); Wed, 15 Jul 2015 04:28:33 -0400 Received: from eusmtp01.atmel.com ([212.144.249.243]:51228 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751638AbbGOI2a (ORCPT ); Wed, 15 Jul 2015 04:28:30 -0400 Date: Wed, 15 Jul 2015 10:29:18 +0200 From: Ludovic Desroches To: Sascha Hauer , Stephen Warren , , , , , , Subject: Re: [RESEND PATCH 1/2] pinctrl: change function behavior for per pin muxing controllers Message-ID: <20150715082918.GB14886@odux.rfo.atmel.com> Mail-Followup-To: Sascha Hauer , Stephen Warren , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linus.walleij@linaro.org, nicolas.ferre@atmel.com References: <1433948699-19800-1-git-send-email-ludovic.desroches@atmel.com> <1433948699-19800-2-git-send-email-ludovic.desroches@atmel.com> <557EF60D.8020007@wwwdotorg.org> <20150617123816.GB12295@odux.rfo.atmel.com> <5581988C.50000@wwwdotorg.org> <20150618123348.GB20227@odux.rfo.atmel.com> <20150714055749.GB5161@pengutronix.de> <20150715074642.GA14886@odux.rfo.atmel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20150715074642.GA14886@odux.rfo.atmel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 15, 2015 at 09:46:42AM +0200, Ludovic Desroches wrote: > This driver fits most of my needs but I didn't do it in this way for the > two previous reasons. If it is not an issue to add a new > dt_node_to_map() implementation which should be quite close to the > mediatek one, let's do it. Thinking more about it, there is something I have missed that can change many things is that one pin is one group in Mediatek driver. If I add the pin mux value in my macros with the pin number and the ioset, group_defs node is still useful to declare group of pins. Ludovic From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic Desroches Subject: Re: [RESEND PATCH 1/2] pinctrl: change function behavior for per pin muxing controllers Date: Wed, 15 Jul 2015 10:29:18 +0200 Message-ID: <20150715082918.GB14886@odux.rfo.atmel.com> References: <1433948699-19800-1-git-send-email-ludovic.desroches@atmel.com> <1433948699-19800-2-git-send-email-ludovic.desroches@atmel.com> <557EF60D.8020007@wwwdotorg.org> <20150617123816.GB12295@odux.rfo.atmel.com> <5581988C.50000@wwwdotorg.org> <20150618123348.GB20227@odux.rfo.atmel.com> <20150714055749.GB5161@pengutronix.de> <20150715074642.GA14886@odux.rfo.atmel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Content-Disposition: inline In-Reply-To: <20150715074642.GA14886@odux.rfo.atmel.com> Sender: linux-gpio-owner@vger.kernel.org To: Sascha Hauer , Stephen Warren , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linus.walleij@linaro.org, nicolas.ferre@atmel.com List-Id: devicetree@vger.kernel.org On Wed, Jul 15, 2015 at 09:46:42AM +0200, Ludovic Desroches wrote: > This driver fits most of my needs but I didn't do it in this way for the > two previous reasons. If it is not an issue to add a new > dt_node_to_map() implementation which should be quite close to the > mediatek one, let's do it. Thinking more about it, there is something I have missed that can change many things is that one pin is one group in Mediatek driver. If I add the pin mux value in my macros with the pin number and the ioset, group_defs node is still useful to declare group of pins. Ludovic From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludovic.desroches@atmel.com (Ludovic Desroches) Date: Wed, 15 Jul 2015 10:29:18 +0200 Subject: [RESEND PATCH 1/2] pinctrl: change function behavior for per pin muxing controllers In-Reply-To: <20150715074642.GA14886@odux.rfo.atmel.com> References: <1433948699-19800-1-git-send-email-ludovic.desroches@atmel.com> <1433948699-19800-2-git-send-email-ludovic.desroches@atmel.com> <557EF60D.8020007@wwwdotorg.org> <20150617123816.GB12295@odux.rfo.atmel.com> <5581988C.50000@wwwdotorg.org> <20150618123348.GB20227@odux.rfo.atmel.com> <20150714055749.GB5161@pengutronix.de> <20150715074642.GA14886@odux.rfo.atmel.com> Message-ID: <20150715082918.GB14886@odux.rfo.atmel.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Jul 15, 2015 at 09:46:42AM +0200, Ludovic Desroches wrote: > This driver fits most of my needs but I didn't do it in this way for the > two previous reasons. If it is not an issue to add a new > dt_node_to_map() implementation which should be quite close to the > mediatek one, let's do it. Thinking more about it, there is something I have missed that can change many things is that one pin is one group in Mediatek driver. If I add the pin mux value in my macros with the pin number and the ioset, group_defs node is still useful to declare group of pins. Ludovic