Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp317841pxa; Thu, 27 Aug 2020 03:15:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6HMYtL5iVAsn7kKhn9fAuZrSTa8bUA+BoPlr8xNsmwYnz3X6bdPNHyQR0dT3nPeUYfRAd X-Received: by 2002:a17:906:194c:: with SMTP id b12mr10901609eje.459.1598523333705; Thu, 27 Aug 2020 03:15:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598523333; cv=none; d=google.com; s=arc-20160816; b=p8/Hm2DqdB50OlJZIpLZUH9tWHJFWH03XaH/9b72dM3fjrp++ygDPvAcfevXGoTik9 ms1HxcJg5tryWq1wwMt/Yuy2Fb4WdNafCZ1fI/U2AR/JOE5L5B9tUh2UN1WAE3xjPu8V ShHys0ywmCGhvBYuPs5P6APJtMSyPgLPrj/VSUcsSOxWm/yPquUIiKD4NVkkjbD3Eq7R b0SxclHfQtV/D98WL0oFUY0rP//+IORXybv3KMSMFhmLKvBr+kWMVILWri9JkTnQYCSf SLZ1MronWn/AW8btOIb2Zr/Tk2PbKaZ+x1bE1QHXfrIw2T8wi5CRlkgg4VvmMFr6K2J4 AbZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=tJ2qBYy1J9smz6qD4q0DxxYWxBNZOLm22YIjuTjWy58=; b=DjhIaasIi/IqaD5GhRG+VOKbQe4DKT82gyjzWU8de0itMAof+2aFEwf/Hh460divya WWmzU+6ul1AeZpFSBFp4yLYFkUW3yCZfIvsi8ypUyn1Fo0cgsHoJRXKAaxl8loSWfbmA cBjb2eKfUcfH1B/DVywo3ygss2msfdIfLj8G0pjhj9eHT06KJ/a7rDbS+q+a4ykKLP+4 V68Y+ftJbcUIwjC0xtz87glbWYm5sxt35Loul0GHumVY64gKXEsHnqj0VjfyzvmgnC/Q KF6byiVlS696JM5r27fUJ936g59oUOxLNjH0QDbysJ+cCPMTsLfMjt2bhWHLCbl4b7ef fBpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=T8XIF+kh; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c11si1286442edy.260.2020.08.27.03.15.10; Thu, 27 Aug 2020 03:15:33 -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=@gmail.com header.s=20161025 header.b=T8XIF+kh; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728373AbgH0KOQ (ORCPT + 99 others); Thu, 27 Aug 2020 06:14:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726938AbgH0KOP (ORCPT ); Thu, 27 Aug 2020 06:14:15 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41DCCC061264; Thu, 27 Aug 2020 03:14:15 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id f7so4824874wrw.1; Thu, 27 Aug 2020 03:14:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=tJ2qBYy1J9smz6qD4q0DxxYWxBNZOLm22YIjuTjWy58=; b=T8XIF+khS4jpM77nipAtN+a/XOqeLm8xxGRePhStxNqWXy8Gu4z4Zb1CfJOCXvI7en qWVVlK5OZtOsctcmy5ojT08hByjmpmKQ3PbiuCXftsjw4oUEQmJ5oM+Dity207FYBjbl 1ZmoVCpQ7/mK6ocozChiIBfAluWAUwssRcKDO/eGvb6dmK0FRssyLyeMs3Y0SXiKhz0+ SzG+d5dYoBNxNuomF0+q9ZnuINlQXZFEWOMrGh1TjF0kfJFgu0XGTcb4mtiXQusMIKJu UcRNJxNXbnGHfl+Ei631aBDn0Oj1oKLj64V6DAkELJ5TbWutoqWIjVjcQgoVF2Y2Rj35 cPrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tJ2qBYy1J9smz6qD4q0DxxYWxBNZOLm22YIjuTjWy58=; b=GCbZJs83+Yk5JXXHMh9JR9Kk6daxJjMQZhLzOTgwQUp5BsJvggNsNZOKQf75NQUytv KA+XgKOcF5QEJRjOQBDsSAYv0b6Q++a+K/NkdMJ3loPQIqmnqvKAQ0ZrJkCTIgTjR7cG X8okxKQvGupsGl0LG/cxxXk4gRmzDBq5YCTHS3V5drKU9p8IEjhjMLFkNEXggm5DpDyo UTZDcLAgc83/yg9qrlEoygxPywqZtfbrEbe1SrJdk7uNGi/Neajlw5QaTBs05DspLeRj oVFU2Jfou8FmrxCjzVUZlvAzNaLW95KgSRmbjpHM7FJOpV2uUz7beu2mm9RbWZvx1R+6 qDSg== X-Gm-Message-State: AOAM531LTucqoRpQAILn5zT/Ssw5VCFnn7JP4p1j0ccuza4VE7Ku+MpC jOsdVKNRX64m+Phj2yWEJE0= X-Received: by 2002:adf:8401:: with SMTP id 1mr19272710wrf.274.1598523253871; Thu, 27 Aug 2020 03:14:13 -0700 (PDT) Received: from ziggy.stardust ([213.195.119.187]) by smtp.gmail.com with ESMTPSA id b204sm4736840wmd.34.2020.08.27.03.14.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Aug 2020 03:14:13 -0700 (PDT) Subject: Re: [PATCH v21 4/4] arm64: dts: mt8183: add scp node To: Pi-Hsun Shih Cc: Eddie Huang , 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 References: <20191112110330.179649-1-pihsun@chromium.org> <20191112110330.179649-5-pihsun@chromium.org> From: Matthias Brugger Message-ID: <2abf8fdd-7b7c-73b0-beea-9c9ac56869dc@gmail.com> Date: Thu, 27 Aug 2020 12:14:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20191112110330.179649-5-pihsun@chromium.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 :) 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"; >