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"; };