Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1121475rdb; Fri, 16 Feb 2024 06:08:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW+DFLIsBdM4b7jV+/WICUsEswb+x7n57duW70NBI2BfPqAje+vV6OZqEQYwuIgGWj52+UNEw7HTBg2wAPytq5VMcsAe4ob7/mFeYhBhQ== X-Google-Smtp-Source: AGHT+IFeaG37khqlJWBZSFz4jp87goz3ddGipqrMB+M5Jeik3cMhxCF6fne9/hwoT3heW3aLkUFl X-Received: by 2002:ac8:57c8:0:b0:42c:5a27:e591 with SMTP id w8-20020ac857c8000000b0042c5a27e591mr4808695qta.43.1708092505538; Fri, 16 Feb 2024 06:08:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708092505; cv=pass; d=google.com; s=arc-20160816; b=z4hMnfQresTYPSKCT/1zj3e0IllCvJlgutVqGT4LIcj8Pvl+ydvEGxc+kPPakCMWcA MsCGiPPlDj3NfKw4vlYaK0AlAyrm9FD2yeAji/AIHmaRXJdXcnkoupjAVnEWQlrQf8hg SGAaGP6W4DnsdfzoV944ejHrFu5doy9EFBp0agNnPz9rypHw2OyZUy/kvnmwRJaIXmRU 9uo4pf3qtZlJjCRboLDZha9Zrs1+joTKdxqv9oEDTBi6xe4KG5z/9JuFJU30ezjye0fC E281t0oZ1nm9J5TTw2SmrB8+fDgecDJNromH/PM2WpZGJfnAQ9nGw5oUnZrTZ/tFGk28 VJlg== 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=QpbLWzMyYPwodhbzPXYFFQOvyF35F7rYtI5CvxnVpBk=; fh=hvcEETW9Tio9wOo5JS189AGSk0jc/LsZoPqlqX0y1/w=; b=prdaaIobtAicFpkqqvMph9fGdbkwRsZ8Ud9s7yW+MHwC9uv1IwH+pKS2WTXGO36NLS f8lIcYiGP/+jOHcyA1kRC+7ZlZZQOBIUGGMJj2Y4r0GtMCl4SDVm8s4tX4neYBqyxK/M 5W4HMYxMLxfPxVgJlHEq25wF53tUPetQR0bTENA8dru/aJ9GTejLoZWt3n+0PzRdvwEb lxEpT51SCFn57rsl+OurX8SVRVg8ygdvwL0T4vYtpHY54Z6xPKw0ogpLjUUOPE9Ds3bs wIDHy5xVXOFXrCugl2waV3cNKZfm14Rd7MuQXbOZgQ9D71PsmDDLjuLuVFQ11WYIMVqD RgBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l1FJGFiP; 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-68701-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68701-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id g6-20020ac87f46000000b0042c38359742si4049233qtk.271.2024.02.16.06.08.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 06:08:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68701-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l1FJGFiP; 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-68701-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68701-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2E5201C25831 for ; Fri, 16 Feb 2024 14:06:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D8B712E1E8; Fri, 16 Feb 2024 14:05:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="l1FJGFiP" Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 8516D12D765 for ; Fri, 16 Feb 2024 14:05:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708092304; cv=none; b=UEsQDNfqpP6OVleeBj8OTlyIVIUjGc0/7dkpx9KeEzCNxXzf6CezR3j11FVTat86UxpfUaW5mAte2qf5CC5d2cgIMlByfqzm3fc5rcWNoNlyQerLUDpUTdghRK38GwvKkXAxoMJa/hK7ikYlqE7qNF+G7eianFhN60swYgc6b68= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708092304; c=relaxed/simple; bh=pbz+IkgS7dGub+xGhkr3c/sezMbM4xsciLvnrgZeQc4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=uxaKZkA8LGZGs/oWn7rDbAc/VBGME4cVch51TexqgcwLfWp07TggenDtl/Bg4Vi369BDUW/iVaeOSAaL2KG6JEyJE8bWxFYjdoVlu8FK0Qa2+giTMIKupN4NVSlI/r5Bq1eeMQw0JbCoFexiWZinkL/LOM3hg4kxCtC8EInxO2o= 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=l1FJGFiP; arc=none smtp.client-ip=209.85.128.52 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-wm1-f52.google.com with SMTP id 5b1f17b1804b1-40fd2f7ef55so17963965e9.0 for ; Fri, 16 Feb 2024 06:05:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708092300; x=1708697100; 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=QpbLWzMyYPwodhbzPXYFFQOvyF35F7rYtI5CvxnVpBk=; b=l1FJGFiPX17vy7Z59VSB8TMjXtvlZB3N1hOxhwbu1mtzx4ez9d866aDsF3wymWaP/E AdLS1cOrgD3GfDY3dLxcywAn/5QEuqiziYhO7/SY34DB/Q6KPngDcP4uvr8n+TpaWaZh 3FYZWsdQd0VR8Tp8M/qVP1/lE0PgzdI2EMNYA8UgR0JRmaGpb39lgEFMYXls7QK0ITvM 5lXXobfozRcxUxn6nSarCn6HwqAwmCfzailsKm5nj8vTo6tFeyjJZ3XYxTtIb5SriL5z 6wl/n6toE9Zoaw+aqWEl1ksU8yZbXVdenQ7It7YQSA0soszxhQSvxpPGNAkMOd7IAO5M POLQ== 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=QpbLWzMyYPwodhbzPXYFFQOvyF35F7rYtI5CvxnVpBk=; b=qJReGZGGzK1njILHJ2L2v73iXB2PyLi0miYTlycMMtorgOwz0FW7VHV+GHZ2ACtAru +QpVAU9Bni3JpqHIavRoHe1dfnKzHU77Q/KwiGS1E471L/gLkw1+F1Fgv0At3BG96cbB jDixxcc3xzNVyB8mfrkEGlFoH8mMmd5QgxkbTpaWIQcJw61hxeZnuhnlHs/YyNdflXUK 9i2j0636p35y0Lb/JB+BRQoPYFAX5mxCbgT2Oy8B14T51ESJak9SrBgicTxiTpY/1Vzc yyIJA2L68/D2inbzGw6leALB3l0if8MNw+KEQn/TnjNAzYYaOst7F7OGLGTgefGOauFi ZQzQ== X-Forwarded-Encrypted: i=1; AJvYcCV3EoWwIdxuN4ai57FZSiCdiS+ZMeSMi5q51XX+eMyltTLmRDH5dVea2MbQ65s+e601PMdDH0lHiC0679BE47FIRrDPnj2Qq/GAKwon X-Gm-Message-State: AOJu0YwWAyNj+1g9fQV9pL7Q2L9u2i8b0Wr8N+nbM6Jw/i370FE8OtPG A4sgEBJNWBtuQSSHT9UNO6cws52YTI9q8K24eIfywLdCBed8lRIiQM+oFFdT+OmA34QrqKyqgTI IbxQ= X-Received: by 2002:a05:600c:1d81:b0:412:107d:cd69 with SMTP id p1-20020a05600c1d8100b00412107dcd69mr4569337wms.1.1708092299870; Fri, 16 Feb 2024 06:04:59 -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.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 06:04:58 -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 5/7] ARM: dts: samsung: exynos5433: specify the SPI FIFO depth Date: Fri, 16 Feb 2024 14:04:47 +0000 Message-ID: <20240216140449.2564625-6-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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Up to now the SPI alias was used as an index into an array defined in the SPI driver to determine the SPI FIFO depthj Drop the dependency on the SPI alias and specify the SPI FIFO depth directly into the SPI node. The FIFO depth were determined based on the SPI aliases that are defined in exynos5433-tm2-common.dtsi: spi0 = &spi_0; spi1 = &spi_1; spi2 = &spi_2; spi3 = &spi_3; spi4 = &spi_4; spi-s3c64xx.c driver defines the following fifo_lvl_mask for the "samsung,exynos5433-spi" compatible: .fifo_lvl_mask = { 0x1ff, 0x7f, 0x7f, 0x7f, 0x7f, 0x1ff}, Thus spi{0, 4} were considered having 256 byte FIFO depths, and spi{1, 2, 3} having 64 byte FIFO depths. Update device tree with these FIFO depths. No functional change expected. 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..0b9053b9b2b5 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>; + fifo-depth = <256>; status = "disabled"; }; @@ -1487,6 +1488,7 @@ spi_1: spi@14d30000 { pinctrl-names = "default"; pinctrl-0 = <&spi1_bus>; num-cs = <1>; + fifo-depth = <64>; status = "disabled"; }; @@ -1506,6 +1508,7 @@ spi_2: spi@14d40000 { pinctrl-names = "default"; pinctrl-0 = <&spi2_bus>; num-cs = <1>; + fifo-depth = <64>; status = "disabled"; }; @@ -1525,6 +1528,7 @@ spi_3: spi@14d50000 { pinctrl-names = "default"; pinctrl-0 = <&spi3_bus>; num-cs = <1>; + fifo-depth = <64>; status = "disabled"; }; @@ -1544,6 +1548,7 @@ spi_4: spi@14d00000 { pinctrl-names = "default"; pinctrl-0 = <&spi4_bus>; num-cs = <1>; + fifo-depth = <64>; status = "disabled"; }; -- 2.44.0.rc0.258.g7320e95886-goog