From patchwork Fri Feb 16 14:04:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13560060 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B9723C48BEF for ; Fri, 16 Feb 2024 14:05:21 +0000 (UTC) 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:References:In-Reply-To: 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: List-Owner; bh=MB//KK06BnVmm/IghAwilxYTu3saV4QOpuLJY5eqx94=; b=E5ygt+t+6tOYsH ElSHSmmg59b3LjOscb7a9ZCrwWiwYAd7REKqCruN/iyiZv3DKqha7eeFZJ+zv4MOUJ26SGZqkYTTM j+pk9AjZs4Bsgh8rYuSq7B4Aobc62TxR9LSGdaapUbVi9ZfRohCQcSgITdWxRUWuVY3DBN/k3pxbo L+eAqFXdrQ+FyjVgoYCnWdjPJGzSV4CbF6aHx4FzdQtpSopVV8vQ1lLTQ31UucS7U2wF9KrP68Cld ShyIYtn3QmmgEGXNKTQ1AK04/UAsRTwj558TCG9N0mfsJrGPODk13nkrMRGsv3QcFMH0DPGvIpR/5 lbW8LJLqFKwegvArreig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1raypx-00000002X1x-41ql; Fri, 16 Feb 2024 14:05:09 +0000 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1raypq-00000002WwP-2k5g for linux-arm-kernel@lists.infradead.org; Fri, 16 Feb 2024 14:05:03 +0000 Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2d0a4e8444dso7596741fa.2 for ; Fri, 16 Feb 2024 06:05:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708092300; x=1708697100; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RbGJP+YKDixbbzCcRIYDKINkev1dPGC8gZdZqgvk7Rg=; b=timuiLqOA3Wx/y3Yt6Jb1WbhDT4b4R2Yn7kDTwVcfCDVVvXO2jmi48+HgOXjrn2fQN ZeFDrrcn7IEK1cVlWEn7PKbMHlbVnmfc1ZO+S+Ex3nVipo4vw3T99afc/TsyPr+E9O57 5XjgWY5ExwptQf1yzLhGsEC9G4B4Z78+NVOdqerdqQwO4Ud3CR7ip3JTSjd6xpk0U/4T mLzVWiTlRMc1py8jl1vSsk2NDRhrx+uX6+p0fuqLiW45vd7v/m7eIhHPjIyDF+4p67ey sDnxaTf3l7V3aVgxG0quFZMpSOsXy8xP8zO14NQFrBo0gOD70FkWlc5MrBlpRschtYMo Ls+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708092300; x=1708697100; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RbGJP+YKDixbbzCcRIYDKINkev1dPGC8gZdZqgvk7Rg=; b=eJxmvaHmFU3OXLQkTA6uCtUuFcPOT0/wRnf/KFZrEA8TctgCd5r5mGZw7ve7kIOxtU kCToRUfRwXT7I2SHK/O24MQenrQjYo5j85jWewNSGaweIPq3yamrT5BrZgpYHRxibiL5 5LTbQKV8/Jg+kfjZZARttpTgdmeugF2D1aIk44lzC4JhA7TDw4+bYczFPzER0MqUohHj fMOaWMQZJOtLSPGe+NXVi3/ZRCz1SBxRPQd8wQxka5BS13wwECvXsFlK8WlI3aj62ToW PRQAb/xcLEi9MmaL6W38QiRisasriglvZl4m5Jh+4ywpTqby2XnFaKEIdcxZHBw87JfT uzbQ== X-Forwarded-Encrypted: i=1; AJvYcCWiiVptuR9KQxziRqtvYob2UcoALbMcDKIZX6TabbD2KGLE/h0mIz8Tz2N0b5OGJvriFWLTBlv8H9PbkXgLNCeQzPI9mvblh3KJlu67z/mULSHFrds= X-Gm-Message-State: AOJu0Yzezf6i8tx00fYPDoTYYZti35kvk8aTKdMo/5HVPwWUFCXnbZF6 Yk/7mvSyJN6aVat+q7xco2cknCZgUD81KtOh0oupk83L2DBchS7D3LAd3k9Fqiw= X-Google-Smtp-Source: AGHT+IHLbf9UoTbHMIz+MPqAto7rRkZzzSQiT2w1FzpGtfCZRcoC2pHvx/TYWav/ViOE3PNAXvqMGA== X-Received: by 2002:a05:651c:23c:b0:2d0:e5d8:d33d with SMTP id z28-20020a05651c023c00b002d0e5d8d33dmr3539136ljn.30.1708092300695; Fri, 16 Feb 2024 06:05:00 -0800 (PST) Received: from ta2.c.googlers.com.com (105.168.195.35.bc.googleusercontent.com. [35.195.168.105]) by smtp.gmail.com with ESMTPSA id az5-20020a05600c600500b0040e4733aecbsm2516628wmb.15.2024.02.16.06.04.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 06:05:00 -0800 (PST) From: Tudor Ambarus To: krzysztof.kozlowski+dt@linaro.org, robh@kernel.org, conor+dt@kernel.org Cc: alim.akhtar@samsung.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, broonie@kernel.org, andi.shyti@kernel.org, semen.protsenko@linaro.org, kernel-team@android.com, willmcvicker@google.com, andre.draszik@linaro.org, peter.griffin@linaro.org, Tudor Ambarus Subject: [PATCH v2 6/7] ARM: dts: samsung: exynosautov9: specify the SPI FIFO depth Date: Fri, 16 Feb 2024 14:04:48 +0000 Message-ID: <20240216140449.2564625-7-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.44.0.rc0.258.g7320e95886-goog In-Reply-To: <20240216140449.2564625-1-tudor.ambarus@linaro.org> References: <20240216140449.2564625-1-tudor.ambarus@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240216_060502_717391_55E9C80F X-CRM114-Status: UNSURE ( 9.55 ) X-CRM114-Notice: Please train this message. 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Up to now the SPI alias was used as an index into an array defined in the SPI driver to determine the SPI FIFO depth. Drop the dependency on the SPI alias and specify the SPI FIFO depth directly into the SPI node. There are no SPI aliases defined, thus the FIFO depth was determined by matching the FIFO depth of the I2C node of the same USI parent. No functional change expected. Signed-off-by: Tudor Ambarus --- arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi index c871a2f49fda..0248329da49a 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi +++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi @@ -435,6 +435,7 @@ spi_0: spi@10300000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <256>; status = "disabled"; }; @@ -526,6 +527,7 @@ spi_1: spi@10320000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <256>; status = "disabled"; }; @@ -617,6 +619,7 @@ spi_2: spi@10340000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <64>; status = "disabled"; }; @@ -708,6 +711,7 @@ spi_3: spi@10360000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <64>; status = "disabled"; }; @@ -799,6 +803,7 @@ spi_4: spi@10380000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <64>; status = "disabled"; }; @@ -890,6 +895,7 @@ spi_5: spi@103a0000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <64>; status = "disabled"; }; @@ -981,6 +987,7 @@ spi_6: spi@10900000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <256>; status = "disabled"; }; @@ -1072,6 +1079,7 @@ spi_7: spi@10920000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <64>; status = "disabled"; }; @@ -1163,6 +1171,7 @@ spi_8: spi@10940000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <64>; status = "disabled"; }; @@ -1254,6 +1263,7 @@ spi_9: spi@10960000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <64>; status = "disabled"; }; @@ -1345,6 +1355,7 @@ spi_10: spi@10980000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <64>; status = "disabled"; }; @@ -1434,6 +1445,7 @@ spi_11: spi@109a0000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <64>; status = "disabled"; };