From patchwork Mon May 24 03:52:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 446418 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp2993443jac; Sun, 23 May 2021 20:53:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxLZnRIaV5Wz+lwIf/g8MI5vIuc1DS64hhVRnDBHt9CUBz3W10v4g5eVlbEA46x2376l/I X-Received: by 2002:a92:c5aa:: with SMTP id r10mr15810769ilt.89.1621828383327; Sun, 23 May 2021 20:53:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621828383; cv=none; d=google.com; s=arc-20160816; b=AxIsGx6zhM9DgwqYXECzA8uyH6tIqlE8ZVHysEv0PN4DNNf65jCbX15uEz4bQKchPS P5Mr9hIatvZkibHeus8G+3Y7bgcemMRVd62TqRODY0Q3EaqFqux7gY6KVXsImkXophGV ntg4eN6AfvAu2BvU63Zx75lh5PcNMTAKq5UgRTKE9ig/ZJmrBAp6rwHhJWUrLezwD0oG GUvB6Hvc9EqNAEfV/DbiIOVdBLWlLRl/znp+zOdk/fJolG88tZanjPmHaoInW+niRXes 9OJuZq0zpXJprbPYMWAeyjIU1fBR1ZjQWBdhgi1ZipKvu6Y3NpZC1r7XgOXKKRgvcpDV GP7Q== 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 :message-id:date:subject:cc:to:from; bh=Z5LFffwq693vSWsS0HaiycEjmTyITO3MlozEk3jFdjQ=; b=k+BhqwEPvs5/sDVW0attHxflz2qF+fusvFImpUo1qL1B2nWc5/L7rdclakUQMSIxoq xgj5QBamNxqXrIyR9HgAGTxDJCLQnozZT7jsgwmR959C1i8mh8XVlUMSqeDIB0Ne2Koo ayPlFEf/5ARvLpnnJIedY7MCXekYLyzaaAi8Pp4QG4f2vRL1WSmxUrlSiCjWttgeKf3R iXvBxrxAuUhRaC45w4FQXkFkxmU56S82zU0Asg9C6mr6qJ08abuay/B1+YgfUxugotNO 0jNyKCJwyDybpxxXmtXI/mn0zw/7ApULxfsZXaoPnKWHK2lefdNUDudgwRwhBT9Tj7vJ sngA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w16si12381439ilj.132.2021.05.23.20.53.03; Sun, 23 May 2021 20:53:03 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232159AbhEXDy0 (ORCPT + 7 others); Sun, 23 May 2021 23:54:26 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:3971 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232120AbhEXDyZ (ORCPT ); Sun, 23 May 2021 23:54:25 -0400 Received: from dggems702-chm.china.huawei.com (unknown [172.30.72.59]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4FpNXX3qSMzmZNg; Mon, 24 May 2021 11:50:36 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggems702-chm.china.huawei.com (10.3.19.179) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 24 May 2021 11:52:54 +0800 Received: from thunder-town.china.huawei.com (10.174.177.72) by dggpemm500006.china.huawei.com (7.185.36.236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 24 May 2021 11:52:52 +0800 From: Zhen Lei To: Shawn Guo , Li Yang , Rob Herring , linux-arm-kernel , devicetree CC: Zhen Lei Subject: [PATCH 1/1] arm64: dts: lx2160a: Normalize the compatible string of "arm, sbsa-uart" Date: Mon, 24 May 2021 11:52:44 +0800 Message-ID: <20210524035244.8677-1-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.177.72] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The compatible string of ARM SBSA defined generic UART needs to contain only "arm,sbsa-uart" and does not need to contain "arm,pl011". Otherwise, the pl011.yaml will check it and falsely report many warnings similar to the following: arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-cx.dt.yaml: serial@21c0000: compatible:0: 'arm,pl011' was expected serial@21c0000: compatible:1: 'arm,primecell' was expected Delete the redundant "arm,pl011" to fix it. Signed-off-by: Zhen Lei --- arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.21.1 diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi index 4fcc869c21a4..417546616d85 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi @@ -920,7 +920,7 @@ }; uart0: serial@21c0000 { - compatible = "arm,sbsa-uart","arm,pl011"; + compatible = "arm,sbsa-uart"; reg = <0x0 0x21c0000 0x0 0x1000>; interrupts = ; current-speed = <115200>; @@ -928,7 +928,7 @@ }; uart1: serial@21d0000 { - compatible = "arm,sbsa-uart","arm,pl011"; + compatible = "arm,sbsa-uart"; reg = <0x0 0x21d0000 0x0 0x1000>; interrupts = ; current-speed = <115200>; @@ -936,7 +936,7 @@ }; uart2: serial@21e0000 { - compatible = "arm,sbsa-uart","arm,pl011"; + compatible = "arm,sbsa-uart"; reg = <0x0 0x21e0000 0x0 0x1000>; interrupts = ; current-speed = <115200>; @@ -944,7 +944,7 @@ }; uart3: serial@21f0000 { - compatible = "arm,sbsa-uart","arm,pl011"; + compatible = "arm,sbsa-uart"; reg = <0x0 0x21f0000 0x0 0x1000>; interrupts = ; current-speed = <115200>;