From patchwork Wed Jul 17 09:37:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 13735263 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 59A3447F4D; Wed, 17 Jul 2024 09:38:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721209090; cv=none; b=Hev7pj4VO3l05vdPjOGiL8PXETs/JwlZTZ0s72KCH7/FvrBhbt+AIp/K5y+/LeIOoAFRiSjv7m1c4+Rz8+cOfUKtJg1vT9Sg45KvcMsERPp7zYXdeliv6nSql3okacLrR3RAPqrm9362zsS7FwpidZfYUVLgYQvsqK+eLR6ITgg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721209090; c=relaxed/simple; bh=ubP44NuaGuAY90GjTboVKQYzq7RaHydSJd5UcJwCg9w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=DtYuq3vuy35Bfhgry7YVKUGCOKUA4VkLoB9s+1I2ZGxuaC17a5NspWCZgsWdTdE4pP2ci7aPALBuT/2UFlstomj49KNpws5xJ7XTMw6GBFgsN2ryJhVhhcxlEhYDzlUueFLsxjhLjD1g/3fndxe+Kpq9Nz7iAETjuDLAqnMxdQc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=U56LELKc; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="U56LELKc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5C3C6C4AF0F; Wed, 17 Jul 2024 09:38:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721209090; bh=ubP44NuaGuAY90GjTboVKQYzq7RaHydSJd5UcJwCg9w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U56LELKcbq6iDWxH6yGU5DkmtU0YvxhK9MJhlwBfbqw6xKV02nzIlPuAuF4KNjZqH y8Cv227swF7p2+VP/eR5zV08eYKkqjgdxBuClvaR8ARhvnxLwfKv5tTO5ONm3sFSGy mQNRtxqXVGHckwWcaHJTedH1/WuA6h/wZyYFU+nv9kpmdWfM7V8RTEbqA1aCWg2Wpe IyqeWo21mcd26X1CRJFrCU7A+ortkj2oof0AnuMbR/Nwe+XnKi2UHD7G6Ykb8Pkrrx HnL538xZXBAxTA42/rwXOJukM76egtIHilXAw7aBmIsx18Q1rm8+4LaGUB3fjLgaaD UGFhebyC96Qag== From: Conor Dooley To: linux-kernel@vger.kernel.org Cc: conor@kernel.org, Conor Dooley , Dinh Nguyen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Huacai Chen , WANG Xuerui , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, imx@lists.linux.dev, loongarch@lists.linux.dev Subject: [PATCH v1 1/4] arm64: dts: imx8: remove non-existent DACs Date: Wed, 17 Jul 2024 10:37:53 +0100 Message-ID: <20240717-alkalize-bouncy-83e748284bc7@spud> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240717-anvil-ashy-544e80a1317c@spud> References: <20240717-anvil-ashy-544e80a1317c@spud> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1626; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=sKkWMQCF3ZOs6V++WZsAxf1OgaX475Y80SVGf7Gc4Hg=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDGnTJ3y022HU6njk6TlvlsxsNff2Ob/envY/rbfonqXGG h/x18tvdJSyMIhxMMiKKbIk3u5rkVr/x2WHc89bmDmsTCBDGLg4BWAiduwMf3jC9q/ddzZoY/TE KDXdpyz3cvUtY7b29smoGJi9q1g7j5WRoc9rQ859nrX/O4W/mXDNaM05/VfSujnKJ8zGtq3RMec VHwA= X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C From: Conor Dooley Neither the imx8dxl-evk or imx8qm-mek have a Rohm DAC on them as far as I can tell from online documentation, and they certainly do not have a dh2228fv, as this device does not actually exist! Remove the DAC nodes from the devicetrees as it is not acceptable to pretend to have a device on a board in order to bind the spidev driver in Linux. Signed-off-by: Conor Dooley Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8dxl-evk.dts | 6 ------ arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 6 ------ 2 files changed, 12 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts index 1a74ac3ee4ee..4caaecc19227 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts @@ -722,12 +722,6 @@ &lpspi3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lpspi3>; status = "okay"; - - spidev0: spi@0 { - reg = <0>; - compatible = "rohm,dh2228fv"; - spi-max-frequency = <30000000>; - }; }; &iomuxc { diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index 778741dbbb33..3f0fd147bbd0 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -287,12 +287,6 @@ &lpspi2 { pinctrl-0 = <&pinctrl_lpspi2 &pinctrl_lpspi2_cs>; cs-gpios = <&lsio_gpio3 10 GPIO_ACTIVE_LOW>; status = "okay"; - - spidev0: spi@0 { - reg = <0>; - compatible = "rohm,dh2228fv"; - spi-max-frequency = <30000000>; - }; }; &lsio_mu5 { From patchwork Wed Jul 17 09:37:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 13735264 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6DEDC4D8B8; Wed, 17 Jul 2024 09:38:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721209097; cv=none; b=ufV0CI/nl90YUVNthImhsGNQnffOJWz3hkncKzSFiqFwqcEAIWRfZQFHf4xQwnsLaKCf2t+Y4zV1Nl7Lxz5cxvL/YODoDFDw+mZs2q3NjOrmUkj4ehmARHonf0t5V1OPWWT0BaBwdssJbdMW9+t6r4Rl9PK7qCEsegahoykEwZ0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721209097; c=relaxed/simple; bh=msJRc4jOmo8X3ZitZ0CBdwvlEyzT87CXS+Smk6niWEc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JHMZLbJbAiTvuP09w3Y+nccjCwrksAnjFi/cJ19ymSvTl10bYaPhe0J4jRFDy06j97XMA2+ziIPC7yqUF0Imhnwgt3aitTBTERK+tpuxkmJ9A8FeUgT8f+40Ya41GXVA/zVl+rbS12162mElBQRU0PNIOHSqXq3QMyGmSUBVC6g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DGMPjDAh; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DGMPjDAh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5F781C4AF0F; Wed, 17 Jul 2024 09:38:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721209097; bh=msJRc4jOmo8X3ZitZ0CBdwvlEyzT87CXS+Smk6niWEc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DGMPjDAhwadBEbuN1mY54jiFyNyTGNOKIcIsivKjlt5jKe9SA6a1p0+7Zk2/uVumK EVVgvo28/usYXekHiR9vBjMe/75Il6heV/pmpGmqHd5dndy/739v0+6NoISlhHufjm gORW0nn4LF6T/VUMvKT8KCbCyxf5BIxqKNDRKWMLl3sHdZB9letDBFzFYLJ8hCePCY gnVBbY1B9SP0cia3yE4fmyXr7JuAsmW4KxconnvDoeVtmQRigkK+og+kqiGdJEkjD9 hMWaDBsbIZJQ7OheKC6LMA84FCigkBXGaqiKl4zAzmoBlhUfXKvFpg2D7FiYJT/nDk h3Sk7FSID22KA== From: Conor Dooley To: linux-kernel@vger.kernel.org Cc: conor@kernel.org, Conor Dooley , Dinh Nguyen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Huacai Chen , WANG Xuerui , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, imx@lists.linux.dev, loongarch@lists.linux.dev Subject: [PATCH v1 2/4] ARM: dts: rockchip: remove unlikly-to-exist DAC from elgin-r1 Date: Wed, 17 Jul 2024 10:37:54 +0100 Message-ID: <20240717-parrot-malt-83cc04bf6b36@spud> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240717-anvil-ashy-544e80a1317c@spud> References: <20240717-anvil-ashy-544e80a1317c@spud> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1373; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=MSCoCs+nCZ6kB0uJ7jdevDa476eowpEIcz88i8dEKdE=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDGnTJ3ys8n7Utfzn6f1/W+KE5jBkd/BffrFwSfWlrIkLJ 1k8WvmpsaOUhUGMg0FWTJEl8XZfi9T6Py47nHvewsxhZQIZwsDFKQATWSXL8JvVfIPtJKdH0j+r 7Y3ZZmcYrG9kfm1hdPNH/2qL10cnrK5n+F/dwZipV8nuu6Zpppjo6/3fdh4z7etMy41sMco9cdB GnQUA X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C From: Conor Dooley The Rohm dh2228fv (really the bh2228fv, the compatible in the kernel has a typo) does not support frequencies above 10 MHz, nor per the datasheet appear to use either CPOL or CPHA. I suspect that this devicetree is abusing the compatible in order to bind the spidev driver in Linux. Pretending to have devices on a board for this purpose is not acceptable, so remove it. Signed-off-by: Conor Dooley Reviewed-by: Krzysztof Kozlowski Reviewed-by: Fabio Estevam --- I could not find any documentation for this board online, and it does not blatantly say that the device is a "spidev" like other [ab]users, so it is possible there's actually a DAC here - but I doubt it is a bh2228fv given the other incompatibilities. --- arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts b/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts index 2d9994379eb2..9df1cef406c5 100644 --- a/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts +++ b/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts @@ -167,14 +167,6 @@ &spi { pinctrl-names = "default"; pinctrl-0 = <&spim1_clk &spim1_cs0 &spim1_tx &spim1_rx>; status = "okay"; - - dh2228fv: dac@0 { - compatible = "rohm,dh2228fv"; - reg = <0>; - spi-max-frequency = <24000000>; - spi-cpha; - spi-cpol; - }; }; &u2phy { From patchwork Wed Jul 17 09:37:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 13735265 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C066E5589B; Wed, 17 Jul 2024 09:38:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721209102; cv=none; b=DbbC48wU7QWsa0WogD+zD0+K9nxpBPUwYnDs9oWbvCSvzG1tNLqIY6BdEtUgHIi/0jDf10WSwALPFofyNxKa/Mnx3m6fnohDq3EczKCp0g7W8qrv6VXQvDLOWIvJqfTmWWO0OvdpttPWry9n3u6PC8KA2UcMKagA/x2cic05zF4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721209102; c=relaxed/simple; bh=kvAvf3K13By68WYYkU8J/NSbxi+QzftdA8TmLyuxtq0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SaDoEyuJrvphAm2YIpTmYcdqo4aa8rJt4Zyf2pmfKbbuhTFcAh44TbLhrQuHgxdyRaIbMEJoDpx526tb2/d3OA8lizZbFFFcUpXDXVgK6uWS/C7ysN/qNihF8qjRTpiUv3sEbcc94Cuivhnu/9IdrCdXJDxAs4NUYcpCmsWb4Gw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dT7QjkcL; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dT7QjkcL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0460BC4AF09; Wed, 17 Jul 2024 09:38:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721209102; bh=kvAvf3K13By68WYYkU8J/NSbxi+QzftdA8TmLyuxtq0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dT7QjkcLSQyTYW+upkHxZPkqByBL2o8ELkc8voWPr2JPTBJVqWgrjKDUy0zA7f1M5 LpmBztk1tru1WTy6CVfQGaBkZQVzjTQ17LwFXYhoKWGKFcDbXAjMCQjx6hpGTfCTUj hHecFyKnDZup/UZ8X5qXvrGrdP2hQLRJNP30XMzpuvpJfbZF55q9axNy1k9xeNcFGc yuZ6XPb3mQyHZW4KNzsW4RDRx6XB4J9FuP9LotQgiCP7asnQhiBF3oLKYbKTy21Vhw 0DDU3dG7m+2f/sSAYQsF3vfghyLn3jScF379FhG5+D4PhifvoYUK2k3Yl5P0liblNy Kb4rypoeHK6ig== From: Conor Dooley To: linux-kernel@vger.kernel.org Cc: conor@kernel.org, Conor Dooley , Dinh Nguyen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Huacai Chen , WANG Xuerui , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, imx@lists.linux.dev, loongarch@lists.linux.dev Subject: [PATCH v1 3/4] loongarch: dts: remove non-existent DAC from 2k1000-ref Date: Wed, 17 Jul 2024 10:37:55 +0100 Message-ID: <20240717-preacher-sandal-2aeffa322b9f@spud> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240717-anvil-ashy-544e80a1317c@spud> References: <20240717-anvil-ashy-544e80a1317c@spud> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=958; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=jfLYO8PFemfCqGXNrh1eFKx07e6y8OVxxug9hg0F1C0=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDGnTJ3wU+s7fvKRHVGz+tenHhQ6u+vrlkYLe4hNn2rVXF HV2LHmf1FHKwiDGwSArpsiSeLuvRWr9H5cdzj1vYeawMoEMYeDiFICJJJcx/PdJF2lX6+VKeudx xv6ec7hVzOGt+8qki78ErNwe8JdfKZyRYVF6v9Uj3+6GPcdYu8PPVBh1pk+61dXt/W3ajAMVs9I 0GAA= X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C From: Conor Dooley The 2k1000 reference boards do not have a Rohm DAC on them as far as I can tell, and they certainly do not have a dh2228fv, as this device does not actually exist! Remove the dac nodes from the devicetrees as it is not acceptable to pretend to have a device on a board in order to bind the spidev driver in Linux. Signed-off-by: Conor Dooley Reviewed-by: Krzysztof Kozlowski --- arch/loongarch/boot/dts/loongson-2k1000-ref.dts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/loongarch/boot/dts/loongson-2k1000-ref.dts b/arch/loongarch/boot/dts/loongson-2k1000-ref.dts index 23cf26cc3e5f..3514ea78f525 100644 --- a/arch/loongarch/boot/dts/loongson-2k1000-ref.dts +++ b/arch/loongarch/boot/dts/loongson-2k1000-ref.dts @@ -90,11 +90,6 @@ &spi0 { #address-cells = <1>; #size-cells = <0>; - spidev@0 { - compatible = "rohm,dh2228fv"; - spi-max-frequency = <100000000>; - reg = <0>; - }; }; &ehci0 { From patchwork Wed Jul 17 09:37:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 13735266 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F11BB5644E; Wed, 17 Jul 2024 09:38:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721209108; cv=none; b=YJDIQEgjfOUngQYDeS4ArtNYm9TPcPVnzLs+aJG3Cbb4bMMWLAyy0ruYtTcwl6/fT4Rg6dFAlkPWn2CtDc7CLGdOH0FrbskcO+QVCj05LOg7wZQqerXAqxu8jhR40bFRa8mn645YXj9yptNJg5Pdmb/zcKmgHqDqib7gMyBOZEY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721209108; c=relaxed/simple; bh=zR+H4DU723yvn4u1sKhvZiiUDXT8gBtuFekq4R3cabQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rM93oH+vdraObDYKxVB7fqHiqm4q4FEhrELOISxvJLCo1DT7Fh/SLzO67ml5efqv/hZL6vwKWVgiNd7X7Drb+xCgkxRoAw+S0I6fYAmIOWrxlUkGDbELYY+c/StQIVbTSuqr3fD6bZyIgGltK8lpBLFRqn5au1u2u4cEqdWu5Q0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SPVej2gA; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SPVej2gA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA53BC4AF0F; Wed, 17 Jul 2024 09:38:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721209107; bh=zR+H4DU723yvn4u1sKhvZiiUDXT8gBtuFekq4R3cabQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SPVej2gA8JptVbJk2M/36dnUy22qkdvXsA6vuh/xH3HzmBBMtZxlZKp51zFG5x2Y0 aDfRVSe4UzoEqlj52fpCnYycaOtfU+Lfl51Xe20duHWD7NpkEq2ik2cFhGBFWJYx0A kUYss1al5DLi3Ydn76ByDOGJIBA7ZrsequKKfyE35YEmKY99hGRF+yEkRAT+r1P1LS yCVp70VCBsh15Jx3246fAvfenmhuIrthje3UjrDXOMPjBz1A1+KaiDG5nSCHbx/k0y V5FYSNeVi8sUId1EATJcTaFH89cMEZsLBuNcXUe3EA3qXd7TdgrpHhrji+YMeDSuoG pKHTPUjpGvTww== From: Conor Dooley To: linux-kernel@vger.kernel.org Cc: conor@kernel.org, Conor Dooley , Dinh Nguyen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Huacai Chen , WANG Xuerui , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, imx@lists.linux.dev, loongarch@lists.linux.dev Subject: [PATCH v1 4/4] ARM: dts: socfpga: remove non-existent DAC from CycloneV devkit Date: Wed, 17 Jul 2024 10:37:56 +0100 Message-ID: <20240717-partake-antivirus-3347e415fb7d@spud> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240717-anvil-ashy-544e80a1317c@spud> References: <20240717-anvil-ashy-544e80a1317c@spud> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1040; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=fbDVTS66SQLTObr7U5FvofO+Awu0zrlwHhlO6xFXdHE=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDGnTJ3z6FXZpg0Oi/2bJTNefzN9T18Za57ZcOSb8pn0B6 +rnW902dpSyMIhxMMiKKbIk3u5rkVr/x2WHc89bmDmsTCBDGLg4BWAiar8YGd7+3yv0spAt9bSr UPKhx2sbT+WHqFZrnYpfevbvbd+ZX7sY/hkIeviLS6bwMIQqLbT93vanaG7ikSUhTguvHZIwun7 vIisA X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C From: Conor Dooley There is no Rohm DAC on the CycloneV devkit according to the online documentation for it that I could find, and it definitely does not have a dh2228fv as this device does not actually exist! Remove the DAC node from the devicetree as it is not acceptable to pretend to have a device on a board in order to bind the spidev driver in Linux. Signed-off-by: Conor Dooley Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_socdk.dts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_socdk.dts b/arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_socdk.dts index d37a982e8571..97622febc44e 100644 --- a/arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_socdk.dts +++ b/arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_socdk.dts @@ -151,12 +151,6 @@ partition@qspi-rootfs { &spi0 { status = "okay"; - - spidev@0 { - compatible = "rohm,dh2228fv"; - reg = <0>; - spi-max-frequency = <1000000>; - }; }; &usb1 {