Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752139AbdLUJSc (ORCPT ); Thu, 21 Dec 2017 04:18:32 -0500 Received: from mail-it0-f67.google.com ([209.85.214.67]:41522 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751071AbdLUJS3 (ORCPT ); Thu, 21 Dec 2017 04:18:29 -0500 X-Google-Smtp-Source: ACJfBouORuzTwbNsZgq3Cw/kGo3tyMd8/I2I+DHQqCxoovZ4S3SuDir9+vOSkJjR5pPlj5rkt/QkBiWVlsScEIwLKQ4= MIME-Version: 1.0 In-Reply-To: <27a339f7-33a7-eb73-27fe-9927838729d6@st.com> References: <1513610272-7824-1-git-send-email-ludovic.Barre@st.com> <1513610272-7824-10-git-send-email-ludovic.Barre@st.com> <27a339f7-33a7-eb73-27fe-9927838729d6@st.com> From: Linus Walleij Date: Thu, 21 Dec 2017 10:18:28 +0100 Message-ID: Subject: Re: [PATCH V2 9/9] ARM: dts: stm32: add initial support of stm32mp157c eval board To: Alexandre Torgue Cc: Ludovic Barre , Russell King , Rob Herring , Arnd Bergmann , Maxime Coquelin , Gerald Baeza , Linux ARM , "linux-kernel@vger.kernel.org" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" 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: 839 Lines: 26 On Wed, Dec 20, 2017 at 10:19 AM, Alexandre Torgue wrote: > On 12/20/2017 08:44 AM, Linus Walleij wrote: >> gpio-line-names = "foo", "bar" ...; >> >> See for example >> arch/arm/boot/dts/bcm2835-rpi-a.dts >> arch/arm/boot/dts/ste-snowball.dts (...) > > It looks like useful for pins used as gpio line. Are you saying that we also > have to describe pins used as Alternate Function ? No. The use of the names is up to the platform maintainer (you), leaving a blank string for non-GPIO lines is just fine. Some platforms add the name of the actual function used by the line on the design, if it is not GPIO, sometimes something in brachets like "[i2c0-SDA]" that says what it is used for and explains why you can't use it for GPIO on this setup. But just leaving it blank is just as good. Yours, Linus Walleij