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: 12831257 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 79C3EC4332F for ; Thu, 28 Apr 2022 21:48:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352416AbiD1Vv6 (ORCPT ); Thu, 28 Apr 2022 17:51:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230239AbiD1Vv5 (ORCPT ); Thu, 28 Apr 2022 17:51:57 -0400 Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DFD7C1CBB; Thu, 28 Apr 2022 14:48:42 -0700 (PDT) Received: by mail-qt1-x82c.google.com with SMTP id o11so4468249qtp.13; 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=ZwBPIKgTvggWOtWtoPqio5xXGQcVLztCeCNcD9+uqlEndjEJNkTh2+Wp3i+I3QQLOX 4mOPEGGk2r2g+N2MI3lYdviHb0Qx3uQ2L71iWRM5Hq2rYlIGo+i57KpFhEGf+rLWIPCm 6gIyOD+y8Sgt9aPiBNap6ci5ujaDDuZ5bEZpofx8Y0aA8gMQ9EeyM6r8Z5iDzLZ7VK5b L7kCknTsw+I7YlcemQlN4fbJAh9z7z8ezGvTeIX5UkIN7WREmptiy3ySixDUP4aaQWjE CYyCsSYf8K0M1Kq7Fny9jdBwV/IjFIzjnBN5d9wJU/AwbXae7gD3GKjsZc+i5niY/vU5 nPng== X-Gm-Message-State: AOAM530u8qWt5N95JZyA33A3zATQfdIj+2rk6XQ8GM/PkMFpr6ofG7nC meUQ1evuAu3kkjhAPmH0GvE= 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 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.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