From patchwork Sat Jul 23 16:05:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Taube X-Patchwork-Id: 12927234 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1A924C433EF for ; Sat, 23 Jul 2022 16:06:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=MOlIdiwGnVw916zhILZRy4XKoS9vlnrAY1Qwl0luM7U=; b=3MGfWYGTLmJJaw 5HuHw5bEG0kAm7PEjSHyaqT5OuVDMKtOk1PngwY+Dm/oK8sZRXycQVU2U2La44fjvCJl1bK9ymjnh eT4usADfUCso5vFNlS3y2BG2U923z/xzHOwMXMGIPDMJyTQQD1PMGlbSATJcswH4YyaIexmHAxta3 T/I6jkzikHFDh1W+UTHBBBvldOLAr/8OLAzMNe03LCWgcY6GQjlW1qMsK6RyxtsmCuSl2Dgq0b4x9 H/u2UTm/b9fU1i4twGUt59o5CJLa0wGV+6wetDLfo61NQDU5Gn3XHTB9XIe1miq5KbVHYLD9NGwVG 3k84jAFSXqmzXXqMF8jQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oFHd5-005LSM-IZ; Sat, 23 Jul 2022 16:05:23 +0000 Received: from mail-qv1-xf31.google.com ([2607:f8b0:4864:20::f31]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oFHd1-005LQB-Qg for linux-arm-kernel@lists.infradead.org; Sat, 23 Jul 2022 16:05:21 +0000 Received: by mail-qv1-xf31.google.com with SMTP id x8so3665870qvo.13 for ; Sat, 23 Jul 2022 09:05:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NiBXHZtiNNzM7sHjjwSiAophF4Tu0dmf3XqMGID1JOM=; b=gRlQXzeTLOdtN2sYz2mwN+kdfbohHDPBoWrR0vt1QqZOpEJf8qWYqJRApWT4AkkEHB 6ZoJLwk8Y1qqD13NypUe8ZMHXPlF1Xwmc2i5NmYyBHI0y4TvgsSgalxdx6dUL8EywhSp 4/aWAKZZgvp04WaLmJDXV8yuQuriLEYblcQYgGrLRJ7xeGvJeIP0wPmXhABQ5YVhoRE0 xhfn+BdA2s6sKDw+gBi5LY99iqqIAfJY7rdx8YiiaWSGvGoeS8/iG04REyKb6sydRN1E TH+iAD9qOBlL+3KlUuK3K7/tqGMQOF4YBW0rbsfTla3SQYI9WhINmzVgIMgDTDwmVJs8 uQ0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NiBXHZtiNNzM7sHjjwSiAophF4Tu0dmf3XqMGID1JOM=; b=kb5d0tgxYo5zoURSYkcfKu4iBboHcNM0rgZffvIH/7niR5o37dCo/bMRCGKmd3O/RL IKgLx3eJrastMopNKozUWZ9vpHdz0diuLLcSV5WekDQ5riyh7zzNxqukPsnoXO4uiGHd I9g/HLsB8NZdBRjVZ1oAQEWwmKuhB5UbmET43ksFF76wZ7bk/y9YwabQGxlzIvFiTZZF fkD4TlKPQppEhMWgI0gYsjoV04YnwbWdI5pk0dyRqrMusnZpG2miyOChURmZYt0r+XDd R63bi3vrq86FIkDCMyKgkObfC9HMJcpDvwZKPw9WqZacNqUQAyy75kVUhveuJBH20HEN cJZw== X-Gm-Message-State: AJIora+4ALpHq1KyAAfvng8MExJCPZpQMkzSPq0OhkGPp75JXSoK0tYF gdQ1reFEuxdVF6PclNa9Zio= X-Google-Smtp-Source: AGRyM1tFGvEAl9/tyu4hF4NNXrnTxNm3w9+iEprFORt+uxL5yPCUzTz4QtHT1LgBfv2VcIgWE/nRvw== X-Received: by 2002:ad4:5c62:0:b0:473:4585:292f with SMTP id i2-20020ad45c62000000b004734585292fmr4330419qvh.16.1658592316875; Sat, 23 Jul 2022 09:05:16 -0700 (PDT) Received: from jesse-desktop.jtp-bos.lab (146-115-144-188.s4282.c3-0.nwt-cbr1.sbo-nwt.ma.cable.rcncustomer.com. [146.115.144.188]) by smtp.gmail.com with ESMTPSA id g4-20020ac87f44000000b0031eb3af3ffesm4935046qtk.52.2022.07.23.09.05.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Jul 2022 09:05:15 -0700 (PDT) From: Jesse Taube X-Google-Original-From: Jesse Taube To: linux-imx@nxp.com Cc: robh+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, aisheng.dong@nxp.com, stefan@agner.ch, linus.walleij@linaro.org, daniel.lezcano@linaro.org, tglx@linutronix.de, arnd@arndb.de, olof@lixom.net, soc@kernel.org, linux@armlinux.org.uk, abel.vesa@nxp.com, dev@lynxeye.de, marcel.ziswiler@toradex.com, tharvey@gateworks.com, leoyang.li@nxp.com, sebastian.reichel@collabora.com, cniedermaier@dh-electronics.com, Mr.Bossman075@gmail.com, clin@suse.com, giulio.benetti@benettiengineering.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org Subject: [PATCH v5 00/12] Add support for the i.MXRT1170-evk Date: Sat, 23 Jul 2022 12:05:01 -0400 Message-Id: <20220723160513.271692-1-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220723_090519_910513_3685D683 X-CRM114-Status: GOOD ( 14.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch continues support for the imxrt series now with the imxrt1170 This patch contains: - Update to imxrt_defconfig - Devicetree - Clock driver - Pinctrl driver - New pll This patch also updates some documentation for both imxrt1170 an 1050. The i.MXRT1170 has a vast array of features including two cores. 2 Ethernet, 2 USB phy, and a 2d gpu. It also is featured in a new google coral board https://coral.ai/products/dev-board-micro Not affiliated unfortunately. --- V1 -> V2: - Add 3 new commits in documentation - Fix spelling --- Jesse Taube (12): dt-bindings: arm: imx: Add i.MXRT compatible Documentation dt-bindings: timer: gpt: Add i.MXRT compatible Documentation dt-bindings: gpio: fsl-imx-gpio: Add i.MXRT compatibles dt-bindings: mmc: fsl-imx-esdhc: add i.MXRT1170 compatible dt-bindings: serial: fsl-lpuart: add i.MXRT1170 compatible ARM: mach-imx: Add support for i.MXRT1170 clk: imx: Update pllv3 to support i.MXRT1170 dt-bindings: imx: Add clock binding for i.MXRT1170 clk: imx: Add initial support for i.MXRT1170 clock driver ARM: dts: imxrt1170-pinfunc: Add pinctrl binding header ARM: dts: imx: Add i.MXRT1170-EVK support ARM: imxrt_defconfig: Add i.MXRT1170 .../devicetree/bindings/arm/fsl.yaml | 12 + .../bindings/gpio/fsl-imx-gpio.yaml | 2 + .../bindings/mmc/fsl-imx-esdhc.yaml | 4 + .../bindings/serial/fsl-lpuart.yaml | 3 + .../devicetree/bindings/timer/fsl,imxgpt.yaml | 2 + arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/imxrt1170-evk.dts | 110 ++ arch/arm/boot/dts/imxrt1170-pinfunc.h | 1561 +++++++++++++++++ arch/arm/boot/dts/imxrt1170.dtsi | 276 +++ arch/arm/configs/imxrt_defconfig | 17 + arch/arm/mach-imx/mach-imxrt.c | 1 + drivers/clk/imx/Kconfig | 7 + drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-imxrt1170.c | 749 ++++++++ drivers/clk/imx/clk-pllv3.c | 57 +- drivers/clk/imx/clk.h | 11 + include/dt-bindings/clock/imxrt1170-clock.h | 282 +++ 17 files changed, 3091 insertions(+), 7 deletions(-) create mode 100644 arch/arm/boot/dts/imxrt1170-evk.dts create mode 100644 arch/arm/boot/dts/imxrt1170-pinfunc.h create mode 100644 arch/arm/boot/dts/imxrt1170.dtsi create mode 100644 drivers/clk/imx/clk-imxrt1170.c create mode 100644 include/dt-bindings/clock/imxrt1170-clock.h