From patchwork Fri Jan 7 11:53:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tinghan Shen X-Patchwork-Id: 530569 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4995BC433EF for ; Fri, 7 Jan 2022 11:54:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347282AbiAGLyn (ORCPT ); Fri, 7 Jan 2022 06:54:43 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:50902 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1347281AbiAGLyn (ORCPT ); Fri, 7 Jan 2022 06:54:43 -0500 X-UUID: 349a3cbda6f84196adc94d99ed68ac75-20220107 X-UUID: 349a3cbda6f84196adc94d99ed68ac75-20220107 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1003195188; Fri, 07 Jan 2022 19:54:40 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 7 Jan 2022 19:54:39 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 7 Jan 2022 19:54:39 +0800 From: Tinghan Shen To: Rob Herring , Linus Walleij , Matthias Brugger , Lorenzo Pieralisi , Bartosz Golaszewski , Sean Wang CC: , , , , , , , , , Tinghan Shen Subject: [PATCH v8 0/4] Add basic SoC support for mediatek mt8195 Date: Fri, 7 Jan 2022 19:53:41 +0800 Message-ID: <20220107115345.9075-1-tinghan.shen@mediatek.com> X-Mailer: git-send-email 2.15.GIT MIME-Version: 1.0 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This series adds basic SoC support for Mediatek's SoC MT8195. Reviewed-by: Rob Herring --- Changes in v8: - v7 mediatek,spi-mtk-nor.yaml patch is applied in branch for-5.17 at kernel/git/broonie/spi.git - v7 pinctrl-mt8195.yaml patch is applied in branch for-next at kernel/git/linusw/linux-pinctrl.git - add cortex-a78 compatible to cpus dt-bindings - add mediatek,drive-strength-adv property to pinctrl dt-bindings - fix evb dts - remove i2c nodes with disabled status from dts - fix pin properties not match pinctrl dt-bindings - remove unnecessary u3port* - fix dtsi - fix node format - reorder oscillator* nodes - fix node name of cpu idle nodes - remove clock-frequency property in the timer node - reorder clock and clock names in usb nodes Changes in v7: - refine title of spi-nor dt-bindings patch - refine commit message of pinctrl dt-bindings patch - update pinctrl-mt8195.yaml - change property pattern from 'pins' to '^pins' - update examples with new property in descriptions - add new example - drop '_' from node names of pinctrl subnodes in mt8195-evb.dts Changes in v6: - rebase on 5.16-rc1 - add new clock name to spi-nor dt-bindings - add "pins" property in pinctrl dt-bindings - fix fails of dtbs_checks - remove "arm,armv8" not matched in yaml from cpu compatile - fix node name of xhci - remvoe xhci upstreaming wakeup properties - remove xhci unused properties address-cells and size-cells - fix node name of ufs-phy - fix node name of spi-nor - fix node name and sub-nodes of pinctrl - fix mmc compatible Changes in v5: - enable basic nodes in mt8195-evb.dts - remove dedicated clock nodes - add mmc2 node - fix interrupt number of pinctrl node - update clock nodes to apply internal fixes - add dt-bindings for perficfg node v4 thread: https://lore.kernel.org/all/20210922093303.23720-2-seiya.wang@mediatek.com/ v3 thread: https://lore.kernel.org/all/20210601075350.31515-2-seiya.wang@mediatek.com/ v2 thread: https://lore.kernel.org/all/20210319023427.16711-10-seiya.wang@mediatek.com/ v1 thread: https://lore.kernel.org/all/20210316111443.3332-11-seiya.wang@mediatek.com/ --- Tinghan Shen (4): dt-bindings: arm: mediatek: Add mt8195 pericfg compatible dt-bindings: arm: cpus: Add cortex-a78 compatible dt-bindings: pinctrl: mt8195: Add mediatek,drive-strength-adv property arm64: dts: Add mediatek SoC mt8195 and evaluation board .../devicetree/bindings/arm/cpus.yaml | 1 + .../arm/mediatek/mediatek,pericfg.yaml | 1 + .../bindings/pinctrl/pinctrl-mt8195.yaml | 35 + arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt8195-evb.dts | 161 +++ arch/arm64/boot/dts/mediatek/mt8195.dtsi | 1049 +++++++++++++++++ 6 files changed, 1248 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8195-evb.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8195.dtsi