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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9DFE3ECAAD2 for ; Fri, 26 Aug 2022 09:51:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E9D6684948; Fri, 26 Aug 2022 11:50:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id E46BB8490D; Fri, 26 Aug 2022 11:49:36 +0200 (CEST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id DE91084945 for ; Fri, 26 Aug 2022 11:48:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=marcel@ziswiler.com Received: from toolbox.int.toradex.com ([72.182.101.102]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0MYQD9-1owflz2yIr-00V6bX; Fri, 26 Aug 2022 11:48:50 +0200 From: Marcel Ziswiler To: u-boot@lists.denx.de Cc: Marcel Ziswiler , Fabio Estevam , "NXP i.MX U-Boot Team" , Stefano Babic Subject: [PATCH v1 16/16] imx28: avoid num_cs and spi_max_frequency build errors Date: Fri, 26 Aug 2022 11:48:34 +0200 Message-Id: <20220826094834.693236-17-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220826094834.693236-1-marcel@ziswiler.com> References: <20220826094834.693236-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:IY3qdsyPtvWx2aMw7oE3YPqL/es/aipb4rM4qb8hgYQkpAvYm+Z 6nmJEX2ywAEOGvCbfufh8puCNoq1co7nizwzh6QzFom87V4GxAB2j6G6vAKu0g6sA8JZZ8v Q5VkSbel+kvvFkkFEdlR4ZsoPvvzAEIMiLgjNcyer4gHrbVBVj1robk9IEHMvG5Z5iynd3z eMU9Knc5whr4B0jvAirSg== X-UI-Out-Filterresults: notjunk:1;V03:K0:x0IQf1ZwRU8=:1e4PxG8mqk4JK4Apyp1Jwd oOaPUPKNZDLeh1nCEonCXtcHIqWL14PL3ymBnA9jbDJprG7L6Wgjr3OtAotRce9U8UA5t0IMJ PmWFATJj/IPSS3w54nPB++RQYYAsDCT7eMCmuajkTuu4dZGrzpZ71EZ4O28KAfkPEgM/Cy7XR T804G+UKycTCv7R5jTAMpsH5yuW3g1UcBSGZQmY7OOgTn5dQB7BJQkkJTT6d+LNKJF566+Dag XA40km3hdC42VOovwt6iFIYUkCvzLkdLPAbBP7LJzM93YLSpJq/jbHvlgmJyMK/OcgIUwZw4T hVQqT4drR5VkiRZ7OY+/MxBXap8Oi6UqxeH2d2ORHNLl8/f9jQkj0/O2iU/0zE808JhqoMRjB GVQoA9S9R76sZEzrhchGIcrGss8aoYUekmPPObGkFjgDyByGP27a4zengUM+UHONyvgQVctrd I/LauCMHG4f19F0RW1GID53I6oKwKmCFqGdF/ikjfg2bOrx34Ellr4TXELPMbAQt/y1a6ozIq PBQX1/dQ0bSiHDveaox1RqtNg2mZ6zjickOTSzJCOGhb7dCusqs1DtPa+b9TBGfMPgkHMyo+S KssTGWQ4TEFnkaE0thrSJNFNIR3vJrqnxtdit4rhC2oZjmvh/o95YDqG7ukZ++eXYEUT7cWJ4 PqBYWPa/1MsYdG5176CyAgy0VlvyzhXDGFkqQ0vMNGn3bVskOOMiyaFTPJde4wyg1W8BOgN6L hNZyLbe9i+kemtgwN1Q6yyPeugKU8UaYlwZGaG6NNrttz67f4JTK8qL0ahI= X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean From: Marcel Ziswiler Avoid the following build errors after the device tree sync: drivers/spi/mxs_spi.c: In function ‘mxs_spi_probe’: drivers/spi/mxs_spi.c:327:25: error: ‘struct dtd_fsl_imx23_spi’ has no member named ‘spi_max_frequency’ 327 | priv->max_freq = dtplat->spi_max_frequency; | ^~ drivers/spi/mxs_spi.c:328:23: error: ‘struct dtd_fsl_imx23_spi’ has no member named ‘num_cs’ 328 | plat->num_cs = dtplat->num_cs; | ^~ Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx28-xea-u-boot.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/imx28-xea-u-boot.dtsi b/arch/arm/dts/imx28-xea-u-boot.dtsi index cc2ced5d2d4..8b5d7e10b3b 100644 --- a/arch/arm/dts/imx28-xea-u-boot.dtsi +++ b/arch/arm/dts/imx28-xea-u-boot.dtsi @@ -42,5 +42,7 @@ }; &ssp3 { + num-cs = <2>; + spi-max-frequency = <40000000>; u-boot,dm-spl; }; -- 2.35.1