From patchwork Mon Jan 18 03:16:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 365448 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp1886588jap; Sun, 17 Jan 2021 19:21:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6R7cdbXSxHMRzls5C6GStQyd+Ez9HjrSysdix7IxYUMSZ0OKT/obd6f+qqXrUqoX0Y3GC X-Received: by 2002:a17:906:2617:: with SMTP id h23mr8335214ejc.168.1610940094944; Sun, 17 Jan 2021 19:21:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610940094; cv=none; d=google.com; s=arc-20160816; b=jXXFSzpkdFo+H/Fg3SU21SykbBL352qESaEJPdlZYkN3ubaUyHy28ZFSBeVNda7jXG wTFYT4XPVtH9qc6bAiCB+pLgPfs3g5HDgf43dElFRsx2Zj6udgLnNpxLdyHCnhcpo0jg 71Bn2cQP+yT3WdKvGHMZ04Kd3pjwyeToLPnZJA8nGwrW42yWtdjpYXj6fy6T6o1bQpAz vtdTbfyFhSMRxN/ZK7QtNUhcc60HeNrEuKohWFRK7mxi+5zXIv6ROe6to9LSDn7zH1h1 kxWW4YyIyeeg874CQsGNNZhK2JtF106b6fHEfgOXf66XM0XvetsvapjGJoCT2IfiyLCh 3o/w== 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; bh=oOIz1ygx2XNFnVSnGry1+g8IuQvxfccA5/QAUMgrMOI=; b=hiQq+d0ftnZojUMDI6mvtwBYL+GWoSIGcgtO0Z4Omg8z8jz+Fr7V8dThYCsOCatehn qirFprM+PPN5eXVca+3HjtpRXtct4EZqRq/jMPp3bGapEO5O68aHN812Xf/I4YAbuKyq +CF813qAySB24lgWNEJWAKtMP55rI/F8Dcw55Kdx4CjTzECW9ANnKW+UUbzZoJZKv97p CPgnooWYJnZ13LIvmI8TdE7l5WvrYMsM2OfL9Nwog9JzDZa4V7MgmEzfifW6K6KopFqe xoyaBfIRkwSO0jpyxqXi4yXSrOlTol0i0pfPgQ5NPcoJoi4h/IuAiPfK92+2PwnMXgMr O32A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s16si6736441ejf.641.2021.01.17.19.21.34; Sun, 17 Jan 2021 19:21:34 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731526AbhARDVd (ORCPT + 6 others); Sun, 17 Jan 2021 22:21:33 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:11104 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731527AbhARDVc (ORCPT ); Sun, 17 Jan 2021 22:21:32 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DJxq34XL0z15v8r; Mon, 18 Jan 2021 11:19:43 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.176.220) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Mon, 18 Jan 2021 11:20:40 +0800 From: Zhen Lei To: Wei Xu , Rob Herring , devicetree , linux-arm-kernel CC: Zhen Lei Subject: [PATCH 1/6] arm64: dts: hisilicon: separate each group of data in the property "ranges" Date: Mon, 18 Jan 2021 11:16:29 +0800 Message-ID: <20210118031634.934-2-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20210118031634.934-1-thunder.leizhen@huawei.com> References: <20210118031634.934-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.176.220] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Do not write the "ranges" of multiple groups of data into a uint32 array, use <> to separate them. Otherwise, the errors similar to the following will be reported: soc: pcie@a0090000:ranges: [[33554432, 0, 2986344448, 0, 2986344448, 0, \ 100597760, 16777216, 0, 0, 0, 3086942208, 0, 65536]] is not valid under \ any of the given schemas (Possible causes of the failure): soc: pcie@a0090000:ranges: [[33554432, 0, 2986344448, 0, 2986344448, 0, \ 100597760, 16777216, 0, 0, 0, 3086942208, 0, 65536]] is not of type 'boolean' soc: pcie@a0090000:ranges:0: [33554432, 0, 2986344448, 0, 2986344448, 0, \ 100597760, 16777216, 0, 0, 0, 3086942208, 0, 65536] is too long Signed-off-by: Zhen Lei --- arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 4 ++-- arch/arm64/boot/dts/hisilicon/hip06.dtsi | 5 ++--- arch/arm64/boot/dts/hisilicon/hip07.dtsi | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) -- 1.8.3 diff --git a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi b/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi index 81d09434c5c610d..16e11fde3ed9020 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi @@ -565,8 +565,8 @@ device_type = "pci"; bus-range = <0x00 0xff>; num-lanes = <1>; - ranges = <0x81000000 0x0 0x00000000 0x4f00000 0x0 0x100000 - 0x82000000 0x0 0x3000000 0x3000000 0x0 0x01f00000>; + ranges = <0x81000000 0x0 0x00000000 0x4f00000 0x0 0x100000>, + <0x82000000 0x0 0x3000000 0x3000000 0x0 0x01f00000>; interrupts = ; interrupt-names = "msi"; #interrupt-cells = <1>; diff --git a/arch/arm64/boot/dts/hisilicon/hip06.dtsi b/arch/arm64/boot/dts/hisilicon/hip06.dtsi index 7980709e21ff020..78050d67a78645b 100644 --- a/arch/arm64/boot/dts/hisilicon/hip06.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hip06.dtsi @@ -737,9 +737,8 @@ #size-cells = <2>; device_type = "pci"; dma-coherent; - ranges = <0x02000000 0 0xb2000000 0x0 0xb2000000 0 - 0x5ff0000 0x01000000 0 0 0 0xb7ff0000 - 0 0x10000>; + ranges = <0x02000000 0 0xb2000000 0x0 0xb2000000 0 0x5ff0000>, + <0x01000000 0 0 0 0xb7ff0000 0 0x10000>; #interrupt-cells = <1>; interrupt-map-mask = <0xf800 0 0 7>; interrupt-map = <0x0 0 0 1 &mbigen_pcie0 650 4 diff --git a/arch/arm64/boot/dts/hisilicon/hip07.dtsi b/arch/arm64/boot/dts/hisilicon/hip07.dtsi index 7832d9cdec21c93..f477f442c275561 100644 --- a/arch/arm64/boot/dts/hisilicon/hip07.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hip07.dtsi @@ -1708,8 +1708,8 @@ #size-cells = <2>; device_type = "pci"; dma-coherent; - ranges = <0x02000000 0 0xa8000000 0 0xa8000000 0 0x77f0000 - 0x01000000 0 0 0 0xaf7f0000 0 0x10000>; + ranges = <0x02000000 0 0xa8000000 0 0xa8000000 0 0x77f0000>, + <0x01000000 0 0 0 0xaf7f0000 0 0x10000>; #interrupt-cells = <1>; interrupt-map-mask = <0xf800 0 0 7>; interrupt-map = <0x0 0 0 1 &mbigen_pcie2_a 671 4 From patchwork Mon Jan 18 03:16:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 365446 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp1886569jap; Sun, 17 Jan 2021 19:21:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwhwNKZToPAJsq54nXo4jRlmWZrjKm41my3gJPqbM5Xj6F5+DzSIdibYBmLacZyatyLk1TA X-Received: by 2002:a05:6402:1b11:: with SMTP id by17mr5047158edb.373.1610940093447; Sun, 17 Jan 2021 19:21:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610940093; cv=none; d=google.com; s=arc-20160816; b=aUrfhYAzz7vRnDFNsyh/XKmWTx+JPgCuiCj2h/4YMAiQ4E26L93BXpYrU7mfIYpm0C xyRKIxIIK1vNiGvgNZAQW6SwbM4g/aA7rA2mlGI7xxWG45OB9LfmdItSWTDkZ81yYcZ6 S3fKnSaJa/uH99oehjCrKgV2xbldOpENXtWzyP2UEaAvVOhnXvarUIQijeWK0go3JSTO AzrJJI/botgroN9XI8IenUb14nG5+pUV/Sn/wZYtLdNx1Z2uFKnO6mNTqtYl8Zlvd4eK bqblur4plCSKdMMzutTT1r3WvaNds7fkbLeauq1dAlHKunTyybZM/KSRqvY3q8K/7fQC nwIg== 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; bh=lGGdPYT/psHJgO3yD6M9GTSuZpB0UaNLLkKMoGyVkLE=; b=nyERm+1Rd3uHyPwTK4GgMgUYDFJkxSPT9GbnWttNZIeGnUNGwsyAVHDqaB9ihu0yIS 6xwwTYWbVvIFf8m+IxMnZ26kt+g4W6yXAbuqUlLnFgUv3kocajPxi/qh2ra7McDQcPDt u8cX+16lxe9MQ7+Yt3wpk5bG8/iruC5I5ar2wLVnkX/Z3XZvxnaJAboM1Vofi/GAjZYt QE4+gx5CRyBy8yOXD81oP2mmP/lHLjQP2U54NkMx4BlqQppMTlj92lKGKK0yWsWWxKCS Z1DW+lUAnn5xJT3qNgIJRvX2ooD8aNxUdX15HevNxN+Vh1kqUeTSd1XJYwUkcVlf79PN LsRQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s16si6736441ejf.641.2021.01.17.19.21.33; Sun, 17 Jan 2021 19:21:33 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730600AbhARDVb (ORCPT + 6 others); Sun, 17 Jan 2021 22:21:31 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:11105 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731525AbhARDVb (ORCPT ); Sun, 17 Jan 2021 22:21:31 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DJxq34L02z15v8l; Mon, 18 Jan 2021 11:19:43 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.176.220) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Mon, 18 Jan 2021 11:20:41 +0800 From: Zhen Lei To: Wei Xu , Rob Herring , devicetree , linux-arm-kernel CC: Zhen Lei Subject: [PATCH 2/6] arm64: dts: hisilicon: place clock-names "bus" before "core" Date: Mon, 18 Jan 2021 11:16:30 +0800 Message-ID: <20210118031634.934-3-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20210118031634.934-1-thunder.leizhen@huawei.com> References: <20210118031634.934-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.176.220] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Look at the clock-names schema defined in arm,mali-utgard.yaml: clock-names: items: - const: bus - const: core The "bus" needs to be placed before the "core". Signed-off-by: Zhen Lei --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.8.3 diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index c6580c9f068ebf7..f9953303a3f44dc 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -1053,7 +1053,7 @@ "ppmmu3"; clocks = <&media_ctrl HI6220_G3D_CLK>, <&media_ctrl HI6220_G3D_PCLK>; - clock-names = "core", "bus"; + clock-names = "bus", "core"; assigned-clocks = <&media_ctrl HI6220_G3D_CLK>, <&media_ctrl HI6220_G3D_PCLK>; assigned-clock-rates = <500000000>, <144000000>; From patchwork Mon Jan 18 03:16:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 365445 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp1886559jap; Sun, 17 Jan 2021 19:21:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyfXvEpI5NsGg02GQUcQe72S9fB12SGLlxKgftSoAkqv0jaMo5gkJcg4kiypjQtRdrNKWGh X-Received: by 2002:a05:6402:22b7:: with SMTP id cx23mr43411edb.313.1610940093030; Sun, 17 Jan 2021 19:21:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610940093; cv=none; d=google.com; s=arc-20160816; b=hsdjtrfsWOcimB8QiKJdK3fVVSoRRn0XFRqk9MkC/2aVxwdI7k4M//N+wwn/1VNpIc w5K7eV3wnkz6HUGWWl6ybM6xZbEPihtxRTGJV9/6Vx0PeA/2Ht59Be8GgZL3rT16S1Ig 8/DRgwpCl9dsVplqeStwnLQHQ+DaUZoHKrPc1OOyaELZhR/2HYubpaKP6dtLzEBq/xFC cz2OewifDRCkEy28ShM0AGu1yBNo0c0dd1jK+0B2+PvNpWg7S7iLfft1p0fWvg1o7KBh vmvteocQJF1nnA2IHwMzHH6RHScfpzURDh7FnV2S5NXDxY5s7wzMREbM+emX0/0RcK61 Y9rg== 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; bh=TCiHYnUdV4+B/7BHMXeEWEUcB+UclbN/DoOJR2z4USA=; b=HhzEx9GGsKXgzC9BO0mNvUtDrF7f+2gQUcNqf7PdNcYLFHwf9DQmcmID3ql9kw9Bcf z3W48nuhAQUecTxXkuNrX60OKf8sCEYRkI5TdSd6+exu0+ierrXCNSkOwzGcntcsDniW hGHXpfh7uNfK/L+0ogUa04q2RTrxpicFfMh4J+7bjwYbvxG2/w8UQByw/SR3R72Kh5+L aJDlNtlzO7lIajl6PduWMXPPZVLt8KZW8TYNGucoUqaoIginZ1Q/ugOWi3YNBldxh0S9 +0nDs4Bv/uk0gOVBVsHH+6uP+g5KVHdv3nZPW5XQowBS0M5thNwXWidiLNG1vej0gpqN fAVw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s16si6736441ejf.641.2021.01.17.19.21.32; Sun, 17 Jan 2021 19:21:33 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731528AbhARDVb (ORCPT + 6 others); Sun, 17 Jan 2021 22:21:31 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:11551 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730600AbhARDVb (ORCPT ); Sun, 17 Jan 2021 22:21:31 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4DJxpk1LmFzMLYt; Mon, 18 Jan 2021 11:19:26 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.176.220) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Mon, 18 Jan 2021 11:20:42 +0800 From: Zhen Lei To: Wei Xu , Rob Herring , devicetree , linux-arm-kernel CC: Zhen Lei Subject: [PATCH 3/6] arm64: dts: hisilicon: normalize the node name of the module thermal Date: Mon, 18 Jan 2021 11:16:31 +0800 Message-ID: <20210118031634.934-4-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20210118031634.934-1-thunder.leizhen@huawei.com> References: <20210118031634.934-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.176.220] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 1. Change the node name of the thermal zone to match '^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$', add suffix "-thermal". 2. Change the node name of the trip point to match '^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$', delete character "@". Signed-off-by: Zhen Lei --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 6 +++--- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) -- 1.8.3 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index bfb1375426d2b58..8b8d3d07b67fe84 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -1113,7 +1113,7 @@ thermal-zones { - cls0: cls0 { + cls0: cls0-thermal { polling-delay = <1000>; polling-delay-passive = <100>; sustainable-power = <4500>; @@ -1122,13 +1122,13 @@ thermal-sensors = <&tsensor 1>; trips { - threshold: trip-point@0 { + threshold: trip-point0 { temperature = <65000>; hysteresis = <1000>; type = "passive"; }; - target: trip-point@1 { + target: trip-point1 { temperature = <75000>; hysteresis = <1000>; type = "passive"; diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index f9953303a3f44dc..d426c6c8722b307 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -872,7 +872,7 @@ thermal-zones { - cls0: cls0 { + cls0: cls0-thermal { polling-delay = <1000>; polling-delay-passive = <100>; sustainable-power = <3326>; @@ -881,13 +881,13 @@ thermal-sensors = <&tsensor 2>; trips { - threshold: trip-point@0 { + threshold: trip-point0 { temperature = <65000>; hysteresis = <0>; type = "passive"; }; - target: trip-point@1 { + target: trip-point1 { temperature = <75000>; hysteresis = <0>; type = "passive"; From patchwork Mon Jan 18 03:16:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 365450 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp1886619jap; Sun, 17 Jan 2021 19:21:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJyl3/RwRf6O3vlArsgHdNZ++sFobJtsUxgP8Qa/ZnL+Ro52FSEZnp1xyUbkqAeeQabWXhiC X-Received: by 2002:a17:906:ca08:: with SMTP id jt8mr15225118ejb.368.1610940100711; Sun, 17 Jan 2021 19:21:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610940100; cv=none; d=google.com; s=arc-20160816; b=RZtdHJJ7xdaqbaUDqRRuwW0OBE48K35mOLdXwQhKNMVTxv4+OerjFQbU3AbwpZjYPE e5B0tNpGrW9XQ6eZyFrSOCsWp6f0k6j2gPsguLhOqv4y/6yxn0lq5eS8RWya7u4SIN0S EIlaReWnkowdEv8QsAHEct/U6KmwynBShwuxBnJ6RfR60ihLd2WlmMTjYlftWjAP9EUF 0viZrfjm/xJNG57Co68ok+dtTlKDASi9lvIUtwAYdE+7inDxEkH8upLkuXFay8cjsr/M qJYmKx7PjuL0ma/soKLnOlmMu2GsBFPKZq7YFm6/SYbk5QFMDxy3M7Ml72JuYuznczvb YfgQ== 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; bh=Uf16Q51z8q8EzdwAX4m7XKGShgrX6OIEYgDJ7pDI5zk=; b=QaEoKesvJAmJn4katAFN7dQ73YXVqACsclzZhSfiobCublKCBoCgjD2INQue6HtQ/P G8P1ZbYEyNx0RWBoUHWprYF5zxWfhYaiaFecfnzguSPr8UH/Th0y5iDf5isADkjkEXwx WQKM58FzbZD955PhjkplTn3yskWd111CI8gg9IfEl82XRPpFLYKUm2zZSw/RqKNf5MxD 33rppwpKuc7sSKPvXFlN/55fNXblnQeeDwOYLxsuqjqmja4rRwz55X7alyRlNSZlcOlT xaLUxvDjNAQddp3x/rYgOYmaAdi0vdVOc/NATGe6LY5hjVqxxGeviYVWzynYwKe4O81n TfnQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s16si6736441ejf.641.2021.01.17.19.21.40; Sun, 17 Jan 2021 19:21:40 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731529AbhARDVj (ORCPT + 6 others); Sun, 17 Jan 2021 22:21:39 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:11170 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731527AbhARDVj (ORCPT ); Sun, 17 Jan 2021 22:21:39 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DJxpq3VfVzl6Hs; Mon, 18 Jan 2021 11:19:31 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.176.220) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Mon, 18 Jan 2021 11:20:42 +0800 From: Zhen Lei To: Wei Xu , Rob Herring , devicetree , linux-arm-kernel CC: Zhen Lei Subject: [PATCH 4/6] arm64: dts: hisilicon: normalize the node name of the localbus Date: Mon, 18 Jan 2021 11:16:32 +0800 Message-ID: <20210118031634.934-5-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20210118031634.934-1-thunder.leizhen@huawei.com> References: <20210118031634.934-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.176.220] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Change the node name of the localbus to match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'. This error is detected by simple-bus.yaml. Signed-off-by: Zhen Lei --- arch/arm64/boot/dts/hisilicon/hip05.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.8.3 diff --git a/arch/arm64/boot/dts/hisilicon/hip05.dtsi b/arch/arm64/boot/dts/hisilicon/hip05.dtsi index 405acaa3e9ddab7..4aed8d440b3aa5a 100644 --- a/arch/arm64/boot/dts/hisilicon/hip05.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hip05.dtsi @@ -318,7 +318,7 @@ status = "disabled"; }; - lbc: localbus@80380000 { + lbc: local-bus@80380000 { compatible = "hisilicon,hisi-localbus", "simple-bus"; reg = <0x0 0x80380000 0x0 0x10000>; status = "disabled"; From patchwork Mon Jan 18 03:16:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 365449 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp1886614jap; Sun, 17 Jan 2021 19:21:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJxb8p5RG9OcdLcARBYjGtO1djhM846dVTLB5CmYlO8RwlSM/eqJYuay1fNhvOB8eThCWFfI X-Received: by 2002:a17:906:86cf:: with SMTP id j15mr8575934ejy.216.1610940100300; Sun, 17 Jan 2021 19:21:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610940100; cv=none; d=google.com; s=arc-20160816; b=NmpJn1tceTYrYnQZwAv9fT2125sMkXUm6WaUid6R1C7+FEa/H8jZ1dPC/gQkac42PB 6ebkwFARatjlnSVns/7x7u3fcI6lekbOqxsLKSOJjCWB+xKNEjtGguk/EKdIxYopoUdt RXMWnHd8jUWsBB8tMdxTfNqYm30d/mabCrmPyI7bE0zZouh8N2Ib4v0s7ummI0JfjkW+ YbZY7sMN9pLaH3M5yJJPXWQTo0QZvmNuXZsvQ8WONwNdwMOumlsP0YrWNiHgU9o3sbDX uUqI5llyYJ6iy8zJB2UlPqsClA10sfI6UuWqvYtIxQ2RZ2Py59TfTHMym9tIYWQvbRq7 p4Aw== 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; bh=9jHKC4AZp/Fa1VfLUCGmI9ia9bQle5ZfPyU9zPb2XFA=; b=qiyBGKBW92wqctnjXu+2TRTpt/TwjO+GDnVb1E5kUofN8NqGprzvPR2skdg06fETI7 qaeVD3pxo2VBNJ6hITHBMmbGbnb/3KICYVcU9THoBxV8mU0uyrLhACORKBMgyDM1as+Z S+4W+Hw3IenJ9nD/e9SNjPYsw9t50ZlrUbxs3FYhbDZI7SHWr65wzNKaHfk0X4YKX++q lGy+ZJDwwlrZJL/OOIBSChSkXBi16Bz8/cduTzLQ+dPJcQBDzWKwj3VjB1b2VtzFnsDK oMepwthdVxsdQmsdk5Hdqn5zLmluVwm+PsoBDka7KIsMApGNHbhWiHD7s7/N8243fltj n/fA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s16si6736441ejf.641.2021.01.17.19.21.40; Sun, 17 Jan 2021 19:21:40 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731534AbhARDVj (ORCPT + 6 others); Sun, 17 Jan 2021 22:21:39 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:11171 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731529AbhARDVi (ORCPT ); Sun, 17 Jan 2021 22:21:38 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DJxpq3hMtzl6Hv; Mon, 18 Jan 2021 11:19:31 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.176.220) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Mon, 18 Jan 2021 11:20:43 +0800 From: Zhen Lei To: Wei Xu , Rob Herring , devicetree , linux-arm-kernel CC: Zhen Lei Subject: [PATCH 5/6] arm64: dts: hisilicon: avoid irrelevant nodes being mistakenly identified as PHY nodes Date: Mon, 18 Jan 2021 11:16:33 +0800 Message-ID: <20210118031634.934-6-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20210118031634.934-1-thunder.leizhen@huawei.com> References: <20210118031634.934-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.176.220] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Currently, the names of several nodes incorrectly match common PHY provider schema. And the phy-provider.yaml requires them must have property "#phy-cells". As a result, false positives similar to the following are reported: usb2-phy@120: '#phy-cells' is a required property Change their names slightly so that they do not match pattern: "^(|usb-|usb2-|usb3-|pci-|pcie-|sata-)phy(@[0-9a-f,]+)*$". Signed-off-by: Zhen Lei --- arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.8.3 diff --git a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi b/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi index 16e11fde3ed9020..a83b9d4f172e350 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi @@ -113,7 +113,7 @@ #size-cells = <1>; ranges = <0x0 0x8a20000 0x1000>; - usb2_phy1: usb2-phy@120 { + usb2_phy1: usb2_phy@120 { compatible = "hisilicon,hi3798cv200-usb2-phy"; reg = <0x120 0x4>; clocks = <&crg HISTB_USB2_PHY1_REF_CLK>; @@ -134,7 +134,7 @@ }; }; - usb2_phy2: usb2-phy@124 { + usb2_phy2: usb2_phy@124 { compatible = "hisilicon,hi3798cv200-usb2-phy"; reg = <0x124 0x4>; clocks = <&crg HISTB_USB2_PHY2_REF_CLK>; From patchwork Mon Jan 18 03:16:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 365451 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp1886626jap; Sun, 17 Jan 2021 19:21:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJykmbWHPutD0sH+6xD22U7y6aTrjbBOB8u0t4cm1PS48OMjutn8+f0GDKXAZUOH7qY6RRTu X-Received: by 2002:aa7:c652:: with SMTP id z18mr16840622edr.60.1610940101521; Sun, 17 Jan 2021 19:21:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610940101; cv=none; d=google.com; s=arc-20160816; b=VTpmOnwNDwH3pRnJjeWtG+z3jnRlY9d0JyQMtYJavO5D+KLqoZPSBlwF1/3j/ukZBv 9fqY83Sn4MjYyMerYjlLtrBgc04rCzR/W8EDA0oZ1PV4oeuo+fBv/GmSKffwogHLZ9zA n84L0apyhXJkOJR+tYfeQrpT+SMJ9HkNT5QdZ55IF51B18d4yVBAgMItoeZfjrs/tb8R hHy0yUrBkiF+7819hUk/tUYD9ndRWEnmPjiJeM51fIXhyiJLX8NzxLAvB1KBxmvSK1Ev J3zDpsKBzWJ5KE1AySDj5x/jK3CKIvE8lMLrqpqcCOmtsgn8GsTJFmjfKSvgCouPd9WZ iQSw== 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; bh=PaEI1sAds6OCCCJkQ49KjGw7DNxO9fx95kCcL3wKy30=; b=YySPS57CwEoRuvntC1Zz4xNHRtrxQHMMAOgdEntF2RZMzObghfy+8MyFjMwQ1znWVn nEySRL59ww4ekPekNF9s8zTUD7HMpR0/DvygcDU2KYfIiL24nt2wa4iIVndB9vzcjVKE In4N12oCph9s00+D/W9IZpcv136M6yB7a0JzU+TnaSq8ZYo4uju8qzs1YgKEMTmIH6Xx 8C65ran/hNTJXvbNZ7OXsa1MB+DI03hyjbH6ti9ktRrwu+PT//97Qp2VMot1AkZnMZ0L GRmd/01WJcjfmRKVF6NuzD5yg3xVzBwqJVSxxvfHl3cOJXFeDHRj1vrKDnwfFiQqtVZS 9Q0g== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s16si6736441ejf.641.2021.01.17.19.21.41; Sun, 17 Jan 2021 19:21:41 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731527AbhARDVk (ORCPT + 6 others); Sun, 17 Jan 2021 22:21:40 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:11169 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731533AbhARDVk (ORCPT ); Sun, 17 Jan 2021 22:21:40 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DJxpq3t7Jzl6Hx; Mon, 18 Jan 2021 11:19:31 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.176.220) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Mon, 18 Jan 2021 11:20:43 +0800 From: Zhen Lei To: Wei Xu , Rob Herring , devicetree , linux-arm-kernel CC: Zhen Lei Subject: [PATCH 6/6] arm64: dts: hisilicon: delete unused property smmu-cb-memtype Date: Mon, 18 Jan 2021 11:16:34 +0800 Message-ID: <20210118031634.934-7-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20210118031634.934-1-thunder.leizhen@huawei.com> References: <20210118031634.934-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.176.220] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The "smmu-cb-memtype" is a private property developed by the Hisilicon driver in the early stage and is not used now. So delete it. Otherwise, below YAML check warnings are reported: arch/arm64/boot/dts/hisilicon/hip06-d03.dt.yaml: iommu@a0040000: \ 'smmu-cb-memtype' does not match any of the regexes: 'pinctrl-[0-9]+' arch/arm64/boot/dts/hisilicon/hip07-d05.dt.yaml: iommu@a0040000: \ 'smmu-cb-memtype' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Zhen Lei --- arch/arm64/boot/dts/hisilicon/hip06.dtsi | 1 - arch/arm64/boot/dts/hisilicon/hip07.dtsi | 5 ----- 2 files changed, 6 deletions(-) -- 1.8.3 diff --git a/arch/arm64/boot/dts/hisilicon/hip06.dtsi b/arch/arm64/boot/dts/hisilicon/hip06.dtsi index 78050d67a78645b..7deca5f763d5037 100644 --- a/arch/arm64/boot/dts/hisilicon/hip06.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hip06.dtsi @@ -335,7 +335,6 @@ reg = <0x0 0xa0040000 0x0 0x20000>; #iommu-cells = <1>; dma-coherent; - smmu-cb-memtype = <0x0 0x1>; hisilicon,broken-prefetch-cmd; status = "disabled"; }; diff --git a/arch/arm64/boot/dts/hisilicon/hip07.dtsi b/arch/arm64/boot/dts/hisilicon/hip07.dtsi index f477f442c275561..2172d807118143c 100644 --- a/arch/arm64/boot/dts/hisilicon/hip07.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hip07.dtsi @@ -1166,7 +1166,6 @@ reg = <0x0 0xa0040000 0x0 0x20000>; #iommu-cells = <1>; dma-coherent; - smmu-cb-memtype = <0x0 0x1>; hisilicon,broken-prefetch-cmd; status = "disabled"; }; @@ -1181,7 +1180,6 @@ #iommu-cells = <1>; dma-coherent; hisilicon,broken-prefetch-cmd; - /* smmu-cb-memtype = <0x0 0x1>;*/ }; p0_smmu_alg_b: iommu@8d0040000 { compatible = "arm,smmu-v3"; @@ -1194,7 +1192,6 @@ #iommu-cells = <1>; dma-coherent; hisilicon,broken-prefetch-cmd; - /* smmu-cb-memtype = <0x0 0x1>;*/ }; p1_smmu_alg_a: iommu@400d0040000 { compatible = "arm,smmu-v3"; @@ -1207,7 +1204,6 @@ #iommu-cells = <1>; dma-coherent; hisilicon,broken-prefetch-cmd; - /* smmu-cb-memtype = <0x0 0x1>;*/ }; p1_smmu_alg_b: iommu@408d0040000 { compatible = "arm,smmu-v3"; @@ -1220,7 +1216,6 @@ #iommu-cells = <1>; dma-coherent; hisilicon,broken-prefetch-cmd; - /* smmu-cb-memtype = <0x0 0x1>;*/ }; soc {