From patchwork Thu Apr 28 21:48:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Taube X-Patchwork-Id: 12831232 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 D896CC433EF for ; Thu, 28 Apr 2022 21:50:15 +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=MOmvsDIcxR/e937pSEpEurkAjG8pcYTwC9gN8pi5gIw=; b=1fa336dJPaTEmY uzjtjgwhvDSYSq24NxWi9KXg2BPXWNP1Lh2Fl9h4JV8ACmYYrkBT3QvjxotzXk3sEhQe8UJPr3+j5 XJ6ejOx1TAjtxBWXFA1qQhj59umHegH6I3whyA3DHafuu8sPhWeiJbT9U7h1dqrxtL32zWAQzh1z3 KwphdT4kgcEepjLEThDrjC4Ary84k/NxN1LuBZ2O9jaWkohY2lPb9Z8r/C7zXtkQW3xmtw7lFcEIB Tsx+GHc1A88OM5eEictQ1S6eCXa/R1UVOgO8O+9f6VVtUKM1IX2KDDZkt1dvEyLhNJczZFCSwwJS4 7WgKUK06Rw/8snP0Zeuw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkC0G-008Zjo-Fd; Thu, 28 Apr 2022 21:48:48 +0000 Received: from mail-qt1-x82f.google.com ([2607:f8b0:4864:20::82f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkC0D-008Zh6-0c for linux-arm-kernel@lists.infradead.org; Thu, 28 Apr 2022 21:48:46 +0000 Received: by mail-qt1-x82f.google.com with SMTP id t11so4478905qto.11 for ; Thu, 28 Apr 2022 14:48:42 -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=VIMlgJSaKUPK/7h5zWJY806lZYuOHK/ks0bPYi8ucDM=; b=Zt+bvY76wYsDI7E65dSTCp/J1neJLwfZf2/lF6fJGOA/G2XNDh7bjU/T6Tv+A2Yhs9 EaRuU79TNxPgDfBuT6bJ+DKsaBxyMjmBoMAEUgM4KF0268I0ycwxRulpOrw7oP4o0lN+ DPPufuljc49giVM20JXEN36af3Lo8IyoTn4WaLzAczKDgKASWEs2r6qFMcApTnKrPpG5 TFplqrhLRbjO24cU34qw28nkfxL198FO9T0Y4/zGT5cpHAnzFBPmPY4fye8LDXfO/0Fn EJYTIRtB3TCX4E5OMrvVgeSla7/eIxn6xJTABUBRqH6c7Y9i8woYuOCJ4eRPtSHumMkF SX8Q== 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=VIMlgJSaKUPK/7h5zWJY806lZYuOHK/ks0bPYi8ucDM=; b=rj8zLaCG9Xku/pEW9u0oHwrYC+F4FYYdt06ixs54e43GiW8PsZdNRAVa9qOsclkUXl KOGT7jdhzA7P/CovHmXughCu6ab8dIsUwkoY4enPZO67UfKSvtGL/B2VNd8cyMUkpT9d +aEFvgASTr+vzm7N9PEg6G78TNajrsY3Lb9P9xBIf/jWVO6KXuzvrT2rFxIZvVVDoWln yOBQ7ZjjesxrBQDG7yQa6IgESqYFGHkRoiUHyEVCwu5PfzIb1Ria8SteBUluhkrE4q6X Am+VlyZPytmfUAl6K+vlflXZ9z8Mt0x1hLcwZ7h7PeTylROwVbwHFfVRpyTsbrPISqUG lakQ== X-Gm-Message-State: AOAM530WrDAI5qZeXMjp3EgBbjzykZPNexfnomOH4jI+X8oB5ta36XIr lCZFV0MuN0p9ZpI/KhliMhk= X-Google-Smtp-Source: ABdhPJwv7QoELiYIxAsHxP9fTnCc+z0UzfaWK8FSssVnSNQhwArB1XB1ki5jmvztP7lDwMwP6f1u/g== X-Received: by 2002:ac8:7fcc:0:b0:2f2:5bf:6c with SMTP id b12-20020ac87fcc000000b002f205bf006cmr24992257qtk.655.1651182521178; Thu, 28 Apr 2022 14:48:41 -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 bl5-20020a05620a1a8500b0069f51e47c5esm546442qkb.110.2022.04.28.14.48.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Apr 2022 14:48:40 -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 v2 00/15] Add support for the i.MXRT1170-evk Date: Thu, 28 Apr 2022 17:48:23 -0400 Message-Id: <20220428214838.1040278-1-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220428_144845_082859_0D9BFB86 X-CRM114-Status: GOOD ( 15.48 ) 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 (15): 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 dt-bindings: pinctrl: add i.MXRT1170 pinctrl Documentation dt-bindings: clock: imx: Add documentation for i.MXRT1170 clock ARM: mach-imx: Add support for i.MXRT1170 ARM: 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 pinctrl: freescale: Add i.MXRT1170 pinctrl driver support 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/clock/fsl,imxrt1170-clock.yaml | 59 + .../bindings/gpio/fsl-imx-gpio.yaml | 2 + .../bindings/mmc/fsl-imx-esdhc.yaml | 6 + .../bindings/pinctrl/fsl,imxrt1170.yaml | 77 + .../bindings/serial/fsl-lpuart.yaml | 4 + .../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 | 536 ++++++ drivers/clk/imx/clk-pllv3.c | 57 +- drivers/clk/imx/clk.h | 4 + drivers/pinctrl/freescale/Kconfig | 7 + drivers/pinctrl/freescale/Makefile | 1 + drivers/pinctrl/freescale/pinctrl-imxrt1170.c | 349 ++++ include/dt-bindings/clock/imxrt1170-clock.h | 282 +++ 22 files changed, 3371 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/fsl,imxrt1170-clock.yaml create mode 100644 Documentation/devicetree/bindings/pinctrl/fsl,imxrt1170.yaml 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 drivers/pinctrl/freescale/pinctrl-imxrt1170.c create mode 100644 include/dt-bindings/clock/imxrt1170-clock.h