From patchwork Mon Jan 23 16:38:24 2023 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: 4407 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1703714wrn; Mon, 23 Jan 2023 08:39:27 -0800 (PST) X-Google-Smtp-Source: AMrXdXtreM0ZLIPdGiXIkRG+W5Cz3DcrqUQ7YCOvqYgTfjALqrkGXCi/RAp9imWVbFSMQ/We3weQ X-Received: by 2002:a05:6a20:8c29:b0:a9:f48e:aea0 with SMTP id j41-20020a056a208c2900b000a9f48eaea0mr49302135pzh.9.1674491967165; Mon, 23 Jan 2023 08:39:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674491967; cv=none; d=google.com; s=arc-20160816; b=sQ3fTEl5sH+Z1yrLLwJqvp0fYOvE/PAPT2QnT8cwd6m+gXPkdpG1xUccfMfEULMhqV ZAsHjX7Poca7mnCDPKdfZtpVI+Teia8xd61lDxEVb1+9V8RpjXQnS0TyBbMzb/NtnDWk sZ4KMLS0Hbm9JOqyTlSLdUJti9cEJtkoIR3Wa6ayECe7KnkppwMIoM6QczaX6DOqVhYR JbTuZJeaH1BoRUCOeHVlFxojHe+/rwb7Gw8cU22q06WzhKy2HlrgQOiQu0ux5PPX8l23 qPG6RHkRYfysqi8swQN/yqE7ho1VHdQq2XaAHA174dgAo4ObQmUL/pKxrNyL1vujAC7v cL4Q== 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=ImwX9kdkxyCrfSxchCRVxcHp/q4vXtkqJGNHQ8DEkjc=; b=dQca/Ofq/8BpVqBJ35IbFTaXdQCRJglEKE0mk8XraK5v/ea8SBeN1NfzL8oUIutEMl 9Aty0orNxT1L+knG/n27v7QDDvvSnb0mTFHQk18sKhcn/L9jTRE0FYBcwarKPvIExqbs hhKXjWgzJ/pxmXEKLYBAwA+wxtv7WVBQYy46qPZ8JQdpIuiw3qfpAXCHXCcEDczT1bPY O95y/tWWKlwZSBeZV5uNhRjxLovgHX6ZqMW5KYr+cs80kQ6nJj1QdZazIhiXB1svqgwL n7Na03n2t2oAuUIFs5jQDsTLaJ79w1V8LaWeMdilTUemEpOT+21QLj04wwkCgTBIKzGV TqXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=4far6+Bs; 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 q145-20020a632a97000000b004ce5301ee08si22089259pgq.346.2023.01.23.08.39.14; Mon, 23 Jan 2023 08:39:27 -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=4far6+Bs; 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 S233244AbjAWQil (ORCPT + 99 others); Mon, 23 Jan 2023 11:38:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233225AbjAWQii (ORCPT ); Mon, 23 Jan 2023 11:38:38 -0500 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C296A193FF for ; Mon, 23 Jan 2023 08:38:36 -0800 (PST) Received: by mail-ej1-x633.google.com with SMTP id tz11so32159240ejc.0 for ; Mon, 23 Jan 2023 08:38:36 -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=ImwX9kdkxyCrfSxchCRVxcHp/q4vXtkqJGNHQ8DEkjc=; b=4far6+BsQeuVq4zWunDyumaobqqRyJHEgIeK3YLhZuroLjse6yoHs8JvXbmF/KqStg rxnQhqZG9GFcdehTbyghgkiwxJ93Pb9M3tDf2TlghV/DYVS/COt7tR0621b3nBn6hwDN fCokuOrFJ4eYLI0wThexPivBWg+hZXx/qnar0kNH+XWPhojhV+WdFwD+OgTEh/OCIlmc srWpBYsWvgPJJM6MT1YWIhh2lNAYoAQMwz2lMr4PErN8gzHx7GKJwI7UGILIKg2kqUPw Zs1f6CL1SMdLVl56CIIbUh/TVyG+bBRlhGabUBhfIhiFQ7DkrM7e+aeNcZkoAYNomyQ5 VaBw== 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=ImwX9kdkxyCrfSxchCRVxcHp/q4vXtkqJGNHQ8DEkjc=; b=xabDO5fqYQlekGiayAtxl9ndf/YTqG8XqK733AwEDucjqLZg9RSZY+b1qw8krvXEHl IQmCcnSNXiscw4Rzs/e9YPihw254LKofbO8hv3k4TZbyqULL8O4LDWZHkbMn5vxKLw1z a1W3BM4PdO4pkVcv1qeFG6M9++R93kayIW1NS4wX9cRi0aAaJ8qMhQarquyMrSdGGjpU 0b/ngc8XHYCuaB4JBZ1AOK1Y4TRdcY8Cq9pg6vHtVLtvCDSCZ5fQ4qUJgu5NYqBSBw/w TCM31rQlirMQYjYh81XDfbba+I9jK4Jv4sowus5nrDbaaWtd/otSs+a760k7Pt5nVc/1 4iaw== X-Gm-Message-State: AFqh2kpr+zllLDvlp/nz6dpwgPy3vQ6KkEkOz9ceKDatH6KjBhRPSZK4 nlmCFzdvNO6vLsZpPnz7kG4gMA== X-Received: by 2002:a17:906:4ed9:b0:7c1:7145:5b3c with SMTP id i25-20020a1709064ed900b007c171455b3cmr26822145ejv.46.1674491915346; Mon, 23 Jan 2023 08:38:35 -0800 (PST) Received: from c64.fritz.box ([81.221.122.240]) by smtp.gmail.com with ESMTPSA id lb25-20020a170907785900b007c00323cc23sm22198562ejc.27.2023.01.23.08.38.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 08:38:34 -0800 (PST) From: =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= To: linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, tglx@linutronix.de, maz@kernel.org, lee@kernel.org, linus.walleij@linaro.org, matthias.bgg@gmail.com, gregkh@linuxfoundation.org, daniel.lezcano@linaro.org, chunfeng.yun@mediatek.com, angelogioacchino.delregno@collabora.com, allen-kh.cheng@mediatek.com, nfraprado@collabora.com, andrew@lunn.ch, gtk3@inbox.ru, sean.wang@mediatek.com, zhiyong.tao@mediatek.com Subject: [PATCH v8 0/9] Add minimal MT8365 and MT8365-EVK support Date: Mon, 23 Jan 2023 17:38:24 +0100 Message-Id: <20230123163833.1007181-1-bero@baylibre.com> X-Mailer: git-send-email 2.39.1 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?1755832088971369831?= X-GMAIL-MSGID: =?utf-8?q?1755832088971369831?= v8: - Add binding descriptions for mediatek,mt8365-systimer and mediatek,mt8365-uart - Specify ranges with parameters for u3phy v7: - Update GIC information in mt8365.dtsi (thanks to Marc Zyngier for pointing out the problem) - Adjust the timer to match the updated GIC information v6: - Add systimer in mt8365.dtsi - Add I/D caches and L2 cache details in mt8365.dtsi - Move bl31_secmon_reserved from mt8365.dtsi to mt8365-evk.dts - Fix inconsistent indentation in mt8365-pinctrl example - Further mt8365.dtsi cleanups - Submit to additional maintainers spotted by get_maintainer.pl 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 (6): 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 dt-bindings: timer: mediatek,mtk-timer: add MT8365 SoC bindings dt-bindings: serial: mediatek,uart: add MT8365 SoC bindings 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/serial/mediatek,uart.yaml | 1 + .../bindings/timer/mediatek,mtk-timer.txt | 1 + .../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 | 169 ++++++++ arch/arm64/boot/dts/mediatek/mt8365.dtsi | 378 ++++++++++++++++++ 11 files changed, 755 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 Tested-by: Kevin Hilman