Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp165140pxk; Wed, 9 Sep 2020 01:59:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywH7oPAMVCUzsmnfb0YZSwyVr2j2czJ6Rd6FJidbOVw6qq136QDBJHy+Y1DJoeSg5tn/Ow X-Received: by 2002:a05:6402:1016:: with SMTP id c22mr3140790edu.89.1599641984782; Wed, 09 Sep 2020 01:59:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599641984; cv=none; d=google.com; s=arc-20160816; b=tmp7Gx1SdkyS0oahJTODqPyRqJN+sCisaWdskSG+ub+aR38EBHMKTaSU20D/l4HVdh mZK4Cr14Ego0qclN66Wcynxfokdq20d+fgOTLBGhod7qfcU4EtOFZ29+s0soJKjo1Xy1 kA9114ncaZt7s//nQWD7Frwfs4GJ6jb5EfC1m+Ukrr0klHCkLfHIsp4Zy+tgf0NZjalf xUFFRpVlzDyp9mKKuGHsFpFGbDzLwxnna5i1kFm8tdznPvuj4ARQYyvxgTHIrK9r/1eF I2S8BhTb1fDKGot8s3baWJxci++x9BzldFoDHreBlxSkwehQq5tHF+oeAixYeIPl4pCz A6XQ== 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=mY/fzmuc9Z9J54FdM2ZzI/TWtsjmz4gHfBgSVB4ZBAo=; b=KIVoxhlmIiowx8atrrO3HNW/to73PSk/ktu7z5KuXV4pV3Vn+xRFvgw+/aahdda62M uY26y1xcj+s6RAsTLcQgbtrBh99aWZYQKpGYj9X85aNzMmzWmgLSne6axi77FIN3k137 lx4+oC9egGMCEaTtJDZlp/6zbshMgOGpg6bb3XcyawsYYNE9KT81vF0xB4X0Kqh/25RE 0zydCPs5Wbaw1LoX17krBWNb6QVdQi6ftnJAi584ibSqcdKXGu6lRUZaWZcWQ9o6duQY dZPZiHWwH7PtQKwbww8bp2S4bPZksrCu/zX7x26RROp+0gv5+OQwzf2fFO1MRjvCmowk 4ovg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n5LZ7Lm+; 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 z4si1053683ejf.594.2020.09.09.01.59.22; Wed, 09 Sep 2020 01:59:44 -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=n5LZ7Lm+; 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 S1729135AbgIII6O (ORCPT + 99 others); Wed, 9 Sep 2020 04:58:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726440AbgIII6C (ORCPT ); Wed, 9 Sep 2020 04:58:02 -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 19416C061573; Wed, 9 Sep 2020 01:58:02 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id x14so2007013wrl.12; Wed, 09 Sep 2020 01:58:02 -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=mY/fzmuc9Z9J54FdM2ZzI/TWtsjmz4gHfBgSVB4ZBAo=; b=n5LZ7Lm+YDmFKKER+/ysMgI/kt0PyaoCrAXe1aD247+zCUUizrKYj6N+IvvXOS2kas NpY98kod+KZqr0NIu9MWhZcd+HqkWcYQJlrIXUhm0XObO0wFbjH13m0bKEM7LmG+mYir sPtBcQHjYxKxyMWQuBq5rFsOtKs+1nWxGNhHKmlJw39/mB9U6Kms6Eg+pRimya3W58+g CkuTu2/jgtvH6JWUn84QE+ADu1UmouhHMlYPdiI2Jezx2aUyuR/zRc3EWurt5tqIHsdM FRQkIXU2Z6LXkNSBnA1Kk1ZBG99ZFdsIt6kaFnnRgG7nGF0tuOD4Q81OdUeBnLd2DptB vsaw== 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=mY/fzmuc9Z9J54FdM2ZzI/TWtsjmz4gHfBgSVB4ZBAo=; b=qFKEpJ1VN9YnaKu23L3Xw7Jj9hBwJka5tDL0YTukbfWjH+4OT0y7GKO1pCtv+1BTGV Z5HAndTf7DpnV317R3/95IrDo7XxTERaSrc3C11z28E/VCMGPCuC3aa9mrh9L3SRYm8u 0NPWnypwS9VwkF/0C293ZXSb8jlmAtvoqmfNZk8hWToMbzS3Acjr1Hd3rUqmVq9I+vwP jUNz8FtwUPdVXllPbWNxyycJSHiuH4uprHMtMoU6Zt78KCOn5Oei+ZHThLl8SipO1Tq8 3DozoPMzoX6cGXfoIdm2arZ/+CJIkelWRJIAUmuHFYQBujKGa2gn3Pk/y/93LF9K0t9y RO+Q== X-Gm-Message-State: AOAM530VfrPAUWcnW+QxQBpzt5tpWQ3kqhvQrDJhfUr0TKSPTPPOga7F WyxoCR0mnZ/MNGifoRTcunSlVKt8Xcc= X-Received: by 2002:adf:f6c2:: with SMTP id y2mr2720456wrp.79.1599641880528; Wed, 09 Sep 2020 01:58:00 -0700 (PDT) Received: from ziggy.stardust ([213.195.113.201]) by smtp.gmail.com with ESMTPSA id d2sm3339157wro.34.2020.09.09.01.57.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Sep 2020 01:57:59 -0700 (PDT) Subject: Re: [PATCH v2] arm64: dts: mt8183-kukui: add scp node To: Pi-Hsun Shih Cc: Rob Herring , Eddie Huang , Erin Lo , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/Mediatek SoC support" , "moderated list:ARM/Mediatek SoC support" , open list References: <20200909081422.2412795-1-pihsun@chromium.org> From: Matthias Brugger Message-ID: Date: Wed, 9 Sep 2020 10:57:58 +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: <20200909081422.2412795-1-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 09/09/2020 10:14, Pi-Hsun Shih wrote: > Add scp node to mt8183-kukui > > Fixes: 0d5e41709f76 ("arm64: dts: mt8183: add scp node") > Signed-off-by: Pi-Hsun Shih > --- > > Change since v1: > * Add Fixes tag. > > --- > .../arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 30 +++++++++++++++++++ > 1 file changed, 30 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi > index f0a070535b34..85f7c33ba446 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi > @@ -90,6 +90,18 @@ pp3300_alw: regulator6 { > regulator-max-microvolt = <3300000>; > }; > > + reserved_memory: 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; > + }; > + }; > + Do we expect other boards to have a different memory reservation? I can see that EVB and Kukui uses the same. If not, we should add the node in mt8183.dtsi instead. Regards, Matthias > max98357a: codec0 { > compatible = "maxim,max98357a"; > sdmode-gpios = <&pio 175 0>; > @@ -524,6 +536,13 @@ pins_clk { > }; > }; > > + scp_pins: scp { > + pins_scp_uart { > + pinmux = , > + ; > + }; > + }; > + > spi0_pins: spi0 { > pins_spi{ > pinmux = , > @@ -651,6 +670,17 @@ pins_wifi_wakeup { > }; > }; > > +&scp { > + status = "okay"; > + pinctrl-names = "default"; > + pinctrl-0 = <&scp_pins>; > + > + cros_ec { > + compatible = "google,cros-ec-rpmsg"; > + mtk,rpmsg-name = "cros-ec-rpmsg"; > + }; > +}; > + > &soc_data { > status = "okay"; > }; >