Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp517254pxk; Wed, 2 Sep 2020 07:48:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwW4vA4Kjg9tFvrYr06+qNrDt9r/SxW6AcNtGLoGqVd0eqpAuZTj63KVTMlvMnj9rXGeSWP X-Received: by 2002:a05:6402:12d1:: with SMTP id k17mr371917edx.323.1599058080740; Wed, 02 Sep 2020 07:48:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599058080; cv=none; d=google.com; s=arc-20160816; b=iAEsi75L948Ho4Oy5Oxky9uYoHulli+Dd8n8zbayNlRnzdCOF5VNWyXkCNLt4DWuYa R2o7XkQJ5pUyKGo87nWTYbmSVm2B2MU/ZxHY8kuvmYspWc2Zbp8Ucay1CcL4xZ6YcqGU 1dghr+eCKSafY5lByp2mj4i5fzYvCkH2nwlubT3uWLZrty3dHGGHGIBJ5FnIKcQbrbii 8M+/S4KapQ6bcyrknPu2Xwy7m7u6gn8/XGWZQaK48rqSDj92gjJi6nLkPUvq6bATdb83 8jAERORSbeJZS0KO+gGOnFKmNsOTH5t3UlsG+K0DO7f55WJNchuDORL1bKSl66+CCJSn SmKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=B/zlgCI9QrJNPU4JJlp1UP/IMi9j+4O0vRWsFWmv0KI=; b=MMzaoxE2H07GJrTjjg4tsBq72UzFRVGAY6Ztjs6loYWpQO1HI6ga9Mh7S1vRYe2DSh Nugmw2cs8Ahpa1axEJzwuR6ozVAItJWSRQrS1eF403vKReZXQSJnj/nTn7lPiydiUl93 ZHojc/rdOVGX/2k33U8CXmTtgy61ncdamZFEIMjlM5xEEMSyMZIv6u1pR+wwFZ44NKSd g1hhgJZeAhG6AzD5xO7nVNmFi3u6a2qEveyoXNsUHm6ZbyfeSnADvThrQA8+zIjGjCSq bsG4xHipG2hIBkv1JlKDjNFyvOjk3J7mI8pD/TgjZuJTSC6PfR10xHjZN9MiROzxH6ed 2/6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VLaaxBL3; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k3si2807462eds.225.2020.09.02.07.47.37; Wed, 02 Sep 2020 07:48:00 -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; dkim=pass header.i=@linaro.org header.s=google header.b=VLaaxBL3; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727955AbgIBOoj (ORCPT + 99 others); Wed, 2 Sep 2020 10:44:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727949AbgIBOlC (ORCPT ); Wed, 2 Sep 2020 10:41:02 -0400 Received: from mail-vs1-xe41.google.com (mail-vs1-xe41.google.com [IPv6:2607:f8b0:4864:20::e41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 585BAC061244 for ; Wed, 2 Sep 2020 07:41:02 -0700 (PDT) Received: by mail-vs1-xe41.google.com with SMTP id q67so2665097vsd.5 for ; Wed, 02 Sep 2020 07:41:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=B/zlgCI9QrJNPU4JJlp1UP/IMi9j+4O0vRWsFWmv0KI=; b=VLaaxBL3UFPDYVUJ5u3qnhXXYiWouCcUpbGhcl8mkRK7KVGFsfz0SiYYjhEZeqM6ev kLwMmuI2R1ybRDGdb62aq4/OF0wCpEegWeULD0pDxvQvQOYdsqWMqsQeAS2Reo9i5x5/ q3Pj+eXZKms7JnqjKxS3W+KSojCcZudHAlWt9N4kJIusQD/NA3fN6BjnG+ZzVxveCxP0 fjiTplf6t9cfgtQFRLmsTZPxJBxWO0rDplJuR+eYWn/uJvMpbzs4bqoGe1znbGzedqNS 6Div+I9dOBnHLRefDLL+pXF2AJyMinxm8k5BWY7L7wyVghBHL/1XrzKok+a9FLkC8/x9 EIyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=B/zlgCI9QrJNPU4JJlp1UP/IMi9j+4O0vRWsFWmv0KI=; b=X1DimKxJp/hhvS34J7dATKQuPT1FHJ7/665x5j1DP7gMTVYGMHDlyc7K0LYG5/JKRQ XQs35WEyPXH+T8jaVxfNRQHXDiB6Ug03wFkUFJpMPVgCrthRNYJSCymfIz8ZZtu183yF 8Prwj7d7gAeY3uWeujmrUUoMK7kRMJbpGLYTP4JNwUe7W5k8D4hadiTp7m2Ch7v74uhB w0j6MxAW8KIcupMlAMXcWgCF/ha3VW1t6DM7B4Y2VPXHBSUdVKZ+4bZfqc7/XjhaqVjh 73K3s2FrBmeMiKifVLNVtqygyZsO4AXP75l0tHq7x1C7+US/dTds2o3ru/OqO53S7+zq f4dw== X-Gm-Message-State: AOAM5335DOp+wh6Lh1V9EaMbr+TkJgRG7xNl1WXSGQZHGsZqHwGr+2VC KjyX/SV/h1ClPy/g5BKNiRnlbKNhh99VLHqW9K2a5g== X-Received: by 2002:a67:e9d4:: with SMTP id q20mr5209551vso.83.1599057661252; Wed, 02 Sep 2020 07:41:01 -0700 (PDT) MIME-Version: 1.0 References: <20191112110330.179649-1-pihsun@chromium.org> <20191112110330.179649-5-pihsun@chromium.org> <2abf8fdd-7b7c-73b0-beea-9c9ac56869dc@gmail.com> In-Reply-To: <2abf8fdd-7b7c-73b0-beea-9c9ac56869dc@gmail.com> From: Naresh Kamboju Date: Wed, 2 Sep 2020 20:10:49 +0530 Message-ID: Subject: Re: [PATCH v21 4/4] arm64: dts: mt8183: add scp node To: Matthias Brugger , Eddie Huang , Linux-Next Mailing List Cc: Pi-Hsun Shih , Erin Lo , Rob Herring , Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/Mediatek SoC support" , "moderated list:ARM/Mediatek SoC support" , open list , Alexandre Courbot , Bjorn Andersson , Anders Roxell , lkft-triage@lists.linaro.org, Stephen Rothwell Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 27 Aug 2020 at 15:44, Matthias Brugger wrote: > > > > On 12/11/2019 12:03, Pi-Hsun Shih wrote: > > From: Eddie Huang > > > > Add scp node to mt8183 and mt8183-evb > > > > Signed-off-by: Erin Lo > > Signed-off-by: Pi-Hsun Shih > > Signed-off-by: Eddie Huang > > Sorry I somehow oversaw this. Next time please don't doubt to ping me. > > Bjorn, do I understand correctly that you don't send emails to the list > informing of the inclusion of a patch/series in your tree? > > Anyway applied now to v5.9-next/dts64 :) arm64 build dtbs failed on linux next 20200902. mt8183.dtsi:342.21-352.5: ERROR (phandle_references): /soc/scp@10500000: Reference to non-existent node or label "scp_mem_reserved" build log, make -sk KBUILD_BUILD_USER=TuxBuild -C/linux ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- HOSTCC=gcc CC="sccache aarch64-linux-gnu-gcc" O=build dtbs # ../arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but its #address-cells (1) differs from / (2) ../arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but its #size-cells (1) differs from / (2) ../arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but its #address-cells (1) differs from / (2) ../arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but its #size-cells (1) differs from / (2) ../arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but its #address-cells (1) differs from / (2) ../arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but its #size-cells (1) differs from / (2) ../arch/arm64/boot/dts/mediatek/mt8183.dtsi:342.21-352.5: ERROR (phandle_references): /soc/scp@10500000: Reference to non-existent node or label "scp_mem_reserved" > > Thanks! > > > --- > > Changes from v20 ... v14: > > - No change. > > > > Changes from v13: > > - Change the size of the cfg register region. > > > > Changes from v12 ... v10: > > - No change. > > > > Changes from v9: > > - Remove extra reserve-memory-vpu_share node. > > > > Changes from v8: > > - New patch. > > --- > > arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 11 +++++++++++ > > arch/arm64/boot/dts/mediatek/mt8183.dtsi | 12 ++++++++++++ > > 2 files changed, 23 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts > > index 1fb195c683c3..ddb7a7ac9655 100644 > > --- a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts > > +++ b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts > > @@ -24,6 +24,17 @@ memory@40000000 { > > chosen { > > stdout-path = "serial0:921600n8"; > > }; > > + > > + reserved-memory { > > + #address-cells = <2>; > > + #size-cells = <2>; > > + ranges; > > + scp_mem_reserved: scp_mem_region { > > + compatible = "shared-dma-pool"; > > + reg = <0 0x50000000 0 0x2900000>; > > + no-map; > > + }; > > + }; > > }; > > > > &auxadc { > > diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi > > index 10b32471bc7b..e582f5e6691d 100644 > > --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi > > +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi > > @@ -269,6 +269,18 @@ pwrap: pwrap@1000d000 { > > clock-names = "spi", "wrap"; > > }; > > > > + scp: scp@10500000 { > > + compatible = "mediatek,mt8183-scp"; > > + reg = <0 0x10500000 0 0x80000>, > > + <0 0x105c0000 0 0x19080>; > > + reg-names = "sram", "cfg"; > > + interrupts = ; > > + clocks = <&infracfg CLK_INFRA_SCPSYS>; > > + clock-names = "main"; > > + memory-region = <&scp_mem_reserved>; > > + status = "disabled"; > > + }; > > + > > systimer: timer@10017000 { > > compatible = "mediatek,mt8183-timer", > > "mediatek,mt6765-timer"; > > full build log, https://builds.tuxbuild.com/_IfeLhOWMWxIkRkmAtAwOQ/build.log -- Linaro LKFT https://lkft.linaro.org