Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753841AbdDKHyy (ORCPT ); Tue, 11 Apr 2017 03:54:54 -0400 Received: from mail-io0-f179.google.com ([209.85.223.179]:35524 "EHLO mail-io0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752697AbdDKHyw (ORCPT ); Tue, 11 Apr 2017 03:54:52 -0400 MIME-Version: 1.0 In-Reply-To: <20170410181215.e6cihbv2rfljbm3b@rob-hp-laptop> References: <1491401247-7030-1-git-send-email-jacopo+renesas@jmondi.org> <1491401247-7030-4-git-send-email-jacopo+renesas@jmondi.org> <20170410181215.e6cihbv2rfljbm3b@rob-hp-laptop> From: Linus Walleij Date: Tue, 11 Apr 2017 09:54:50 +0200 Message-ID: Subject: Re: [PATCH v4 3/9] dt-bindings: pinctrl: Add RZ/A1 bindings doc To: Rob Herring Cc: Jacopo Mondi , Geert Uytterhoeven , Laurent Pinchart , Chris Brandt , Mark Rutland , Russell King , Linux-Renesas , "linux-gpio@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1006 Lines: 27 On Mon, Apr 10, 2017 at 8:12 PM, Rob Herring wrote: > On Wed, Apr 05, 2017 at 04:07:21PM +0200, Jacopo Mondi wrote: >> + The allowed generic formats for a pin multiplexing sub-node are the >> + following ones: >> + >> + node-1 { >> + pinmux = , , ... ; >> + GENERIC_PINCONFIG; > > What's GENERIC_PINCONFIG? I see this in some other binding docs, but not > used anywhere. If this is a boolean property then get rid of the all > caps. If this is a define, then don't use complex defines that expand to > dts source. I guess it is a wildcard for everything under the heading in "Generic pin configuration node content" in Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt I'm all for documenting it properly. It's kind of useful, but I don't know the recent ambtions about being formal with DT bindings. The GPIO bindings are just over the top with BNF notation in its formalism. Dunno what is best here :/ Yours, Linus Walleij