From patchwork Thu Sep 1 18:33:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Taube X-Patchwork-Id: 12963066 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 0DC67ECAAD1 for ; Thu, 1 Sep 2022 18:34:59 +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=XryfEgRgdXvfOsuU9r756bHgvonuWPPRkHAh+9vf/1M=; b=AFJUPozuamj5ti kpRWiP7hkRMpuj5EtBjp7xOJ0Efid9ieGwl1VaXaOt+UBHlCQEsxVqHt+JRlrt/g0OcU2pqeL4yYJ yRkwplyiGM+y8+ifrfc5Mn/fIRKkyDjf+pburHlVJE6eZm5mRS4uN4BQol+1gJbTtHSnEr7TCVaSv kh50gRrr3wVYVrq86l8VDtguacFl7x1hvTWLEZlfIWqsm7rQIDJ03WcxhXjSOuEBZ3D2c9Qm/4Ykw b3pL2Cz8h5nPM+JdO8QYYifTSI6tQnmsdwmMEsDBI0j5mj9JKffm8PeakpF8MESgqrsonc438ZOvL T6vzmEU2jiu4jXUp4UQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTp0i-00Dxlb-5i; Thu, 01 Sep 2022 18:33:52 +0000 Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTp0e-00Dxjb-Nt for linux-arm-kernel@lists.infradead.org; Thu, 01 Sep 2022 18:33:50 +0000 Received: by mail-qt1-x82e.google.com with SMTP id cb8so14190835qtb.0 for ; Thu, 01 Sep 2022 11:33:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=t4MOz4hyFM7udJrYf7fDh0BfCZhkVhHzgWpksUtpi5s=; b=erTAgaZdSIzj2sCqSc9m32MKjOfn5KYlQQfGZKlS0tOKgOvXNpOYRvItMFB7gJoTxm Et7RPS1etxX4HgAQpTeqJHU2ZEZOG0g9BC38gUsFbh553sbiDjqLCmJ4enAKjOc12lVx O3xviAmhEHWAifpiUlj8tuZQogj2CgvT7AId/mFpcnJxM7v5fx8jmzKOHKuX6eterJtB XCKdzzIu1gF5GKCdEm+X0ZNbCaRYYdCZzCg56R8PM7Dg4ME1mPEMLcZJXDQUSGFc0Q4k B4T5w+e/biuFf+IRDH4nNDPHp5Vxgi7FeUvnFbTQyc/H3hH+E3KyHenEdJmYEjPHEZNg VUcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=t4MOz4hyFM7udJrYf7fDh0BfCZhkVhHzgWpksUtpi5s=; b=3G8WXT/N0+ZIArL3XUvIUSrpl7ndSvhgaM6SJULviUBGkolS33X6XQONNdRe55kyXU w8i1LNU0Yo3aluaugB0kjMic4a31zFDCvBchAOza4uY4iY8e2VWYc6CCOlvsWIsmGznx R4LhXyzSHBztvuUV1PsRlCqY+0zrisdnbfJQz1DCq4hft8pWZjAdqtBA2uNkZueH7bw7 L+yKnwTsDj7QdcSOM0CSTVhddalW0jGZVRcFfNgTwPoO9mxzHHfQollHvyELlsVhi+pd IbZB5F3lFMZw5vJOL3JsYeCPCtqRXTv0pg/ciAOBJ55tKzquOrvO7zYfUMVbkchYM6Sh YJQA== X-Gm-Message-State: ACgBeo3fx6xfJWvawfK8Yk8OPcwqoyo/5WukL7rwjzGlooIO3yOq0GHw Dn9S1KPBK2PnDX2ZLkv2u/g= X-Google-Smtp-Source: AA6agR6xpDwOMPSvTKBAaMMhdvQUxT30aSC5TWYUPsxs76GlD60pP91bDsz2MOK3LAfdx0ZLpGnBMA== X-Received: by 2002:ac8:5b91:0:b0:344:55f7:da72 with SMTP id a17-20020ac85b91000000b0034455f7da72mr25122323qta.542.1662057226843; Thu, 01 Sep 2022 11:33:46 -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 u20-20020ac87514000000b00342e86b3bdasm10563343qtq.12.2022.09.01.11.33.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Sep 2022 11:33:45 -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 v6 00/10] Add support for i.MXRT1170-evk Date: Thu, 1 Sep 2022 14:33:33 -0400 Message-Id: <20220901183343.3188903-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-20220901_113348_805437_FE123BF4 X-CRM114-Status: GOOD ( 15.42 ) 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 adding 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 (10): dt-bindings: arm: imx: Add i.MXRT compatible Documentation dt-bindings: timer: gpt: Add i.MXRT compatible Documentation 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: imx: Add i.MXRT1170-EVK support ARM: imxrt_defconfig: Add i.MXRT1170 .../devicetree/bindings/arm/fsl.yaml | 12 + .../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.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 +++++++ 15 files changed, 1526 insertions(+), 9 deletions(-) create mode 100644 arch/arm/boot/dts/imxrt1170-evk.dts 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