From patchwork Thu Jan 25 15:16:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13531096 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (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 A800A74E2B for ; Thu, 25 Jan 2024 15:16:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706195810; cv=none; b=Zu6uliNEf+wgHJ2j5qltsMmS7ehdE8HQCDn4PYYVR7dSNq6gco/Poaxfh/6lOUCc4biS+F+oG2LJkvIpgMZYdJq3mPTcvLYLEkX01dVTJ+1hL0FGHVx/4NiZw/F0u0s2tA1ICj0nvfIT/YpO2Ti+jv8rvDXbeO4BvCb0dZkDYfs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706195810; c=relaxed/simple; bh=FTTDJwnrK7E36EZxAV/LZq7tKNV5qxmi0FcnlYPFXNo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GONPGleWvOmH8B9Gm+dU3BVixCWEZ1CCjCmS2i+33yExmihBH8CDEILuzBtMUxfdmiV37xnD2jYqNHOPfEoylKYxqgCKGRsrPpCyM/agL8L+GGOYrMnEbX789ajhExmtsgfkefTHXyl9XLzkMYd88kL65m/NI6yFYLG12zYppmw= 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=oL/tsqkJ; arc=none smtp.client-ip=209.85.221.44 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="oL/tsqkJ" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-337cc8e72f5so5977201f8f.1 for ; Thu, 25 Jan 2024 07:16:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706195806; x=1706800606; 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=tXxPqJOvoUlfXn9BCYWKqTCOJ1mrScyukPmjwSmqHnA=; b=oL/tsqkJP1HMjNzmSZkZ+FaSw18KYThdi3vq/Mg/dr1SI7EXLVBV1fQesMc67jXTNr vyfkWNxr5SoZWu4YtChPmBejXmZ7a7ChhsyCAe2FGtMB3DSmkOAyUO8HZs4+vbjryEdP c1r3OtYVfW2l9j8jE46VHTr8BmazimQ79t0pEo832pTqoQfi9oB8I4FhLaw126b/9cxm 0jWn/OoRoUTRFFq1cnzSQlqlc+gDq+cI5fRtLXuqTXbyelnOrqjeMkmzjUUWinPFb0or ZAjbM+CrjDLrDfDhjVgWxlpZNAS9W09qngbw9z1GDOA5vhy+14E50UzGMafSh4zfrmJz o+GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706195806; x=1706800606; 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=tXxPqJOvoUlfXn9BCYWKqTCOJ1mrScyukPmjwSmqHnA=; b=WoyoeqzORRBzMTSwtsTQSzLfX9mUILLaUTOnbvkjnQ0VGFXCj6YBnCTxaaV4GD2yfx GOZypn3pevR0Le7EASxT7taozSchUYkjcgeMs+0R9AtpwiqXlI0w8tl7UbKjOSf5g5kt sbFRylvkJgNqoEe+bBcbZP092hsQHpOMIz0iyPlwuQJla5kXz0HPPeIo+TgQYUe1iQIW IRhoAYebIfKiClNTqy+x7y40r6XLCPQnTSP6yPlRUQHeITn72i01Ffa4OK2RE085t441 p1mCSAdpve941y9n8tzvXa62JP9N83axHMfg7EJFAPpg01EoTD2CSJUstbeWdgyOSJiR h3ew== X-Gm-Message-State: AOJu0Yy6UoUsxF46FUvUq2QUxyenrvCunYECfYr755bnc8qXkQaeAjia xFup2oIwwlQFt9Va87LqWz6iB+nrmBpmMw5nAMq/gzYkhm5MpuCSR57BAWh2BgF/HuxN16hqt9K ukPs= X-Google-Smtp-Source: AGHT+IFOoZHXMIT/4Zve03YeeUbOYEFQZSqJR86REuQDoTvLqWV4vzsg7EY4ouv402Ob73dh/Vbehw== X-Received: by 2002:a5d:4407:0:b0:33a:c013:68d7 with SMTP id z7-20020a5d4407000000b0033ac01368d7mr530130wrq.11.1706195806021; Thu, 25 Jan 2024 07:16:46 -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.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 07:16:45 -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 5/7] ARM: dts: samsung: exynos5450: specify the SPI fifosize Date: Thu, 25 Jan 2024 15:16:28 +0000 Message-ID: <20240125151630.753318-6-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. Signed-off-by: Tudor Ambarus --- arch/arm/boot/dts/samsung/exynos5420.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/samsung/exynos5420.dtsi b/arch/arm/boot/dts/samsung/exynos5420.dtsi index 25ed90374679..e22692063aa9 100644 --- a/arch/arm/boot/dts/samsung/exynos5420.dtsi +++ b/arch/arm/boot/dts/samsung/exynos5420.dtsi @@ -658,6 +658,7 @@ spi_0: spi@12d20000 { pinctrl-0 = <&spi0_bus>; clocks = <&clock CLK_SPI0>, <&clock CLK_SCLK_SPI0>; clock-names = "spi", "spi_busclk0"; + samsung,spi-fifosize = <256>; status = "disabled"; }; @@ -674,6 +675,7 @@ spi_1: spi@12d30000 { pinctrl-0 = <&spi1_bus>; clocks = <&clock CLK_SPI1>, <&clock CLK_SCLK_SPI1>; clock-names = "spi", "spi_busclk0"; + samsung,spi-fifosize = <64>; status = "disabled"; }; @@ -690,6 +692,7 @@ spi_2: spi@12d40000 { pinctrl-0 = <&spi2_bus>; clocks = <&clock CLK_SPI2>, <&clock CLK_SCLK_SPI2>; clock-names = "spi", "spi_busclk0"; + samsung,spi-fifosize = <64>; status = "disabled"; };