Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp2512691ybh; Mon, 5 Aug 2019 02:15:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqwPZPnDaZBerXbA+6PsVSToiPiswAeM4+P6JV0EGTZ/AkJb+VRQ2LAPpMOWNH4oSP4Dzccx X-Received: by 2002:aa7:9146:: with SMTP id 6mr69725090pfi.67.1564996538449; Mon, 05 Aug 2019 02:15:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564996538; cv=none; d=google.com; s=arc-20160816; b=rK36Q7sMKR+kAi+O7efJ9Y4qyiqNnznSmuF5gf+ggpBGafrKc5xXMc+hh1sUFdH7jx s9bwO7QgEjm3lioYbHrNin6b6rxMiLwJ/Khaww3yzyzt5SM1lV3TyEB0obbB7FTqSSrY lR4JCxaxiTEgl3HM012YXqOAgN8UENam3xeOBIhmdICVDk+KBzVPgFgF74mTitq6Xa3R OL4oM0zsgzF9q8FJxM2RnbF1Agq8dTjYzQ9Z4Hnn5oztD5So+OpHe6y+ykRVis1nvyzA ODLGKw0xigwU3w9OxmhkalWheFtVxdTLPjSSm+UGSUgRcoCK2f0jHJcq0vnVeZlHGUjI UODA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=b5tNmKGGbH6N31ydT/8xK4D+nHhH3rZlDSGop2CqcVg=; b=wQG583eKiERjS+h1eBieEUWfbGt2v4fzbyRzQdTMNbi31yVvXhnuogEe90j+Bmf4Nt pwiMFbt+hEqq5iMLX79kf+363y+Am0lVfs9X++xqfS3KnpCtfXl4xGMMRr+s/gWfrgg+ FEoQdTBrsfutYUWkkMwGopiQHe4GeGjxRlON1riUOMljeO84YYL8ctmIpm9HgvJTlVVD sgHkp2GHa4wWGPqRlI5jF2vlCF0XHUuHd5O+zVtp3Gjtk0znoVM18bD6fqxWfDdcojEX nsyB3Drl9/o2aTvabEv3XzzBhXBJ3gDMeptPEDEiGzLiCWxLFsnNny3lLyW09PLFZ6qI jpNA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bg3si37990662plb.83.2019.08.05.02.15.22; Mon, 05 Aug 2019 02:15:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728318AbfHEJNK (ORCPT + 99 others); Mon, 5 Aug 2019 05:13:10 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:62353 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728069AbfHEJMS (ORCPT ); Mon, 5 Aug 2019 05:12:18 -0400 X-UUID: 8f66d207a15445bba07f1e2efbdbe3ba-20190805 X-UUID: 8f66d207a15445bba07f1e2efbdbe3ba-20190805 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0707 with TLS) with ESMTP id 1169585689; Mon, 05 Aug 2019 17:12:03 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 5 Aug 2019 17:12:05 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 5 Aug 2019 17:12:05 +0800 From: Mars Cheng To: Matthias Brugger CC: CC Hwang , Loda Chou , , , , , Wendell Lin , Ivan Tseng Subject: [PATCH 00/11] Add basic SoC Support for Mediatek MT6779 SoC Date: Mon, 5 Aug 2019 17:11:49 +0800 Message-ID: <1564996320-10897-1-git-send-email-mars.cheng@mediatek.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 4B7BB4B967302A6224F3882B8C334D65CEAC8A715A37D03142A05D2B0A9A4D852000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset is based on v5.3-rc1. Basic SoC support for the new Mediatek SoC, MT6779, which targets for smartphone. It provides ccf, pinctrl, uart, timer, gic...etc. We will also upstream other parts of this SoC very soon. Mars Cheng (8): dt-bindings: mediatek: add support for mt6779 reference board dt-bindings: mtk-uart: add mt6779 uart bindings dt-bindings: irq: mtk,sysirq: add support for mt6779 pinctrl: mediatek: update pinmux defintions for mt6779 pinctrl: mediatek: avoid virtual gpio trying to set reg pinctrl: mediatek: add pinctrl support for MT6779 SoC pinctrl: mediatek: add mt6779 eint support arm64: dts: add dts nodes for MT6779 mtk01761 (3): dt-bindings: mediatek: bindings for MT6779 clk clk: mediatek: Add dt-bindings for MT6779 clocks clk: mediatek: Add MT6779 clock support .../devicetree/bindings/arm/mediatek.yaml | 4 + .../arm/mediatek/mediatek,apmixedsys.txt | 1 + .../bindings/arm/mediatek/mediatek,audsys.txt | 1 + .../bindings/arm/mediatek/mediatek,camsys.txt | 1 + .../bindings/arm/mediatek/mediatek,imgsys.txt | 1 + .../arm/mediatek/mediatek,infracfg.txt | 1 + .../bindings/arm/mediatek/mediatek,ipesys.txt | 22 + .../bindings/arm/mediatek/mediatek,mfgcfg.txt | 1 + .../bindings/arm/mediatek/mediatek,mmsys.txt | 1 + .../arm/mediatek/mediatek,topckgen.txt | 1 + .../arm/mediatek/mediatek,vdecsys.txt | 1 + .../arm/mediatek/mediatek,vencsys.txt | 1 + .../interrupt-controller/mediatek,sysirq.txt | 1 + .../devicetree/bindings/serial/mtk-uart.txt | 1 + arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt6779-evb.dtsi | 99 + arch/arm64/boot/dts/mediatek/mt6779.dts | 229 ++ drivers/clk/mediatek/Kconfig | 56 + drivers/clk/mediatek/Makefile | 9 + drivers/clk/mediatek/clk-mt6779-aud.c | 125 + drivers/clk/mediatek/clk-mt6779-cam.c | 66 + drivers/clk/mediatek/clk-mt6779-img.c | 58 + drivers/clk/mediatek/clk-mt6779-ipe.c | 60 + drivers/clk/mediatek/clk-mt6779-mfg.c | 55 + drivers/clk/mediatek/clk-mt6779-mm.c | 113 + drivers/clk/mediatek/clk-mt6779-vdec.c | 68 + drivers/clk/mediatek/clk-mt6779-venc.c | 58 + drivers/clk/mediatek/clk-mt6779.c | 1553 ++++++++++++ drivers/pinctrl/mediatek/Kconfig | 7 + drivers/pinctrl/mediatek/Makefile | 1 + drivers/pinctrl/mediatek/pinctrl-mt6779.c | 783 +++++++ .../pinctrl/mediatek/pinctrl-mtk-common-v2.c | 20 + .../pinctrl/mediatek/pinctrl-mtk-common-v2.h | 1 + drivers/pinctrl/mediatek/pinctrl-mtk-mt6779.h | 2085 +++++++++++++++++ drivers/pinctrl/mediatek/pinctrl-paris.c | 3 + include/dt-bindings/clock/mt6779-clk.h | 436 ++++ include/dt-bindings/pinctrl/mt6779-pinfunc.h | 1242 ++++++++++ 37 files changed, 7166 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,ipesys.txt create mode 100644 arch/arm64/boot/dts/mediatek/mt6779-evb.dtsi create mode 100644 arch/arm64/boot/dts/mediatek/mt6779.dts create mode 100644 drivers/clk/mediatek/clk-mt6779-aud.c create mode 100644 drivers/clk/mediatek/clk-mt6779-cam.c create mode 100644 drivers/clk/mediatek/clk-mt6779-img.c create mode 100644 drivers/clk/mediatek/clk-mt6779-ipe.c create mode 100644 drivers/clk/mediatek/clk-mt6779-mfg.c create mode 100644 drivers/clk/mediatek/clk-mt6779-mm.c create mode 100644 drivers/clk/mediatek/clk-mt6779-vdec.c create mode 100644 drivers/clk/mediatek/clk-mt6779-venc.c create mode 100644 drivers/clk/mediatek/clk-mt6779.c create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt6779.c create mode 100644 drivers/pinctrl/mediatek/pinctrl-mtk-mt6779.h create mode 100644 include/dt-bindings/clock/mt6779-clk.h create mode 100644 include/dt-bindings/pinctrl/mt6779-pinfunc.h