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=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 97A3FC433E9 for ; Fri, 12 Mar 2021 15:19:35 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 3B0C564FCE for ; Fri, 12 Mar 2021 15:19:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3B0C564FCE Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=dh-electronics.com 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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References:Message-ID:Date: Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OpTjbhM9Fbtsvu2p1OwDFtAL6xuw8ZO3pUulZEeCJI4=; b=Ov3C8xiXbteRCz4rNQIk4CSf9 Dg53l52AMH2pmDoQAUQfyoE7Xj74BsHYwsyl6VQ2ql2fHCH0ABItI0EC/efP1TBLUJ313/IqBxaao pSJplcpUv+TSCvnqi2nJHc2cRG743koP67z4v3xzTsp5qfP2/qnUXpEwBYVEPJEnSIfqdplQ4xaQi 9IpPw3hyGwPz8j+tapBxQEgPFwywbcvV0Vdic/3b5PdwAuSF6BI5eM2KeXnsmgM32cyGbIEAMbzUN NsG67hHqTxRSQokz7SQ4v45gGE2w+jUC4EuULBBB5UH8Bi3XZ0ztFSilF+vmK47w+O2XQ7lTlBaK3 iQ6q/OGRg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lKjYK-00BlAz-II; Fri, 12 Mar 2021 15:18:12 +0000 Received: from mx3.securetransport.de ([116.203.31.6]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lKjYF-00BlA8-7G for linux-arm-kernel@lists.infradead.org; Fri, 12 Mar 2021 15:18:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dh-electronics.com; s=dhelectronicscom; t=1615562271; bh=PyPG4rltTxsk7VdATBlWdkx9xB8FUr5EkOWDtHPq82U=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=aJVXwjKAZ6n/sbytlAzLvAUBVUxl6G3MyOg/5cse9M+hKB6tAcRukc+1rE4Xzzjhh +C5L6Ga4+StmtMZPMqQf1at9RcJZl9vhQ2BKMKo8BCuNWpKqm4uFmmqPckWAHbMfdO a1Fd9n8+CUBwJZ3jiJR/sHecPZ1fW0GVGrXO+oMzRyH5s8+u1INnMKRlihg1FHgxlc 0Xv3zOuxKowB7Nq48UavSoRBlpzHGJfJUfttCPWpoohqFR1dBq3E70fDGD8GrUf+D8 M+cr7C5whKJpi8KIq9CgveqkF54wyg4d9Ag765Xg228V84Tgh0yafQ7JS/JOOkCR8X 7/C6qqd0pDW2w== X-secureTransport-forwarded: yes From: Christoph Niedermaier Complaints-To: abuse@cubewerk.de To: Marek Vasut , "linux-arm-kernel@lists.infradead.org" CC: Alexandre Torgue , Patrice Chotard , Patrick Delaunay , "Maxime Coquelin" , "linux-stm32@st-md-mailman.stormreply.com" , "linus.walleij@linaro.org" Subject: Re: [PATCH] ARM: dts: stm32: Fill GPIO line names on AV96 Thread-Topic: [PATCH] ARM: dts: stm32: Fill GPIO line names on AV96 Thread-Index: AQHWYaO6J/6XL1V4zEuDGmQGjfuCx6kpjSowgAEUzoCBVyUjUA== Date: Fri, 12 Mar 2021 15:17:43 +0000 Message-ID: <4530980295044f8ab9c1cfe14e02f90f@dh-electronics.com> References: <20200724101610.146403-1-marex@denx.de> <495b2f6b-04b7-c1eb-7aed-cd55636bef46@denx.de> In-Reply-To: <495b2f6b-04b7-c1eb-7aed-cd55636bef46@denx.de> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210312_151808_872113_03E2AA8D X-CRM114-Status: GOOD ( 17.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 From: Marek Vasut [mailto:marex@denx.de] Sent: Thursday, August 6, 2020 9:30 AM > 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", ""; >>> +}; >>> + >> [...] >> >> 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. Hello Marek, after an internal discussion, we decided the following: Could you update the patch for the Avenger96 to the GPIO naming "AV96-n". Moreover for the SOM layer (stm32mp15xx-dhcom-som.dtsi) we would prefer "DHCOM-n". It would be nice if you could create a patch for it. Regards, Christoph _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel