Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752592AbbKQLAK (ORCPT ); Tue, 17 Nov 2015 06:00:10 -0500 Received: from mail-oi0-f51.google.com ([209.85.218.51]:34873 "EHLO mail-oi0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751286AbbKQLAH (ORCPT ); Tue, 17 Nov 2015 06:00:07 -0500 MIME-Version: 1.0 In-Reply-To: References: <1445102604-11502-1-git-send-email-mcoquelin.stm32@gmail.com> <1445102604-11502-4-git-send-email-mcoquelin.stm32@gmail.com> <56261239.5030007@linaro.org> Date: Tue, 17 Nov 2015 12:00:06 +0100 Message-ID: Subject: Re: [PATCH v2 3/9] includes: dt-bindings: Add STM32F429 pinctrl DT bindings From: Linus Walleij To: Maxime Coquelin Cc: Sascha Hauer , Daniel Thompson , Mark Rutland , Rob Herring , "linux-gpio@vger.kernel.org" , Arnd Bergmann , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , =?UTF-8?Q?Andreas_F=C3=A4rber?= , "devicetree@vger.kernel.org" , Bruno Herrera 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: 891 Lines: 26 On Fri, Nov 6, 2015 at 1:57 PM, Maxime Coquelin wrote: > Thinking again at it, I persist to believe have the defines makes it > easier to use. > With auto-completion, it makes it faster and less error prone to > select the right > alternate function without parsing the datasheet. Auto-completion ... should we design our source code to fit certain editors? > But as these defines are not actually used on driver side, maybe I > could just move > them to the dts directory? No strong opinion there. include/dt-bindings is part of the bindings documentation actually so I guess it goes there. Yours, Linus Walleij -- 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/