From patchwork Sat Mar 20 18:16:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Patchwork-Id: 12152611 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=-13.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 3D95BC433DB for ; Sat, 20 Mar 2021 18:22:33 +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 D5C5561924 for ; Sat, 20 Mar 2021 18:22:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D5C5561924 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmx.net 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:References:In-Reply-To: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=1Fft/GerAj9rIczRXi57xZbxiEKgFQ9AiyPNx0cixMM=; b=ZLbAKlVOOT/hXTcBeo+63w0DR dFlxFZO9jsvKIaVYldwbuUUzZw8Cpvq0Bh192YccSPaT/V0hqzbV84ng9TTGmlikGlVN6OhUdNWFb rgfzq5QnB+MUyNaByYPGP7ca4tkoOmJQCJIztIwAL5mmQdlOKXlH0o5kWML/Y3rmtwlqGUL9PYsgu dm9dxYP3fPG/qtR5FQC7BC9ohMdB1BkRlWD7RqQIgemyOlyt6+n8svEc1dAf6gk/4+g14nsgahZIs IfrX7hGvjKBx7He4/9UNNDUKg7MnKtEv4xzt1nqav1gy3PI5Q8UpxqnI6BYkzYbcIFIvcNP70MkHf KgZj5wTFw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lNgDz-0097Wc-VQ; Sat, 20 Mar 2021 18:21:24 +0000 Received: from mout.gmx.net ([212.227.17.22]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lNgDn-0097SX-5f for linux-arm-kernel@lists.infradead.org; Sat, 20 Mar 2021 18:21:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1616264470; bh=uKwq/ZWDVqYL2xvnk2WZ9EQekhtr43ZTu3KEC9aZAQk=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=D3SZF0mB3S13G62qaCtK9tfFxGNyX63hop/1czFvGZEE4QVevh3xHX5X2sU7ZObWi 2YYcf6a3QN4MWkN2egxKwAWlD/Dssk2GBTmGDZbl7ZmoH0t8DID/fZGnEsQwlujjRe leKqu59iFe06SsbLqVJd/VqSRhvpCTXRuML482Qw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from longitude ([37.201.215.134]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MWRVb-1lCPq10CHj-00Xps7; Sat, 20 Mar 2021 19:21:10 +0100 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: openbmc@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , Greg Kroah-Hartman , Jiri Slaby , linux-serial@vger.kernel.org Subject: [PATCH 09/14] serial: 8250_of: Add nuvoton,wpcm450-uart Date: Sat, 20 Mar 2021 19:16:05 +0100 Message-Id: <20210320181610.680870-10-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210320181610.680870-1-j.neuschaefer@gmx.net> References: <20210320181610.680870-1-j.neuschaefer@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:Cgo7o8Nr2P1eIRB7W5Uc96exsQk2AguXiMm5fb94gF2qZr8LnSd ENKJKc5F1B0Zj+JVTuHlNBShSL4vR2gfI7gruifc4Kop8pcpat5/8EnvC0jjVWOPE9Rr2x9 mWstJXs1+K44MfSf1tFPoTGwAzjdRRlmPkWoqfsV6rUkbu98F2vuLCd8yAFv7r0XkpjNlWM 2Hnmmq/6cmwafYHE3sYgA== X-UI-Out-Filterresults: notjunk:1;V03:K0:Ya60QC51KBc=:TY8QaGy1ekRqChFJcUmecL fxkiS7xINk/CSq6N3I8ThUFN9hpU72mrP7TL6oPMDBVQp4z5rQnMzlTFKQl5FHEEAPc7CXxWX cMnd783VpwLs6jIB9gSMLjfadjA1UlCdVLK1p0F69OPbG/fRom/LWSicucD2aaVcQR9tDmtum yYml44ujjdCFjjl4xTDBSdArgFPpmxubdMyG5BROnjjxb+C0ewXK7CH/8Dkw28yiWf0GW2JDa 10Wbzx+yZZV0XmccJ9ilvQS5U1ljsHLTisX/5ZwKBvY+aBotyAcTPD7WXOjrBHDkrCXOMqpOC GPNd87QYVtt144L6Vbe2aF0gvPrH7+YDN410yhn8iyb541EaP5/baANpMlfwQmT/tZzbzjms0 bV+bsmtUE/gXxcrv/p2nHcrM92q6UvN/hsLajydlnnlu2BwhG4cSLW4l5EuGbgYgjv7dLGeFb qjRj390hlMzLdb3bEE/JGhU2cATQc8m/SkGU21oPxeYB46Fj7UCn7fsnYKEXsCXuFrkncmWpy /DlyQ26ELJtMk+HahHkzoGPtaDy54GzvIwJOctlUBT1lWcJ+8HFidG4LDUySPgE5R1LkYrL28 rCMmcol3h60wGBLwnDYdAwWnQpjOZvZLTSs+GkqBaT+EHc7duBICJVK9+xRemZBh9NH37FfZW O+dlFevZQ/z7GqcedB3cO+als5v9V4cW5GvoUE6HCurK+7Owoe2y2oeVq39lMzpyqvV5ySeBL CM97mCOxv7GZSlf7j+SHJxqw6nvgj3vGrFxkww2/fZPoSKmB8fO40fJQZcXss0W62tQMhahe8 K75ZcrT7fYakJH5y8e2NNNSyqDvVJDqL2t4RcsvRd43EoDXNoPvdw8auxZVllOoeQSwekUNN5 pDl3KIeORY9a+omF4ptw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210320_182111_520611_3C038567 X-CRM114-Status: GOOD ( 10.08 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add a compatible string for the UART inside the Nuvoton WPCM450 SoC. It works the same as the UART in NPCM750. Signed-off-by: Jonathan Neuschäfer --- drivers/tty/serial/8250/8250_of.c | 1 + 1 file changed, 1 insertion(+) -- 2.30.2 diff --git a/drivers/tty/serial/8250/8250_of.c b/drivers/tty/serial/8250/8250_of.c index 65e9045dafe6d..0b077b45d6a94 100644 --- a/drivers/tty/serial/8250/8250_of.c +++ b/drivers/tty/serial/8250/8250_of.c @@ -318,6 +318,7 @@ static const struct of_device_id of_platform_serial_table[] = { { .compatible = "mrvl,mmp-uart", .data = (void *)PORT_XSCALE, }, { .compatible = "ti,da830-uart", .data = (void *)PORT_DA830, }, + { .compatible = "nuvoton,wpcm450-uart", .data = (void *)PORT_NPCM, }, { .compatible = "nuvoton,npcm750-uart", .data = (void *)PORT_NPCM, }, { /* end of list */ }, };