devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: "Bernhard Rosenkränzer" <bero@baylibre.com>,
	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
Subject: Re: [PATCH v2 01/15] arm64: dts: mediatek: Initial mt8365-evk support
Date: Tue, 15 Nov 2022 10:41:13 +0100	[thread overview]
Message-ID: <72de460d-8eb3-573f-ead2-3bfef0b0306c@linaro.org> (raw)
In-Reply-To: <20221115025421.59847-2-bero@baylibre.com>

On 15/11/2022 03:54, Bernhard Rosenkränzer wrote:
> From: Fabien Parent <fparent@baylibre.com>
> 
> 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 <fparent@baylibre.com>
> [bero@baylibre.com: Removed parts depending on drivers that aren't upstream yet, cleanups]
> Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com>
> ---
>  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 <fparent@baylibre.com>
> + * Bernhard Rosenkränzer <bero@baylibre.com>
> + */
> +
> +/dts-v1/;
> +
> +#include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/input/input.h>
> +#include <dt-bindings/pinctrl/mt8365-pinfunc.h>
> +#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 = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH 0>;
> +		};
> +
> +		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


  parent reply	other threads:[~2022-11-15  9:42 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-07 21:10 [PATCH] arm64: dts: mediatek: Initial mt8365-evk support Bernhard Rosenkränzer
2022-11-08 10:02 ` Krzysztof Kozlowski
2022-11-15  2:54 ` [PATCH v2 00/15] Initial Mediatek MT8365 SOC and MT8365-EVK board support Bernhard Rosenkränzer
2022-11-15  2:54   ` [PATCH v2 01/15] arm64: dts: mediatek: Initial mt8365-evk support Bernhard Rosenkränzer
2022-11-15  9:23     ` AngeloGioacchino Del Regno
2022-11-15  9:41     ` Krzysztof Kozlowski [this message]
2022-11-15  2:54   ` [PATCH v2 02/15] dt-bindings: watchdog: mtk-wdt: Add MT8365 SoC bindings Bernhard Rosenkränzer
2022-11-15  9:01     ` AngeloGioacchino Del Regno
2022-11-15  9:42     ` Krzysztof Kozlowski
2022-11-15  2:54   ` [PATCH v2 03/15] dt-bindings: iio: adc: mediatek: add " Bernhard Rosenkränzer
2022-11-15  9:02     ` AngeloGioacchino Del Regno
2022-11-15  9:42     ` Krzysztof Kozlowski
2022-11-15  2:54   ` [PATCH v2 04/15] dt-bindings: i2c: i2c-mt65xx: add binding for MT8365 SoC Bernhard Rosenkränzer
2022-11-15  2:54   ` [PATCH v2 05/15] dt-bindings: usb: mediatek,mtu3: add MT8365 SoC bindings Bernhard Rosenkränzer
2022-11-15  9:43     ` Krzysztof Kozlowski
2022-11-15  2:54   ` [PATCH v2 06/15] dt-bindings: usb: mediatek,mtk-xhci: " Bernhard Rosenkränzer
2022-11-15  9:44     ` Krzysztof Kozlowski
2022-11-15  2:54   ` [PATCH v2 07/15] dt-bindings: mmc: mtk-sd: add bindings for MT8365 SoC Bernhard Rosenkränzer
2022-11-15  9:44     ` Krzysztof Kozlowski
2022-11-15  2:54   ` [PATCH v2 08/15] dt-bindings: nvmem: mediatek,efuse: add MT8365 bindings Bernhard Rosenkränzer
2022-11-15  9:45     ` Krzysztof Kozlowski
2022-11-15  2:54   ` [PATCH v2 09/15] dt-bindings: mfd: syscon: Add mt8365-syscfg Bernhard Rosenkränzer
2022-11-15  9:45     ` Krzysztof Kozlowski
2022-11-15  2:54   ` [PATCH v2 10/15] dt-bindings: timer: Add compatible for Mediatek MT8365 Bernhard Rosenkränzer
2022-11-15  9:46     ` Krzysztof Kozlowski
2022-11-15  2:54   ` [PATCH v2 11/15] dt-bindings: pinctrl: add bindings for Mediatek MT8365 SoC Bernhard Rosenkränzer
2022-11-15  9:46     ` Krzysztof Kozlowski
2022-11-15 14:11     ` Rob Herring
2022-11-15  2:54   ` [PATCH v2 12/15] dt-bindings: soc: mediatek: pwrap: add compatible for mt8365 Bernhard Rosenkränzer
2022-11-15  9:46     ` Krzysztof Kozlowski
2022-11-15  2:54   ` [PATCH v2 13/15] dt-bindings: irq: mtk, sysirq: add support " Bernhard Rosenkränzer
2022-11-15  2:54   ` [PATCH v2 14/15] dt-bindings: thermal: mediatek: add documentation for MT8365 SoC Bernhard Rosenkränzer
2022-11-15  2:54   ` [PATCH v2 15/15] dt-bindings: arm64: dts: mediatek: Add mt8365-evk board Bernhard Rosenkränzer
2022-11-15  9:47     ` Krzysztof Kozlowski
2022-11-15 13:50   ` [PATCH v2 00/15] Initial Mediatek MT8365 SOC and MT8365-EVK board support Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=72de460d-8eb3-573f-ead2-3bfef0b0306c@linaro.org \
    --to=krzysztof.kozlowski@linaro.org \
    --cc=bero@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).