Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753761AbdLUKpo (ORCPT ); Thu, 21 Dec 2017 05:45:44 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:52203 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753305AbdLUKpf (ORCPT ); Thu, 21 Dec 2017 05:45:35 -0500 Subject: Re: [PATCH V2 9/9] ARM: dts: stm32: add initial support of stm32mp157c eval board To: Linus Walleij 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" 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: Alexandre Torgue Message-ID: <33a7afc4-9282-5359-1f80-ef9f3da93c38@st.com> Date: Thu, 21 Dec 2017 11:44:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.50] X-ClientProxiedBy: SFHDAG8NODE1.st.com (10.75.127.22) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-12-21_03:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1056 Lines: 38 On 12/21/2017 10:18 AM, Linus Walleij wrote: > 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. Ok thanks Linus. I will take it into account. It could be useful to add it for MCU and future MPU boards. Regards Alex > > Yours, > Linus Walleij >