From patchwork Fri May 21 09:52:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 444649 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp812842jac; Fri, 21 May 2021 02:54:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy21ZgNemxYX07q7NIT/NfFWLBspARmvauaH0uuYv8aVR2iNmbz5l49VoV8UdU6MAAnRUMs X-Received: by 2002:a17:906:ae10:: with SMTP id le16mr9345871ejb.296.1621590879900; Fri, 21 May 2021 02:54:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621590879; cv=none; d=google.com; s=arc-20160816; b=yommpj6kk0kSL+BZlftj43RWDn/KdLO0lqpis5LXIzDrFSWmUQ18XDUFPoZpPdqNyr cixuONnpSL42pUGt82AxKoZcwPFeTFISkAJ67bRz2t6u9CILcuWWNKEl2QfAAoz8ODCK 3NrSLzcKHZJ+7GY0bFS7J0AakVfsjVjwgY6/0p8P5gE2h4CR//gAkLGeAD9KcdE9VfFN AmJhxV1F7dJq8wR+prIqE0kBSTJ7AsSPudQh1ecGhRLJYaFPvqkKBQeG0Vw3bXeXFsvf JHrsGVGxIKoYO8kZU9S75g4DYClN7eJFwBMnwg+ALKPjIbegQJ2waUdqoVALwr7C3kZK fbmQ== 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=NiwVStXQFEiM4QQyCnnAmiZiqJ5nMHAtF2khNYVeMwM=; b=LNq8IJTpSUalfzkilgzw91JUTD1MmxT7BpY9rLumTq+2duTR9QukMUqbRLpVgq38b7 qcymzrAkjtvwJ7S4Z1vhw1VkclUgBaQYp+K96MhQAS3QVL97dy4wYygjBnq5HTBCPoxG VMW78uvsX+9mLnQ5boNYlPfdJk/fgy05c6eUCQZJxHWdjIm1zBSRPAuSwRwyOZJH3EUG HeYG6mP9/8XKek1gPXiZ2L2nYWHYe1onmQKLWKmiidYSV0265T0a42xDHJRImz7tc2y+ EiUffI8EfnUM86xGvDSk1pYmozY4m9imP8wi9BoYOOj/9glvbzm3gqVc935mZJPTVd0A l2iw== 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 o3si4752140ejh.658.2021.05.21.02.54.39; Fri, 21 May 2021 02:54:39 -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 S237462AbhEUJzz (ORCPT + 7 others); Fri, 21 May 2021 05:55:55 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:5648 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237099AbhEUJyf (ORCPT ); Fri, 21 May 2021 05:54:35 -0400 Received: from dggems704-chm.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4Fmhg26grWz16Q8Q; Fri, 21 May 2021 17:50:22 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggems704-chm.china.huawei.com (10.3.19.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Fri, 21 May 2021 17:53:10 +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; Fri, 21 May 2021 17:53:10 +0800 From: Zhen Lei To: Matthias Brugger , Rob Herring , linux-arm-kernel , linux-mediatek , devicetree CC: Zhen Lei Subject: [PATCH 1/1] arm64: dts: mt8173-elm: Correct the value of the property 'reg' Date: Fri, 21 May 2021 17:52:43 +0800 Message-ID: <20210521095243.8527-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: dggems703-chm.china.huawei.com (10.3.19.180) 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 values of property '#address-cells' and '#size-cells' defined in the parent node are both 1. Therefore, the value 0 of the upper 32 bits cannot be written. This error is detected by reg.yaml, the information reported is as follows: arch/arm64/boot/dts/mediatek/mt8173-elm.dt.yaml: mt6397: syscfg_pctl_pmic@c000:reg:0: [0, 49152, 0, 264] is too long Signed-off-by: Zhen Lei --- arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.26.0.106.g9fadedd diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi index 21452c51a20a813..9bc02ea020f10e8 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi @@ -1112,7 +1112,7 @@ rtc: mt6397rtc { syscfg_pctl_pmic: syscfg_pctl_pmic@c000 { compatible = "mediatek,mt6397-pctl-pmic-syscfg", "syscon"; - reg = <0 0x0000c000 0 0x0108>; + reg = <0x0000c000 0x0108>; }; }; };