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: 202136 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp536118dyb; Fri, 16 Feb 2024 06:08:54 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVtWy5CewZeef15vxd/Tzs1gci+lisBCZ7O4ohPTirj+/VQGG+e8UC+5sHT3jz0e8RN08mUS//3+lePbWVI25BGlQAQMg== X-Google-Smtp-Source: AGHT+IGq1xSPTzWtoGcQascjZSEakR6Rv9qnRiCjkeEIxxFCfHMiJXH2HMSoM0vFpxhccVbROzzd X-Received: by 2002:ac8:4d08:0:b0:42d:d008:33bc with SMTP id w8-20020ac84d08000000b0042dd00833bcmr3814235qtv.32.1708092534190; Fri, 16 Feb 2024 06:08:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708092534; cv=pass; d=google.com; s=arc-20160816; b=Ci/xTpKdBweO2Ya1Qbzz9fl/sb/JuqQz9aAyXlyma4wITxchuCrop5PHejzDBJjUhX Jrh+Dha7wsI9w2ja7NRkUqqIN7xhoJ/an1+W5gThARbw5UqZwbSrFgmzOJksmVBBelbI dJFdswSQhJwE4yfSiFnSFOMPnAZ7hy1H07mcxKdzsGTqh+VYDcssku0DJMbo5Mkpwp35 Dzm7hBSlZLxITqwsAXSGkewv0Me8IHwpIuqrs8QAFk1tzGGqhUnYqBOZesLBTC7FHXFl k3tNfvLuqsOR6K4zG2BPyMqZYvbS0li95IZkv9EhIEWnsp04jRBi70ye+HitBzrQqaF1 jxQQ== 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=RbGJP+YKDixbbzCcRIYDKINkev1dPGC8gZdZqgvk7Rg=; fh=9iWDIM9RBv5U4M2wsWSxN02r0eUJ1hJ4Fcrjij9FmpA=; b=SobnD34Exr0BCnSyFcK4+qaaN2zp0GyY7qZGmJ9IfOAT05zO026NcaXptIEkgm2OML qHN8gsiaz/9myGcbqJlfr10ihA57/c6uuT0reDIDgQY8WJK041+9tVfTiviPGqLfE6wa k89sIACDbYVI27oxR/Zl6YUQ8Lql6kDfBlwGVyaagqW4rvW/TqsJWD58nqdAfHM9eR3s LsGyYMVVGF88NoolfNjgxs5fF1Cz4pNGqPzkMNRHK8Mu3EPHTy51nkqhQAjbGcJfDUea BrpTb3kziG6AwrE23BiFxnr6o+ifuw09wIBwasnw3AjRNFQ0XDMWfUSg2E2VBLRTb5x1 bWrQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aZklj67X; 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-68702-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68702-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j3-20020ac86643000000b0042c61e05c01si3704720qtp.229.2024.02.16.06.08.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 06:08:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68702-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aZklj67X; 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-68702-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68702-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8B6071C25BFC for ; Fri, 16 Feb 2024 14:06:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E397B12EBF1; Fri, 16 Feb 2024 14:05:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="aZklj67X" 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 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-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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791064836795889230 X-GMAIL-MSGID: 1791064836795889230 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"; };