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 19C4DC04A95 for ; Sat, 22 Oct 2022 22:04:15 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B3BA184F2B; Sun, 23 Oct 2022 00:02:47 +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 0A8AD84F17; Sun, 23 Oct 2022 00:02:07 +0200 (CEST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.196]) (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 4B52484EA8 for ; Sun, 23 Oct 2022 00:00:38 +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 ([194.191.232.38]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0Mbf87-1oTreT1M3x-00J4Vp; Sun, 23 Oct 2022 00:00:28 +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 v2 16/16] imx28: avoid num_cs and spi_max_frequency build errors Date: Sat, 22 Oct 2022 23:59:45 +0200 Message-Id: <20221022215945.84052-17-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221022215945.84052-1-marcel@ziswiler.com> References: <20221022215945.84052-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:t/omuUYjf0n4nB639JzNcTy+j6RN7eYAOMBy3OkmRyVb+nMuHky YdFf/mB4awT/LeDMRdiceOkeLC0UEuoqNXAOvubR1Y2l7Z5I73wE2E3LC/+rxWUHBsoD8WG V/bo+4da1XcrGMM9gBfSAYyUMlgUYUOSb1eR8dCoEmO+t0xL1kvRm7HZbeH4aCPDWb4x979 hke4Waxq5Jnnoa4JaYXwQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:lzVE3wPASZA=:QWllPyoKBFRvlQDoIrHpj0 nUtcGvV2ixlLnMSX8YhvNBC+tIM0uoMt4MvWL5TXKPPwc3v0oJQrQ+PQ6YxDJ6Bk4tXYQBx7b 48Fx7F2GjbVKz9b47SBhXCH8Pq87/KGXv2XWVY4Fc47UEyE2nIbzVfXelq0+xWDsM35lGES6t gUfIXBjIBoQa3tp08V5iFbS6dAFG8avHD3POZqCzhZlX2XxYanqrXshYzCWi7Rd2S4TiRDtVN 47oZJU3DxwakW5xDow3AYHZ3dnHiOB4vGN0iXf13+f7lvFO8wHrFL5X8yc2zjRSMgvUAxxK9m obpL4IeRjQFDE1CLcDTHHUL3FPhS5Y+6BkrfHdyjoISvhf6km71GVMl+oal+cFvWyY22ov/js yoCD+5UYuoHu0d77rOg8iJI+xLD5jT20RWUsqbgoTaJPKxAnLQ/bwVEDFjeFJHCoiFbIx/BSJ Jpb7Qb74vctJEHpunuHRmWIWZ8IkIziSnZ7iirQiO/j5eWh9MRRQr2rR1i0GbrTsIBq/eXljU IW/Kp2cH/D8JLMB6UXf+QAF70USJyvSBW7lNdLINMvhu7q+WWV0xa6iKk6Wp32pDeCk96HkfS evvyPeTV6gZ7WYdhCiYZF3yZ5R4szsW5q9weoskH5SfeiuyQ2Nxxt0ih6/vJ6166cI3fMDmPV REgXv3Kzof9dEaonG7tW2MIkwe0gjdZyKkE4Ua+VyI5TUgcdvIgjAAxZHZGsBZIMEkRP9NeBw JWzc8ueOg3anAFWqB4RUIkl2KDISPEWVWgYfh75K9gkc3X5Nnl0r9o2ARltcLkbZauC+oWKGO gxAUMgFlKOiv3kE2/5W//hz2XopsA== 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 --- (no changes since v1) 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 cc2ced5d2d..8b5d7e10b3 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