Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4806160pxj; Tue, 22 Jun 2021 08:24:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJys65ZMgrWWHA3Qy8fylY0xc+kg+IFDM4I55mVODof462WwPlURW+vlS5PFK33/DeM9gz0J X-Received: by 2002:a05:6402:5143:: with SMTP id n3mr5838451edd.80.1624375483059; Tue, 22 Jun 2021 08:24:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624375483; cv=none; d=google.com; s=arc-20160816; b=LJaU5vd9/Rq5vxRzyEYjd+I/p3itjRAMVV3A4nBtKBxJ/GEXYRpWntQ46ZG1BSaGso hYP8clomy3e9sLEZn6WpRQOMTub5oktYB6JWPK0o/XLmPwitzSH5akiTF5spRT/z5Nvw mTekdv+WFQnT44pc8stdl2hLUhK7DqtldBHSl4QYWpWrYuFqskA1dLbfix3gPvVp6zWt FYOxiE2uHiBjxYzU9nsEftateHCF6dwA6NnBLx2t5xFMsf7875h+IjelSHRqX2ZmptcT JzyOG1u4SUTXsDdYOHustgFSUpuyy96rsGdCBshux8cBe7HEccqQV6NXk26eNr8cVAVI HBaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=jeuJTZFHeMuycyx4NVTBkSKn7ygMXGyDv2uIbTdJ2K0=; b=YqbliwwZKRwJkFhOdXWiEql4D++RZ++cAIioo1lTwrJybdtUjJeLPI2xAPD0mrH5rS /+fAkFuZOxaW6imtDGRKz2VfZFJoAm18k8i3rEskix4ZMn5nWVY+Fd3/tFF6xdJUSPGm t05WqYxjSDDWT4ZA3Ym84bYIEgt36jbXjvbffjiLQcs2/2ZZuHJrAzffC/Ex4uz1aSO/ gxO6EP8GP4elU6eYxo+fz7yhHTZkM4VWgp7zb3olLV5GU9869l34q/aH/rL1PIzfwlkm GhMwRwWrISsUW1nwXxI1kzwDsbpD3jU7oGtauqts1DQugvSvq85WgWBafyAZwlRqepM8 EFVg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id by26si4641535ejc.725.2021.06.22.08.24.19; Tue, 22 Jun 2021 08:24:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232107AbhFVPXJ (ORCPT + 99 others); Tue, 22 Jun 2021 11:23:09 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:36913 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232087AbhFVPXI (ORCPT ); Tue, 22 Jun 2021 11:23:08 -0400 Received: from mail-wm1-f49.google.com ([209.85.128.49]) by mrelayeu.kundenserver.de (mreue009 [213.165.67.97]) with ESMTPSA (Nemesis) id 1Mdvyo-1lO1HY1hzS-00azLe; Tue, 22 Jun 2021 17:20:50 +0200 Received: by mail-wm1-f49.google.com with SMTP id m3so13074721wms.4; Tue, 22 Jun 2021 08:20:50 -0700 (PDT) X-Gm-Message-State: AOAM532muqXB2+FeUvqK7kiC6sypaar83CR9sGO3csSxZ0TMzQF+Hzai CIEWo95FA2Id+JyxtDKfgXXChKOP6rr5wOOXX7Y= X-Received: by 2002:a1c:98d5:: with SMTP id a204mr4879216wme.43.1624375249974; Tue, 22 Jun 2021 08:20:49 -0700 (PDT) MIME-Version: 1.0 References: <20210509184519.15816-1-alex.nemirovsky@cortina-access.com> <20210509184519.15816-2-alex.nemirovsky@cortina-access.com> <9937DB34-7757-4A54-BCC6-AF5514FD7F1D@cortina-access.com> In-Reply-To: From: Arnd Bergmann Date: Tue, 22 Jun 2021 17:18:30 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 2/3] dt-bindings: serial: Convert Cortina-Access UART to json-schema To: Geert Uytterhoeven Cc: Rob Herring , Alex Nemirovsky , Greg Kroah-Hartman , Jason Li , "linux-serial@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Olof Johansson Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:tOie7vWrEnexv0CRNGItMAUz9wQ0Ofa0PTa6xbTtiUTZQ3T8or4 SiynUPlqei6d/gdefigWSaHhJxZhhKNBGUH/O5Cehp0HQiiWXon7s3qKygV8FNW0iMTm4pV xeG1ZXmMkDEInmQ0ZkpXKTeZRfWjLN+Yb8n5TnNYq9xtso0bByh/zm2+cw6fe2eWbwFu+Jh fjyw4mOBAuhq7b7SqG7Gg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:+CN8r0Y3zoI=:Cu1IqOczSpgr0i3z2CFCMA sD8hgr9pyIh7wPJ/dLI+HmHpmzD/6xf/e//OMoR2MnZVhwHWWMUcHJmywHtQa0+AZBpRGzah2 4Ih6kz/7vuqFLVLqBl8a8IcZmgH2by9RSWX/p8QO5/UaKhtjrTbL/vDpS8McvPLzObKNTJQVp P4EGMUWGqbjcGROqtk44XXaAMo1sG7CqRUafDDm9HgOP9HDTxgQ0ToeqCcGzCzTyXPyFkhiUL IVUZBGhVJdF9qvp4dS5HGB8g29JszrwoEwHJ0n1Ba6VJefjbTpmPCvFQOEzaFvX+3LXLkXNSv 4KYLLZDjc2+lfX5I8/ZFbSLCvFURqDtkBAO+kaHGOjrsPjl+1fPdvRNp3VR92JjdGMVizFWC1 z2v2gr0Bx+rOZhywJD+mXFBQo9VkDvac/npmYsVKNaIyppVPERqd4x7O6TTJ5OlfHMv6HDeBd bf19sVYofBmVwAna2BJKcVGIAw7JHa+zSOgjC94PneKtmK6GcTYlD30a37+RDM30xHjQw+ljA vPPzim+kdnLxg0WKigZWb0= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 22, 2021 at 1:29 PM Geert Uytterhoeven wrote: > On Tue, Jun 15, 2021 at 6:21 PM Rob Herring wrote: > > On Tue, Jun 15, 2021 at 10:06 AM Alex Nemirovsky wrote: > > > It sounds like you are find with patch 2/3 from a DT point of view. Could we review the rest from the DT point of view > > > to get either feedback for changes or ACK these, so we can unblock this series? > > > > Can't say I've seen it as I only see replies in my mail. Did this > > originally go to the DT list? If not, it's never in my queue[1]. > > None of the patches in this series ended up on a mailing list or on > lore, so no one could comment on them, except for people CCed directly. Right, in fact every email I see from @cortina-access.com at https://lore.kernel.org/lkml/?q=cortina-access.com is a reply, but the original mails are all missing, not just this series. It appears that there is a problem between the mail servers of cortina-access and kernel.org. Alex and Jason, please double-check if you find anything in https://www.kernel.org/doc/html/latest/process/submitting-patches.html https://www.kernel.org/doc/html/latest/process/email-clients.html that may have caused this on your end, or otherwise contact postmaster@vger.kernel.org for help. > The driver has been accepted in tty-next, commit b61c8bf4694b5115 > ("tty: serial: Add UART driver for Cortina-Access platform"). From a > quick glance, it could have used some review. > > The driver is using the compatible value "cortina-access,serial", so I > guess the binding patch added "cortina-access" to vendor-prefixes.yaml. Ah right. That patch has not made it in because of the issue, but right away I can tell that the binding is not great because the compatible string is way too generic: it implies that cortina-access only uses a single serial port type in every past, present or future SoC, which is clearly not the case. It's obviously up to Greg to decide whether to revert the patch, but I'd suggest we don't treat the driver as conforming to the binding until it has been reviewed, and assume that changes will be made. > The SERIAL_CORTINA_ACCESS symbol doesn't depend on anything, so > it will show up on everyone's oldconfig radar soon, regardless of > building a kernel for a Cortina Access system or not. > I wanted to change it to something like: > > config SERIAL_CORTINA_ACCESS > tristate "Cortina-Access serial port support" > + depends on FIXME || COMPILE_TEST > select SERIAL_CORE > help > This driver is for Cortina-Access SoC's UART. If you > have a machine > based on the Cortina-Access SoC and wish to use the serial port, > say 'Y' here. Otherwise, say 'N'. > > but given there is no evidence of patches to add support for the > CAXXXX line of SoCs, there's no symbol to depend on... Assuming this is a SoC based on an Arm CPU core, it's clear that nothing from cortina-access.com ever made it through the linux-arm-kernel@lists.infradead.org mailing list either, if anything was sent at all. Alex, please try to contact me off-list about merging the full SoC support, I should be able to help you come up with a plan for submitting the rest as soon as the email troubles are resolved. For new Arm based SoC platforms, arch/{arm,arm64} patches should go through the soc tree and be picked up by Olof (on Cc) or me. The exact process is not well documented, but please contact us by email, or on irc://irc.libera.chat/#armlinux if you have questions. Arnd