From patchwork Thu Jan 25 15:16:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13531097 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 4EBC7768FF for ; Thu, 25 Jan 2024 15:16:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706195811; cv=none; b=bGBqPCGcJtp9R1PLYzB/b+z2Yo6WgtPQCEFAhdb5zEHOvzjxHAC23B3YBdhAR8k0Sy4wmaBrS6h870tYQVQhjaRWiuMBXi+VkShRRz/6KvukfBn3nJXO+Gm0ON3I8ChqM4EJCVsWq1HjyEO3ARlrXEXt+SFo9SWELrwGZBN4/qo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706195811; c=relaxed/simple; bh=WYvk9yPR6/JZyjBlCcCevDoHajB/tuMpck369sNB4+c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EnyABTgJGzEqotj7VGLu5udB9H2uC0paeiVaRidpKallMNOTOk5K/C1x4RrYmN1UhckkJQHGc68qDMIHUIY/vO6tYCVBJrUnuPueG90XTdOOlm4rBRYoVniKN4vkPcAsR/DJ56p+XblvGjCrOD1d6cpc0zL4xN8SUntVC7u1Ac8= 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=rQh9L4E8; arc=none smtp.client-ip=209.85.221.45 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rQh9L4E8" Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-3392b045e0aso4672516f8f.2 for ; Thu, 25 Jan 2024 07:16:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706195807; x=1706800607; 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=35VmVc/8ejel4BrHqQQU0z/004d8YMTrnLiuRdXtvQo=; b=rQh9L4E8KOqZmxwPDnVbP4Hh6rLHIN8v5WN264CEnjHaRBRgYa8gcQ/ViMNJd06kPZ HeQytDc5nC27E/tXc9a0UDEcG2d1Mn92QWgukP0wyajkWE8yHPlELhIF9cphYAsUSdpx 4pWZC5RPG/D0mh9S0RmQDEjZTg2zUf41YkU1SvIKgpv2nLqfwN9BRLcmTXQ/b1CC7cC0 ZzdooKyOG/fjDkFvxLzM3Oct6nUEgM0E+SGoY+uOsYvGnQtolchfRFuIzRtM8Z4TpQ5B xTXY1JQ8Qi8S2BsudXzm2L7i8JhCbIIFmWcvmirMURr7PD9S+lneUAKa99JdgZY/iMKh 7mXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706195807; x=1706800607; 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=35VmVc/8ejel4BrHqQQU0z/004d8YMTrnLiuRdXtvQo=; b=GIYoG8EdIdWset6CFhX8xUdjCJBtwwg2TmI+wZ7KhdeMEZc+Zq3UeW31ikOzouHRcH kE51LUDbgUQ1ccgELNchQ9WaeI5VciLPzyAIpn0NdfcATKN1jaEfB5AfBLbp9F8bCWlz XTS+a/Klf42N/8226cSx/jYhakc6qQI7A9hP77NPVTXJDtRiKKgfOfM1VB+5V+L71a7I 1Ij45yvjjaxSWJeyfPj0aqXMJxhhVPeUDT7qAK/LRaORTfmMEUL/IEPFkrdP01v/X9aE mCDwSuD9ckIElAUuGunfd2ckIVCOj9bGIiDPwojHT2DP+YafQ4Mao7aYpMvrhK8z/qfD cRyA== X-Gm-Message-State: AOJu0YyYghuca47G166rUhKevusGMq7LCyBjmUL9BXyHZCttk0FJVuNc L92VdbNA56H3O5UsXm2b4wJrLVieuOjjhRUPI1gdSke6LjMSeTCgPRNvuMagF4k= X-Google-Smtp-Source: AGHT+IEJ0OKepjGpb6EdN0r3HkMYVxzhwVDvAZF7vtDAmnhFjc6DcohOMbEY1lslagNHUZP7nt14+g== X-Received: by 2002:a05:600c:21d5:b0:40e:c193:1de8 with SMTP id x21-20020a05600c21d500b0040ec1931de8mr564537wmj.232.1706195807674; Thu, 25 Jan 2024 07:16:47 -0800 (PST) Received: from ta2.c.googlers.com.com (88.140.78.34.bc.googleusercontent.com. [34.78.140.88]) by smtp.gmail.com with ESMTPSA id q17-20020adfcb91000000b00337d3465997sm3184656wrh.38.2024.01.25.07.16.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 07:16:46 -0800 (PST) From: Tudor Ambarus To: krzysztof.kozlowski+dt@linaro.org, broonie@kernel.org Cc: robh+dt@kernel.org, conor+dt@kernel.org, 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, linux-spi@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, semen.protsenko@linaro.org, kernel-team@android.com, willmcvicker@google.com, Tudor Ambarus Subject: [PATCH 6/7] ARM: dts: samsung: exynos5433: specify the SPI fifosize Date: Thu, 25 Jan 2024 15:16:29 +0000 Message-ID: <20240125151630.753318-7-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240125151630.753318-1-tudor.ambarus@linaro.org> References: <20240125151630.753318-1-tudor.ambarus@linaro.org> Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Up to now the SPI alias was used as an index into an array defined in the SPI driver to determine the SPI FIFO size. Drop the dependency on the SPI alias and specify the SPI FIFO size directly into the SPI node. The FIFO sizes were determined based on the SPI aliases that are defined in exynos5433-tm2-common.dtsi. Signed-off-by: Tudor Ambarus --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 7fbbec04bff0..b5c898703e3b 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -1468,6 +1468,7 @@ spi_0: spi@14d20000 { pinctrl-names = "default"; pinctrl-0 = <&spi0_bus>; num-cs = <1>; + samsung,spi-fifosize = <256>; status = "disabled"; }; @@ -1487,6 +1488,7 @@ spi_1: spi@14d30000 { pinctrl-names = "default"; pinctrl-0 = <&spi1_bus>; num-cs = <1>; + samsung,spi-fifosize = <64>; status = "disabled"; }; @@ -1506,6 +1508,7 @@ spi_2: spi@14d40000 { pinctrl-names = "default"; pinctrl-0 = <&spi2_bus>; num-cs = <1>; + samsung,spi-fifosize = <64>; status = "disabled"; }; @@ -1525,6 +1528,7 @@ spi_3: spi@14d50000 { pinctrl-names = "default"; pinctrl-0 = <&spi3_bus>; num-cs = <1>; + samsung,spi-fifosize = <64>; status = "disabled"; }; @@ -1544,6 +1548,7 @@ spi_4: spi@14d00000 { pinctrl-names = "default"; pinctrl-0 = <&spi4_bus>; num-cs = <1>; + samsung,spi-fifosize = <64>; status = "disabled"; };