From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57EF1C4346E for ; Thu, 24 Sep 2020 06:06:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 073B123741 for ; Thu, 24 Sep 2020 06:06:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726829AbgIXGGv (ORCPT ); Thu, 24 Sep 2020 02:06:51 -0400 Received: from muru.com ([72.249.23.125]:45322 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726683AbgIXGGv (ORCPT ); Thu, 24 Sep 2020 02:06:51 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id C58A980A0; Thu, 24 Sep 2020 06:06:51 +0000 (UTC) Date: Thu, 24 Sep 2020 09:06:45 +0300 From: Tony Lindgren To: Trent Piepho Cc: Drew Fustini , Rob Herring , Linus Walleij , Jason Kridner , Robert Nelson , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio , Christina Quast Subject: Re: [PATCH] ARM: dts: document pinctrl-single,pins when #pinctrl-cells = 2 Message-ID: <20200924060645.GD9471@atomide.com> References: <20200914104352.2165818-1-drew@beagleboard.org> <20200917092004.GA2468349@x1> <20200917103942.GA2477958@x1> <20200923065755.GR7101@atomide.com> <20200924054324.GB9471@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org * Trent Piepho [200924 05:49]: > On Wed, Sep 23, 2020 at 10:43 PM Tony Lindgren wrote: > > > > * Trent Piepho [200924 01:34]: > > > On Tue, Sep 22, 2020 at 11:57 PM Tony Lindgren wrote: > > > > > > > > Also FYI, folks have also complained for a long time that the pinctrl-single > > > > binding mixes mux and conf values while they should be handled separately. > > > > > > > > > > Instead of combining two fields when the dts is generated they are now > > > combined when the pinctrl-single driver reads the dts. Other than > > > this detail, the result is the same. The board dts source is the > > > same. The value programmed into the pinctrl register is the same. > > > There is no mechanism currently that can alter that value in any way. > > > > > > What does combining them later allow that is not possible now? > > > > It now allows further driver changes to manage conf and mux separately :) > > The pinctrl-single driver? How will that work with boards that are > not am335x and don't use conf and mux fields in the same manner as > am335x? For those cases we still have #pinctrl-cells = <1>. Regards, Tony