Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp28081346rwd; Tue, 4 Jul 2023 12:34:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ579B2wigXYYpUnN99jVEmOhaTJamHnNjOldwMkaMDqTY0fKgjxVuYKT+Uo7G7vLzGhNvvG X-Received: by 2002:a05:6a20:431c:b0:12b:5277:6f83 with SMTP id h28-20020a056a20431c00b0012b52776f83mr20371898pzk.52.1688499252549; Tue, 04 Jul 2023 12:34:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688499252; cv=none; d=google.com; s=arc-20160816; b=IN4ZUiLmtyZP/Nl8iZhz5qWnfoZGl+JSgmq5UEGs6UlBm+AiercB1LT3V9eOieEfvF zW8HOPCCxRJscaWzgF5GyMiS3GqlMCGxwHO5gkn3gnkNDHdnIxPiLktUAxKU3syxEhIT CKLZHjjo3rjOxY44V2Liw1LLxyFteskdKUHkalstfoIOSNWfWflG/h9HoIWgGXlcXaL0 tLnQWS1+rjqiAxE6fPuwZOlWCOMaGbclrAx575kKxP37BLmh8s90avIZ3j7TZ+bW+I4k MBhb7F6cirtlXm1Esci0O7JkxJ3dEdYf6UD2NYTPf6pyRg4DcnyTG6yTQtHy7hNRNTkI Ofgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=774aSqho5oCbt5eD+KXB3aukhvZSsdRso4l6bcpL69k=; fh=2W/isY9xspzh+lfYPApeMpJ5AuLS07QxtNQWlFqyxFg=; b=Hy/kDeFBPJ58OjIPIPt52LDLAe9xzBEeq8tZmtdvCWnLF+0y/S97zHn/DsntTbjFYt O+VvzW48z3hqmj0K+ZEf9WxSGxAaBpdpDqwXRJC5PKnzpmyBNM4YHcUezlaYQrLkheQH UhytMDIGBfHFrEntlrHttnrjuTsrnjWtmEfbwCs+CxItjmuLBso/aaZD1xUQX4jAND4R hx5YZHQDPuyvPIT/jnyNwRDggMnA041FSdXufDyDofxLcp/LQYOtK4seTk029pWYPFhR yR0bgTBUkmUbheIzzn/dnCKwwwKBCUyl7uYojTX2hwX+S1WTTwXyo9zBUEiSW8IIq4CG xPrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hcoONUGG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a185-20020a6390c2000000b00553c2f8509esi22053804pge.706.2023.07.04.12.33.57; Tue, 04 Jul 2023 12:34:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hcoONUGG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231493AbjGDTOU (ORCPT + 99 others); Tue, 4 Jul 2023 15:14:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231409AbjGDTOT (ORCPT ); Tue, 4 Jul 2023 15:14:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B42E610D5; Tue, 4 Jul 2023 12:14:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 28D3661348; Tue, 4 Jul 2023 19:14:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DFEA2C433C8; Tue, 4 Jul 2023 19:14:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688498057; bh=774aSqho5oCbt5eD+KXB3aukhvZSsdRso4l6bcpL69k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hcoONUGGc2ahSTNq9xiKhhd8ppl7hhbCGCWSPF8Z8G2rZY/zePt28kCq42/Jonmto qdigjrE3jEVWuHtHZ84YUpVx/tDbRSvseCVFe1MSBfHXRKe5B/d8OXLx+9Z4emvbYa srhWBskW4AlkHH7hXb7qz02gHISop8/bZOrq+T6BXYApZkJmvUiakSRnctjPMiqXKo PwkOXDorzAISgnf0C06+utAnzQeqIMXt7fjlDowk5+lKl5RskGdr++J3KLXtVftqgF Wf4np0rT2pT+H13phzgUK4ByKb4WZhse8qT3uUI1kCFKvxjqKcPl7/YyUNdYH2CwD0 OnV4/Mg/qIkZQ== Date: Tue, 4 Jul 2023 20:14:11 +0100 From: Conor Dooley To: Dmitry Rokosov Cc: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, neil.armstrong@linaro.org, jbrunet@baylibre.com, jirislaby@kernel.org, khilman@baylibre.com, martin.blumenstingl@googlemail.com, kelvin.zhang@amlogic.com, xianwei.zhao@amlogic.com, kernel@sberdevices.ru, rockosov@gmail.com, linux-amlogic@lists.infradead.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v1 3/5] tty: serial: meson: apply ttyS devname instead of ttyAML for new SoCs Message-ID: <20230704-goofiness-maximum-a964d2fd0dcd@spud> References: <20230704135936.14697-1-ddrokosov@sberdevices.ru> <20230704135936.14697-4-ddrokosov@sberdevices.ru> <20230704-pogo-zeppelin-5fa281f5c9e6@spud> <20230704171326.tyforkt7z23zmgqa@CAB-WSD-L081021> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Tecr9VZAi6Q825ui" Content-Disposition: inline In-Reply-To: <20230704171326.tyforkt7z23zmgqa@CAB-WSD-L081021> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Tecr9VZAi6Q825ui Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 04, 2023 at 08:13:26PM +0300, Dmitry Rokosov wrote: > On Tue, Jul 04, 2023 at 05:57:15PM +0100, Conor Dooley wrote: > > On Tue, Jul 04, 2023 at 04:59:34PM +0300, Dmitry Rokosov wrote: > > > It is worth noting that the devname ttyS is a widely recognized tty n= ame > > > and is commonly used by many uart device drivers. Given the establish= ed > > > usage and compatibility concerns, it may not be feasible to change the > > > devname for older SoCs. However, for new definitions, it is acceptable > > > and even recommended to use a new devname to help ensure clarity and > > > avoid any potential conflicts on lower or upper software levels. > >=20 > > > In > > > addition, modify the meson_uart_dt match data for g12a, a1, and s4 to > > > their appropriate values to ensure proper devname values and > > > functionality. > >=20 > > IMO, this is a separate change that should be in another patch, had to > > go looking through a several of unrelated $subject patches to understand > > how the binding patch was going to work. >=20 > I apologize, but I'm having difficulty understanding your suggestion. > Are you recommending that a distinct binding patch for meson-uart-a1 be > sent as part of a separate patch series? From my perspective, isolating > the binding patch may not provide all the necessary context as it is > reliant on a separate 'compatible' declaration within the meson-uart > driver. However, this declaration is interconnected with the devname > support patchset. Therefore, it seems that all of these patches are > linked together. Maybe it is just a case of how the commit message was written, where the SoCs responsible for the changes appear only "in addition". At the moment, it seemed like an unrelated addition that was sneaking into the commit to me, who was trying to find the code change that made the DT side of things valid, Re-phrasing the commit message to explain that the a1 is the reason for this change, rather than mentioning the SoCs as an apparent afterthought would make sense to me here. As would splitting reworking the code to support devname stuff in one commit & adding the new match for the a1 in another. Whatever works for you. --Tecr9VZAi6Q825ui Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZKRvgwAKCRB4tDGHoIJi 0hkeAP9Lzm0lKzEJQ3nWw1mwEopF3oZdVmvGVOFiRIQgcx/mqAEAvkAFRCWE9JpX UsLys1kHTzKs1mYt4FxBmbpH8kN20g4= =7yrx -----END PGP SIGNATURE----- --Tecr9VZAi6Q825ui--