From patchwork Tue Jan 24 09:15:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 47603 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2049733wrn; Tue, 24 Jan 2023 01:21:56 -0800 (PST) X-Google-Smtp-Source: AMrXdXvm6UXOdtQEluPbcNoiTvyDZ5/uz+Ch9P8eB9KuqFRGDm2NDeAl5wzDoxq173VkSFAKRZ/m X-Received: by 2002:a05:6402:3909:b0:499:bcd7:a968 with SMTP id fe9-20020a056402390900b00499bcd7a968mr30652016edb.22.1674552116183; Tue, 24 Jan 2023 01:21:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674552116; cv=none; d=google.com; s=arc-20160816; b=Z6ouXxViCwaW+Bq1/ed85XSkjRWpJwsTTjy8N2Jmu0c0/bnHTbKXHlq6BYiSeiG3Xd F7824OIaPhJgCh6aPdYq2k2BQDq2wQVliHm1ohEX9MJE7j+cMc088Ji8+BxM5t7IFwVa FQ01b24t1cel31vHRJBkv/RCDtWivzP08me4detwvNhhDuGfcoQs92XL+flGiCaFb90O KuDAoTdxRADu6IZzubWT0+StDjVD2JfVfyUG1X0kKCrdrUvGyrHJqkDHzuOx1QrO9Mcl y7AuO1PyulZQ6rMyTcHaU7DQsl8xqTFj/WkEB32kZWQzGM4AxzRIm8ST3y2Xm8+bfPjs J3iA== 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=liv3B0oUb9aNh57lPloe9vmTnALY5IAQYkmXAUIs0CKb9vWKmxQNjI/GDuOkBqxirK tw6qVsAJezmdcdJPe+UFHUh45kWoWzmsxT8OPQ/9nZZTySmqrI5NsXbE5pCD/+1vD+9r Bmi69ckH6jdKPklB55r1vXIKDfA44dV7RJiY6fzf9Yn6qtcGGWTzrtVOGqL5sxlZsJ47 AJFh8tQIbTpEQtPufXuDAmd3tnRbGDrUeKOGtEGTCIDaj2AWsEjodl63QU8+SZHPHcIR /YLkasJxRzHr1PCNknWzaSgQaTP5rEafWlOaMHpwM27mzwHLEgU6n4neVHM1DHZjWl4V Sl1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ht5LLAmN; 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 x3-20020a056402414300b0049e18f00785si2599510eda.24.2023.01.24.01.21.31; Tue, 24 Jan 2023 01:21:56 -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=ht5LLAmN; 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 S233467AbjAXJQ2 (ORCPT + 99 others); Tue, 24 Jan 2023 04:16:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229802AbjAXJQV (ORCPT ); Tue, 24 Jan 2023 04:16:21 -0500 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A11C22B63B for ; Tue, 24 Jan 2023 01:16:18 -0800 (PST) Received: by mail-wr1-x436.google.com with SMTP id h12so9196851wrv.10 for ; Tue, 24 Jan 2023 01:16:18 -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=ht5LLAmNCXWk91VFJhzqk3ETiT3S9WKDG9n7Lx34WQTWnXdrGkZP64QQUAWkTtSXNa ligZsLEVT1/DBjRLdUveGHswtzvOyZziia9CJSqHYHxw6ygC5yzZG+P6MGFe1hewkplA /dTii7SzPpAqyO8zaMUwVmfKckjQAein0gvyeQgaBlVkfNUhzd3iZ3R32jVGlp8gek4A DYnlWns/Yp0181BU/8sD2FC7rZKX9/NW7gqpzGeubeDSWD4d3HvQWkzyFbp8B+8h4n+W eDhNjkxQv9MBYHh2wFwckrcgPT6ygEiKKtCDU5C7JxQpJOSSZGp8FmyBg/n5lNAQRJ93 nuXQ== 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=jtMyJtaSgMK1lOqgGj6xVLaMqkHYATJdyqTH5LW/sBFahROEFToi2pXpUEsFUBEgj/ WaaG/k6SKvcWt29jQjXXMzs7yzFfipJxFbJtFahKWOmo2QuyNx7rz8+NVq8K//L6k6hv /O0FFvi7oyYn5cEoskn9jwgFwtfutbUznbZWWb46e6+B2UPX5UHmAzYuJ9yhoWwVGJPV HBYBACHkTJzzrdKjr6hmxmUgSWAlDx4X4C7hz249L2B6QWQKLptth83GspipI+iQ4hNM ca1C12eRJDQwZ8nKl8hmDRAwFPg0UpNP7iQ2SEktLY/lKZLkU2k5S1uDNlKZFzwp0Dyh gZNQ== X-Gm-Message-State: AFqh2kqkpXwQS1VSUEzoQ0nUAv9QnsJY5eSpEXxuyqfZMWBbMM55lCpo n5oDgwm7AclZQYbsCdSP/yzXRQ== X-Received: by 2002:adf:f14e:0:b0:242:728a:fa7 with SMTP id y14-20020adff14e000000b00242728a0fa7mr25807903wro.61.1674551777096; Tue, 24 Jan 2023 01:16:17 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id j25-20020a05600c1c1900b003c71358a42dsm17882131wms.18.2023.01.24.01.16.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Jan 2023 01:16:16 -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 v2 02/12] dt-bindings: serial: 8250: correct Nuvoton NPCM850 compatible Date: Tue, 24 Jan 2023 10:15:52 +0100 Message-Id: <20230124091602.44027-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230124091602.44027-1-krzysztof.kozlowski@linaro.org> References: <20230124091602.44027-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?1755895159804657479?= X-GMAIL-MSGID: =?utf-8?q?1755895159804657479?= 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 Acked-by: Rob Herring --- 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