Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6678232rwb; Tue, 15 Nov 2022 02:01:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf75+dYYq3oT3ywNQn0v1tFG/N5xqiqvUN042WHtb7Rp/RItISteVLXsnROJimvKB9S3ldsR X-Received: by 2002:a05:6402:5005:b0:462:a00e:1dab with SMTP id p5-20020a056402500500b00462a00e1dabmr14246872eda.135.1668506476687; Tue, 15 Nov 2022 02:01:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668506476; cv=none; d=google.com; s=arc-20160816; b=To/WOgSmj3MdcRh5uMS4I7xCf2d6cpNxQ1/7Udtr7WxOiT3U8t2rYpIKeb3BkmBRqO 2zwfDP8mj0ayTcZFfPjJL7ivpmllsW3SuzcS7iKj3iepmlssE5IMHYxD3eLus/9Xf+3Q MH51Lz4C9zpbwiSWAzhSv7yc8zDWOlJLIQq8oNBkqgI0HlvD2pgkf6zn4mxVc8Z5vwgB k9Ri7TnEHLwXE2TPqVQXo6f4rrznRVmHeNgzg2uMnTXzPseTuC35PYGAhDAHqjTmlr2h wdgdlz+SMiPm1yiXq3JB81/4oi0CYGfKQ/mDqHoP615sTSC8lCsRT4IP2uXAh+CcdV+/ jKQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=okPVXaFb4lXO/cyUcimbQaAZrfvwngLm31tMd8+vgm4=; b=R+Nr09OHHEkO4jMv/mMp86A2voVG+26yya8XzAKEqoOMgBKM/aGmFMMMFVgeSus2dQ p3tZO59ZhV7MRqnrJbOyo2vDfCs9dkVygWvgJneT8cLT1aDnWgeDRliQ+XrwAZbOvi8O r4VOAoDzMjgBwXhiUzWKx8ebbajO4z/GFQRxiUK1uoBwJbP/mB0D1CehezS90aq+DD6D Uz3hO6IONVXmeiI6lohDm+fME7ZuVlTYIQUnCH7rCEMLkvidp9O5FcQzvvPQguZZ51+6 tJi5wNQ/DgOYa91EMF4HAsT40Z+aS77oc1Hqhg7lMK/QRWQQBVb9iMBFh642IizdDSqS kS8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CrAfccNR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb4-20020a1709071c8400b007add6be8c86si11449155ejc.762.2022.11.15.02.00.54; Tue, 15 Nov 2022 02:01:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CrAfccNR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S233032AbiKOJmB (ORCPT + 88 others); Tue, 15 Nov 2022 04:42:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229900AbiKOJlz (ORCPT ); Tue, 15 Nov 2022 04:41:55 -0500 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D52AF1AF3F for ; Tue, 15 Nov 2022 01:41:16 -0800 (PST) Received: by mail-lj1-x232.google.com with SMTP id u2so16768581ljl.3 for ; Tue, 15 Nov 2022 01:41:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=okPVXaFb4lXO/cyUcimbQaAZrfvwngLm31tMd8+vgm4=; b=CrAfccNRzCZGtFn11OTODDpiYWGu2tZTWuHMXKZGG931Zbr1pNtch1lpX8KWBAUspQ byq4P4PKSx5lnNuewPZT5pBU/C6xW3nc2UNLyt7GFTiQi/mKS7YQbtP1WFNlIIZtrVjo +cv5iQqAMbD9AJhMbVrknwiZPlebvcnIY1l18TBSskX78YERI7MF5HxdSYEQzQHAdUdX 7mugxXeMSyEoiVWvtkNshVzmkh6x6CV6lTnOxiOExA1UFezANNlJXP5wOMCG1BDwlVnK J+dVKGiEXl7kW+82sRiQJDe0+l4jyS8V3Pj8cJhMsaptwy700hMw5TNaN2bLgNjNB1Z/ 12AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=okPVXaFb4lXO/cyUcimbQaAZrfvwngLm31tMd8+vgm4=; b=IABbLF/3KjHwlXDzsRSsCIeLioksI0ZIJO6thzySH0bgtC7gY79Jy6er4HeVTt2xFr dkk6T/0DrVn5xE11HIylUH7gRI1crCzE1p+zHAwNfiTcxItoTE3LQNqcPpy7kU5hXcRA XSi1AiQxwWvtdlbrhd15Ir0qhMlgy+9FCd/uNRPn3VvI5BnCwVMiSWV2OczknA1/ipXs cy1eTC3uChGk2sTGb0sqf7w/53T5p7HnXstfyJeN1zCwvBihY2hzIztEGqXzFbOAO38G wLghhmDVdhsc+YPHYPHkiBrsc/vsKyolCU283kyJk1vKjsmSVANULR0TXIVuIsu+DkFp 00gQ== X-Gm-Message-State: ANoB5pkWEaKnyjLt1POdk1VJXFoit34wmLixjftOCvVaTULZ5T4XJSTC N8uF7+HaU2cAMyn1/P79dHx7dA== X-Received: by 2002:a2e:b046:0:b0:278:fa79:3285 with SMTP id d6-20020a2eb046000000b00278fa793285mr3778824ljl.356.1668505275210; Tue, 15 Nov 2022 01:41:15 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id n22-20020a05651203f600b004ab98cd5644sm2148179lfq.182.2022.11.15.01.41.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Nov 2022 01:41:14 -0800 (PST) Message-ID: <72de460d-8eb3-573f-ead2-3bfef0b0306c@linaro.org> Date: Tue, 15 Nov 2022 10:41:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v2 01/15] arm64: dts: mediatek: Initial mt8365-evk support Content-Language: en-US To: =?UTF-8?Q?Bernhard_Rosenkr=c3=a4nzer?= , linux-mediatek@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com References: <20221107211001.257393-1-bero@baylibre.com> <20221115025421.59847-1-bero@baylibre.com> <20221115025421.59847-2-bero@baylibre.com> From: Krzysztof Kozlowski In-Reply-To: <20221115025421.59847-2-bero@baylibre.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/11/2022 03:54, Bernhard Rosenkränzer wrote: > From: Fabien Parent > > This adds minimal support for the Mediatek 8365 SOC and the EVK reference > board, allowing the board to boot to initramfs with serial port I/O. > > GPIO keys are supported, MMC is partially supported (needs the clocks > driver for full support). > > Signed-off-by: Fabien Parent > [bero@baylibre.com: Removed parts depending on drivers that aren't upstream yet, cleanups] > Signed-off-by: Bernhard Rosenkränzer > --- > arch/arm64/boot/dts/mediatek/Makefile | 1 + > arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 344 +++++++++++ > arch/arm64/boot/dts/mediatek/mt8365.dtsi | 601 ++++++++++++++++++++ > 3 files changed, 946 insertions(+) > create mode 100644 arch/arm64/boot/dts/mediatek/mt8365-evk.dts > create mode 100644 arch/arm64/boot/dts/mediatek/mt8365.dtsi > > diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile > index 0ec90cb3ef289..e668fd50a3326 100644 > --- a/arch/arm64/boot/dts/mediatek/Makefile > +++ b/arch/arm64/boot/dts/mediatek/Makefile > @@ -46,4 +46,5 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-cherry-tomato-r2.dtb > dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-cherry-tomato-r3.dtb > dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-demo.dtb > dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-evb.dtb > +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8365-evk.dtb > dtb-$(CONFIG_ARCH_MEDIATEK) += mt8516-pumpkin.dtb > diff --git a/arch/arm64/boot/dts/mediatek/mt8365-evk.dts b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts > new file mode 100644 > index 0000000000000..74e0f75231637 > --- /dev/null > +++ b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts > @@ -0,0 +1,344 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (c) 2021-2022 BayLibre, SAS. > + * Authors: > + * Fabien Parent > + * Bernhard Rosenkränzer > + */ > + > +/dts-v1/; > + > +#include > +#include > +#include > +#include "mt8365.dtsi" > + > +/ { > + model = "MediaTek MT8365 Open Platform EVK"; > + compatible = "mediatek,mt8365-evk", "mediatek,mt8365"; Missing bindings. > + > + aliases { > + serial0 = &uart0; > + }; > + > + chosen { > + stdout-path = "serial0:921600n8"; > + }; > + (...) > + > + soc { > + #address-cells = <2>; > + #size-cells = <2>; > + compatible = "simple-bus"; > + ranges; > + > + gic: interrupt-controller@c000000 { > + compatible = "arm,gic-v3"; > + #interrupt-cells = <4>; > + interrupt-parent = <&gic>; > + interrupt-controller; > + reg = <0 0x0c000000 0 0x80000>, > + <0 0x0c080000 0 0x80000>; > + > + interrupts = ; > + }; > + > + topckgen: syscon@10000000 { > + compatible = "mediatek,mt8365-topckgen", "syscon"; > + reg = <0 0x10000000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > + infracfg: syscon@10001000 { > + compatible = "mediatek,mt8365-infracfg", "syscon"; Missing bindings. Did you order your patches in logical order? Best regards, Krzysztof