Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753756AbbBQVTb (ORCPT ); Tue, 17 Feb 2015 16:19:31 -0500 Received: from mail-wi0-f179.google.com ([209.85.212.179]:54886 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752294AbbBQVT3 (ORCPT ); Tue, 17 Feb 2015 16:19:29 -0500 Message-ID: <54E3B05D.5050805@gmail.com> Date: Tue, 17 Feb 2015 22:19:25 +0100 From: Sebastian Hesselbarth User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 To: Stephen Warren CC: Jason Cooper , Andrew Lunn , Gregory Clement , Gabriel Dobato , Wolfram Sang , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/8] i2c: mux-pinctrl: Rework to honor disabled child nodes References: <1424199129-22099-1-git-send-email-sebastian.hesselbarth@gmail.com> <1424199129-22099-2-git-send-email-sebastian.hesselbarth@gmail.com> <54E3A8A7.8080703@wwwdotorg.org> <54E3ADB9.1040008@gmail.com> <54E3AF5F.3020902@wwwdotorg.org> In-Reply-To: <54E3AF5F.3020902@wwwdotorg.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1881 Lines: 42 On 17.02.2015 22:15, Stephen Warren wrote: > On 02/17/2015 02:08 PM, Sebastian Hesselbarth wrote: >> On 17.02.2015 21:46, Stephen Warren wrote: >>> Can you be more explicit about the problem here? Why does anything need >>> to be re-written if a child node is disabled; presumably there's no need >>> for the child bus numbers to be contiguous. In other words, with the >>> example in the existing DT binding doc: [...] >> >> The way the current driver works, to disable i2c@0 you'd have to remove >> the pinctrl-0 state, pinctrl-names string at position 0, and the node >> itself. [...] > OK, that all makes sense, but I don't think there's any change at all to > the binding; this can all be fixed in the driver without affecting the > definition of the binding at all. At most all that's needed in the > binding is a note to the effect that if a particular child node is > disabled, then this has no effect at all on the requirements for the > pinctrl properties. I totally agree that the binding is not affected at all. I was under the impression that the current binding doc justifies the way the driver is currently parsing the properties. So this was an attempt to reword it to make it more clear what properties should influence the way sub-busses are registered. I'll have another look at the binding doc when the driver is fine. [...] >> Do you still have one of the current boards available for testing? > > Yes, I have both Seaboard and Ventana still (the two Tegra boards that > use this driver). I haven't used them in a while; I hope they still work:-) Ok, I cross my fingers too and expect a Tested-by :) Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/