Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5457216pxu; Tue, 22 Dec 2020 18:37:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3JaTOGkLSsYbhAeAhx/6hPQ09VHCsmFzDeQ2tjvOPv99otLOmmfyucRnWfyxnhFdbxjev X-Received: by 2002:a17:907:a96:: with SMTP id by22mr21567722ejc.171.1608691077101; Tue, 22 Dec 2020 18:37:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608691077; cv=none; d=google.com; s=arc-20160816; b=yN/4td/KuacIw1quo4cn4rEUVQyzCJGMyijyrQ3GCT8DVFMKRN41X9VpngqiZn/Vew CQw9GMriUv9PckhU2G/C5L2JCXbcjTk/q6X/Ow10EvFBwUAhiKbuYQs0o6vIP+/fv20r QODuVigZpF6MEVc9MV915kiMG0yku9u2FQE/1OYRaxBxM+cSsC7fBJEdtPXDGQObolMa 4wMZS6i8JC83tOPKcGV4YNP6oBfM2vFxuakouksFPTIF/BVVLj2Mx9mb8hK1iw0/CO6G DVy/+Lc2u/Sk9XJ3KumlasCs/jZpDHF5q1mLLE8nLId4eJz3vuPS0H5vclLmbkVLp+pl uinw== 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=2sCup2d+txms++P1yo6ZM+mRbKNeWpJMEWAUtYy29wQ=; b=FwDgFDfew4YwA7/Qwu26BQtuCJbFLHcnUlzWPReps+WLpHaSuNcNmMmptXqaHAF+bi xa8TGG3phM49TPDSHfnJQDCH4XyomeCxhksX6NjfZdETIu7mxlELzeuPyXGINsO68uXD JCUx5SjAYhZlmu2QKGDZFI5kPpLygtNO1c+WGma6cwCLPT9GJI02p/k8xqlF2CpIAbav 9wIa4khyw5ikBkV0C6J1qjLfEOrlfdok+LrzU9YXyzyeKAzfw9A+L/gUKva2Zl4Rngsi +sHNdDlwWwGVTf9Hbx6UxXYlOuFbsVyvchDv0+Td3G6bp3NIFflkkXvai8TR7BnVKztA dHbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ad/ecCMk"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y21si11222186ejp.340.2020.12.22.18.37.35; Tue, 22 Dec 2020 18:37:57 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ad/ecCMk"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730183AbgLWCYY (ORCPT + 99 others); Tue, 22 Dec 2020 21:24:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:54138 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730163AbgLWCYQ (ORCPT ); Tue, 22 Dec 2020 21:24:16 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 185AC225AB; Wed, 23 Dec 2020 02:23:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1608690215; bh=L/71AEs9l4suiCyP80pYIjRgIskmdRP1bL+0G9/+pdM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ad/ecCMkXF2kvkiUB9C1W1rHEuV/F0iszot9VBomk0Bc5WmZrUY8BBlNz35T2jo0q EE1qCwI9QP1Ek4Dey2f9uhblc+XvUbklXV04J3LLlwlYf2fYdJFpSQzlvV7VqIy2Eq 7viuWa+3hwJ98nItI+PkV1grDScoEEzBPt7XO29QyBWW6HsaezYxuOaFczm84UBqB1 rAnIKOiYfC9BC12SxqTJVkS0L71+ZNuRoZawtGNySI/ex5LQom42norESbcOV488eT 3B6603mBeE5XKGmm5igtqNcFbcEY50mFuLHMsh2znkdAQHxA9pTqNkhpqz+KOUYUDM hzaNYqEzeMUZQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Zhen Lei , Wei Xu , Sasha Levin , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH AUTOSEL 4.14 34/66] ARM: dts: hisilicon: fix errors detected by snps-dw-apb-uart.yaml Date: Tue, 22 Dec 2020 21:22:20 -0500 Message-Id: <20201223022253.2793452-34-sashal@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201223022253.2793452-1-sashal@kernel.org> References: <20201223022253.2793452-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Zhen Lei [ Upstream commit 30ea026e33c6dda48849d9fe0d15c1d280a92d53 ] 1. Change node name to match '^serial(@[0-9a-f,]+)*$' 2. Change clock-names to "baudclk", "apb_pclk". Both of them use the same clock. Signed-off-by: Zhen Lei Signed-off-by: Wei Xu Signed-off-by: Sasha Levin --- arch/arm/boot/dts/hip01.dtsi | 24 ++++++++++++------------ arch/arm/boot/dts/hip04-d01.dts | 2 +- arch/arm/boot/dts/hip04.dtsi | 6 +++--- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/arch/arm/boot/dts/hip01.dtsi b/arch/arm/boot/dts/hip01.dtsi index 9d5fd5cfefa66..98667ca26c037 100644 --- a/arch/arm/boot/dts/hip01.dtsi +++ b/arch/arm/boot/dts/hip01.dtsi @@ -44,41 +44,41 @@ amba { compatible = "simple-bus"; ranges; - uart0: uart@10001000 { + uart0: serial@10001000 { compatible = "snps,dw-apb-uart"; reg = <0x10001000 0x1000>; - clocks = <&hisi_refclk144mhz>; - clock-names = "apb_pclk"; + clocks = <&hisi_refclk144mhz>, <&hisi_refclk144mhz>; + clock-names = "baudclk", "apb_pclk"; reg-shift = <2>; interrupts = <0 32 4>; status = "disabled"; }; - uart1: uart@10002000 { + uart1: serial@10002000 { compatible = "snps,dw-apb-uart"; reg = <0x10002000 0x1000>; - clocks = <&hisi_refclk144mhz>; - clock-names = "apb_pclk"; + clocks = <&hisi_refclk144mhz>, <&hisi_refclk144mhz>; + clock-names = "baudclk", "apb_pclk"; reg-shift = <2>; interrupts = <0 33 4>; status = "disabled"; }; - uart2: uart@10003000 { + uart2: serial@10003000 { compatible = "snps,dw-apb-uart"; reg = <0x10003000 0x1000>; - clocks = <&hisi_refclk144mhz>; - clock-names = "apb_pclk"; + clocks = <&hisi_refclk144mhz>, <&hisi_refclk144mhz>; + clock-names = "baudclk", "apb_pclk"; reg-shift = <2>; interrupts = <0 34 4>; status = "disabled"; }; - uart3: uart@10006000 { + uart3: serial@10006000 { compatible = "snps,dw-apb-uart"; reg = <0x10006000 0x1000>; - clocks = <&hisi_refclk144mhz>; - clock-names = "apb_pclk"; + clocks = <&hisi_refclk144mhz>, <&hisi_refclk144mhz>; + clock-names = "baudclk", "apb_pclk"; reg-shift = <2>; interrupts = <0 4 4>; status = "disabled"; diff --git a/arch/arm/boot/dts/hip04-d01.dts b/arch/arm/boot/dts/hip04-d01.dts index 40a9e33c2654e..9b2499635dc76 100644 --- a/arch/arm/boot/dts/hip04-d01.dts +++ b/arch/arm/boot/dts/hip04-d01.dts @@ -25,7 +25,7 @@ memory@00000000,10000000 { }; soc { - uart0: uart@4007000 { + uart0: serial@4007000 { status = "ok"; }; }; diff --git a/arch/arm/boot/dts/hip04.dtsi b/arch/arm/boot/dts/hip04.dtsi index 44044f2751151..9593a78ccf067 100644 --- a/arch/arm/boot/dts/hip04.dtsi +++ b/arch/arm/boot/dts/hip04.dtsi @@ -253,12 +253,12 @@ arm-pmu { <0 79 4>; }; - uart0: uart@4007000 { + uart0: serial@4007000 { compatible = "snps,dw-apb-uart"; reg = <0x4007000 0x1000>; interrupts = <0 381 4>; - clocks = <&clk_168m>; - clock-names = "uartclk"; + clocks = <&clk_168m>, <&clk_168m>; + clock-names = "baudclk", "apb_pclk"; reg-shift = <2>; status = "disabled"; }; -- 2.27.0