From patchwork Mon Aug 26 21:59:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13778551 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 391CA13FD66 for ; Mon, 26 Aug 2024 21:59:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709583; cv=none; b=q2C99j+gJe3/V6eVOwQfUjSyvdz/NGB7TTntPPhwnT1hctALh5XjEgznyzLlO8dGIdvOn/OKTYS/+Oo5Vr6xrYZm5C6cCbE8H27Z3kiF4JHHNQPysx1ZFmCUWtF8BKxHTDOhEMD2bIMEHDQxk6rvDXNesRqOG0db7qQ/p5TRk8o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709583; c=relaxed/simple; bh=8gstfm0mCuTrJCakY7iF+V9AvoPlqCRi7LblwbKhD/A=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=l85tgKZwiz8RhqtpgfuenXvCvCT4GqPPGbZ6DT5TYvz+FFOLvE5D9zCKljr9+ZL7Fe5NVUT7M8CE0NtOs1eie9mS3hRIQOlbCjbAgzKNUU8G6pg5JgMjhSCw1920nP6NSiHt1XTD5w1ClnyDyQEP9ui6K2vZTBEybIvSVeRyNMs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=E00Xvnct; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="E00Xvnct" Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id D393525017; Mon, 26 Aug 2024 23:59:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1724709577; bh=FqS9Cyqz6dpZP7Sy6v7YHLIg5mvaiCVwUco5tXm5AtM=; h=From:To:Subject; b=E00Xvnctnr914ljcx0lMhPItjT2yllJhU4NdnQZ/cMynt27qriKwln66X5LlTWaZd wEu/9N4Y+ptxTXI0lutfe81P97dGOYgAtFfFJ1vXXoq6OB+1Qd/1++hEgHJHVp3zSN 5Hw9y4I0cYGAFcF0+Mbmusl4/puXvCX+fss970C5kiTp+hUkyvfXvcYBEi428Am3xq 35WyXulJO6rTiKv31XnNVkv+oTnO8ZiSqLM3J1ID57ZglGHnUTUK/KvBMAmMz/xqw3 2+7WPgJhv9BWFU2Jk/3HTJkAq2BL3C7gxlFHBaGpnNTiiDEHv3dD+7pu3NTwEix4xw u2OAvwkNQUGLw== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Emanuele Ghidoli , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Francesco Dolcini Subject: [PATCH v1 01/10] arm64: dts: colibri-imx8x: Add usb support Date: Mon, 26 Aug 2024 23:59:13 +0200 Message-Id: <20240826215922.13225-2-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240826215922.13225-1-francesco@dolcini.it> References: <20240826215922.13225-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Emanuele Ghidoli Add USB HOST and OTG support to Colibri-iMX8X carrier boards. Signed-off-by: Emanuele Ghidoli Signed-off-by: Francesco Dolcini --- .../dts/freescale/imx8x-colibri-aster.dtsi | 26 +++++++++++++ .../dts/freescale/imx8x-colibri-eval-v3.dtsi | 26 +++++++++++++ .../dts/freescale/imx8x-colibri-iris.dtsi | 26 +++++++++++++ .../boot/dts/freescale/imx8x-colibri.dtsi | 37 +++++++++++++++++-- 4 files changed, 111 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi index bc659066e19a..c02dfdd75b60 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi @@ -7,6 +7,10 @@ &colibri_gpio_keys { status = "okay"; }; +&extcon_usbc_det { + status = "okay"; +}; + /* Colibri Ethernet */ &fec1 { status = "okay"; @@ -38,6 +42,28 @@ &lpuart3 { status = "okay"; }; +/* USB PHY for usbotg3 */ +&usb3_phy { + status = "okay"; +}; + +&usbotg1 { + status = "okay"; +}; + +&usbotg3 { + status = "okay"; +}; + +&usbotg3_cdns3 { + status = "okay"; +}; + +/* USB PHY for usbotg1 */ +&usbphy1 { + status = "okay"; +}; + /* Colibri SDCard */ &usdhc2 { status = "okay"; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi index 9af769ab8ceb..91de84772e1c 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi @@ -23,6 +23,10 @@ &colibri_gpio_keys { status = "okay"; }; +&extcon_usbc_det { + status = "okay"; +}; + &i2c1 { status = "okay"; @@ -90,6 +94,28 @@ &fec1 { status = "okay"; }; +/* USB PHY for usbotg3 */ +&usb3_phy { + status = "okay"; +}; + +&usbotg1 { + status = "okay"; +}; + +&usbotg3 { + status = "okay"; +}; + +&usbotg3_cdns3 { + status = "okay"; +}; + +/* USB PHY for usbotg1 */ +&usbphy1 { + status = "okay"; +}; + /* Colibri SD/MMC Card */ &usdhc2 { status = "okay"; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi index 8d06925a8ebd..a6b013cc6929 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi @@ -21,6 +21,10 @@ &colibri_gpio_keys { status = "okay"; }; +&extcon_usbc_det { + status = "okay"; +}; + /* Colibri FastEthernet */ &fec1 { status = "okay"; @@ -108,6 +112,28 @@ &lsio_pwm2 { status = "okay"; }; +/* USB PHY for usbotg3 */ +&usb3_phy { + status = "okay"; +}; + +&usbotg1 { + status = "okay"; +}; + +&usbotg3 { + status = "okay"; +}; + +&usbotg3_cdns3 { + status = "okay"; +}; + +/* USB PHY for usbotg1 */ +&usbphy1 { + status = "okay"; +}; + /* Colibri SD/MMC Card */ &usdhc2 { status = "okay"; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 49d105eb4769..1199e311d6f9 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -23,12 +23,31 @@ key-wakeup { }; }; + extcon_usbc_det: usbc-det { + compatible = "linux,extcon-usb-gpio"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbc_det>; + id-gpio = <&lsio_gpio5 9 GPIO_ACTIVE_HIGH>; + status = "disabled"; + }; + reg_module_3v3: regulator-module-3v3 { compatible = "regulator-fixed"; regulator-name = "+V3.3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; }; + + reg_usbh_vbus: regulator-usbh-vbus { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbh1_reg>; + gpio = <&lsio_gpio4 3 GPIO_ACTIVE_LOW>; + regulator-always-on; + regulator-max-microvolt = <5000000>; + regulator-min-microvolt = <5000000>; + regulator-name = "usbh_vbus"; + }; }; /* TODO Analogue Inputs */ @@ -329,6 +348,20 @@ &lsio_pwm2 { /* TODO On-module i2s / Audio */ +&usbotg1 { + adp-disable; + disable-over-current; + extcon = <&extcon_usbc_det &extcon_usbc_det>; + hnp-disable; + power-active-high; + srp-disable; + vbus-supply = <®_usbh_vbus>; +}; + +&usbotg3_cdns3 { + dr_mode = "host"; +}; + /* On-module eMMC */ &usdhc1 { bus-width = <8>; @@ -356,10 +389,6 @@ &usdhc2 { no-1-8-v; }; -/* TODO USB Client/Host */ - -/* TODO USB Host */ - /* TODO VPU Encoder/Decoder */ &iomuxc { From patchwork Mon Aug 26 21:59:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13778553 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D1F0146A71 for ; Mon, 26 Aug 2024 21:59:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709583; cv=none; b=k3ckseRCcjvoQXvpHLoa2PkJ7ENJToFSRUyF45QVqF9H4kj9xVfzPY7GukPzvv9eY5X8BJCLR94xttiUSw0+DRuMuHet42d97kYwcgeday3cC837u+cDR4Vv7YBkB9tzvd2py1oGqZMX25QnqIwGYJF75nz+iFax4N7u4njqaSI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709583; c=relaxed/simple; bh=bq9KVThxKqHGOBuaKcQ0Cgb93X/S/IAwRwAB8DDuSro=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=rzZSNOMtpv6jSGTiG/3Hei/XGXr5e6CKUQK0a1GDXTMRWPStruLj/6AR0hJHDGh2pGwfbuT9mMtpEJ2LDzAOJAOhaaUZoax0DkNUdhOeVpV9FabiZPvAp63dqRc3kDppOUM5PgULpjYQ2J3+p5uhLe1yrAuFMmEJ+a0QDWPYbAw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=WrTuoD5L; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="WrTuoD5L" Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 7518E25062; Mon, 26 Aug 2024 23:59:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1724709577; bh=3nXxX6+gvRVf+zAc6fUvb5njG3ZQWFMWH1kakJJtpEk=; h=From:To:Subject; b=WrTuoD5LvdBi20dB/av00NgYgQ2xjqmMrMsN9A6F6l6VSHwevObQgFhGv3u9fSFyB wh1AjYSaGbKss9rkCA3e77mXFEG6Wc9abTf3E0czFQ/YeFeYJGFZjv1vLSqSi7Zr3V 6Xps7LGUw1rrzK8vFSp8dHgUgrs2TR/bj6q7SJDfH/IWPspok2hF0eqs81xEcXRlzN P2JNLWXDASbB9P5DBOD0GYaUQWWfgNJATuQ1QtiLmZC3ImG7uJx4BjOy8rd7Ml17Jy Py+ZRfCusrmFzK2UQiNRc2ZvgRI6o/00VYxLlSVayck1MemTQ1Vu24oroEjgpPw5x4 wPlUmlsTkLvnQ== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: =?utf-8?q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Francesco Dolcini Subject: [PATCH v1 02/10] arm64: dts: colibri-imx8x: Add analog inputs Date: Mon, 26 Aug 2024 23:59:14 +0200 Message-Id: <20240826215922.13225-3-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240826215922.13225-1-francesco@dolcini.it> References: <20240826215922.13225-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: João Paulo Gonçalves Add adc nodes for analog inputs support for all Colibri-iMX8X carrier boards. Signed-off-by: João Paulo Gonçalves Signed-off-by: Francesco Dolcini --- .../boot/dts/freescale/imx8x-colibri-aster.dtsi | 5 +++++ .../boot/dts/freescale/imx8x-colibri-eval-v3.dtsi | 5 +++++ .../boot/dts/freescale/imx8x-colibri-iris.dtsi | 5 +++++ arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 14 +++++++++++++- 4 files changed, 28 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi index c02dfdd75b60..503aa5a90503 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi @@ -3,6 +3,11 @@ * Copyright 2018-2021 Toradex */ +/* Colibri Analogue Inputs */ +&adc0 { + status = "okay"; +}; + &colibri_gpio_keys { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi index 91de84772e1c..a2b2a0865666 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi @@ -19,6 +19,11 @@ clk16m: clock-16mhz { }; }; +/* Colibri Analogue Inputs */ +&adc0 { + status = "okay"; +}; + &colibri_gpio_keys { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi index a6b013cc6929..6d9d54d4e549 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi @@ -17,6 +17,11 @@ reg_3v3: regulator-3v3 { }; }; +/* Colibri Analogue Inputs */ +&adc0 { + status = "okay"; +}; + &colibri_gpio_keys { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 1199e311d6f9..c7f0dfe7b162 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -38,6 +38,13 @@ reg_module_3v3: regulator-module-3v3 { regulator-max-microvolt = <3300000>; }; + reg_module_vref_1v8: regulator-module-vref-1v8 { + compatible = "regulator-fixed"; + regulator-max-microvolt = <1800000>; + regulator-min-microvolt = <1800000>; + regulator-name = "vref-1v8"; + }; + reg_usbh_vbus: regulator-usbh-vbus { compatible = "regulator-fixed"; pinctrl-names = "default"; @@ -50,7 +57,12 @@ reg_usbh_vbus: regulator-usbh-vbus { }; }; -/* TODO Analogue Inputs */ +/* Colibri Analogue Inputs */ +&adc0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_adc0>; + vref-supply = <®_module_vref_1v8>; +}; /* TODO Cooling maps for DX */ From patchwork Mon Aug 26 21:59:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13778549 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 54EA519A288 for ; Mon, 26 Aug 2024 21:59:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709582; cv=none; b=uEjgkaBTnRlSHhUu3IR3VyA/Y84Jv3p2VH6h0t9z1QIb0/d/Fnaz3S19Fe6d0IL1roBOnlook/yygKZqPEHZOIYZpc7NDtDNa6pY8Ith48Uz4qEoJOobq9zEYVlRFX6G7RHaaoicS5us38Je8KXNVTSoz5iZhVFRHpMfZlrBTwc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709582; c=relaxed/simple; bh=c+vETQmbAaueA+hLH6yRpN8JE3WegH/Cn98FsewdFOg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Y9nwFzGv2bEmtvwqrW2kURrZYOnHRlZ5OYlbLpjpF/Hgq0Atdj54ybMjHnb0OA7NBGgOq2/o15ZA9gp1/1WItYXOQS/6eOrlV/yCDrOqj4JfOeL/3Ajr8Zhu8TkCWsSqfSbpFlEZeBt5Ly9CcmYXl6FTZ72tR/sD8cmuob8YWmY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=YwPkNiDk; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="YwPkNiDk" Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 172FD25065; Mon, 26 Aug 2024 23:59:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1724709578; bh=Y6SBDzFquVWsPY1lMx9z0fEMhXiSLxw9RPsKlk+gYHE=; h=From:To:Subject; b=YwPkNiDkLzHstFIFTpd0vni25qwybAiM5Lbw4+T9m43gwiOysERiaugEEBJIF5u3W 8tXPHNR2EL7UNgjO+hKwB9Vin+Pf0fYVfKhfzVJZafKfmJYYV5WV8s03Teha7+l1KW hvuDCCgrk8PLu1BAO3Eaf8jH0XqVJgN9FV0S2kZ2r6hf/qNRlm1t9ri2B/pyOPBRur MMGl8CNy35C0Ll9jKPZTGsanYDghdAYTnTlUhk8L17GkQsF1HliB+ozVI91pV0RM9x Mn10f5l2xjI3raEyXLhs+A+p4lkHSKzITThhF7uXDRIBoqqjnmZXyJFdWo59cmRRTX ghad59uaDSqgg== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Francesco Dolcini , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 03/10] arm64: dts: colibri-imx8x: Add fxl6408 gpio expander Date: Mon, 26 Aug 2024 23:59:15 +0200 Message-Id: <20240826215922.13225-4-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240826215922.13225-1-francesco@dolcini.it> References: <20240826215922.13225-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Francesco Dolcini Add fxl6408 gpio expander, this is required for Wi-Fi, Bluetooth and USB functionalities. Signed-off-by: Francesco Dolcini --- arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index c7f0dfe7b162..aa9c45c290b9 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -108,6 +108,21 @@ touchscreen@2c { adi,conversion-interval = /bits/ 8 <255>; status = "disabled"; }; + + gpio_expander_43: gpio@43 { + compatible = "fcs,fxl6408"; + reg = <0x43>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = "Wi-Fi_W_DISABLE", + "Wi-Fi_WKUP_WLAN", + "PWR_EN_+V3.3_WiFi_N", + "PCIe_REF_CLK_EN", + "USB_RESET_N", + "USB_BYPASS_N", + "Wi-Fi_PDn", + "Wi-Fi_WKUP_BT"; + }; }; /* TODO i2c lvds0 accessible on FFC (X2) */ From patchwork Mon Aug 26 21:59:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13778550 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D39E419B589 for ; Mon, 26 Aug 2024 21:59:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709582; cv=none; b=OC7OT3pXjA0fflqtU9WqsFdnKg+emEAUcqhqsVRz3k2D58D5FWY3rs5vNgqLHK35YQZCDFt/LPLjBOf2vdTTGLqYjKhdCIhL64U+Ld99IJ4zcXpeE/787svIUVhGxoTWoXCXaixe3GYFZ0lKYiES5GtegGYkm9WHNlfm4mNqzS4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709582; c=relaxed/simple; bh=XR3+/XvFK/lGAg4QJBVMznE/rdaGCmVxL+TEQ0JcQLU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=Wh3LWNcfBotqrgwYWDDt4ZZuNpUYZHmbIoR5doiKRshnJXiEpudhDgY7E0z4b6q1BQTrXn7DXB+1OgHi5dkk1pE2dCu5pd8FPEWK+WjBV9fnKaJ2K5j8a8QFHwutU/rQ18gfaDEjrmaDzp66lWyYHqy+chNIIvYQqI5MbmX4woA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=K7VcqpHP; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="K7VcqpHP" Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id ACE3B25068; Mon, 26 Aug 2024 23:59:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1724709579; bh=a6VuMP+XHJVX+Qc/uL/hJS3JhoWqTXPpjFhR6W1QxPs=; h=From:To:Subject; b=K7VcqpHPIqJruVrv6v7eieZpRF3ZrjR1nsAtKxMiu/xickc5VR7HcAnPkV0K6JBrS kqdWE+grgP7WVESTMFTRJscStRTlM3WXWuM4zFDa+Wg3dUnRWgnJivL5fXChhdkoCa 2pA0TsOG0F5qG4HI+NFMNS/AYYygEC2QxilT++5D/xmJZCG7Yek1nU9eLD3llaJHP3 pJrUT2xIMLpu+BA26inqcy0wrzSBkAVRgZ7OJX9DonJoD+5CO2rla0PYKN3DiP90xe V7g9Mm1AdU7iJQopqq8ed+g3AWvPiGHRbmG5m4DwEokFb/n0UmxRtLcj+RoUyU9TrI IUkf82GPyyzBw== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: =?utf-8?q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Francesco Dolcini Subject: [PATCH v1 04/10] arm64: dts: colibri-imx8x: Add sound card Date: Mon, 26 Aug 2024 23:59:16 +0200 Message-Id: <20240826215922.13225-5-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240826215922.13225-1-francesco@dolcini.it> References: <20240826215922.13225-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: João Paulo Gonçalves Add audio support for Colibri-iMX8X sound card. Signed-off-by: João Paulo Gonçalves Signed-off-by: Francesco Dolcini --- .../boot/dts/freescale/imx8x-colibri.dtsi | 47 ++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index aa9c45c290b9..1d22002103c4 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -38,6 +38,13 @@ reg_module_3v3: regulator-module-3v3 { regulator-max-microvolt = <3300000>; }; + reg_module_3v3_avdd: regulator-module-3v3-avdd { + compatible = "regulator-fixed"; + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; + regulator-name = "+V3.3_AVDD_AUDIO"; + }; + reg_module_vref_1v8: regulator-module-vref-1v8 { compatible = "regulator-fixed"; regulator-max-microvolt = <1800000>; @@ -55,6 +62,23 @@ reg_usbh_vbus: regulator-usbh-vbus { regulator-min-microvolt = <5000000>; regulator-name = "usbh_vbus"; }; + + sound-card { + compatible = "simple-audio-card"; + simple-audio-card,bitclock-master = <&dailink_master>; + simple-audio-card,format = "i2s"; + simple-audio-card,frame-master = <&dailink_master>; + simple-audio-card,name = "colibri-imx8x"; + + dailink_master: simple-audio-card,codec { + clocks = <&mclkout0_lpcg IMX_LPCG_CLK_0>; + sound-dai = <&sgtl5000_a>; + }; + + simple-audio-card,cpu { + sound-dai = <&sai0>; + }; + }; }; /* Colibri Analogue Inputs */ @@ -109,6 +133,21 @@ touchscreen@2c { status = "disabled"; }; + sgtl5000_a: audio-codec@a { + compatible = "fsl,sgtl5000"; + reg = <0xa>; + #sound-dai-cells = <0>; + assigned-clocks = <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_PLL>, + <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_SLV_BUS>, + <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_MST_BUS>, + <&mclkout0_lpcg IMX_LPCG_CLK_0>; + assigned-clock-rates = <786432000>, <49152000>, <12000000>, <12000000>; + clocks = <&mclkout0_lpcg IMX_LPCG_CLK_0>; + VDDA-supply = <®_module_3v3_avdd>; + VDDD-supply = <®_module_vref_1v8>; + VDDIO-supply = <®_module_3v3>; + }; + gpio_expander_43: gpio@43 { compatible = "fcs,fxl6408"; reg = <0x43>; @@ -373,7 +412,13 @@ &lsio_pwm2 { /* TODO on-module PCIe for Wi-Fi */ -/* TODO On-module i2s / Audio */ +/* On-module I2S */ +&sai0 { + #sound-dai-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sai0>; + status = "okay"; +}; &usbotg1 { adp-disable; From patchwork Mon Aug 26 21:59:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13778555 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2452819D892 for ; Mon, 26 Aug 2024 21:59:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709585; cv=none; b=l5l7sykXEENvBRjQYcZAn8G7+F6xkvDqhZuH17pzypVexqhbK2CoBzPrvJPhoXkyR7DXFV498AMrJQOi3dnkQ57Hsw9wHS73LAOwv/i9ihBLO3jIUojG20sp2Md4PEmFCBdp8tGgj85P6XI3DikYDkJ8wO3bAFoNuiFLc5KbRzE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709585; c=relaxed/simple; bh=39s33KG42bHDS00sl62f8QHw2b9DZOENVl9cXu8KzjQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=QGK3oOFPCr+DC1cebZwzOCVBGNTWlu0uDbtkrqcLmC376/XHwQbocox2rOQXR4cY9wSS4V3cJEi/rlQGDMWdaoPjtQC32Kz9Apa/vHV2c/7ceDY73SdH1hHiY4JiTyy/SMV6WyugqXPD66rT99+0c8Gkl2acx5VygT40Ms2NRz0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=CRNSzAEn; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="CRNSzAEn" Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 44B022506B; Mon, 26 Aug 2024 23:59:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1724709579; bh=KaIgGdKJgM6VdCbreGRynqu6r3UROl0K8YfZBEpupGE=; h=From:To:Subject; b=CRNSzAEnw7nH3o5kk3X7wCvha5oZzSe1UzUnKkJbpdw1CgSTBrYL/KaYRTOemyw5f O9EVUFRQ982Z0KCxTmopMv8oS0Nt2M8dtanabsgI7FVHjHGEdlvbLwAPQITciL/ERG uWzleTg8pE2cFqSkuXAwrcs0NX8KIrgU58Tnd67pfy+acQp/TRimB/fZ9sp9wyEw8n DPZj4A/YYL6oJRJ855hQEDyAAnTUrJHl6OsSlB8RX3hNQEiQ1G3YHkRgro4zczTISk ICQA/6aM/GskV+hMwSZF32OGkUffdQG8iBmrKV9d8A8bWvYcTsW0VHsJW50TxuFsB4 Pf+6UgbzcSzUA== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Francesco Dolcini , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 05/10] arm64: dts: colibri-imx8x: Add PMIC thermal zone Date: Mon, 26 Aug 2024 23:59:17 +0200 Message-Id: <20240826215922.13225-6-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240826215922.13225-1-francesco@dolcini.it> References: <20240826215922.13225-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Francesco Dolcini Add PMIC thermal zones. Signed-off-by: Francesco Dolcini --- .../boot/dts/freescale/imx8dx-colibri.dtsi | 11 ++++++ .../boot/dts/freescale/imx8x-colibri.dtsi | 34 +++++++++++++++++-- 2 files changed, 43 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8dx-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8dx-colibri.dtsi index 66b0fcc6687d..4d1ad052c5b6 100644 --- a/arch/arm64/boot/dts/freescale/imx8dx-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8dx-colibri.dtsi @@ -9,3 +9,14 @@ / { model = "Toradex Colibri iMX8DX Module"; }; + +&thermal_zones { + pmic-thermal { + cooling-maps { + map0 { + cooling-device = <&A35_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A35_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 1d22002103c4..f6afce016ff2 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -88,8 +88,6 @@ &adc0 { vref-supply = <®_module_vref_1v8>; }; -/* TODO Cooling maps for DX */ - &cpu_alert0 { hysteresis = <2000>; temperature = <90000>; @@ -420,6 +418,38 @@ &sai0 { status = "okay"; }; +&thermal_zones { + pmic-thermal { + polling-delay-passive = <250>; + polling-delay = <2000>; + thermal-sensors = <&tsens IMX_SC_R_PMIC_0>; + + trips { + pmic_alert0: trip0 { + temperature = <110000>; + hysteresis = <2000>; + type = "passive"; + }; + + pmic_crit0: trip1 { + temperature = <125000>; + hysteresis = <2000>; + type = "critical"; + }; + }; + + cooling-maps { + pmic_cooling_map0: map0 { + trip = <&pmic_alert0>; + cooling-device = <&A35_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A35_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A35_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A35_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; +}; + &usbotg1 { adp-disable; disable-over-current; From patchwork Mon Aug 26 21:59:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13778554 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 244DA19D891 for ; Mon, 26 Aug 2024 21:59:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709585; cv=none; b=h6IvEUeah6vyuVRtQXr66oBsghAJrY7iZqxzgbWOYDCpHr4DK70POv2KTQ0DVGPBItsVBH4hx03IVm47nGBESvWj80EJXuYxgx1crMOFv+mw/GDuyE0R2+3vubR9WfthroKRdtemh6eWRfo4TGeaiVLoEotPqNiI/9p+f3r/jk4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709585; c=relaxed/simple; bh=GDszkwtsOty2wp4CxZ2pjndItFDDIbFDEaqrdeW6Y9Q=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=QCzuFua+MVgcWy7ArtlHob/2pdkSp+wWFcNmY7OPbRpZrzSITUD+jbmV9uOl5dkPHMUXVSoac1G6UAYP7WjmVw1HhOmbDHanYj972GQEiCP3BQHgXs6k3U1clxmKc78NrWeFU3D2ogEy3OS8pEPMDbiYCEbSyQlmfqjJfZK0sD8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=TGlLk8Vg; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="TGlLk8Vg" Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id E4C022506E; Mon, 26 Aug 2024 23:59:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1724709580; bh=3BT5+sdVfi/hhHm41S0oCipG1TuIyy/krE/KMNZy3nQ=; h=From:To:Subject; b=TGlLk8VgGaUQlvmMGksUcTvyqmdSNTz1KAPPhqm4Pb0pRl7/8ShAi2BfTSwibzu7D ruGUn1CV7a/FUXx+Ym/VuCvK/M14d46nKHRU/x/aIM2OUqOKOgyp3CRzwfEyp1G3kX kkXxUO2CA4lhi33nw5URTvliqLEkqZ3UNCr44ql+WpARwRg9r/348f/rymmJEhZw3k gxOSDzj+j9CsiVRv4GhEJo+poUju1e03V58JGd7+Ka5y42Uaa0fKKRy+LMZX6Sgx/b 5Iv+R4pb2Jd4o/I4YVMNV0xSr/e0qbLNyTfeErpc1dc2z25bZpxDB+szf6KS+83Sgl p5m8szGO0Li3g== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Francesco Dolcini , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 06/10] arm64: dts: colibri-imx8x: Add USB3803 HUB Date: Mon, 26 Aug 2024 23:59:18 +0200 Message-Id: <20240826215922.13225-7-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240826215922.13225-1-francesco@dolcini.it> References: <20240826215922.13225-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Francesco Dolcini Add USB3803 HUB, this is required for Bluetooth and USB functionalities. Signed-off-by: Francesco Dolcini --- .../boot/dts/freescale/imx8x-colibri.dtsi | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index f6afce016ff2..7c728208f385 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -113,6 +113,26 @@ &i2c0 { pinctrl-0 = <&pinctrl_i2c0>, <&pinctrl_sgtl5000_usb_clk>; status = "okay"; + /* USB HUB USB3803 */ + usb-hub@8 { + compatible = "smsc,usb3803"; + reg = <0x8>; + assigned-clocks = <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_PLL>, + <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_SLV_BUS>, + <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_MST_BUS>, + <&mclkout0_lpcg IMX_LPCG_CLK_0>; + assigned-clock-rates = <786432000>, <49152000>, <12000000>, <12000000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb3503a>; + bypass-gpios = <&gpio_expander_43 5 GPIO_ACTIVE_LOW>; + clocks = <&mclkout0_lpcg IMX_LPCG_CLK_0>; + clock-names = "refclk"; + disabled-ports = <2>; + initial-mode = <1>; + intn-gpios = <&lsio_gpio3 4 GPIO_ACTIVE_LOW>; + reset-gpios = <&gpio_expander_43 4 GPIO_ACTIVE_LOW>; + }; + /* Touch controller */ touchscreen@2c { compatible = "adi,ad7879-1"; From patchwork Mon Aug 26 21:59:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13778557 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8F6F219D8B4 for ; Mon, 26 Aug 2024 21:59:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709586; cv=none; b=Gh/oLh61HVNUc0SFEWw+Hszfc/fX+T1ueQCPYYdsMdx4+kWmMQz6qMnU97Bi6CI8yTUdTRU9AeZOGEtJVEZ4Z05EitcO1W77J2MPr7Tn/YeRMgxIYfrW1r51tX+wgUL3ndAEZoSmUYPCND87xYK+04mrM/1X77zQly9W2ZN+DVM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709586; c=relaxed/simple; bh=oLDDDYHNwoSmGgW/E88FUxShwyIwpyGey1dNTzAopZg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=t+93i4SSAhknr0VZS03Mb1JLJmzYuFNPoe9bgWUz4TjPGDTm5sTDRGsh7ruwVUTrD0vlkb7ykhETDpLukgJ2QN+JwHdySciCT5Awq2j+EutXkFu+tHteK5tCGFGjYnZLj5dJy5hsYZMItg7xa6uUoqhUIWEmPmTiC+igqpzshdc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=bVhjX+Cc; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="bVhjX+Cc" Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 73EF525074; Mon, 26 Aug 2024 23:59:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1724709580; bh=3NPK+p0mJgiOq8GcwZ3CPB6kLXaNxyIbSXm1F2awChY=; h=From:To:Subject; b=bVhjX+CcmYlJAb47TAqqNoeoQwZ3t/AwKxEE2ThglUrZfdl7YVoCKA1Q/QwgcLIhQ wPE2jFSZ5Sf/gitHA9Y4XpfxzgdrIUpn2/4h3cGCuh4Lbld3aEPjvXQqUGxf3uSD/Y m4jBJV4MNWFmKrhyn9U3nNxzspyxlzMQICw7GzvmLgWW7dNR//Rdf7KqmG230t9iro ZzB94C7jS+jw6r9/Y8b9bjmRW8bIdiiFkPMLmLgDQtpsMNj72pDb7b8zQCTQB949tv ENxJ9SMTRQ0bs8dKPWZSJVLH2H3V/xXGxbG3kpCKjHAuGxn/ro86rTLUgHP2pE1cdI kXMTDrKicJB6g== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: =?utf-8?q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Francesco Dolcini Subject: [PATCH v1 07/10] arm64: dts: colibri-imx8x: Add vpu support Date: Mon, 26 Aug 2024 23:59:19 +0200 Message-Id: <20240826215922.13225-8-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240826215922.13225-1-francesco@dolcini.it> References: <20240826215922.13225-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: João Paulo Gonçalves Enable VPU on Colibri-iMX8X. Signed-off-by: João Paulo Gonçalves Signed-off-by: Francesco Dolcini --- .../boot/dts/freescale/imx8x-colibri.dtsi | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 7c728208f385..782546a35bf9 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -424,6 +424,15 @@ &lsio_pwm2 { pinctrl-names = "default"; }; +/* VPU Mailboxes */ +&mu_m0 { + status="okay"; +}; + +&mu1_m0 { + status="okay"; +}; + /* TODO MIPI CSI */ /* TODO MIPI DSI with DSI-to-HDMI bridge lt8912 */ @@ -511,7 +520,24 @@ &usdhc2 { no-1-8-v; }; -/* TODO VPU Encoder/Decoder */ +&vpu { + compatible = "nxp,imx8qxp-vpu"; + status = "okay"; +}; + +/* VPU Decoder */ +&vpu_core0 { + reg = <0x2d040000 0x10000>; + memory-region = <&decoder_boot>, <&decoder_rpc>; + status = "okay"; +}; + +/* VPU Encoder */ +&vpu_core1 { + reg = <0x2d050000 0x10000>; + memory-region = <&encoder_boot>, <&encoder_rpc>; + status = "okay"; +}; &iomuxc { /* On-module touch pen-down interrupt */ From patchwork Mon Aug 26 21:59:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13778556 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 69F3619D89C for ; Mon, 26 Aug 2024 21:59:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709586; cv=none; b=agKVblErkJhYVjy6iHMt7efgjXf44t5wjJu5C90Dqywl6InGmdkjh/rAFgNXIulvdxq/kUHwB39XcRjF4x1bibuXdzauV/MmGFlV1/lX+A73SenYYEMyaRyQfm1DWcgiErt0EQ1Y1z0rgif8xKfv6NOHLgA9n2wHLARwvkGvvkc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709586; c=relaxed/simple; bh=vLV4h/E4ae8OrlornyDYuD6zcUiwbmLYHn9Mz1BP7QU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=bjNaXr8MWcvKtXaGZliyh6yu+64qjtZa46m+IsUQFNmVGLfVcL5jR1PICXAcYlUUhAiu+E4iN2LFiE+oiiHeDfSbB+nvm8jjFs68lxvrpOf7jHuG53FxUFcuuR0U2k19zhoH02PGjxc8jcNv6Pp/sIhb2tZkTtUC2W6LSE5RBBM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=eIxFanq4; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="eIxFanq4" Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 0FD1525077; Mon, 26 Aug 2024 23:59:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1724709581; bh=mXowhD81nNtIh4Zuu2na6my9WsdVkq42/DwcPSggglQ=; h=From:To:Subject; b=eIxFanq4VlyxaMWdNaDUfxEBQbIVyc3uaSTY0ZJ1KHxKCNC0+Kpbj9UJAH5IO6Yn/ PlApeLsAXXNI7UHMWXukWu0mMn5XJKxcVfrGXCdyNnknQQV3f5LR1E8+4zD9Z4ifPQ zWEWE5s7nFfYOi7sEMhQZjxcoAGFZiIwpx8zRiFaelOdoTIwwghY3/Mkqj134TY2jQ TUuHKWMG6JGl3rIsofidfVahzoqUNx8CQ65ZI3ad+89HPhzwwzIOcyb3UeGGEMNG6d 4pnnpluy6izfqZ1XLKDDV9u2gMSgAOJbaJnVu/KShXtsZ9nT7kJopM7hAKP4TWEe1G tNECj4AbypU8w== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: =?utf-8?q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Francesco Dolcini Subject: [PATCH v1 08/10] arm64: dts: colibri-imx8x: Add adma_pwm Date: Mon, 26 Aug 2024 23:59:20 +0200 Message-Id: <20240826215922.13225-9-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240826215922.13225-1-francesco@dolcini.it> References: <20240826215922.13225-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: João Paulo Gonçalves Add adma_pwm node for Colibri-iMX8X carrier boards. Signed-off-by: João Paulo Gonçalves Signed-off-by: Francesco Dolcini --- arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi | 5 +++++ arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi | 5 +++++ arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi | 5 +++++ arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 6 ++++++ 4 files changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi index 503aa5a90503..f7bbb2153ae0 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi @@ -8,6 +8,11 @@ &adc0 { status = "okay"; }; +/* Colibri PWM_A */ +&adma_pwm { + status = "okay"; +}; + &colibri_gpio_keys { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi index a2b2a0865666..f75499765d85 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi @@ -24,6 +24,11 @@ &adc0 { status = "okay"; }; +/* Colibri PWM_A */ +&adma_pwm { + status = "okay"; +}; + &colibri_gpio_keys { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi index 6d9d54d4e549..54393a0c5cbf 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-iris.dtsi @@ -22,6 +22,11 @@ &adc0 { status = "okay"; }; +/* Colibri PWM_A */ +&adma_pwm { + status = "okay"; +}; + &colibri_gpio_keys { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 782546a35bf9..9cd4383e9298 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -88,6 +88,12 @@ &adc0 { vref-supply = <®_module_vref_1v8>; }; +/* Colibri PWM_A */ +&adma_pwm { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm_a>; +}; + &cpu_alert0 { hysteresis = <2000>; temperature = <90000>; From patchwork Mon Aug 26 21:59:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13778559 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A3C9C19D8B8 for ; Mon, 26 Aug 2024 21:59:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709587; cv=none; b=Splep0mhZrLMKxbCL7ddCPe8lgJfNkUaNU/yK7PKrUlb/6C2UxiwBroqn7APVOTdQ7aNgblofQ4YGiFKgJR8FvA6NtrywruaSYqFd/wXkbBp3Ss81JzTWZCMZN+B+44xtIPpGtlPHY4oqvYfXekq+D0zC2aY//IhMdJSbrg9A6A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709587; c=relaxed/simple; bh=wtKZOyebMl2b3YJZkI5Q3LKJP6LpV3duZC2sj4V5Mx0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=sZj1DhHtRYWe0S1m9lm91e2Q4lSqO6Gou29q6w3rxzJjf7OUwI1Zz4zxTqu7yd8BHzUa1KDdLb3r0qxoiYHbsalsoIn/fC4eKgA7HhaObBwSfo9nyPM49cM0krcakOA7QL0UALTsCuTARQbpsR8u4vRxUFHUmbGuIYI5wnbPGqo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=XDJ3HRc7; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="XDJ3HRc7" Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id A5C0D2507A; Mon, 26 Aug 2024 23:59:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1724709582; bh=SDG2/Gs74zsbXlc1LkgedRkmMLU/OqYN0TCFF8ojvrI=; h=From:To:Subject; b=XDJ3HRc7pisfH/tnnEYXxfghttI3aMlXzuqKns38q+C769ZWj/kkSQjYMY682ewav u3hT1Zizs5kdEozgCGUZYMLxgRtOwBgD7JluWGGWcruJQF7FYMpFPAgEKQJtRbvilj ShYHfKYXo+ZAj1zilp2o/v/KJ0KQrR1/VdqIIZm7FlO0HMdPDcpsaD2wHraq8iSCVf izQLrUoAQ28x+xKJ9tgts1FrOx58zzFceb0HS89dvwkxQwlvs6dKKlLK0wzTwA7DY4 n9QF0v3c2sc8OMpWMsUr8OcczvhpnafYz+k4AyyghE0FgiiqM+zZUnUUuMGQaXv6oB mwhlNogXYJu+g== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Philippe Schenker , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Francesco Dolcini Subject: [PATCH v1 09/10] arm64: dts: colibri-imx8x: Add 50mhz clock for eth Date: Mon, 26 Aug 2024 23:59:21 +0200 Message-Id: <20240826215922.13225-10-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240826215922.13225-1-francesco@dolcini.it> References: <20240826215922.13225-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Philippe Schenker Change enet0_lpcg to get the clock value needed in Colibri-iMX8X for 100mbps ethernet. Signed-off-by: Philippe Schenker Signed-off-by: Francesco Dolcini --- arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 9cd4383e9298..75259e8d48a9 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -106,6 +106,21 @@ &cpu_crit0 { type = "critical"; }; +&enet0_lpcg { + clocks = <&clk IMX_SC_R_ENET_0 IMX_SC_PM_CLK_PER>, + <&clk IMX_SC_R_ENET_0 IMX_SC_PM_CLK_PER>, + <&conn_axi_clk>, + <&clk IMX_SC_R_ENET_0 IMX_SC_C_DISABLE_50>, + <&conn_ipg_clk>, + <&conn_ipg_clk>; + clock-output-names = "enet0_lpcg_timer_clk", + "enet0_lpcg_txc_sampling_clk", + "enet0_lpcg_ahb_clk", + "enet0_lpcg_ref_50mhz_clk", + "enet0_lpcg_ipg_clk", + "enet0_lpcg_ipg_s_clk"; +}; + /* TODO flexcan1 - 3 */ /* TODO GPU */ From patchwork Mon Aug 26 21:59:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13778558 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC4BB19D8BF for ; Mon, 26 Aug 2024 21:59:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709587; cv=none; b=RjgLJcZ9M13hV5RngWGuvtXOC1Sr+zFu2r9ByAaEEtIkkL94IbQTygxeliWRrKUgjwMuqnd9KrYeixaPttVhctcm22Sd46zElpD+VwEUrqBDR4Yq1qRh/1y8oU5xPV7PwSUeYNW5anGGv0sQuqpyXVNg8w/WDK42UPybgEshgh8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724709587; c=relaxed/simple; bh=MSqEoZ9TxMtqZ2+zhwwZ9pYYN7UQrja5X3sZrLXfDX0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=sdYNnEWkBRN8SD19FDfESYFv1kgCc+28UfobxbP76f+Rj9BgtT8j0phzGFTJgdVedfsUbAQMR/Fd3SOdDfYwHHTKS8Mxo7nsoIvXjFE+iHFWkx4+U1FaD9mKnrCja0TmegFuAg3aOCiUS8PZe+OCskZwBk5Z4h+ucjyQikNHHh0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=TtvsZjWP; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="TtvsZjWP" Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 474B22507D; Mon, 26 Aug 2024 23:59:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1724709582; bh=Hj4hr0R1mObUNs2bkOBKYhNT+1JKlzVOa1x2fo7WPgg=; h=From:To:Subject; b=TtvsZjWPEfx96fucU9dWmBhLtA7ni3Q9QczZ5T7N2GXyNrf6teOb/mUBfI2TzOZ1T kHcXG0L/HmtpFEcdnz55NF2EzOoWpWcj504AAdx2456cwvGGv7SB4OMeVbxUpYx+I1 lw6fEfQh+OT3oBS9LxHMaFbXnFXiFGsRCUc6KttDpMqVkCHyGqietzeXeP43hIMZL4 4ycJkcvBLOYUugM0bsCKaGTP9Q+2jI8OckH3UhBWStR9lTHSDorzN1g87Nad1LAhjK qotRl2Lx2hjqDQmZ9+ILR3QHYNI/r23CFVpy/9Di6DI6dUxRCPcW19atx3SKecdztc tWzhh8PjFHUgA== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: =?utf-8?q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Francesco Dolcini Subject: [PATCH v1 10/10] arm64: dts: colibri-imx8x: Cleanup comments Date: Mon, 26 Aug 2024 23:59:22 +0200 Message-Id: <20240826215922.13225-11-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240826215922.13225-1-francesco@dolcini.it> References: <20240826215922.13225-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: João Paulo Gonçalves Remove unnecessary comments. The Colibri-iMX8X doesn't support FlexCAN, and the GPU is already enabled in the SOC dtsi. Signed-off-by: João Paulo Gonçalves Signed-off-by: Francesco Dolcini --- arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 75259e8d48a9..42326baf878a 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -121,10 +121,6 @@ &enet0_lpcg { "enet0_lpcg_ipg_s_clk"; }; -/* TODO flexcan1 - 3 */ - -/* TODO GPU */ - /* On-module I2C */ &i2c0 { #address-cells = <1>;