From nobody Mon Feb 9 08:34:06 2026 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 8928D12C55A for ; Fri, 16 Feb 2024 14:04:56 +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=1708092298; cv=none; b=iVnXPOcPBruB/q5OJL+EwuEVkv2oZJuJQGXm+m9qwfc+pHnVL9qgnHkRWtBxhWcwgC5sDd/7unSguvSOXst8GrtnmQQVc7/GpBxuubXpBypV31wsuW7QlBj0w3eZedFgVeZG7i9aU4N3WgXZFgKQYThuUy7R4EpCCtA8+tq7rnU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708092298; c=relaxed/simple; bh=HDNgmS+3ogSjgiCNBf1Deadap09cRpyjDSGis2o1YZ4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hbeAyETeCLtQ0zym3n068yLTk2V1kou9n5tFPTBokKZ/JIkXESGYNXlXtbyOs/bIVEAcCBHsRbf5Bpoim8cn9b2giD7tw3HuzsYnC5NN+4lCjDS87s0TrXDISe8Swl0XNuV6MYwWHdvbJjRakkr/PTyKJdk1CMe6zO28UKCqyeY= 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=cdMyNwUa; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cdMyNwUa" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-412345cca4eso8511675e9.2 for ; Fri, 16 Feb 2024 06:04:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708092294; x=1708697094; 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=RrxlwaASewIQ6feU++ZcduImlXFDGQ5ONYqoRVrmdoU=; b=cdMyNwUafbA9hqcDSAh8tedNTm3w87lEPlgDIYMSuut5z72gXUDOFjj4mSEkZ3SxU2 yaVbS9IPSoqc2xzTvU6GEzdOJwjV2zNJ/QLN7PK0eQMy11BXwjTHazUC28IWbh/jkrc8 iEo1OMqo7GfkgNXuKPUvUgjJq2KkpCiW9vSNkF15Ki97vbNpknriJaLKGyXGH7ktb/4a U1GFH5BqaDtbBU8E2NzjqSaMth6yKH2FEesnHthE4Sr8jdJhA1cPF1u3cJ4nMvpn8xLH poRgn5e7r4bibPXwujI6ln02HubIR7W0LkEeKa/3cgm3KTNUe8jihB0W3VQctaZQ5w6S ngOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708092294; x=1708697094; 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=RrxlwaASewIQ6feU++ZcduImlXFDGQ5ONYqoRVrmdoU=; b=qO2ZrbfzgKx8zyY3JMVdsF45tZaRfuqidRLh2asUNKnXTnzoEWoMHwU1uu6UG49yIL g+jfEAbl2jTwyrNCMFPIGWE3aMebuBHDAG1TVQsDGse3kiIaV0bPykuafMiKISpl+Zwv dZVjXCcRB1lVOaccC68VURY9Pw2fYtIYCZqFgJ9IYAQ6Dt17sop6Quti8voZLtq62+Gx FNzb8p8U9Dfp+AXvVLTCOmqStNnpUiyW4iHXyScewTCFMUh/SPYYxmvq9q6ttqxwWtv5 TrOSJxUMc+pv4aXBk19QY4GKZTVuM2SA02ohX9C/3EIi+JOWtCXC7/JCI7VyPXc3GZE0 rS5g== X-Forwarded-Encrypted: i=1; AJvYcCVrI7ow6Pv6rZOZOyN/7gwGAg7rrkVBJHiSrHQM59N4j2lcUj/RfuYf1GZcPc/b431W1uuRjTLC6moust8y3WPmDv0V7bW53bgtpTWx X-Gm-Message-State: AOJu0YxfSwtgwtNR+AHkThbVy4dbri6rGKWxEZN6grJR54hHsbiWZgvu nOY9+khUX3IMjQabPQZl2aoF8SVlbcGJGtOpjb0WFYTZqKnpyuZdWJ3KYTNnA7E= X-Google-Smtp-Source: AGHT+IHSlJ3rucUOL0Zw2GCONTp7NyIN4EdB7mlSGdfVkmD/nmUTez9Qm1aP3coAcdNLg1PVao+wKA== X-Received: by 2002:a05:600c:6019:b0:411:6f3f:4950 with SMTP id az25-20020a05600c601900b004116f3f4950mr3966135wmb.32.1708092294570; Fri, 16 Feb 2024 06:04:54 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 06:04:53 -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 1/7] ARM: dts: samsung: exynos3250: specify the SPI FIFO depth Date: Fri, 16 Feb 2024 14:04:43 +0000 Message-ID: <20240216140449.2564625-2-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: quoted-printable Content-Type: text/plain; charset="utf-8" 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. exynos3250.dtsi defines the following aliases: spi0 =3D &spi_0; spi1 =3D &spi_1; spi-s3c64xx.c driver defines the following fifo_lvl_mask for the "samsung,exynos4210-spi" compatible: .fifo_lvl_mask =3D { 0x1ff, 0x7F, 0x7F }, Thus spi0 was considered having a 256 byte FIFO depth, and spi1 a 64 byte FIFO depth. Update device tree with these FIFO depths. No functional change expected. Signed-off-by: Tudor Ambarus --- arch/arm/boot/dts/samsung/exynos3250.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/samsung/exynos3250.dtsi b/arch/arm/boot/dts/= samsung/exynos3250.dtsi index 3f1015edab43..b6c3826a9424 100644 --- a/arch/arm/boot/dts/samsung/exynos3250.dtsi +++ b/arch/arm/boot/dts/samsung/exynos3250.dtsi @@ -826,6 +826,7 @@ spi_0: spi@13920000 { samsung,spi-src-clk =3D <0>; pinctrl-names =3D "default"; pinctrl-0 =3D <&spi0_bus>; + fifo-depth =3D <256>; status =3D "disabled"; }; =20 @@ -842,6 +843,7 @@ spi_1: spi@13930000 { samsung,spi-src-clk =3D <0>; pinctrl-names =3D "default"; pinctrl-0 =3D <&spi1_bus>; + fifo-depth =3D <64>; status =3D "disabled"; }; =20 --=20 2.44.0.rc0.258.g7320e95886-goog From nobody Mon Feb 9 08:34:06 2026 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 ; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="nAZPG2or" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-5101cd91017so2730628e87.2 for ; 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-Google-Smtp-Source: AGHT+IE9vX1AKj2JOn/B8o/haeJFU2gEt8ObeXnpMNVVvEAqUlLvLNixeuJWM0nROcdwy3mX/SWqsg== 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 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 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 =3D &spi_0; spi1 =3D &spi_1; spi2 =3D &spi_2; spi-s3c64xx.c driver defines the following fifo_lvl_mask for the "samsung,exynos4210-spi" compatible: .fifo_lvl_mask =3D { 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 --- 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/sam= sung/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 =3D "spi", "spi_busclk0"; pinctrl-names =3D "default"; pinctrl-0 =3D <&spi0_bus>; + fifo-depth =3D <256>; status =3D "disabled"; }; =20 @@ -636,6 +637,7 @@ spi_1: spi@13930000 { clock-names =3D "spi", "spi_busclk0"; pinctrl-names =3D "default"; pinctrl-0 =3D <&spi1_bus>; + fifo-depth =3D <64>; status =3D "disabled"; }; =20 @@ -651,6 +653,7 @@ spi_2: spi@13940000 { clock-names =3D "spi", "spi_busclk0"; pinctrl-names =3D "default"; pinctrl-0 =3D <&spi2_bus>; + fifo-depth =3D <64>; status =3D "disabled"; }; =20 --=20 2.44.0.rc0.258.g7320e95886-goog From nobody Mon Feb 9 08:34:06 2026 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 ; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="hFKwSnqL" Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-2d09cf00214so10766391fa.0 for ; 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-Google-Smtp-Source: AGHT+IE0EGbYQbv4l1lKRbqg12eixWC4l3SC8S7Jp79dW2xoIxVUBLK5AuANr1RWkebpsL9mNE5ikA== 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 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 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 =3D &spi_0; spi1 =3D &spi_1; spi2 =3D &spi_2; spi-s3c64xx.c driver defines the following fifo_lvl_mask for the "samsung,exynos4210-spi" compatible: .fifo_lvl_mask =3D { 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 --- 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 =3D "spi", "spi_busclk0"; pinctrl-names =3D "default"; pinctrl-0 =3D <&spi0_bus>; + fifo-depth =3D <256>; }; =20 spi_1: spi@12d30000 { @@ -526,6 +527,7 @@ spi_1: spi@12d30000 { clock-names =3D "spi", "spi_busclk0"; pinctrl-names =3D "default"; pinctrl-0 =3D <&spi1_bus>; + fifo-depth =3D <64>; }; =20 spi_2: spi@12d40000 { @@ -541,6 +543,7 @@ spi_2: spi@12d40000 { clock-names =3D "spi", "spi_busclk0"; pinctrl-names =3D "default"; pinctrl-0 =3D <&spi2_bus>; + fifo-depth =3D <64>; }; =20 mmc_0: mmc@12200000 { --=20 2.44.0.rc0.258.g7320e95886-goog From nobody Mon Feb 9 08:34:06 2026 Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (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 46ADE12CDB5 for ; Fri, 16 Feb 2024 14:05:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708092302; cv=none; b=vDM9SKXan5mbEeWBzrwONb0laqhJzFmWhO38mc8EDsCdxfZ3pznkiA8HtAVyCBBlcls1hJNn4yPqtjCocbr0FqxR15t8x1w8LIx85IDwnkmoQWGNWUirb2tNEnkKCMuHvqI5Wg3GVOCxUKgrbp9ZqpNLPwFDTccKtOm4IIEpro4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708092302; c=relaxed/simple; bh=GrK2q7DlbtQY1WTzK5R2HznL/kcWzqoRab2apDhvAwg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sdvXJwPf3CbexGmqh1PgGAqH452IF1rjdoXCooNUihu+WmgqUQ55Ye+4guJ8kvc73Y1gVTva7dQ3M1dP0ABjAhM5x1Y4+FQ7z6rtXU60LZv514Gb1CHZ675pvP9W7zjAyXEg3I1d5fW9CtqOultFcQ+w1PJAkNmA5tsR+x31wMw= 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=F5kRviix; arc=none smtp.client-ip=209.85.208.174 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="F5kRviix" Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2d10ae127ffso26405281fa.3 for ; Fri, 16 Feb 2024 06:05:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708092298; x=1708697098; 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=AJ7Tgql1DL0Frghi7Oag5F57dXBGRkIPbGxxgHm6Hxc=; b=F5kRviixUT2g4dXXaYzE5Qi4U7r2Fs9lIXFAJhsNm4wJtRp4l8gNFAt5guF2WeizA7 DIiL33iiWT0KoO3XAhvBPhgDaDS07TTHZHoWo6mdpo7Ikw6AKyf1DfNEwOBcyUKzKfd3 5SwIoUMli8IPxsh4YENSCJ5bswBmMNKv4xyGPz/FDCqU90wPDbrEYp4sLtRWxW/eE6RK ZzSiIzbQiL5GE9xo7+Avlf88zpNcNWXo9206uScGpAg/uAi116AgpXHII9EyLMHX6gxo VN0dAyDM/iINvkQoypyfXgHOGlN4FInoUujg69cklkU51sV4QExPm4Cm2npOD8PJKEWP dR9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708092298; x=1708697098; 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=AJ7Tgql1DL0Frghi7Oag5F57dXBGRkIPbGxxgHm6Hxc=; b=B/U7SQoq0dXI941FbJjoP2c5SBf4dZBAVVSHla/aws0r1joCpNcyqBzCB3PTfxLEmd Di9U/K7BPbaFl3QCo0KBgbc6rq1Mc5pODomsQ2M5bFj8E677flal5kp39PbpYNoX5Cp7 g8UEAKwx7jqbTzHSqTsDuT4CLAQ6FAjRH6oZ6CslICxhG+XJddDntoP82X5Sp/qW/hfP 8u5cBIzP9x/oloqLGUs5qkLvzyf51Bmivo0H5MN+haRU4A7wpJz2QBgpWJE30Vaag+YJ hMSEPV21Bde61+4UFHdDHg8ByAlw89TgNC5wK71Y589IQEyN3b9a6J42k5xBK01d2g+U 975g== X-Forwarded-Encrypted: i=1; AJvYcCVrEmpb7Z+oYqTZ85f0NqMdsn6GI5dg/RaHyrj2kpohE30wDgsJUI9Zmz9gOAollDkcAj4MxPwXUqwt18JohprH/E1rfQ+r4FrEQTEn X-Gm-Message-State: AOJu0YyIzgT2XXOYtbJmVPac+lUYeVQjw2B896jyqAnO0s4NQEc5/y1k 3deKjc/7JxzXem3acJMyfv4EPwK2WTF5QDo2WeiOQE0x7MH5t9Gq9mq2jTqlKS0= X-Google-Smtp-Source: AGHT+IGa96Bfo9g5nXjjGLG0eTx75/Ggxg2VA+hGJqraejkAQYX30I75/4p3/e+XG2Q57P8TXVx7Bg== X-Received: by 2002:a2e:a686:0:b0:2cd:706a:8ec8 with SMTP id q6-20020a2ea686000000b002cd706a8ec8mr3392254lje.10.1708092298240; Fri, 16 Feb 2024 06:04:58 -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.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 06:04:57 -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 4/7] ARM: dts: samsung: exynos5420: specify the SPI FIFO depth Date: Fri, 16 Feb 2024 14:04:46 +0000 Message-ID: <20240216140449.2564625-5-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: quoted-printable Content-Type: text/plain; charset="utf-8" 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. exynos5420.dtsi defines the following aliases: spi0 =3D &spi_0; spi1 =3D &spi_1; spi2 =3D &spi_2; spi-s3c64xx.c driver defines the following fifo_lvl_mask for the "samsung,exynos4210-spi" compatible: .fifo_lvl_mask =3D { 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 --- 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..196c6d04675a 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 =3D <&spi0_bus>; clocks =3D <&clock CLK_SPI0>, <&clock CLK_SCLK_SPI0>; clock-names =3D "spi", "spi_busclk0"; + fifo-depth =3D <256>; status =3D "disabled"; }; =20 @@ -674,6 +675,7 @@ spi_1: spi@12d30000 { pinctrl-0 =3D <&spi1_bus>; clocks =3D <&clock CLK_SPI1>, <&clock CLK_SCLK_SPI1>; clock-names =3D "spi", "spi_busclk0"; + fifo-depth =3D <64>; status =3D "disabled"; }; =20 @@ -690,6 +692,7 @@ spi_2: spi@12d40000 { pinctrl-0 =3D <&spi2_bus>; clocks =3D <&clock CLK_SPI2>, <&clock CLK_SCLK_SPI2>; clock-names =3D "spi", "spi_busclk0"; + fifo-depth =3D <64>; status =3D "disabled"; }; =20 --=20 2.44.0.rc0.258.g7320e95886-goog From nobody Mon Feb 9 08:34:06 2026 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="l1FJGFiP" 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-Google-Smtp-Source: AGHT+IHWdUB9E6Xmity8dCJxxH0CAvh8LXlNHW0BGR1UNv3oA+Bl9EEpasEs2AkAdEbHy98zpO3UGg== 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: quoted-printable Content-Type: text/plain; charset="utf-8" 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 =3D &spi_0; spi1 =3D &spi_1; spi2 =3D &spi_2; spi3 =3D &spi_3; spi4 =3D &spi_4; spi-s3c64xx.c driver defines the following fifo_lvl_mask for the "samsung,exynos5433-spi" compatible: .fifo_lvl_mask =3D { 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/d= ts/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 =3D "default"; pinctrl-0 =3D <&spi0_bus>; num-cs =3D <1>; + fifo-depth =3D <256>; status =3D "disabled"; }; =20 @@ -1487,6 +1488,7 @@ spi_1: spi@14d30000 { pinctrl-names =3D "default"; pinctrl-0 =3D <&spi1_bus>; num-cs =3D <1>; + fifo-depth =3D <64>; status =3D "disabled"; }; =20 @@ -1506,6 +1508,7 @@ spi_2: spi@14d40000 { pinctrl-names =3D "default"; pinctrl-0 =3D <&spi2_bus>; num-cs =3D <1>; + fifo-depth =3D <64>; status =3D "disabled"; }; =20 @@ -1525,6 +1528,7 @@ spi_3: spi@14d50000 { pinctrl-names =3D "default"; pinctrl-0 =3D <&spi3_bus>; num-cs =3D <1>; + fifo-depth =3D <64>; status =3D "disabled"; }; =20 @@ -1544,6 +1548,7 @@ spi_4: spi@14d00000 { pinctrl-names =3D "default"; pinctrl-0 =3D <&spi4_bus>; num-cs =3D <1>; + fifo-depth =3D <64>; status =3D "disabled"; }; =20 --=20 2.44.0.rc0.258.g7320e95886-goog From nobody Mon Feb 9 08:34:06 2026 Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (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 85EFB12DD8E for ; Fri, 16 Feb 2024 14:05:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708092304; cv=none; b=YDwa1mcO9dsntP7VRDyxgcr+65ncpNgXI8Qf4Dy7IzAkkrlTrJCZmO3mAQ4bvYXBDMnT03XKQyvBpYPA/h0zwLervVfPdIqWj2mbhEHM0jEUZkZ+mynTzgd9GO5f7XBLSEmxU2dyPppiWrZx76zA0K3hm+ePQ+DAKMzHzp9OBdY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708092304; c=relaxed/simple; bh=MPIoxg6ZsE8V3IB/f8KQxlfXB8BNlui5VDNVbrKXF7s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=K/9z4eKO47qYhDZpxRiJj8N807WQK4G0fuSjxAsXhu5JZt4z0w2Sz35F9l6MAFu96cESjm+phIRcZI72cMu0lCIgIze1OriLNMo++VC9IOxUdwqNf9Y97nX7KA5MbPxVw8eJfbzK3CmxRD04h1VlHqBVJQlV2cemz8Y8XgoIrMM= 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=aZklj67X; arc=none smtp.client-ip=209.85.208.174 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="aZklj67X" Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2d180d6bd32so10579921fa.1 for ; Fri, 16 Feb 2024 06:05:02 -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=RbGJP+YKDixbbzCcRIYDKINkev1dPGC8gZdZqgvk7Rg=; b=aZklj67XlzUu9g92nur5d4DPOd/WzpBFN6C1AUQeAbtN1WY3bXM6HReuux7gWIWEeS AP+KIafQcTm7irScqyXCklcRacsEQnHaRu9PJ0evxxmBeppGnP9OfbsJs78Hl5k6cG0W YQb6ut3P0f+YaToGKhqgBluSbms/rwQKCOu38V5CYNXjf2EC1COecqeNnnvGGTbHw5EY C04zQ4/BvnA6ow/7Ist04YXSEb6wq4Hg+23aiT23zBzAfymBhbW0TL4DK9wTaefCO02F 683LkqbKSnFMa222NvINVYDjnzQO2FfcoAZpTV8R+pT8G9yTyNpnObeT6FgiqJ2CbXno aL0A== 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=RbGJP+YKDixbbzCcRIYDKINkev1dPGC8gZdZqgvk7Rg=; b=Wm5DuWm7cEvEdoz0C8yxIeWobNxca0mVykgoxtwrE4XaYEMfUMfiFk3hRPsxh3RnXD VBUduyJKTFkkdPfNMpjfgPlex7dPrhkzIysIMkdu6JnlwFNXnNkgzCOPv5OoSarVCdJw 7/0JIT7MR3aDgdRaOvqfKSz5y3cenCmmHif5Rw13RGmIE3iBgmW7rnzxpLi7sMQC5ydf Lnnu1RTdBGnYQkk+e/PEHYWW7zGqwQRF15OhvbcV0WaftXNlIJNDbsRg+PwSx4bQjv8q PulGK5+KEqP2gUbC18mQZTmx1yLeL65cxTxsQw/sGR6U2gwulsEGj8ZVOyZevohs/jFT EIBA== X-Forwarded-Encrypted: i=1; AJvYcCWDmgG1ELt+EB1K0wJV0WyCwAmwyTSfMjA/FDLsl/6uA3KMV8Cpynsi1VBbmgyUFh0cksqb4JBmlH0RjUDGD5Xqr6L2SzwPBPefG1Fh X-Gm-Message-State: AOJu0YxWWc5TxTAByBY/DqGZBdOKM4EF9d0U7Z5j+SdXqC/0y/SmKrf5 KUlaY1mW4ReOFXCMEvmy8GUb24CYPNJaLfp5T3Fxv/tJVxX2sshDCGQCf7wSekSl2naXOWFrs3i FUPY= X-Google-Smtp-Source: AGHT+IHLbf9UoTbHMIz+MPqAto7rRkZzzSQiT2w1FzpGtfCZRcoC2pHvx/TYWav/ViOE3PNAXvqMGA== X-Received: by 2002:a05:651c:23c:b0:2d0:e5d8:d33d with SMTP id z28-20020a05651c023c00b002d0e5d8d33dmr3539136ljn.30.1708092300695; Fri, 16 Feb 2024 06:05:00 -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.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 06:05:00 -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 6/7] ARM: dts: samsung: exynosautov9: specify the SPI FIFO depth Date: Fri, 16 Feb 2024 14:04:48 +0000 Message-ID: <20240216140449.2564625-7-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: quoted-printable Content-Type: text/plain; charset="utf-8" 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. There are no SPI aliases defined, thus the FIFO depth was determined by matching the FIFO depth of the I2C node of the same USI parent. No functional change expected. Signed-off-by: Tudor Ambarus --- arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi b/arch/arm64/boot= /dts/exynos/exynosautov9.dtsi index c871a2f49fda..0248329da49a 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi +++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi @@ -435,6 +435,7 @@ spi_0: spi@10300000 { num-cs =3D <1>; #address-cells =3D <1>; #size-cells =3D <0>; + fifo-depth =3D <256>; status =3D "disabled"; }; =20 @@ -526,6 +527,7 @@ spi_1: spi@10320000 { num-cs =3D <1>; #address-cells =3D <1>; #size-cells =3D <0>; + fifo-depth =3D <256>; status =3D "disabled"; }; =20 @@ -617,6 +619,7 @@ spi_2: spi@10340000 { num-cs =3D <1>; #address-cells =3D <1>; #size-cells =3D <0>; + fifo-depth =3D <64>; status =3D "disabled"; }; =20 @@ -708,6 +711,7 @@ spi_3: spi@10360000 { num-cs =3D <1>; #address-cells =3D <1>; #size-cells =3D <0>; + fifo-depth =3D <64>; status =3D "disabled"; }; =20 @@ -799,6 +803,7 @@ spi_4: spi@10380000 { num-cs =3D <1>; #address-cells =3D <1>; #size-cells =3D <0>; + fifo-depth =3D <64>; status =3D "disabled"; }; =20 @@ -890,6 +895,7 @@ spi_5: spi@103a0000 { num-cs =3D <1>; #address-cells =3D <1>; #size-cells =3D <0>; + fifo-depth =3D <64>; status =3D "disabled"; }; =20 @@ -981,6 +987,7 @@ spi_6: spi@10900000 { num-cs =3D <1>; #address-cells =3D <1>; #size-cells =3D <0>; + fifo-depth =3D <256>; status =3D "disabled"; }; =20 @@ -1072,6 +1079,7 @@ spi_7: spi@10920000 { num-cs =3D <1>; #address-cells =3D <1>; #size-cells =3D <0>; + fifo-depth =3D <64>; status =3D "disabled"; }; =20 @@ -1163,6 +1171,7 @@ spi_8: spi@10940000 { num-cs =3D <1>; #address-cells =3D <1>; #size-cells =3D <0>; + fifo-depth =3D <64>; status =3D "disabled"; }; =20 @@ -1254,6 +1263,7 @@ spi_9: spi@10960000 { num-cs =3D <1>; #address-cells =3D <1>; #size-cells =3D <0>; + fifo-depth =3D <64>; status =3D "disabled"; }; =20 @@ -1345,6 +1355,7 @@ spi_10: spi@10980000 { num-cs =3D <1>; #address-cells =3D <1>; #size-cells =3D <0>; + fifo-depth =3D <64>; status =3D "disabled"; }; =20 @@ -1434,6 +1445,7 @@ spi_11: spi@109a0000 { num-cs =3D <1>; #address-cells =3D <1>; #size-cells =3D <0>; + fifo-depth =3D <64>; status =3D "disabled"; }; =20 --=20 2.44.0.rc0.258.g7320e95886-goog From nobody Mon Feb 9 08:34:06 2026 Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (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 C834712D762 for ; Fri, 16 Feb 2024 14:05:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708092305; cv=none; b=mqsgtLWTuhsPZoRgEjUfxwpo+Owj/ipGXtV5ajaCKM0JSRXYrRkNr8zHuLEJ6lKXI2wmT29i2JtMwIr1jHzbQHmc6wV7wc4ySIrrIC10VZSLd/8AZyQPc4PGwtQjHMkDx7IFfkHANbomX5t3q8Abjcwbb2Rb9/QTz+MpCgWjllM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708092305; c=relaxed/simple; bh=S9ObBQzYVuHAYhxgjzcEipyH1kHqp28U2gCU0ebksac=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RRi8Z3BFbgTX0r9E4A7CFWghyzDEkbcIboOGMYXlwy5sgAZrnfOnc04DA6pl2xXqGLbAQ/RVj6hRzK0GpKXPnEhjvke6ugmOOGBrHGlOcmBXhdj2LcdNh8E6PO+s7QVr/reVhmZSjdK0tV9+3z2oq2AVx6KRe2RM7kEQjNBZ7Tw= 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=ihkqir4E; arc=none smtp.client-ip=209.85.208.179 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="ihkqir4E" Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2d21cdbc85bso5513561fa.2 for ; Fri, 16 Feb 2024 06:05:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708092302; x=1708697102; 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=/v2msNXgl5RHuPphj5KBMCkDajVznlUfP/afxgplpAs=; b=ihkqir4EE6LrbjtNcLzGe8tVPa+DL8XkHK+nkWOni/JWcdzvhhWazNqoqJWDXZuLSR UVTEVP5DcMaetAYRg/0JwmcxTxs7By2kuLRoGbsb2V8FBsrwCYkTKVrT/VhWFL9kVlZh xZXV+0CaK4oH9tcWk3cN6aWftodpBq14Xo/XBjm2fVAF/GQbiZG/0Kex2qYKhcj1K5C9 YzVOcmS9kXD8krnABm1UxdyT9fO38SiFadHQeQ1rt1jGDADgURLjCPz8zA1WT5kZ9pZB ycREtgsgxaA1PytzPnEoO1RGP6HbuGtGqRBJT5X4A+xvhu0hV2L6zQdUTLBAlXdq2Zsh urKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708092302; x=1708697102; 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=/v2msNXgl5RHuPphj5KBMCkDajVznlUfP/afxgplpAs=; b=jrT1LkqBDrOgbrNZBdtjO83Lw6s2LSQY57BIj2UbGm4wTA3hnrJXJaD1qybAMf/jD7 VM5To6x7/Qql0rQaNKHUHO//eaIJKjxrQ7W9w5P2nvRgQhBNfgcm1OAbSfb1uIwnHoTU PsFDQTyj8RBl6bvlMObTvJjW1bCO8XpZ/y0JT+ZYDdannvc577vre50Z0wf9lTF98Zvc AaQos5LunZ63jy119emuAno7s+IBOAu1LXkfpOn+dgNwVDwA7dI7oW7PaKLv+qj5iCnN gceUxZFTf0ik1RgMeSYIy5zHWi7u5XYXyo0aFc9/MHvCkP4Wqpw48jRfj6I6fKZH585X 075g== X-Forwarded-Encrypted: i=1; AJvYcCVQn+BHqfNTi4PHGfp/eGb93q4Ixrj86KfoXw0tFEdbLxn/08zrJBbC8p40lDjG7cHnu0tjgKKotNg8BW8RR5DSHZZN7V8VNqN47VkS X-Gm-Message-State: AOJu0YxI6Kefatd6hhfpFz6aI7/Hnmnu05VJ6ZFwz70mojz718QTlt3x fzVdXojSOcD5X+ioUJ+UzmTP8qKk8I8ntc8GxkktXM6ZDnwW9VuHa7tRRfRQYKYoRYCKHI6KFu+ eWx0= X-Google-Smtp-Source: AGHT+IHLhKN55xXNcr4Qf+H/L/Y6F/cf4HESGkjS3taK4mPtI0tOKK3/xuOIFtwCp9VREBhceA/Qog== X-Received: by 2002:a05:651c:2116:b0:2d1:1cc8:6ea5 with SMTP id a22-20020a05651c211600b002d11cc86ea5mr4073121ljq.5.1708092301998; Fri, 16 Feb 2024 06:05:01 -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.05.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 06:05:00 -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 7/7] ARM: dts: samsung: s5pv210: specify the SPI FIFO depth Date: Fri, 16 Feb 2024 14:04:49 +0000 Message-ID: <20240216140449.2564625-8-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: quoted-printable Content-Type: text/plain; charset="utf-8" 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. The SPI nodes defined in s5pv210.dtsi are not enabled in any board file. No SPI aliases are defined, thus choose the FIFO depth using common sense: index 0 of the array for spi0, and index 1 for spi1. No functional change expected. Signed-off-by: Tudor Ambarus --- arch/arm/boot/dts/samsung/s5pv210.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/samsung/s5pv210.dtsi b/arch/arm/boot/dts/sam= sung/s5pv210.dtsi index ed560c9a3aa1..3eba870db73f 100644 --- a/arch/arm/boot/dts/samsung/s5pv210.dtsi +++ b/arch/arm/boot/dts/samsung/s5pv210.dtsi @@ -161,6 +161,7 @@ spi0: spi@e1300000 { pinctrl-0 =3D <&spi0_bus>; #address-cells =3D <1>; #size-cells =3D <0>; + fifo-depth =3D <256>; status =3D "disabled"; }; =20 @@ -177,6 +178,7 @@ spi1: spi@e1400000 { pinctrl-0 =3D <&spi1_bus>; #address-cells =3D <1>; #size-cells =3D <0>; + fifo-depth =3D <64>; status =3D "disabled"; }; =20 --=20 2.44.0.rc0.258.g7320e95886-goog