From patchwork Thu Dec 8 15:30:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= X-Patchwork-Id: 13068595 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E3E49C4332F for ; Thu, 8 Dec 2022 16:32:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=z30MhtL+u7S2A9hQhT9mbXe8y/2Y+pGEu89O6Itn2TI=; b=BAsrsyzN3PXjJt xI4dV6Ercz5uXS7zeD7NlxOJAy3l6wEKbjOAMXdS2Q92tb8tkvt9cbRZULb0MovjoMezHKsmHdKH0 L4qRrtfk0Ck2HqyDHof5MW1YJE81aM4OzeNgUsdTEuSg1KOobRThhjiSmj0fE7CiWk1Zhv1PX97wX 0Q3wHN89MqU0rnYOWLsBwxUFKVJ5xps8+zQEFc39ZVkv6ryXII27K+lQbQGoEw07V4OPksB/Zsb+o LXGT2cXCqTmX5ZUXAdyO3hpATP5EYg852XIupgOk/O0v2rusLHlLidj0dOQtDYxJUGnKsrBvy5KG7 qfOAJA4ckm9PIiXez19A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p3Jnm-005EmB-P6; Thu, 08 Dec 2022 16:31:14 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p3IrF-003Ucx-VX for linux-arm-kernel@lists.infradead.org; Thu, 08 Dec 2022 15:30:49 +0000 Received: by mail-wr1-x42c.google.com with SMTP id bx10so2067304wrb.0 for ; Thu, 08 Dec 2022 07:30:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=h77EcyzmHrKVFjoWMhSpWChgCbULzYbCN7M8zPTR4Iw=; b=QgAChH6txpKBJOTvAjnQBz3MysBSBiOnM5ttfAOm8LpwpJ97PQJ8EmkR9SCHMcabT5 vFh5XmCYpbB+uyotqBwdWN/MV12wGjYu8sIXBvteNu+qwwGqg0RqxMVYrkL5Fmg42D1s Vw+s0On6BlcqG3i2ZEvuWQSAeVxXYNlWqYa/QUL1I4JOu9okydOJVcxTtaAYC/qlTHkz It0ii48J1VnQLMQ2PG5qZ3buHA11R5HeBQvTIk2Ef8EvtW9FwRuae4juJ42ocUPuIBQf xzNMtHlxR9shDDM4GT1gkvEEFCsqKJvfwposyXsLOnwkhrWXSsf2Q2BMgKQqw41O6pJC 16gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=h77EcyzmHrKVFjoWMhSpWChgCbULzYbCN7M8zPTR4Iw=; b=1UsxDeqWsK4C/PMnAWUz7yxccPOhy9bun0GjU+lmwIRtd730LlFWb84hsE/H9CvJJj lEkExioWbe9K1JrgO3wGEgyftSFq3vQ7G0gIl8V61UIB+2xhrty/iIeRAnm5Jiocqgmz /22PQ8ykEejPY9TJ5FX+XB0SRgzljNrIDLRnwpazwHlNkBpowhTKqYdcM7QpJg4W/9o6 2+UancpnqBgQd8ivJico8nq4Rh9Lr24Mpk+WAno9rjxUq/tzNiItmWjnTp70SW8xsWHC d4SBTIGLlqFGtQT88eVL4KhoKB7SBt91u+3XMaFE8xJVcUpsfMLn0jmjQIgxAlO92hL6 FkXg== X-Gm-Message-State: ANoB5pl88OCB4FUV3XdxnfUpv1YtkDlzOuRkNFLI5kaB3OA6zpkW2qBj wKjzpp/9SCzchMgFHz4V2ObBMw== X-Google-Smtp-Source: AA0mqf5K5q5nQ3njTNZN5t/9f0Vch718YFsJMVTBQEXPX4bIWOp+q5Hl1/ug4qvyMu45VA6losj1Tg== X-Received: by 2002:adf:dc4b:0:b0:242:149:9f0b with SMTP id m11-20020adfdc4b000000b0024201499f0bmr1682892wrj.55.1670513442704; Thu, 08 Dec 2022 07:30:42 -0800 (PST) Received: from predatorhelios.baylibre (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id h10-20020a5d504a000000b002366553eca7sm10673239wrt.83.2022.12.08.07.30.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 07:30:42 -0800 (PST) From: =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= To: 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, angelogioacchino.delregno@collabora.com, khilman@baylibre.com Subject: [PATCH v4 0/7] Add minimal MT8365 and MT8365-EVK support Date: Thu, 8 Dec 2022 16:30:33 +0100 Message-Id: <20221208153041.3965378-1-bero@baylibre.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221208_073046_372689_CAF4816A X-CRM114-Status: GOOD ( 11.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. v4: - Remove pins-are-numbered references that have been holding things up now that the patches removing it from dt-bindings have landed in linux-next v3: - Remove a number of components that are not yet supported (they will come back alongside the corresponding drivers) - Address issues found by dt_binding_check (mostly fixing pinctrl bindings) - Address issues pointed out in comments - Reorder patches v2: - Add missing dt-bindings documentation - Small cleanups addressing issues in v1 pointed out by Krzysztof Kozlowski Bernhard Rosenkränzer (4): dt-bindings: arm64: dts: mediatek: Add mt8365-evk board dt-bindings: irq: mtk, sysirq: add support for mt8365 dt-bindings: mfd: syscon: Add mt8365-syscfg dt-bindings: pinctrl: add bindings for Mediatek MT8365 SoC Fabien Parent (3): dt-bindings: usb: mediatek,mtu3: add MT8365 SoC bindings dt-bindings: usb: mediatek,mtk-xhci: add MT8365 SoC bindings arm64: dts: mediatek: Initial mt8365-evk support .../devicetree/bindings/arm/mediatek.yaml | 4 + .../interrupt-controller/mediatek,sysirq.txt | 1 + .../devicetree/bindings/mfd/syscon.yaml | 1 + .../pinctrl/mediatek,mt8365-pinctrl.yaml | 197 ++++++++++ .../bindings/usb/mediatek,mtk-xhci.yaml | 1 + .../bindings/usb/mediatek,mtu3.yaml | 1 + arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 163 +++++++++ arch/arm64/boot/dts/mediatek/mt8365.dtsi | 343 ++++++++++++++++++ 9 files changed, 712 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/mediatek,mt8365-pinctrl.yaml create mode 100644 arch/arm64/boot/dts/mediatek/mt8365-evk.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8365.dtsi