From patchwork Mon Jan 23 15:12:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 47178 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1660625wrn; Mon, 23 Jan 2023 07:13:54 -0800 (PST) X-Google-Smtp-Source: AMrXdXvTW9PB9yeJvliBBNb+B5rSdCjdnTcRwOb91AfXTRO7Jc7oeqcUtbZ1bdpYtfCzHmkM98MP X-Received: by 2002:a05:6a20:b914:b0:b8:537a:5525 with SMTP id fe20-20020a056a20b91400b000b8537a5525mr26458703pzb.51.1674486833714; Mon, 23 Jan 2023 07:13:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674486833; cv=none; d=google.com; s=arc-20160816; b=hCCADaOJHjfc8w1REd9hFN2+thfVKTarYLKmqDKqxyQSi9rR8KFx9QbM2oYaZ0xoVJ nk6emnwSmriiHci2xluktZcl9PzNDExTb9yqEYKajcAMoZSxw8ksyP6wb2lI4lTPhq0O wY3VmMmD7aPqL5ifJz4YCqdaAUaxIy1fIb5N69YrqmjMINC/AfNKDW3YGY4f22jccQQv 0Gc06vSAbylknIi0vn1f1t3t8N+OS6nLvk+eWXOrp538VChWS/zRaOKtlAM7u3GYOn2z EzUiR8YzDBVcS/q0TiNHWftRgE5w4Udk/LyxWs9UjmaWJMz4p1teus/OoSFT0cal+GWQ LOLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NjUDPjFfIstrArrttGkIiPvgInIpWMnlY5IxKwKaSmM=; b=TqADG02pSHC8DqwRA6mhuIuP2MpdLPa9tj79fiQj/5QspM5/zolzhyrhd2ypYkLqh8 F1EcrxMD661sZACfd7Oa74vy7VwQqyL8RZEmtXsxOTwYu1vOUnBYXluH44nbNdqo8Lkw jgyyEe47hJG9+tg4Afy98D6wuPdDpTyNaQUjlGBygqVbMRbwl8MQtoxEONv9r1dlZo/8 BGEawv4vneu/xJLVtOno8dfQiznzJoD5S6q7xfVo53ZIuLZhpLMxXW3EUerqlLKEufbr iZWVFI4tO2bvn4RgHbdMSvLbE4i5LOgbvqLba6HWq9LsaPYBFXqqiMlcm9WSot7Y8cgP Nthw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gBYz9l1C; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t71-20020a63814a000000b004c1e81945cesi20506470pgd.819.2023.01.23.07.13.41; Mon, 23 Jan 2023 07:13:53 -0800 (PST) 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=@linaro.org header.s=google header.b=gBYz9l1C; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232361AbjAWPNV (ORCPT + 99 others); Mon, 23 Jan 2023 10:13:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232281AbjAWPNQ (ORCPT ); Mon, 23 Jan 2023 10:13:16 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F645D535 for ; Mon, 23 Jan 2023 07:13:15 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id h12so7120593wrv.10 for ; Mon, 23 Jan 2023 07:13:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=NjUDPjFfIstrArrttGkIiPvgInIpWMnlY5IxKwKaSmM=; b=gBYz9l1ChBFTjyquDh1ZRllUadOhS3AOoSty4qM7gQFn3MA20fctQ9Rau+B9QwDvSO rwnELh0TsZEV1SENNaAwxrbvMZpyOcQpqOrZkidOK9PyOdIFdQ68uU5lY07aC9beRBFQ VFcEGa1/TJ9hw2tpi4rS8isfX7TV//tB0RhC7zKfWQfQHs19bT/PWeLt+XpmCmcpZ3pQ P+lQjZV5iQU7XifV/MniKY2UR8WQFm5+rkxBfAFJiDIAcFsY9yb8XamTbrGGz1HsH3ta tGwvMS4ewMzZ7GFLQSP06NgULdL1ShWttqEcreqeLg/Uh2RmDqDdijBb41n1CwJPRrSD JeHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NjUDPjFfIstrArrttGkIiPvgInIpWMnlY5IxKwKaSmM=; b=xtqa0kPbrQXikhzostYBfl+guucJaZybIvvhLc+GWZUntqj749BvkWl9iUthfiAKVF V+ht2crE+aCk3jqZ4b1qqAi1ANqBRL9qYj7uOR0an0QLMba3A795lnHHUObt9hTLZh3M EBW/2emP/13cSUPK/n+smm+UtxR8D9wNisUzhMO5wJwYPdZXdyqnBwanfiyCARDz2zbc 93kqUfY8SDOzP0CowRzdrDJ2nkhMjDgMm4YdPwsmubRUe1f9SHvWsu5OzoxH1PZquuHz K3DIo1P4QXUBbjs4Oj90TDJnlxGFkT8I7GCjrLL2emfKSGCpXMviYbLG1onX5pTgMe4c kkUw== X-Gm-Message-State: AFqh2kp4F8zZsAOqSZfoXG829+GN10zv4tOZn3N+x/7MD0I873FK8txP X59zCnKr4mK8Twrv61bMgG5bWQ== X-Received: by 2002:a05:6000:98d:b0:242:809e:1428 with SMTP id by13-20020a056000098d00b00242809e1428mr25207621wrb.5.1674486793685; Mon, 23 Jan 2023 07:13:13 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id n1-20020a5d67c1000000b002bc7f64efa3sm34737922wrw.29.2023.01.23.07.13.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 07:13:13 -0800 (PST) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Palmer Dabbelt , Paul Walmsley , Maxime Coquelin , Alexandre Torgue , Lubomir Rintel , - , Vignesh Raghavendra , Michal Simek , Chester Lin , Fugang Duan , Magnus Damm , Geert Uytterhoeven , Pragnesh Patel , Le Ray , Peter Korsgaard , Tomer Maimon , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-riscv@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Cc: Krzysztof Kozlowski Subject: [PATCH 02/13] dt-bindings: serial: 8250: correct Nuvoton NPCM850 compatible Date: Mon, 23 Jan 2023 16:12:51 +0100 Message-Id: <20230123151302.368277-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230123151302.368277-1-krzysztof.kozlowski@linaro.org> References: <20230123151302.368277-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755826706612301872?= X-GMAIL-MSGID: =?utf-8?q?1755826706612301872?= Nuvoton NPCM850 UART is compatible with NPCM750, so add proper fallback to match existing DTS and Linux driver. Fixes: c8177f90b7c6 ("dt-bindings: serial: 8250: Add npcm845 compatible string") Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/serial/8250.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/serial/8250.yaml b/Documentation/devicetree/bindings/serial/8250.yaml index 34b8e59aa9d4..badaf6d5b6fe 100644 --- a/Documentation/devicetree/bindings/serial/8250.yaml +++ b/Documentation/devicetree/bindings/serial/8250.yaml @@ -62,7 +62,6 @@ properties: - const: mrvl,pxa-uart - const: nuvoton,wpcm450-uart - const: nuvoton,npcm750-uart - - const: nuvoton,npcm845-uart - const: nvidia,tegra20-uart - const: nxp,lpc3220-uart - items: @@ -92,6 +91,10 @@ properties: - enum: - ns16550 # Deprecated, unless the FIFO really is broken - ns16550a + - items: + - enum: + - nuvoton,npcm845-uart + - const: nuvoton,npcm750-uart - items: - enum: - ralink,mt7620a-uart