From patchwork Tue Dec 13 23:43:39 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: 2934 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp427870wrn; Tue, 13 Dec 2022 15:47:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ZOt9BIqgIGaKXrFwDODsl4O7NTcAd/cXdkHBvK1kFuFtxC5kF4ufLS4/buhJNvBGFbT0y X-Received: by 2002:a17:907:7da0:b0:7c1:80d7:55f2 with SMTP id oz32-20020a1709077da000b007c180d755f2mr9586084ejc.48.1670975253806; Tue, 13 Dec 2022 15:47:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670975253; cv=none; d=google.com; s=arc-20160816; b=cxji0Ln6wHHfb3rnQFYLtVC709oVoaUBhPVO/DbsDP9ktI3vCeQJS/sf/VUADz3bRo +IstUQSpndTci3mfdPgMX0pNzkiDU+Rnzjd8mltPoPxfaJU9DDuDgcnoDieGfSIqLOvg 6GmQnDUDZSFwCiRKtmQY6RJ0Z/cRBioCw37XqtG/9Zw4+lvS78oTvccsrEnIXyLKHBpi O3vBB7yzdCA7FGVtxrwtlp/uKArSTWGSAbF0sq4rpNJ/9zIzvQLWZ2e37JDFsVDOrXs9 H1dVmaTNaUilGKILmNPdjDhZ07FXTzrPtIpZjp2NULoBdRJw6LOCr5AR45H2dvfGvhAc CjCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=18mlTDNeiNFp6aWfotvUw04NGasXq2KV7GNkrVMvEq8=; b=SO6U/aESgqLHy594jQRoO35sEy0Q+2v1incuj7v7Rv/uL1Q13+E+SL7s80Fv+YcfYj FkJHhyMXQduI5d+o8QyjFZE+mSySU7cSmvKCzQy49fvhiLy2zfaz/HEHUjALrj4y7AZ2 3XTAnUtfTB+U1WqjiChFQgJfIp0Zf8+TeDoONkUlbOF7Jli3OOhWF/VX5mCyeCT+AgR0 P5q+3XOrAzhwfWrlGioB1IRA6CB5vq5vF7e6a4NuruDk9Kn+BO0wiiJmjQ24f76J7bbm FJAZgRbITuevp39NxudRPyYX0EuwdJYM3JCHYGD/iNH/8e7J7rcGo549YZkbNQ1AWYoI OWlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=T9MdtWhx; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jw17-20020a17090776b100b007aa1aa8ca57si8376450ejc.859.2022.12.13.15.47.09; Tue, 13 Dec 2022 15:47:33 -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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=T9MdtWhx; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236827AbiLMXnz (ORCPT + 99 others); Tue, 13 Dec 2022 18:43:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236781AbiLMXnw (ORCPT ); Tue, 13 Dec 2022 18:43:52 -0500 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26A0918E2E for ; Tue, 13 Dec 2022 15:43:50 -0800 (PST) Received: by mail-ed1-x52a.google.com with SMTP id m19so20186410edj.8 for ; Tue, 13 Dec 2022 15:43:50 -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:to :from:from:to:cc:subject:date:message-id:reply-to; bh=18mlTDNeiNFp6aWfotvUw04NGasXq2KV7GNkrVMvEq8=; b=T9MdtWhx9DYyvvjsEzjQl6MfBrC9tm62K6mcS9HZ7BmF3ZvVjbZifSDI2vuAgf5gk/ NbJXPdFr8No+2EhbIPw6rPFe4FpbAytdJYCm6oTqAz0jtF0qmdousDKNpRjV34K3VwpN tqh87lFvh7HsTFOnfY7PxJXDwDyMEwJiewiBVCEpNhdJ4k4cQLYumGWQKmZA1P2itFfm rvHsnQg5HfCz5Fkq1AP2tYfz/1KeAnMgzYbqhJSkz7aRPrKRd3hl+htZfV0twEsCnm5M sDF9Np5pD4aBoiReX/VupgFJ02+bs5SeUGiKW46cR2h5RTWbfDgG7+wffQBY8hRVYnAW A17g== 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:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=18mlTDNeiNFp6aWfotvUw04NGasXq2KV7GNkrVMvEq8=; b=MTVt0ap6w3mZEjYSdF4KkGHPnx8zEsx8KO4pOMcETNaiQ75hlgp9YmnMxkshiGE5tM GbuTXzOOzIgrqVrYVz/kzSyr7wOFDtvs/BCH5oQYxKbH6Oa+mrmg10Obyhfzozqekm+p k5VAfuLp8Oni9vjirR4BVhIC2A9IcKXTmuxTqI/YNRWvIuqgS46mdtMePuoLLpOZO5tz fUqY/ptGmNAhqVl+QwlUlFdZcZ7FSGiydkyq7NXhcCxRT1bQtBOtm5DIcaqs8lfQPlqt 8I7/uygBQ4qID/0wqrRdHEmbuXFGbsAdZxzNjErSFy9nOXM6jeLGL80U7ll9Y7rjWYa6 WSIA== X-Gm-Message-State: ANoB5plZ6jklzeQLTy14pWwqj+aVmHYQRGT2lMy6lDTCU5uhT396KsZR Wg2R+TrXV9xaMxez/ezz9dTZGF+M18ZnsZKbmlQ= X-Received: by 2002:a05:6402:205c:b0:46d:c48c:50eb with SMTP id bc28-20020a056402205c00b0046dc48c50ebmr24569458edb.13.1670975028638; Tue, 13 Dec 2022 15:43:48 -0800 (PST) Received: from predatorhelios.fritz.box (dynamic-093-129-109-038.93.129.pool.telefonica.de. [93.129.109.38]) by smtp.gmail.com with ESMTPSA id f5-20020a05640214c500b00458b41d9460sm5407498edx.92.2022.12.13.15.43.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 15:43:48 -0800 (PST) From: =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= To: linux-mediatek@lists.infradead.org, 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 v5 0/7] Add minimal MT8365 and MT8365-EVK support Date: Wed, 14 Dec 2022 00:43:39 +0100 Message-Id: <20221213234346.2868828-1-bero@baylibre.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752144547852335734?= X-GMAIL-MSGID: =?utf-8?q?1752144547852335734?= 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. v5: - Reorder top-level entries in mediatek,mt8365-pinctrl.yaml to match example-schema - Use consistent quotes 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