Message ID | 20240216140449.2564625-3-tudor.ambarus@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-68698-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp545401dyb; Fri, 16 Feb 2024 06:21:56 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXVTdd+FYy+qmpryt9ClsbfASDPnOh0mRcbuLqR1jCCI3jrvtGFIzEkhzsqrY5vdMY0aXPI9l0wDZQ5PfPdRSgS4+4WFQ== X-Google-Smtp-Source: AGHT+IE0b/NdKOHcrtDj+S/81pY3fF8+KhjvtvorwenMJEfFwAnwvmSI3XY51LRvkzj2dePu+aPG X-Received: by 2002:a92:c109:0:b0:363:c66e:f9a5 with SMTP id p9-20020a92c109000000b00363c66ef9a5mr5437762ile.29.1708093316366; Fri, 16 Feb 2024 06:21:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708093316; cv=pass; d=google.com; s=arc-20160816; b=FeRJbOFbCvqocVGmhX8KI+dtzHofH8SWYaQGAgjcN/ECj8P/r1r2f5ema+bbivsuKx rsjicLLyq+O2L+PRwnMvXc/SCqVE9FOnWarNWDCVcmDmL+oW78/jzORqUrJYSP46H359 0UhZsP87trV8AHuQPbsss8OXbl7ScodeIzSmdgbPfdt3S6hGm9a9IiYFIxWnIIYu8beR tXVgqOoPtEUvp7X3gCH4OWTeYKHOoxGaA5C2qldRiiLOJm4mF2j66kVmkop4F4wcEF+S VHo5XAGzAtmTFC6UG3deJFQOBD+MDy9vzqEvcYK4PCCAIEg9l3ZlCnPsfiupbJVKtife hEkg== 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=IoKD5bRktYBx1n+y/s9dpLnkNcyEHfZAqtDf6Pd57R0=; fh=qkj+J8JEjOPdcvdifYhxCUa9+ouYCHHEZ1I7f366y+s=; b=NEkhgBoLrpX4jDnxoDE4sjcq29MIryjZStJRAOCFIwfqH24Aepo1a5QBk52gLAEBMT lfXJ9rDXuJRipLeuG+JNSUB0ZmgbTbOC4K7+9gqiM7YQuauX6mfzgyFiGXyS87Bjcw6e WRzXzLigS1zz/AvtMWGwItzS5KRsRC6aUK24qkLCSTT6xqVzsxMn/9wBgQZs/Jl8G7Ea Mnsc56TQb4H9+8mhcbmh19OL2khqPxI56dbjNdHupNcqgbJtY1GyKNm3fodqrH2naW8X umwUIK/CB/h7K2hVT7uYnjnjwnh6fa0GmsSfB99nSKi3qrl0hNsWq9u27PE26hEW9Ukw BSIg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nAZPG2or; 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-68698-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68698-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id p21-20020a637f55000000b005dc76f56a18si2970003pgn.559.2024.02.16.06.21.55 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 06:21:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68698-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nAZPG2or; 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-68698-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68698-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C4B35B21373 for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 14:05:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4CA8A12DDA3; Fri, 16 Feb 2024 14:05:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="nAZPG2or" Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 18AA612C804 for <linux-kernel@vger.kernel.org>; Fri, 16 Feb 2024 14:04:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708092299; cv=none; b=rw/LxkeKOQPekyBfXnlGKItugPJyAhYzQJbI7ibX2+oks49td6Uc+DBzFlvPZ9CqSepGWqNHOSlVN5Wmg6U/tiww6c64HPeO6hH8P8IE4XdfJPq/pC1+cTWLzUppZVOxhYJemsFbQ2BUwD6hnHprecHmnob6C8lbu5duGINczpU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708092299; c=relaxed/simple; bh=nQr8Kfcz6Jo4+i8KVH+YbRUWCwWoQLLr3kZy2y0plho=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fobxF9GV2wPtFW5+tE4EWBdvePw5+GvSdInWiYLAzXrV8uqZBbTXhuvUbMfdCsOMIFt3BQy7FNACVrcZkfOOkomsx6LLGY83Damq5I5W03wvoW4vN0HyseOySzJ1efArQ0aflwuSlzAoRRi2IgCRCNxFGTf+fffJUTMvelNXJR4= 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=nAZPG2or; arc=none smtp.client-ip=209.85.167.43 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-lf1-f43.google.com with SMTP id 2adb3069b0e04-5101cd91017so2730628e87.2 for <linux-kernel@vger.kernel.org>; Fri, 16 Feb 2024 06:04:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708092296; x=1708697096; 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=IoKD5bRktYBx1n+y/s9dpLnkNcyEHfZAqtDf6Pd57R0=; b=nAZPG2or9gQRV2dZuVvrUVLr/aZEnbfcNljngqh1KUjspTOK3Bl6CWKDBYZo2LKIdI PDkRGb6S/iMRf9Tyq66pPompFh17jRtuX7kETVuDZ35BKOON6N9c02wKLnDzyKxSYpVX Gal424JH2t0g2XMImrG4kdMlgwEXAkis7yeddpwtMIIBL8DR7/iH3QRW8/rCHWwhFMos WxXS+lwnktsEjQQvI51OUip6DzCRsJzNhHqSmlTqUpnf7nWxCD+nZIa5jliexYnTxBBi AnCjDCd0ZHlFDswlJPNbeSvYbkPBIyCA0ZvRL0mwwq4QD4wVCujsyfegcIMJhnXOXKBW ZbMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708092296; x=1708697096; 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=IoKD5bRktYBx1n+y/s9dpLnkNcyEHfZAqtDf6Pd57R0=; b=CjZsAUIAtv8e3e07xN4EPrYyXvwJH6XU6poAph0kQCRw9Fk6Zq1F1kjBmtWKqjPo2e dduhE02dqAdtl48md3LoME8iaa/vjTUrMoRaK+XB79cxzF/nA6H3BOWtopkHKOAMdgZ0 GZZ2ymKKMuy8SEdBxY0/TJGKcybHZaCozWg01Gf5FkmtLSS7rqHk8KuRAYOHjTKvKgHa ZBkxJJ6jVvNDiK8zRMk1+pTFkfikGTQY328k9SpMEmZbZf2FoU5U2S0u8vhIKV2KG+MN DhWSik+8x/QKvBrLoQCYQGlKNnBTTrGl02SQuuVLlBHySf8s9KKEfHAPFB9U6IMAI8rf 26WA== X-Forwarded-Encrypted: i=1; AJvYcCXisYlWSKh9DcTlQWLTq5Axk6nk6O5LKecy+FMbSZu02hjYaIO3h5quMCN83HZ8mb92p8zKBbi1/HHIG4NK5jKLt0G+Gf8R8vqP9V+D X-Gm-Message-State: AOJu0Yx+g9G7mDh2eD9Ivuq/mQkrAwY5oFXlHDXCJAI2v8aXVJGnypTq skCnz/14X0wsp7Ny1QblCQteVqppYDfL4ERuRiT4M4TlbxunruWpiNX/HDtX/2w= X-Received: by 2002:a05:6512:2253:b0:512:999e:671b with SMTP id i19-20020a056512225300b00512999e671bmr808593lfu.54.1708092295996; Fri, 16 Feb 2024 06:04:55 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 06:04:55 -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 2/7] ARM: dts: samsung: exynos4: specify the SPI FIFO depth Date: Fri, 16 Feb 2024 14:04:44 +0000 Message-ID: <20240216140449.2564625-3-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: 1791065657112119733 X-GMAIL-MSGID: 1791065657112119733 |
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.
exynos4.dtsi defines the following SPI 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/exynos4.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/samsung/exynos4.dtsi b/arch/arm/boot/dts/samsung/exynos4.dtsi index 7f981b5c0d64..ed47d0ce04e1 100644 --- a/arch/arm/boot/dts/samsung/exynos4.dtsi +++ b/arch/arm/boot/dts/samsung/exynos4.dtsi @@ -621,6 +621,7 @@ spi_0: spi@13920000 { clock-names = "spi", "spi_busclk0"; pinctrl-names = "default"; pinctrl-0 = <&spi0_bus>; + fifo-depth = <256>; status = "disabled"; }; @@ -636,6 +637,7 @@ spi_1: spi@13930000 { clock-names = "spi", "spi_busclk0"; pinctrl-names = "default"; pinctrl-0 = <&spi1_bus>; + fifo-depth = <64>; status = "disabled"; }; @@ -651,6 +653,7 @@ spi_2: spi@13940000 { clock-names = "spi", "spi_busclk0"; pinctrl-names = "default"; pinctrl-0 = <&spi2_bus>; + fifo-depth = <64>; status = "disabled"; };