Message ID | 20240216140449.2564625-4-tudor.ambarus@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-68699-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp535839dyb; Fri, 16 Feb 2024 06:08:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUPeZp0UXgc+giVsdK8TvyFmCkPZF8ML+B9trO56/YtOBVUYPuknaZtn8xBR6ktCSbTa19SBThg7ZoEAiP2ARGAEDWIzg== X-Google-Smtp-Source: AGHT+IG0KUrHh1lia4mo2zkk/wK2910ILAJsQoEXqVDpwpapztHiPFOHJ802iPbRe3yMae3nByPd X-Received: by 2002:a17:90a:f492:b0:299:33d4:fb10 with SMTP id bx18-20020a17090af49200b0029933d4fb10mr1632715pjb.7.1708092513234; Fri, 16 Feb 2024 06:08:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708092513; cv=pass; d=google.com; s=arc-20160816; b=dkLdP9di+vuM1Fql8w9Ko+UlDeGqvaoHrAFwH7xEz/wdVlrzzZWmxtczWko8MCBugw EPqt31eKDCsVifGfwzFORIcCQRRzRCwJ7nw1MZ8IqXCScC6tWU75E3wQM8PFbvUXpfL7 nVyIoHUDUemqcB63p0sF+l4NhRF/O6M3xmpKnccG8Idvu84FwkQcn/48pjVIZF+vYAn+ 2ODjXiFcFjs9xTnftrXMVLsswwv/SGAmKsksbyI2reaGQhp/sUzhAFvOYrFsamCABfWL ZM/v3JkLK/YjeNVVOBDZPmAeRIKE9SpEeESL9FtcJWCsjJy2JPcxL9+/iWEZcJgl4iNa 0tlQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=0Zx9+5BqwaAzaN+5Db7Ws66Fn8aez1AAIMWd7GQ05DA=; fh=W5U4YOCuwuGoYVRxK2xw0gJltXNf50eXFG9pLrnXQcE=; b=f7xIGu9Mm5hYADkDmgzCu/glCpoHm2pB3BSdlD6O+n5ErEglynu7Il1n9rykeQ3K3y Dl30PWpdR+DB9o/cpVaAdGi+4pJAGAgG4+9PFMk5iGxkX19it+i6m5ftOm7DgNNcwznl zMLS2jEfHJ7oqNi0wNmViQ4VMpSEQ0FcJD7VeniexthibZWWoZl1RT84Vg/qlExx2+td ehEoiSx15xBkfBS9jpI03gmMo7IC/198fVpLPEfVp9Q4SRgmaAm0m61ZwhgIY0PIFUkz 9+gkFyh3YHqrc83Xp6Ic7CGUgMOSu9WU5giopsMytrLYUVfiBY5LcKgzXULI2ld3MT2z YwuA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hFKwSnqL; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-68699-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68699-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id mj3-20020a17090b368300b00295f91e47fdsi3980pjb.141.2024.02.16.06.08.33 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 06:08:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68699-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hFKwSnqL; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-68699-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68699-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B2A182875CF for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 14:06:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC30312E1D7; Fri, 16 Feb 2024 14:05:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="hFKwSnqL" Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (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 7BE6B12CD99 for <linux-kernel@vger.kernel.org>; Fri, 16 Feb 2024 14:04:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708092301; cv=none; b=GQE08r9xcZKVZqUKcHm2QVrwMme2kk+Lgpi2+iVuOoKNGrzERrwALBJaKPcf4rPh/SGE6XED/0m6jOOijj32zaxZWVkLsEaIyNeohsxLSN7pGEPo1OWOAWsDxXCbGwm6NvGFNxJcs60L3RJFzO+5ympwniAMfq9xQIyN/zcgv9g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708092301; c=relaxed/simple; bh=+4hpMqvo2MaSV4b7Jg+jh1kB57aNCVnu3p9sey7n17U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nC9JDTpmWEF7kZw5+n7Flgj4OGOy2Ue6le56UBGBJyJ9o0cU1IGwK9r1VRi3+Cvx7ZXmV37l5j0Oqk0XLoYJ/jrs9KFWxCwJQyfOHjXomE3fPV1uc2gTRST8zGmpbtw09Ca9CfUkY/qlwzudycgRJhzbPM4Vu9s17Dt+tXmMBPA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=hFKwSnqL; arc=none smtp.client-ip=209.85.208.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-2d09cf00214so10766391fa.0 for <linux-kernel@vger.kernel.org>; Fri, 16 Feb 2024 06:04:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708092297; x=1708697097; darn=vger.kernel.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=0Zx9+5BqwaAzaN+5Db7Ws66Fn8aez1AAIMWd7GQ05DA=; b=hFKwSnqLmXqQTdpYBPsQdOEWUrzONHDWt4keqbkASzd0muwDJ8vyTolaAyrztEnnSG f3KGRc3xkUofEtfFw1CUgoxrhQb3Aw1iRcagvvIGiL5AZ6RGcxmq4hUGVeEkHthZjMmK VSIdg78rXb5549cBo4AYqnGfbSSRzNTjwCdCdCKl9041E9veb3u/r7Pa/SnpxU5hJqdD ehz6nqPxvmAjkPuE6jmRorVscVb7sr/LZnBlu/ENRJoOC6yJC0U/E+hNBigAP1xgtYt9 J3rNJtKN8JqYK7MT48B91h98TIwee/HxIk8fS93Nw6ryVy34SkX09eI7hYlbuykPYqE9 aDRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708092297; x=1708697097; 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=0Zx9+5BqwaAzaN+5Db7Ws66Fn8aez1AAIMWd7GQ05DA=; b=LT5e7LXZ2vvo/z2BZuanf4NY07HCcEQXg9ghvbkqGhL4J13MfBU7sBhkq2Iqalzkh4 dRYvuqfQi0I3Ayv4qNIZEAWTeOr0FVD2dERmq/uGAPMKGWuoPWo4yKlfBrrOPafjTxKK Rf28roctWMIHhZwT7xei+tlzsxE+Un1o8cL037IiWKomFAPyUgIpIfIi8iPlwvbXZQsu 6f5iFAAwOXhFiJgZG35DG3ggPTrOhKyLUJCya3ac5LQtDjuXXrnnQvT1xxr9NgIAbrDn vgfmkZrMjM5ysU4ZJMTDK6BHY0qG8zW18QXPsfZgE+kHYhSZz0LJs3Jjy6A2QG7bvolZ 6ttw== X-Forwarded-Encrypted: i=1; AJvYcCX8VoH4TMy8t2qkxiYUH/Vq5ADYuofP/2Vj5uyHHAVtW9fty7uOIRxUIuWuk/HeKsoWqxnvA3IyWsXiuJFYHBK6W14TUZDSKJl5v7Zw X-Gm-Message-State: AOJu0YxYpJZguHRYLqkERKllM5jEoefTXmJiCSlse/vkiMSqdgrPW6PU st2QNWSVeWmBzu/lpXVAdYt5LMHjc2H6K94fmSTfvEA4XdLYwPBN9KpbQER+QtM= X-Received: by 2002:a2e:a684:0:b0:2d1:107b:3ba1 with SMTP id q4-20020a2ea684000000b002d1107b3ba1mr3441338lje.10.1708092297388; Fri, 16 Feb 2024 06:04:57 -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.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 06:04:56 -0800 (PST) From: Tudor Ambarus <tudor.ambarus@linaro.org> 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 <tudor.ambarus@linaro.org> Subject: [PATCH v2 3/7] ARM: dts: samsung: exynos5250: specify the SPI FIFO depth Date: Fri, 16 Feb 2024 14:04:45 +0000 Message-ID: <20240216140449.2564625-4-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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791064814795315017 X-GMAIL-MSGID: 1791064814795315017 |
Series |
ARM: dts: samsung: specify the SPI FIFO depth
|
|
Commit Message
Tudor Ambarus
Feb. 16, 2024, 2:04 p.m. UTC
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.
exynos5250.dtsi defines the following aliases:
spi0 = &spi_0;
spi1 = &spi_1;
spi2 = &spi_2;
spi-s3c64xx.c driver defines the following fifo_lvl_mask for the
"samsung,exynos4210-spi" compatible:
.fifo_lvl_mask = { 0x1ff, 0x7F, 0x7F },
Thus spi0 was considered having a 256 byte FIFO depth, and spi1 and spi2
having 64 byte FIFO depth each. Update device tree with these FIFO depths.
No functional change expected.
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
---
arch/arm/boot/dts/samsung/exynos5250.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/samsung/exynos5250.dtsi b/arch/arm/boot/dts/samsung/exynos5250.dtsi index 99c84bebf25a..b9e7c4938818 100644 --- a/arch/arm/boot/dts/samsung/exynos5250.dtsi +++ b/arch/arm/boot/dts/samsung/exynos5250.dtsi @@ -511,6 +511,7 @@ spi_0: spi@12d20000 { clock-names = "spi", "spi_busclk0"; pinctrl-names = "default"; pinctrl-0 = <&spi0_bus>; + fifo-depth = <256>; }; spi_1: spi@12d30000 { @@ -526,6 +527,7 @@ spi_1: spi@12d30000 { clock-names = "spi", "spi_busclk0"; pinctrl-names = "default"; pinctrl-0 = <&spi1_bus>; + fifo-depth = <64>; }; spi_2: spi@12d40000 { @@ -541,6 +543,7 @@ spi_2: spi@12d40000 { clock-names = "spi", "spi_busclk0"; pinctrl-names = "default"; pinctrl-0 = <&spi2_bus>; + fifo-depth = <64>; }; mmc_0: mmc@12200000 {