From patchwork Thu Mar 9 21:34:58 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: 6379 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp538874wrd; Thu, 9 Mar 2023 13:55:45 -0800 (PST) X-Google-Smtp-Source: AK7set/SYEP7TC45045RrYoxd2W37Cx7eHTrd0enkQHQTbbqaqZ/kBoXo5LfIq+uoouwAYTBhvY1 X-Received: by 2002:a17:90a:f2cc:b0:237:98eb:c98b with SMTP id gt12-20020a17090af2cc00b0023798ebc98bmr23657409pjb.25.1678398945500; Thu, 09 Mar 2023 13:55:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678398945; cv=none; d=google.com; s=arc-20160816; b=UQ69MKzhv7TrG25ZupucAbP+R6zR7+n4VFBDUEMBOO/uDXOHsLcKmvJN0nNXf9g8H2 RVz/4mZWKjasFYpS/rrRBbw+NLq226SIwZPjcQgjkRvUYn7NWaAF3omExR2KJQURYDvJ r2hi3NzcSe08EviRgTbUi1m1rPNues/SXTWFC2hyoJCHc9xge/T3nI4yoIatE4BIq1zH P5ndM+jL9xqA48YcgRzTOniqLTRQD1nuzcSz1p4ECICcwCsyABpV8ZepxF3OiR7AM83C uqckuz89O8U3r1A4ThCcPl0gTKWas2fr5sqvkKjIuC3jzKGauz3Kt/vJ0gMuV9kf5q/M WlaQ== 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=KK2kVS/pDWxq/x5pUQs4W8hA5sU/CpHNUPW7RfmKdu0=; b=a23E60edEoMjXq6aq+jfQIYvi1Tw8fo+Y7ij1VH4japEkkiyvmwPzkHl3I3E1z6tFy Dio2AmEqOHCp2hMgxjAj3d6r12EME0qBk7GBRRFY/GY+BL6l72QfCI1/ZsNl1S3J6cAF 1JfLIdLNhDTMumEmrJoiR3WmT2dLPYCmk7TqRbcPK1bstTtjH7TVla/3NzWDNIS59SkC do23LXndChSbrb3qLa1CzqYmV/ERKm3xQyYFcoU3gqUzLNoYo9deBjp4MMkbk54vzV4c h6w4RT6XLDnffR8R41Nce3BDww/H/MG6mO/ViSgviA544w2Wm0famq7OgrrIi0+qYX2y YoPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=oBBXq4iA; 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 ei20-20020a17090ae55400b00233a9c98466si130205pjb.189.2023.03.09.13.55.32; Thu, 09 Mar 2023 13:55:45 -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=oBBXq4iA; 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 S229976AbjCIVfJ (ORCPT + 99 others); Thu, 9 Mar 2023 16:35:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229939AbjCIVfH (ORCPT ); Thu, 9 Mar 2023 16:35:07 -0500 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8B60DABA6 for ; Thu, 9 Mar 2023 13:35:04 -0800 (PST) Received: by mail-ed1-x530.google.com with SMTP id j11so12696728edq.4 for ; Thu, 09 Mar 2023 13:35:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678397703; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=KK2kVS/pDWxq/x5pUQs4W8hA5sU/CpHNUPW7RfmKdu0=; b=oBBXq4iAeXbCsT2PF/6pqeDn93WEhifSbV1qlFa/7iop2+zWVFoeABEAekMO3CFjo8 XXFd5i2aeyKAoNCdnQEt/4uAjlOK6cjFdPbuGtqF/txObVlNkQwgyPHFXVzDNoHgTnRR rbpW2nXtXY4BLA0DPrDKkKgmfaZVSLLq/BXxs6eYSYcWD5MNVmyFED/xQHLX4yhhxcWL ru/lfliBr65TCIfvp6fTHZN9Jly/jxxB/fjLOL7OSb4u5/2I7a5UAAuTw/9EWTwf+GNM 1b+Xfi3rSFDIlGp/PJtFNMlsbCYUyB6GNpBEmGc55AAsMCj/rbV0o/F1u1pzCU6CFKQe E7Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678397703; 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=KK2kVS/pDWxq/x5pUQs4W8hA5sU/CpHNUPW7RfmKdu0=; b=kikKtH6dn9tMP/3OYTA3pva/yCYIULTHZsC4kODMgdFlPkEb6y4qYJFgP/6HfJL2UO IsTKEWtkUOn933SG9S3VtAQy3SqM9QILIRNZUSJAfKBTy055VLBCRm9hbwXTOC+qkOuT XchRnsgz2OA7pG+vuAZB8mWcjpcleX+JOCWci6siMCULhv67arUus58W/8UMJTSTO2c7 isiw5BrWRks/9ySajAruYzDsl15Rgw4nUOkFJA9bN8oj4+k3W9l2d8hz9uzBcvSVaVgE qWA2rjC6c5O6jBpADGl5BOptXcVlaEn217uJFHy0HLoetQbP1X2X2J6USV7wUlTw59cE qcMQ== X-Gm-Message-State: AO0yUKUKe6HRhmUACQ3iGSOBARZsZf4jYi/4T/NP6GU7+C9k6MGtNdCg CPfpmdVJfYM/J2SSF8WkAyf2Dg== X-Received: by 2002:aa7:d7c8:0:b0:4ac:c85c:fb8d with SMTP id e8-20020aa7d7c8000000b004acc85cfb8dmr24734520eds.10.1678397703225; Thu, 09 Mar 2023 13:35:03 -0800 (PST) Received: from ryzen9.fritz.box ([81.221.122.240]) by smtp.gmail.com with ESMTPSA id 8-20020a508748000000b004af7191fe35sm211486edv.22.2023.03.09.13.35.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 13:35:02 -0800 (PST) From: =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= To: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, angelogioacchino.delregno@collabora.com, matthias.bgg@gmail.com, gregkh@linuxfoundation.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, maz@kernel.org, tglx@linutronix.de Subject: [PATCH v11 0/3] Add minimal MT8365 and MT8365-EVK support Date: Thu, 9 Mar 2023 22:34:58 +0100 Message-Id: <20230309213501.794764-1-bero@baylibre.com> X-Mailer: git-send-email 2.40.0.rc2 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?1759903198415613056?= X-GMAIL-MSGID: =?utf-8?q?1759928852948823594?= v11: - Fix typo in systimer (Thanks Angelo) v10: - Fix systimer properties (Thanks Amjad) - Drop components of the patchset that have already been merged v9: - Fix a regression in v8 that broke the USB port - Remove superfluous include in mt8365.dtsi - Fix some naming issues pointed out by dtbs_check v8: - Add binding descriptions for mediatek,mt8365-systimer and mediatek,mt8365-uart - Specify ranges with parameters for u3phy Tested-by: Kevin Hilman 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 (2): dt-bindings: irq: mtk, sysirq: add support for mt8365 dt-bindings: serial: mediatek,uart: add MT8365 Fabien Parent (1): arm64: dts: mediatek: Initial mt8365-evk support .../interrupt-controller/mediatek,sysirq.txt | 1 + .../bindings/serial/mediatek,uart.yaml | 1 + arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 168 ++++++++ arch/arm64/boot/dts/mediatek/mt8365.dtsi | 377 ++++++++++++++++++ 5 files changed, 548 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8365-evk.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8365.dtsi