Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3260964pxt; Mon, 9 Aug 2021 22:25:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpA1X327cPwyrzQre3CPkYNXNXYJazHe/IpgrcRm3glVz6UvHEwb+lSzPqX0jL6RDjAgBN X-Received: by 2002:a17:906:180a:: with SMTP id v10mr25800302eje.112.1628573122533; Mon, 09 Aug 2021 22:25:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628573122; cv=none; d=google.com; s=arc-20160816; b=coemwg5yDvY1G7/h+rVQJldjkZPxVQTaRvyYAZbKEe+Bullk+YAWc4v3G/nK6SSgMf zbAi8g6BrZK55numSlaUgbcfN0Au2xY30P90+U+AKWR9qXdLQlsfE2ToKpV8dU3tuvlF GLx5sFIjBkI2egGJi8GOHkAei9LOzMwImDSHFrEWqHkt5PhwVMwBA19uSd8lgz7Gi0QI mgxX6KW+RNweepfZ9CbetLbBwe6hjvn6U7+OogxD1G4aUNepx7r5O5K4diR5lcyJzE7j pnJaakFFRYTDzwt72eEv4o/vJ2MCqSENwVPqfU/jkac/Qv/bO9+oXgrUI73F6Dxd3l2N wwFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject; bh=J96RwB7kMe5NnuFFG8DkFG+AT8joH8thtBQu6+UoNBQ=; b=c9kqkUdFAw6oSdFfNT2Gsm6sVU70G9pE3z9EbWy2AOPlN1aXPVbPxjxgPCtvAKXb2c rqyQQHEG2EpTit1zxlWtYQL0jxUFUlkuutCQfHeiZgqb2iOzXKKDE7RLndYnx+G3VPDl WcjWcQna6SgtrTEsKIRRP1WLYTn64W41haI/DMWlGs1mnQ9quYWDab2mv9quO4DvF0HF Ym3osh5k33foDh5h7GbfXGR75l55cIaIaXWtDzbPHGQAw47h96Rs9C0KKeczVVjPXML0 X8S6sPlV+GmrerMu72fOFMqBMA5ukzmsfSN7qiTDtsf9x4BGbPbt+kJ40lEoys8y/gzm 8Arg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 jg9si9861842ejc.548.2021.08.09.22.24.59; Mon, 09 Aug 2021 22:25:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S237204AbhHJB2b (ORCPT + 99 others); Mon, 9 Aug 2021 21:28:31 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:13407 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237196AbhHJB2a (ORCPT ); Mon, 9 Aug 2021 21:28:30 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4GkFbx2JylzcmLm; Tue, 10 Aug 2021 09:24:29 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 10 Aug 2021 09:28:07 +0800 Received: from [10.174.179.0] (10.174.179.0) 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; Tue, 10 Aug 2021 09:28:06 +0800 Subject: Re: [PATCH v2 1/1] arm64: dts: lx2160a: Fix the compatible string of LX2160A UART To: Leo Li , Shawn Guo , Rob Herring , Mark Kettenis , devicetree , linux-arm-kernel , linux-kernel References: <20210615131605.616-1-thunder.leizhen@huawei.com> <20210615131605.616-2-thunder.leizhen@huawei.com> From: "Leizhen (ThunderTown)" Message-ID: <03d7c7be-2f19-9fdf-2a4e-f49a62bb82f6@huawei.com> Date: Tue, 10 Aug 2021 09:28:05 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.179.0] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/8/10 6:52, Leo Li wrote: > > >> -----Original Message----- >> From: Zhen Lei >> Sent: Tuesday, June 15, 2021 8:16 AM >> To: Shawn Guo ; Leo Li ; Rob >> Herring ; Mark Kettenis ; >> devicetree ; linux-arm-kernel > kernel@lists.infradead.org>; linux-kernel >> Cc: Zhen Lei >> Subject: [PATCH v2 1/1] arm64: dts: lx2160a: Fix the compatible string of >> LX2160A UART >> >> Mark Kettenis told us that: >> According to the NXP documentation, the LX2160A has a real PL011 UART. >> >> Therefore, rewrite it to the compatible string of pl011. The property "current- >> speed" specific to "arm,sbsa-uart" is also deleted. > > Sorry that I missed the discussion on the v1. But looks like this change breaks the LX2160 boot. The AMBA matching doesn't seem to work. And the console is not registered correctly. https://lore.kernel.org/linux-arm-kernel/cba3a29f-92b5-072a-9a27-60240f072dad@huawei.com/ Maybe we should fall back to v1. > > [ 0.639055] OF: amba_device_add() failed (-2) for /soc/serial@21c0000 > [ 0.645612] OF: amba_device_add() failed (-2) for /soc/serial@21d0000 > >> >> Suggested-by: Shawn Guo >> Suggested-by: Mark Kettenis >> Signed-off-by: Zhen Lei >> --- >> arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 12 ++++-------- >> 1 file changed, 4 insertions(+), 8 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi >> b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi >> index c4b1a59ba424..d2e6f7285674 100644 >> --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi >> +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi >> @@ -920,34 +920,30 @@ QORIQ_CLK_PLL_DIV(8)>, >> }; >> >> uart0: serial@21c0000 { >> - compatible = "arm,sbsa-uart","arm,pl011"; >> + compatible = "arm,pl011", "arm,primecell"; >> reg = <0x0 0x21c0000 0x0 0x1000>; >> interrupts = ; >> - current-speed = <115200>; >> status = "disabled"; >> }; >> >> uart1: serial@21d0000 { >> - compatible = "arm,sbsa-uart","arm,pl011"; >> + compatible = "arm,pl011", "arm,primecell"; >> reg = <0x0 0x21d0000 0x0 0x1000>; >> interrupts = ; >> - current-speed = <115200>; >> status = "disabled"; >> }; >> >> uart2: serial@21e0000 { >> - compatible = "arm,sbsa-uart","arm,pl011"; >> + compatible = "arm,pl011", "arm,primecell"; >> reg = <0x0 0x21e0000 0x0 0x1000>; >> interrupts = ; >> - current-speed = <115200>; >> status = "disabled"; >> }; >> >> uart3: serial@21f0000 { >> - compatible = "arm,sbsa-uart","arm,pl011"; >> + compatible = "arm,pl011", "arm,primecell"; >> reg = <0x0 0x21f0000 0x0 0x1000>; >> interrupts = ; >> - current-speed = <115200>; >> status = "disabled"; >> }; >> >> -- >> 2.25.1 >> > > . >