Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1842042ioo; Mon, 23 May 2022 04:43:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx42ztXPqi45EOew6Ieb6t5zPv3vYXCZ8BHaTL+4IDft0KMsm21akVdTrr9P6TciIHo/15l X-Received: by 2002:a17:90a:4e4f:b0:1df:6e40:ef22 with SMTP id t15-20020a17090a4e4f00b001df6e40ef22mr26031421pjl.105.1653306224696; Mon, 23 May 2022 04:43:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653306224; cv=none; d=google.com; s=arc-20160816; b=nThELLZhx/tmDodBgmODQlvJlbouDc5U0pXshX0njt0ZKwW61vN9wuqBOPv2aWkIdy 0u+Q95qgGca7erxLjYwcvaHWePgKgOO7wpkbTFVJb3nFGoINRuG/2Ryx4zp22eg430He jtWEwUzuxT2tICYZEhm5Rvcsg+fo+e/zL06ycNRxMbJBiwT2I/XtrhD30S1o2IfkEtoU GIvGrwkZCoI8fs+wOc3S4WQGfVybLKxtTcTE/K4wI8wctRFaDFug3hNPLHmlETikl0tC Gu69RsHq0ABvH9QqfAF01xQ2D27pdiyd8bxOaTQ5w7hZjL530kWbyioPVwhGJl2XmVy+ /7lQ== 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=VrXbK8IYzpgTsDv8XcTFKp4INdoYrDI/jwiMfQXb7aQ=; b=bOwvM7UT3k8Pcg6NKV4fbcgKVmuo8UXJHQ8ye8KJLgouQxQt5iUH3S6M/nYdIEaaul 6YweGYgKmjsu1NoToPslmkM+/MMzRpilY2NZ0T/ZVyFsWjd/iZ+lfHs2crzXQ0xecYoA wcuu7mdYC6Bb5MbOFm+LaOKXF/74snFF4KwoZe6Gc150GdZCM0VnI4zj5c6lbKOxc+p2 wjkpOhez0fLm0rgwFBH3BRRCjEBkE5QuyqGaT3r3efo1WWyZ5HYqi/niuwqn0z8WbFRe /ZmFniJRV0xWMQiPJMDwbQBFvLNOAl1+jHd8f2xGwzIevxPVm02O6Gcdb3AY2XYeweIG AH3w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x5-20020a654145000000b003d8204b5cd0si10042901pgp.305.2022.05.23.04.43.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 04:43:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 12814506ED; Mon, 23 May 2022 04:43:42 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235092AbiEWLnh (ORCPT + 99 others); Mon, 23 May 2022 07:43:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235074AbiEWLnf (ORCPT ); Mon, 23 May 2022 07:43:35 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06F31506DA; Mon, 23 May 2022 04:43:33 -0700 (PDT) Received: from mail-ot1-f42.google.com ([209.85.210.42]) by mrelayeu.kundenserver.de (mreue010 [213.165.67.97]) with ESMTPSA (Nemesis) id 1M8yPu-1ny2QH3nh0-0066ng; Mon, 23 May 2022 13:43:32 +0200 Received: by mail-ot1-f42.google.com with SMTP id e11-20020a9d6e0b000000b0060afcbafa80so4418465otr.3; Mon, 23 May 2022 04:43:31 -0700 (PDT) X-Gm-Message-State: AOAM530VEDwel10v6P42dzQ6EV0W/ImJ2lYBPfS2Ob6jT5cD6s9b3rRk rep+Z18t15/VrxXwa2LB9oh6NBm7p3HONc7O7mM= X-Received: by 2002:a25:75c5:0:b0:648:dccd:e1c with SMTP id q188-20020a2575c5000000b00648dccd0e1cmr21094709ybc.452.1653299785602; Mon, 23 May 2022 02:56:25 -0700 (PDT) MIME-Version: 1.0 References: <20220522155046.260146-1-tmaimon77@gmail.com> <20220522155046.260146-5-tmaimon77@gmail.com> In-Reply-To: <20220522155046.260146-5-tmaimon77@gmail.com> From: Arnd Bergmann Date: Mon, 23 May 2022 11:56:09 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 04/19] tty: serial: 8250: Add NPCM845 UART support To: Tomer Maimon Cc: Avi Fishman , Tali Perry , Joel Stanley , Patrick Venture , Nancy Yuen , Benjamin Fair , Rob Herring , Krzysztof Kozlowski , Michael Turquette , Stephen Boyd , Philipp Zabel , gregkh , Daniel Lezcano , Thomas Gleixner , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Arnd Bergmann , Olof Johansson , Jiri Slaby , Shawn Guo , Bjorn Andersson , Geert Uytterhoeven , Marcel Ziswiler , Vinod Koul , Biju Das , Nobuhiro Iwamatsu , robert.hancock@calian.com, "nathan=20Neusch=C3=A4fer?=" , Lubomir Rintel , SoC Team , DTML , Linux Kernel Mailing List , linux-clk , "open list:SERIAL DRIVERS" , LINUXWATCHDOG , Linux ARM Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:Eh/qW2KznBfSE/OEBWqMPrKe6wGQVBqS5SXsFUcXmZEqSSuDHwT 72VMZAhZPMIqmh+H6lMwP5qwnaEjve33ZMwxkio1HwuhLe3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J9CA+eTjtQ== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Sun, May 22, 2022 at 5:50 PM Tomer Maimon wrote: > +++ b/drivers/tty/serial/8250/8250_of.c > @@ -333,6 +333,7 @@ static const struct of_device_id of_platform_serial_table[] = { > { .compatible = "ti,da830-uart", .data = (void *)PORT_DA830, }, > { .compatible = "nuvoton,wpcm450-uart", .data = (void *)PORT_NPCM, }, > { .compatible = "nuvoton,npcm750-uart", .data = (void *)PORT_NPCM, }, > + { .compatible = "nuvoton,npcm845-uart", .data = (void *)PORT_NPCM, }, > { /* end of list */ }, If these are compatible devices, it's usually easier to claim compatibility with both the specific chip and the older model as a fallback, to avoid driver changes. This seems to apply to the timer and watchdog devices as well. Arnd