From patchwork Fri Feb 16 14:04:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13560055 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3F1E5C48BC4 for ; Fri, 16 Feb 2024 14:05:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0DDDlOQZ13auqKFde4NH242hxZMaYVCzoIJ/Ua6N+r0=; b=4eJFoZysLeQzKD 3JWPPuFiWUSwNhPavmj+6agUq/waxCat1S340aFVHm0+vVIG59qmEmpZDDJPobPpX+4v72EMwt31b /g5svbna7nmqPFNmaOBdn+b581QkYQhlIRaSg3Sy2wpvw5LcJPvKpbwnnlUKiNj8bsYhsMa/6eaf4 q0+mWjeAd8Ur67lmlNAPuqVUnIaEDQka//VP6/2i00BBJLFmUmMSjbEYrOG6UV8/BLuFlL+GIg9KI KszdWxla0sqqjXLG+4ky47GVqgx/j3nNYF4rva2e3bvdhr08KKh4SqvojucjTCfTQA7vsFVN5nD6g bHPerqNbdiQyTQc5R9vQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1raypt-00000002WyD-0bGZ; Fri, 16 Feb 2024 14:05:05 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1raypk-00000002Wtn-1ijs for linux-arm-kernel@lists.infradead.org; Fri, 16 Feb 2024 14:04:57 +0000 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-41211097adcso14735155e9.3 for ; Fri, 16 Feb 2024 06:04:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708092294; x=1708697094; darn=lists.infradead.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=AwjGLk8QEXSebUlZTbzv/z5soVEf41JcekqvvkyqCdr9tH0NBGyRHWfsdD9cE32v9V rYxfszmDrDZ4Bu1vgtEPMFRuMIfRdLbqcvJbBLV05hlZgMuIgBsQWUNOwRjzZt4iQyJt h5ZIPYAVWhOEDL1U9Vw8imHOSZAJya6611Wwf3RgHOstixDuRUnWQ9Ue5gfrw76TEay8 OWWA6aMReDceghsyJFf+IPEzShlR/p+PgqbPZiV0qw8Ndb3YNUWFdTUe6fqfW38MY4OY VKvkv7OJdmipnFkG8axPyNWzr/4PQIP+QMVzxbU4pjSB6N8FpTpZ7Vs3ld0S+Q2aDaR4 mnbA== 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=AyRZQHq8r/BO/UL0cqR5Lx7JRRcmzJWnQWtGBoBtyUfYOmbz0CD8566ZOJ6a+fftuA U+kyeImc3EZ2cVebLLABxp188hib0bdGrQNnYv4plh3FaSxSGfenGC2rg5ukroc81qEu Y3OI1DBfRP3EQXdF7JuEjWja0Xj7W6omP3y4tt43waEN3pXu+c6oGFPHd1TudgCCFWfa I9H37e35Tmj0D34N5rGcDXMMTULtKoD87vviNVkAniQPwGQKCwPtGgmlTjJzF5Db307H ++n0WLZJx9Ou3bG8vs8aCcLzh0BSRv2R1YWxEJ4scoQNqlslda/7wIehTG1kDASN0+7O i6Qg== X-Forwarded-Encrypted: i=1; AJvYcCVXfPmsOu9wCml4o8//2axmILCdmGAkATbYJkc64BbtVPs0HDdaYKTQSTvGBH2uViGG/rQI7UnTjaBDsyEVEKAKAaKdVcbBy5abmdX2jhlclVnURME= X-Gm-Message-State: AOJu0YyJNGir1yLmouwOtTK9+X0p2dTlWxdS2aBwUOfAmxoRjVxGP8O4 Czr1qRhtfbRreP7ABR2fzavp2Q3L+wR3gRSFJ06cRlIq333ECpRBdWaHPHJx+VY= 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240216_060456_470059_41F15BE9 X-CRM114-Status: GOOD ( 10.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 = &spi_0; spi1 = &spi_1; 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 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 = <0>; pinctrl-names = "default"; pinctrl-0 = <&spi0_bus>; + fifo-depth = <256>; status = "disabled"; }; @@ -842,6 +843,7 @@ spi_1: spi@13930000 { samsung,spi-src-clk = <0>; pinctrl-names = "default"; pinctrl-0 = <&spi1_bus>; + fifo-depth = <64>; status = "disabled"; }; From patchwork Fri Feb 16 14:04:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13560058 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 35EB2C48BF5 for ; Fri, 16 Feb 2024 14:05:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7wLi8iDQEKBMiec0SBHt8XH2dn/W78OFRJtJiJJCmf4=; b=bohF4rFktf4tJD d6uRGa41dd7mtO+CTogybGAxZ25FathDsfrNHqNSLtT7tbx2eWsZFj64Sejcxj/yqUG8DXb/pd9ug FdGG2YDn5sRsKnkPxEZnRMpGkENdxh1YZTlMOBkoVlNzDAvGb5G2iQZFJae1y5ROB1HTtMV9KgimH br/tlqD+oBXu8+35jzfmJ1ryFncXSfaypTTkRbKMno2GMQl7VOvT/pRwC0tc4WZKi2w+Dt74oh2O3 kz114axARCP/HyiqWzKRH7y9TsAqBQVk/CXk5lzBJEtPm9For9vC136WRs1zbjAT6gWn1KxIVpFON EdnoSecaFFpvo1ZJysSg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1raypu-00000002Wz4-0emc; Fri, 16 Feb 2024 14:05:06 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1raypm-00000002Wue-06uV for linux-arm-kernel@lists.infradead.org; Fri, 16 Feb 2024 14:04:59 +0000 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-51296b58239so733962e87.1 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=lists.infradead.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=bjKaPJHM7PBHZrjcxiZ/pkKosZUxwIiC0t6SmWjXCaBk64LLebg8jHNaDT9LU+Bog0 u8yvvrPQx2HACwebFQXXRHOlsHn6MlsgZNabvbZ94VIA8HynrMqGHdDL9cBZ+O9/aLel XKHHgcf5wIvXVcDRUAZYohdTZmCfbPwk9d13ApQKha2lfV4wCNPtySpITQ+4xa6k8f2z k6HOTSUijPNzerjxPMDxxcSNi7+jRIxW5aBmfoUwtKF3qKzfRguQTxgeaOVIQ1f1GsVm WFEvefcQ0UMLa/tZLXG/O+i8049nXJntmZYhCxaw1Go9dmSza0iz7cYW1FOU9kBQ8e9L VH0w== 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=n42C+RSR1hWoVvT/Pur9u4EAh4J6IohfLjsdHmXjGnhKg8b0wOk6678t3tsKabGx1m S1pTzbtxbheYYeUa2el3X5SBrWYBQ0Pk3RnedSleTfkU8JlsmmmaORpVbc5M0D49w5Po vmmCXPfm+wBiRPqu6Al3f9pdii3ANqBnbUh6ckME+iVCQhqVqWavseaDTdF3Qe4l0utw Yy84g/kZJuRI7+5F8abdYNlUQ8O4nwtUh/W+u3fOA3UK/Q0j/tkKZwUeqDIOydbUgedj rd4/Eon8eqj84oBM1n09b18hjXCR2VPVSVk73NYoCGaSmnPdccWvmfHHvL/LvcnDZVyI EISg== X-Forwarded-Encrypted: i=1; AJvYcCU5Q0JRb9uVKKfArcKG4UrtNbJWQpz3T3x92Pw4iMRiU//p3y89BRVpebciFFWXfLIHhK6BvQ7P7qYtXo496vV77NL1o/STSBtTHKWOQj45E33hgSo= X-Gm-Message-State: AOJu0Yx7jUVzWNeJ92CHuyo5Gc1lkcJK6DxT66vsJTubJSmzuJc6j14H xW3AgukUi0IegDj75LyP5DnrSoCfZNlTWsd/WCW9LKJ0nVgzSNTqGQr0eggK3yc= 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240216_060458_088250_5AD73F15 X-CRM114-Status: GOOD ( 10.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- 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"; }; From patchwork Fri Feb 16 14:04:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13560056 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 670DBC48260 for ; Fri, 16 Feb 2024 14:05:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=atz1siFAKcoA4VYJ3zr1ZJ+8hvE1gnnPowXi5VEGsnI=; b=r0yEmP4paXE/DL 9mQHucHBnb79QOA/SE/QSeph7CGYJqQGTlxnIf355QxCqsCYauWZ6qPGisbgKRqbnmx4AyKkwDdZT XHREH3Stanff8fBz5AgFgJ0HR/DyswXzm/6iQZisIUDFoToHdTUV45JQf45ibHaC51FFEjn84NAYQ BSYFfWpFulnDJthofNt/txB0l6/njmKjIu493LvdPJ1VAfHwcCSe1hs7b7uUQb+2j0TK2z6Zb1qzO FLFOpUg0+7akebALcg/hrCIEd+x1/OMrqW9i8vHCLIONpkpLER/gXqztThn3HMUf1lOmmZeoeP4Fu noMSRb/LVVgUAxZpvCcQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1raypv-00000002Wzi-0ECk; Fri, 16 Feb 2024 14:05:07 +0000 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1raypn-00000002Wv2-1bfD for linux-arm-kernel@lists.infradead.org; Fri, 16 Feb 2024 14:05:00 +0000 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2d180d6bd32so10579241fa.1 for ; Fri, 16 Feb 2024 06:04:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708092297; x=1708697097; darn=lists.infradead.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=T1yuDSzKZyJtFJCGnsYpvlE1SoEuHxytrJmry3pPqQiGkijV+cEh45gNbB1NQHIHV+ Ceo0PSstTjv7xMjWtZLUUPYjM3G7b0WmtmuREMTFtxxgdCktfgljGtGW8eOYwOkzenIy bIeVbOOigowcwNr8OXYUyMUjYWv455evs0l0FEw4aWkHYwZwgzRezF76ss5Cdj4xYAAl WgkByjzq1DDVCaB/J4oG2pm5l/B4UG1b5ewhUvxiNh8oii2eA0uFmce+w7gOVb/JVUua hY7xypNzZGBvAgVa2N8S5mVy0v4Qfzvg8lADZep2c5mxLJnFNYk/AFKl6kzyrqmuQxhG 3qZg== 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=BBfZvZpKjww5mnP58VO196s4CWbku1sLe5LzuAl8Ih0U7cLFmMc1pCxFfTr2qhuKY0 4INwUVwM1UNq4rGsK8LOfL3juAisnLpCfD2w8TPSLgqVOHkAGHOp8U58sBHtat0E4sI0 eGvEv0EZogRGpeAEGuLRGidhXfVSAIvpF+on4Rfhg1Jin5YgM2nJElV4nggWv9NrcscJ IKbxtozOEZ0EIW6fw4qjmgKrse0fbz+IoKLmn0sj6zuc4n8VkHiU5tkqg6V8HT0kV5oM IX1+Y62BEFU8d0QPSGw/EJw/J9Mw4ZvCdcJPin4N0c+MMTVE7bfMAuROaxJt6gjuMl6A G4Lw== X-Forwarded-Encrypted: i=1; AJvYcCV25Y2RnwxxioI3GTKMPN7o9IIupBFSaPxz9eYI6+SbBQmF8WR99AlqKwjA9V0s3tVBWXE+jQC5sFBFBR6jM/jmo5ctLbuPrSpkLx3XFEbRrO69s3U= X-Gm-Message-State: AOJu0YyI1Yv5q+PY2Bd1KTHDC93DccFqQKUCC45nqWTM/DoaJ5YDh/CJ IuVpG4wDJjE0Vv8YYUrahAlTOyfHiZkuJOTDisRze5Oi9l1UAjpQPxSIkT7VAI8= 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240216_060459_503447_8C0F0361 X-CRM114-Status: GOOD ( 10.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 = &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 --- 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 = "spi", "spi_busclk0"; pinctrl-names = "default"; pinctrl-0 = <&spi0_bus>; + fifo-depth = <256>; }; spi_1: spi@12d30000 { @@ -526,6 +527,7 @@ spi_1: spi@12d30000 { clock-names = "spi", "spi_busclk0"; pinctrl-names = "default"; pinctrl-0 = <&spi1_bus>; + fifo-depth = <64>; }; spi_2: spi@12d40000 { @@ -541,6 +543,7 @@ spi_2: spi@12d40000 { clock-names = "spi", "spi_busclk0"; pinctrl-names = "default"; pinctrl-0 = <&spi2_bus>; + fifo-depth = <64>; }; mmc_0: mmc@12200000 { From patchwork Fri Feb 16 14:04:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13560059 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AFF11C48260 for ; Fri, 16 Feb 2024 14:05:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+94jrssK9nRCNFGBLsprC9Dsj5oQLWZkM6dZfMlPo8o=; b=N/Z+ELqzLmsrAg PSIaB4r07B4G2Vm2JKLwzCLblnnDqAY+lojMFVU0dcksn9L7A6M4KJwtYc9ZzrRpg3/KI/OUTKi5R c805XkzzcUDw2iisnEyDeUp2QVenyG1+lgvpP86PLwGJA008KF0uBw5HvJADOeMXv8eivvwbFj6O0 24TQJOm1PzvouvQjJQHtNXNboovrDJV2SG4zFstyzf+XW2GLrcJmzkdEf94fUO/+r1cxlJQpn/ydC YotGJplobtJGGNcBsV+MUaLYkBWa3Gglaa8hZf+nIQib9QnCtmZgrBdCjFHMFsuF984IY7hM6lyA6 2bEwTVGvfzdjus3272Sg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1raypw-00000002X0g-0Xch; Fri, 16 Feb 2024 14:05:08 +0000 Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1raypo-00000002WvO-1HIS for linux-arm-kernel@lists.infradead.org; Fri, 16 Feb 2024 14:05:01 +0000 Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2d0e520362cso21195811fa.2 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=1708092298; x=1708697098; darn=lists.infradead.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=acbbUwzWwjUeiM6wHVSBvbZq218hdpEAovv7iuXAFZ2GvMU+WLxRLaUDwwiOuWetX2 CpZKrpBK2uoMWRq2553Ea4pUdFuijdcBGCU6a/C2UI/W+H/8kQWN8yn97kbpUJuFnkng RjsYGbJ4eFCM11dDlJHPrkBtzeSysIvIksFdpx96Ihf/ub9JVp4XIzHCJpPWg2zGcKXQ URjneA46LCyDoyYEI15p/ESZZZ3RkTOg8/Zv8k8rHtX9EPRrLMSVwFQ7z7ZX5gqgIxiI mTYhdIZNJyqcIamgnx+6gLJiXQOZCQtO0DuHbdfaiOfzH76QLWMvwOjLE8hu8R7kQNas MDVw== 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=W1lc2NmSlokwOsPy8SyLl1Rj/5n4GWOCBEpY9R2DlPcSK4REbSQGB+bq/Set9jd+fW ekHtLvzMD7fEHxHlLv4Al13ycDR8kq/wsrU7T+j9X6fUZY8ORhYzvxxBGvs+yhisIECV wfi2c9EMtQJ1Tg7v5xCICkTe6hsdFAaHAxB+Gyw6vCnafZ5uT9bJj4HXd1SL9xnNeDyA xEC8CH/n7s0vTAk3cyw87qxUTx1xePWZO1iZUpNvqDGqbINXh5YzbWtvmx1cQQwsEIzP oReOSHBLHg4ab5WEeu4RNsDyD+lzGzUoY5e36x3KubrfMSNIHwTTAudHizb1NfpLnMrE a7gA== X-Forwarded-Encrypted: i=1; AJvYcCUkp66Cf/xDAkkc8TeyhEh52iE5dGciFcfjuUr7RPgFAVnATH7IC4+qEASbaOmVbZ1+tuYoI1XBxvUkSqbOHQ1jbY2N1R2Twtw6OvVGAovmO77TvCA= X-Gm-Message-State: AOJu0YyWEl/gWLYKCWT0+GxI6ilBp0+kmKPTnX2+sVYTO9HR6k9nC5wl Gf20TV+K3uisFsLLUIUA6yAv1jdhzSlSz5nWT975Flsm14ngvJWApD95sNwgncw= 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240216_060500_369833_EC34DB35 X-CRM114-Status: GOOD ( 10.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 = &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 --- 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 = <&spi0_bus>; clocks = <&clock CLK_SPI0>, <&clock CLK_SCLK_SPI0>; clock-names = "spi", "spi_busclk0"; + fifo-depth = <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"; + fifo-depth = <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"; + fifo-depth = <64>; status = "disabled"; }; From patchwork Fri Feb 16 14:04:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13560057 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 16118C48BC4 for ; Fri, 16 Feb 2024 14:05:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=i3jA1Z5BzIBt+x2+B4nheDX5JdXklJCTvZPUfJFUGS4=; b=zb8EE9ozw2FnlV lOH1fsSo1C0ox/TNxCIH2Fel7vtqXZ+dvOvTYJ+OO2CTfGirlrxAo65xPQ5Om1NgICWKfZhIisPRZ OyfmrYtQOZDyAIhGcXjWuh9SPH68+uBsq/ZSUnQqsfoVIViHrfQgx1Vpu4A5FbJFKguwB6PzV7LS6 0deM85CUzvtoh+MA0TOs8a10qHeHH4TCm9y5kSf7VYQob/FEf0wW8pYN4xQbFE8JVDS6trbsDqDWB gXSxrnZtFQmUzAexY18LbIsV149ymKRT3WMrv3x7W92FQr3+s2vUkpZYd+XO7234MJtSVXNTZAZcQ ZrioRCcZuQ5oAwAw9VWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1raypw-00000002X1K-46vC; Fri, 16 Feb 2024 14:05:08 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1raypp-00000002Ww1-2M0O for linux-arm-kernel@lists.infradead.org; Fri, 16 Feb 2024 14:05:03 +0000 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-4124d5ab11aso3100375e9.0 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=1708092300; x=1708697100; darn=lists.infradead.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=mfqU+wFFA2qENL0yLnjZ49uy0484cHngECHKx4z0d3vOs0CvWM8WzbYj1CYw3UZJyF fo+5wfhHWoVFZHZTFPhBS71bV/FQ4Hor/35bUXAkPxEbPgbX5mNMMbsEnF7C7XfIOxAT Af9D9XOgDTsNSo9DiDFP6BVMtcZ6r8l7+VjZLHmdB1o4T2GV4/tR9J2235xg8zjTsBdM p2FloQ2/xQVWJ+QRZdwfjPdnxxBP7kFasJhVx6KheFFtyE02NWWBaGJ9fEhjMr6XS3Uo +l+XiWGbRdC0L+tkn302vrn67qG4I6+uYNRu4Vxh6NviTWvxCpzwq3Dt0Snt9d7pOw2+ oOEA== 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=wo9/nJRSYedO/wf9HqgKKCWq8dYsE0ADlpfivc7iE2j8BlWQvwptP6oCV5/ly0xWlP LBJuvtBN0R/YCldAMYQ0wYo1T00Owg4/jGWPfgCLvkFnObI7eigb5iTTTRqorFynles2 mCwFjEWY3nBjoIwJypNDEFMorzizGUERVKOX9x1rRze4HdLbcC8nqnjqR5+CUIydp5HL v7rbOWr8WuzsbnLHGChX43Q7ZdmkbKu5Hc0ROJwSBg5zUgz3hW6BGUnwFtX0KZis/H4l ZMd2QXLw90oWzjQpqdQeteeIWxsf/UoE9gMEpjpeB/DIdnQUklSOCBG/KBPg2IBGURQE Y45g== X-Forwarded-Encrypted: i=1; AJvYcCWXxRiQ9kqbMGVVoR4Uv8OmFh2vCRqARDfhG3GSwGEefze2R3gxJrl1PfeKcYGQLBjl0i5ERPbkQo6PuZ1WoJBz5QVU54rk6K/iRdQQVRO/meKiOjI= X-Gm-Message-State: AOJu0YyM280w/0raI7tQiE2uP/Med7el+GMSH7aYOEakbn5KmVsHUNBQ hgnSKcnwNU4Lq2xMqc9P8CZY3LFDWep+wWi2pijmVW9x24ZENsf7FmDmYqrktFU= 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240216_060501_763895_5191470C X-CRM114-Status: GOOD ( 10.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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"; }; From patchwork Fri Feb 16 14:04:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13560060 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B9723C48BEF for ; Fri, 16 Feb 2024 14:05:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MB//KK06BnVmm/IghAwilxYTu3saV4QOpuLJY5eqx94=; b=E5ygt+t+6tOYsH ElSHSmmg59b3LjOscb7a9ZCrwWiwYAd7REKqCruN/iyiZv3DKqha7eeFZJ+zv4MOUJ26SGZqkYTTM j+pk9AjZs4Bsgh8rYuSq7B4Aobc62TxR9LSGdaapUbVi9ZfRohCQcSgITdWxRUWuVY3DBN/k3pxbo L+eAqFXdrQ+FyjVgoYCnWdjPJGzSV4CbF6aHx4FzdQtpSopVV8vQ1lLTQ31UucS7U2wF9KrP68Cld ShyIYtn3QmmgEGXNKTQ1AK04/UAsRTwj558TCG9N0mfsJrGPODk13nkrMRGsv3QcFMH0DPGvIpR/5 lbW8LJLqFKwegvArreig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1raypx-00000002X1x-41ql; Fri, 16 Feb 2024 14:05:09 +0000 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1raypq-00000002WwP-2k5g for linux-arm-kernel@lists.infradead.org; Fri, 16 Feb 2024 14:05:03 +0000 Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2d0a4e8444dso7596741fa.2 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=lists.infradead.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=timuiLqOA3Wx/y3Yt6Jb1WbhDT4b4R2Yn7kDTwVcfCDVVvXO2jmi48+HgOXjrn2fQN ZeFDrrcn7IEK1cVlWEn7PKbMHlbVnmfc1ZO+S+Ex3nVipo4vw3T99afc/TsyPr+E9O57 5XjgWY5ExwptQf1yzLhGsEC9G4B4Z78+NVOdqerdqQwO4Ud3CR7ip3JTSjd6xpk0U/4T mLzVWiTlRMc1py8jl1vSsk2NDRhrx+uX6+p0fuqLiW45vd7v/m7eIhHPjIyDF+4p67ey sDnxaTf3l7V3aVgxG0quFZMpSOsXy8xP8zO14NQFrBo0gOD70FkWlc5MrBlpRschtYMo Ls+A== 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=eJxmvaHmFU3OXLQkTA6uCtUuFcPOT0/wRnf/KFZrEA8TctgCd5r5mGZw7ve7kIOxtU kCToRUfRwXT7I2SHK/O24MQenrQjYo5j85jWewNSGaweIPq3yamrT5BrZgpYHRxibiL5 5LTbQKV8/Jg+kfjZZARttpTgdmeugF2D1aIk44lzC4JhA7TDw4+bYczFPzER0MqUohHj fMOaWMQZJOtLSPGe+NXVi3/ZRCz1SBxRPQd8wQxka5BS13wwECvXsFlK8WlI3aj62ToW PRQAb/xcLEi9MmaL6W38QiRisasriglvZl4m5Jh+4ywpTqby2XnFaKEIdcxZHBw87JfT uzbQ== X-Forwarded-Encrypted: i=1; AJvYcCWiiVptuR9KQxziRqtvYob2UcoALbMcDKIZX6TabbD2KGLE/h0mIz8Tz2N0b5OGJvriFWLTBlv8H9PbkXgLNCeQzPI9mvblh3KJlu67z/mULSHFrds= X-Gm-Message-State: AOJu0Yzezf6i8tx00fYPDoTYYZti35kvk8aTKdMo/5HVPwWUFCXnbZF6 Yk/7mvSyJN6aVat+q7xco2cknCZgUD81KtOh0oupk83L2DBchS7D3LAd3k9Fqiw= 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240216_060502_717391_55E9C80F X-CRM114-Status: UNSURE ( 9.55 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <256>; status = "disabled"; }; @@ -526,6 +527,7 @@ spi_1: spi@10320000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <256>; status = "disabled"; }; @@ -617,6 +619,7 @@ spi_2: spi@10340000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <64>; status = "disabled"; }; @@ -708,6 +711,7 @@ spi_3: spi@10360000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <64>; status = "disabled"; }; @@ -799,6 +803,7 @@ spi_4: spi@10380000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <64>; status = "disabled"; }; @@ -890,6 +895,7 @@ spi_5: spi@103a0000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <64>; status = "disabled"; }; @@ -981,6 +987,7 @@ spi_6: spi@10900000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <256>; status = "disabled"; }; @@ -1072,6 +1079,7 @@ spi_7: spi@10920000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <64>; status = "disabled"; }; @@ -1163,6 +1171,7 @@ spi_8: spi@10940000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <64>; status = "disabled"; }; @@ -1254,6 +1263,7 @@ spi_9: spi@10960000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <64>; status = "disabled"; }; @@ -1345,6 +1355,7 @@ spi_10: spi@10980000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <64>; status = "disabled"; }; @@ -1434,6 +1445,7 @@ spi_11: spi@109a0000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <64>; status = "disabled"; }; From patchwork Fri Feb 16 14:04:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13560061 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A977CC48260 for ; Fri, 16 Feb 2024 14:06:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7qHI/i/uPbjQiMARMoDC/roRoUTNSZHe+P4ShkkgOu8=; b=MFFXxksHfX4EzB ZuDzFWqttaOB2NSACE6LcgGKLXaUIZnR+8aDPo/d9nNtZRi40/aEGeL3N5bcgy2l9NV/XmKi5qEwE XkjzkwPwY1iKXbElsJEhtHWHtw89oaZBB/Qe1XfjVzhRWUy/Jb1i+498nRrg0J+qyql1dSUgfet6W Bo0LCrHDu/6y0HcNBR2p3C+CWLwNFeXOs0J98IwTTGeKnOKEwQQLxZMOWLJUIt0UCMPX3FsoqIvqS 1mRFRbA2B5JxBWYAIaoeWjGmwQOOsWBPfZklY9nJVryx04tF4n7t1reriWtxW1nQlfqYO+1l6KwqX 9LbHtSu44MDbT0tO1utA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rayqt-00000002XfD-1nRw; Fri, 16 Feb 2024 14:06:07 +0000 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1raypr-00000002Wx7-3tu5 for linux-arm-kernel@lists.infradead.org; Fri, 16 Feb 2024 14:05:05 +0000 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2d0a4e1789cso24307421fa.3 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=lists.infradead.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=Dy5d97PC8A4fP+PaNuWN5htBkN7rgHU0z9EkFd7aV3qUj8t2UZd2Qya8oaZoBdjyrP +B2JnBhqg/H7mOaB2OU8L9PVpPGQQL4aJ1/wShT2JhUTk9jZBX6Ooiq0YCmQPxITePb5 HapBkMV4a7YPhUfHI9UlUQT2JniuoIHsL41L+QFEFr0hxzBASTMzhh10u6Hp9jjuT7dn eSVrWOCbdp5Px4w9GtAk32Ai2g6fzEX46a2DJmXjmPKGP2NzZFHfV8YbVMo3aS8qbgaT YYq2LXeiNCZUUd2v8rhvp1Xr44TXkzxOSbOmihbW8six34kT7vrruIMl3kKTsmfy0c2c Mw8w== 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=RvQU4omqwSvQlyrm/p+x63Ta6rq88JFWt0nIq7wxJjBeTeBa7iZcAxlqQtr0SicCIo vwd/Tb7I3h2nLUxeOzYMXkffck/LdmJCv+ZNRm/pq79U20aLzJ18p7btajOw3H5DaUNj 1K/BtkUuA0HpvUG8zWY2vju7zC3zmq1IRqNOVGCNmcrAKUYQP4G+Ke4spsvEe4kH3BnA AUDuiW6SaH5XnZRAO/dSkSEo7W76ausDypvdJ2qQyLlzF7tvCtDsdrsWjgaoLnP6aKK+ DByhu0JNaDc/ng2mYM1j0E4YWQHV6eqFGXEyDwdBmIxJchWWWklg9UApiBIB7F8iwbj1 AqHg== X-Forwarded-Encrypted: i=1; AJvYcCXF7vVb6lKN0yxkNB+nhQPBbo9MdINNlS4Nz9sV8ngmgNQSQieBt4BmIKxDbRbNaSxGPX4LupGjff8Xph6P5wAighMxPAXOde2ztKI7XQCPT4wG9R0= X-Gm-Message-State: AOJu0Yx62DTyx3M3kz3rJRWGJRIODM3ZE/D5/M9GZRS1dAfIRCQaKkvn L/Lmm/uywgd87Y2Rkh1XAWk2h9Q9k09P4ogR0ccXSQIiSpeGsfvuQtk+cWAL1NM= 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240216_060504_025932_7533D7C5 X-CRM114-Status: GOOD ( 10.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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/samsung/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 = <&spi0_bus>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <256>; status = "disabled"; }; @@ -177,6 +178,7 @@ spi1: spi@e1400000 { pinctrl-0 = <&spi1_bus>; #address-cells = <1>; #size-cells = <0>; + fifo-depth = <64>; status = "disabled"; };