Message ID | 20240216140449.2564625-2-tudor.ambarus@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 <linux-arm-kernel@archiver.kernel.org>; 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 <linux-arm-kernel@lists.infradead.org>; 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 <tudor.ambarus@linaro.org> 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 <tudor.ambarus@linaro.org> 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: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
ARM: dts: samsung: specify the SPI FIFO depth
|
expand
|
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"; };
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 <tudor.ambarus@linaro.org> --- arch/arm/boot/dts/samsung/exynos3250.dtsi | 2 ++ 1 file changed, 2 insertions(+)