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: 202133 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp535455dyb; Fri, 16 Feb 2024 06:08:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWknHWPiQ4MCko0/JDjMGo8ukrFCRWpR3exIsfSZhasbK0vwLX3kPHc7GX++Hx7HXav1py+uO2pwYcnlfreGKWq8IGvtg== X-Google-Smtp-Source: AGHT+IFHQuO4awtkPQ1bXfzRWFDZ+JuCdQV2IVYZa/3nD/MXF2AQqWGlAYJNDeDq0+r6r5sbkgJ6 X-Received: by 2002:a05:6512:945:b0:511:4175:8d16 with SMTP id u5-20020a056512094500b0051141758d16mr3099825lft.55.1708092488863; Fri, 16 Feb 2024 06:08:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708092488; cv=pass; d=google.com; s=arc-20160816; b=DDIs+QYnTPVqWRSKLHJE6OCj998cvmWNc2LFLgbULinmRzVbbNQTOcLsklK0X7QdQz BaSmL7HYgSqPYlTza1H6E+Hyy2HrjodXoXFG0QRvT7ckwOXUgNvdUIdbGGO7scRO6rLB m6Bm3aHtrhZfIyK2yGXnt6MK2p1KNr+p+1m5lCnlKcGql1QRInpc4MoOZijWumOynURt mDpFUfb4A+wLmHMjDRYinaMhUcwN6hSIXRi82thh+ZdUxIhOlSWXpmI3zRmsFAG7ggGq GUyLatyn7IX2fO8iJvc6JL07f4EYl3KEh0Erw7y/6WU8oB6KRVj2OXXuKGGoXGqyyPec d5gw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=/v2msNXgl5RHuPphj5KBMCkDajVznlUfP/afxgplpAs=; fh=RrRjb34/XCJ/NTNqIyNK3uUfdWmfRJ1xIr6YPlRjQdU=; b=VBV5dGXcz58mxxsgNoQVGkA+wqMwtFqS898UCNneKh/1XboogGd5e0Ac5A+XSnISW2 /JkDpOyrvGwzFYiQCZH5Vhdm/Z/3ElUh9vH0Gz9RuLRu8+jo3/l7oez2JdP3DQKo7sQU wL/M6Nzh5aBKI4YspHvXCWugWIfiQ8J09yaKSsj7EHYQgehXztPcBDaN4Bta5D2gGaie 7rJhj8w+IxjfhhR9PXBVqd64Dei+V+xdFS2Rlu5Xo6Qo1ygmw4D50nI7AZ+U6RyHaQfM en/4ESoI+FAQ9eLfUMbqcN7uFClKQ4GXCkB7heEoIVQSdwwgqXCnwEDr4Viu886XIwb1 Yw/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ihkqir4E; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-68703-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68703-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k5-20020a056402340500b005639387d422si11266edc.47.2024.02.16.06.08.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 06:08:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68703-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ihkqir4E; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-68703-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68703-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A37E51F286E7 for ; Fri, 16 Feb 2024 14:07:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6BB6A12E1EC; Fri, 16 Feb 2024 14:05:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ihkqir4E" 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 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-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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791064789727667850 X-GMAIL-MSGID: 1791064789727667850 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"; };