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=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 142D7C433E1 for ; Thu, 6 Aug 2020 12:24:02 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E3C9E204FD for ; Thu, 6 Aug 2020 12:24:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JdWDowuY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E3C9E204FD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=HbKJ+SyIuL92PZ9P+XV7S/s8OWbMKMm23baZmojsSoI=; b=JdWDowuYgwUtgmIqDoeNRZwPS hocj9sL23GUi/oT81fJeuqIcZtaCffhcbAWkEXrqNgiYtJw3knIS3wuAbGhYcyImWTGysu7skFg7a ZuVue6VYLGaAP0gC6G/YBvsFBnOSwYAW9g3QofKN4XFomHzwUIc4MiNpCVBvlybFUwh/Bu1fcpJm8 LMdsTKe+prDLmleRd27DTvlqvWtTMRsDa9tWT0xIIRieH6uyDCU+tsFDFebFMBpr5UM6uleqr8y1n tzkwo81mNlSNFZG1tDktdKbFyQOyqX4g7Tyt/K3pvAh28Tbexyr1r4KnUOBkCs3YhsKwhU24a6Sr+ cXlDIJhqA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k3aSZ-0003Jr-K8; Thu, 06 Aug 2020 07:37:07 +0000 Received: from mail-out.m-online.net ([212.18.0.9]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k3aSW-0003Iv-3E for linux-arm-kernel@lists.infradead.org; Thu, 06 Aug 2020 07:37:05 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4BMgL475JPz1qs0h; Thu, 6 Aug 2020 09:37:00 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4BMgL46M1vz1qyXs; Thu, 6 Aug 2020 09:37:00 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id YyO78TKKvQQI; Thu, 6 Aug 2020 09:36:59 +0200 (CEST) X-Auth-Info: AWbSNkVtJ7QFZbnQLGNYjChXd+mqDcF8qR8ntqY3dz4= Received: from [IPv6:::1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 6 Aug 2020 09:36:59 +0200 (CEST) Subject: Re: [PATCH] ARM: dts: stm32: Fill GPIO line names on AV96 To: Christoph Niedermaier , "linux-arm-kernel@lists.infradead.org" References: <20200724101610.146403-1-marex@denx.de> From: Marek Vasut Message-ID: <495b2f6b-04b7-c1eb-7aed-cd55636bef46@denx.de> Date: Thu, 6 Aug 2020 09:29:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200806_033704_273029_A5440BA5 X-CRM114-Status: GOOD ( 18.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Torgue , "linus.walleij@linaro.org" , Patrice Chotard , Patrick Delaunay , Maxime Coquelin , "linux-stm32@st-md-mailman.stormreply.com" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 8/6/20 9:09 AM, Christoph Niedermaier wrote: > From: Marek Vasut > Sent: Friday, July 24, 2020 12:16 PM >> >> Fill in the custom GPIO line names used by DH. >> > [...] >> +&gpioa { >> + gpio-line-names = "", "", "", "", >> + "", "", "", "", >> + "", "", "", "DH-GPIO-K", >> + "DH-GPIO-I", "", "DH-GPIO-A", ""; >> +}; >> + > [...] > > Hello Marek, Hello Christoph, > We have been using the GPIO names at DH electronics for some time and also > on other SOMs, but have not yet streamed them. We started with the naming > only with a capital letter "A-W" since then without problems. To avoid a > hard cut or patching for us and our customers it would be good if we could > use the same naming in the mainline kernel as well. Marek, we would be > happy if you would adopt our valued GPIO naming in your patch. My counter-argument to this is that the naming should be unique and provide a hint where those GPIO lines come from, so maybe even DH-GPIO-n should rather be DHCOM-n . I can't say I'm particularly fond of the plain 'n' naming of GPIO lines, because then the GPIO label (and e.g. listing in libgpiod tools) does not give any hint what the GPIO is or where it comes from. Also, I worry a plain 'n' naming might clash with other GPIO IPs easily, while a more unique name can not. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel