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 T X-Patchwork-Id: 1673146 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=AFJUPozu; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=erTAgaZd; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MJV7Q2Z1zz1yhK for ; Fri, 2 Sep 2022 04:34:10 +1000 (AEST) 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-Spam-Score: 0.1 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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. Content analysis details: (0.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:82e listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [mr.bossman075[at]gmail.com] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [mr.bossman075[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 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+incoming-imx=patchwork.ozlabs.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