From patchwork Thu Jan 25 15:16:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 767130 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 B48D06EB4A for ; Thu, 25 Jan 2024 15:16:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706195805; cv=none; b=hbxn+fX3xgNGYEfoNcZi9Y/FaNYBSzN8g8E+c2tj8pKYNJ5G9/+YcgV0bxa9A5JsNoFnesODxyTJ9UfHYa0JwKoVIaJYMk3SASMy6XGBpc1fuiV7X2PH0AkehY3Fpwrgb9waU88AK5IlZXviIsVBBXr27NoCuHGHBmuUaSAiTpc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706195805; c=relaxed/simple; bh=0I+ktIFl+QFnTyp/eNm6GBgGpNp7GRnGcljOf6lhUG0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=II5kR2cG9jPOgOPPzJvGLI7b6deUCJLADoPMDk5RV5nG8Q0/fZNmNwYGvgUu6BJYQl5x+MdV2qrbQDAFhjc4tfh0ngopEDqtTwC4NIn+6e2GxfZN5/yC30rwenARONtP7HfIlgMZYxQqT+h2vTSq9iIuqvVT1HkvwkyPRS69xcE= 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=dlD8btkl; arc=none smtp.client-ip=209.85.128.41 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dlD8btkl" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-40eb2f392f0so38290205e9.1 for ; Thu, 25 Jan 2024 07:16:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706195801; x=1706800601; 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=lvKWG/e47xpVeDKUkt0Rg+N1AoElcEqkQkRChhJ4Oc0=; b=dlD8btklKWW0G7Z7dvniU0HltisIaA1OK/fzjb6XEGx7vgw2Z4dEJFgAuJB3+tYHzv 4GuVeLmAh4qWPkVECxqD0og/1Og3rDd8/VxluHUwMZRB9NbR/ZT93bi95P/XXEReDXFz fZ1q2E2D5ijWc4xhblgwrcK/BrqIprsv8lgzIoMzONm8bZFdoWX1m7arlw+ORP2OGRy/ os6Obpe/sN9sw7b6LP8ScnOHNI1v2hNWjWqJuy0u5PkuoDwfy3l5y+XTbtm0sVOfHXch OOxl7QvX2XDWQhdVBuHIURBKWMcvMuwP8Ul14WKC6RYJcfhAPJOgEfVVamEC7BWB/w/5 EMFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706195801; x=1706800601; 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=lvKWG/e47xpVeDKUkt0Rg+N1AoElcEqkQkRChhJ4Oc0=; b=Oi6cnMN2fJbRUm0YqU7WS6xxuCmkpW6BUbe4O42du+WHNwKQfFrqXAmn9o13K9I71K jwEK+80x5j3iqzu829HQdPThRTGhE1GXGtJaAktIGnpzopjF0gacgbvd8PtQ38mA/fRU 7htKVkhjz+ed2m83s4ufMHsyjqJ6MIROZCr3AkIpGxD7F0n4xOeq2zcphbqXa53Sfg4j Z+P/sbIAXSXrAN45Psk05Qr0cmYb3xKfyd5omoDynyBKwVsO21ifW0WjmSqGGhl6UwaD FRpsJDjKzVGL6SQNPlQDYdh8lDb1fYxNR1O/oKndbGrMvMN4mtcRONSSJp3SywYXa2CT mB3Q== X-Gm-Message-State: AOJu0YyMd8XNvRDvrvkN6cAGJTRJLlV2Hr5X/kVr97BL2iblKxmPEQv3 r4VOcTyU9bBHzoTjPrsTCY7ehw2mb5StBDY1g450dJOUGx+VEBuCyjXtmgioBYI= X-Google-Smtp-Source: AGHT+IHJ7+M4aXjm46yTs7WZOceqTc+7m9CPKpsB/jvIaTZxiHerBJMrs0u00sLOKsFzD6iDKa5CaA== X-Received: by 2002:a05:600c:3caa:b0:40c:2788:28f3 with SMTP id bg42-20020a05600c3caa00b0040c278828f3mr586429wmb.79.1706195800939; Thu, 25 Jan 2024 07:16:40 -0800 (PST) Received: from ta2.c.googlers.com.com (88.140.78.34.bc.googleusercontent.com. [34.78.140.88]) by smtp.gmail.com with ESMTPSA id q17-20020adfcb91000000b00337d3465997sm3184656wrh.38.2024.01.25.07.16.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 07:16:39 -0800 (PST) From: Tudor Ambarus To: krzysztof.kozlowski+dt@linaro.org, broonie@kernel.org Cc: robh+dt@kernel.org, conor+dt@kernel.org, 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, linux-spi@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, semen.protsenko@linaro.org, kernel-team@android.com, willmcvicker@google.com, Tudor Ambarus Subject: [PATCH 1/7] ARM: dts: samsung: s5pv210: specify the SPI fifosize Date: Thu, 25 Jan 2024 15:16:24 +0000 Message-ID: <20240125151630.753318-2-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240125151630.753318-1-tudor.ambarus@linaro.org> References: <20240125151630.753318-1-tudor.ambarus@linaro.org> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Up to now the SPI alias was used as an index into an array defined in the SPI driver to determine the SPI FIFO size. Drop the dependency on the SPI alias and specify the SPI FIFO size 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 I chose the FIFO size using common sense: index 0 of the array corresponds to spi0, and index 1 to spi1. 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..e7225b6c94e8 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>; + samsung,spi-fifosize = <256>; status = "disabled"; }; @@ -177,6 +178,7 @@ spi1: spi@e1400000 { pinctrl-0 = <&spi1_bus>; #address-cells = <1>; #size-cells = <0>; + samsung,spi-fifosize = <64>; status = "disabled"; }; From patchwork Thu Jan 25 15:16:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 766254 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (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 E8F7A6EB73 for ; Thu, 25 Jan 2024 15:16:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706195805; cv=none; b=nwGHbHRr0FRYmoz0zWbjCX0ULSiBcEdt1TbpmNROBKoKO24grQgq+jIUS2bmRdzCPpjGoDj/IUfuI2V0xdzXzlJKjkZO4jIZvagraRAe65mBJAf0apbp3Anckpl9z+coLkxprMfkewPK+57g4t2U8zMXPN6qsVlgPbq6h3Dku5k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706195805; c=relaxed/simple; bh=8fhkwYMTO5zd1oqKM8Iyt+6kig9k4plTdDM5enIVcLI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iCutq50VaJhpI8fUChB1Qc0MAphXokgc5VF1CZvBUArJCGkyYSnwQtz90D1jBLHQFbisHJtTEyry3OZeQGZGipwS5q2dX9wsRWoYv0gjN283tt+Em+ObHKcGri1ia3jNYh6Wyu0gtx7ZH5jeLk94bB8sWsw+rAJl42Gw8RShmU4= 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=g2XpZRtj; arc=none smtp.client-ip=209.85.221.51 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="g2XpZRtj" Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-337d58942c9so6863227f8f.0 for ; Thu, 25 Jan 2024 07:16:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706195802; x=1706800602; 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=ilrhb+yvw7RYPUylHsWS4mRgbYDWwTIuPMtV7XuwEs8=; b=g2XpZRtjsr8wzGkq5Xc0zx4BT5vjq1Le5xfRQWmiaD4RlyTBXIAK5TiNOxJ20EHxPz TbfnmQxWaef0sOGRaH1wC1jShojAQ7QeHf4OSEgOJ2kJ7ARAqvcbN3IpfGmIQy0f+dK3 BRz+N1e0jR1LWbFtCcFZpe1KaQUZhOFbr0rVOhl+wXFeO7kj+TrO8w/hviLwf+SR9yaG eqmh7AML4mqT3Km86Z7Ry0WAvy4keRah7/Zo077DeLw+YOdqvlyZJNk+eWsGy9Cgd62M QeTv3u8E6wIbN2AQfu2saESNGppVlZ1d5s/eiebagx/uTRgdmlbe/paMMLMH+8m0FvDe euyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706195802; x=1706800602; 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=ilrhb+yvw7RYPUylHsWS4mRgbYDWwTIuPMtV7XuwEs8=; b=feC307KayhipyYGonmf15gUkdZArWC6rBSrPTxlgJP0+5fM8p7KvZitefyKJMPXZZ+ ZTl3sV/FBvRZ+qxsV85UYyTsPnNHHehANoVWw8/RZdgKLYWx62JAAhfMNhFB2KyZDF0B dtjDpPNK9nNm5wYHXPFFIpAxGm1Xl/ygKPa29IAJDNr8393G+NhNCnd09HrmGUS+ZTCq 27ejEh+cCPoEbbfwSXlOB2vekOahADy4EfEPIy3bsnLjRe1SQBHipQSDRIfakVHiqwN6 SPtMvJ5zdZXDTYAtZaL1i2e/vZQrU7njgVATUEgsWurVV+KLOEhj78IBVGHFw+Asmd74 QG0A== X-Gm-Message-State: AOJu0YxZnzzabI/W71RFkirrV6hcBrlvvbMxb/GcrX6RLC1aAXmUlRyl kpwqOhQ8hYrDV1QB35sr6CntS1ClKkE3hrp4plhRed65OO7TnFwI3WFoY4AgJFs= X-Google-Smtp-Source: AGHT+IFCdeVIQDMEFggx7BG29AF0iTnRkUSlpmQhqh/e6UutEr+l//6no5ADcVZJRCWMQADXMYUYLg== X-Received: by 2002:a05:6000:1e91:b0:337:d651:e65c with SMTP id dd17-20020a0560001e9100b00337d651e65cmr530562wrb.111.1706195802323; Thu, 25 Jan 2024 07:16:42 -0800 (PST) Received: from ta2.c.googlers.com.com (88.140.78.34.bc.googleusercontent.com. [34.78.140.88]) by smtp.gmail.com with ESMTPSA id q17-20020adfcb91000000b00337d3465997sm3184656wrh.38.2024.01.25.07.16.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 07:16:41 -0800 (PST) From: Tudor Ambarus To: krzysztof.kozlowski+dt@linaro.org, broonie@kernel.org Cc: robh+dt@kernel.org, conor+dt@kernel.org, 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, linux-spi@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, semen.protsenko@linaro.org, kernel-team@android.com, willmcvicker@google.com, Tudor Ambarus Subject: [PATCH 2/7] ARM: dts: samsung: exynos3250: specify the SPI fifosize Date: Thu, 25 Jan 2024 15:16:25 +0000 Message-ID: <20240125151630.753318-3-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240125151630.753318-1-tudor.ambarus@linaro.org> References: <20240125151630.753318-1-tudor.ambarus@linaro.org> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Up to now the SPI alias was used as an index into an array defined in the SPI driver to determine the SPI FIFO size. Drop the dependency on the SPI alias and specify the SPI FIFO size directly into the SPI node. 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..2f974059ec45 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>; + samsung,spi-fifosize = <256>; status = "disabled"; }; @@ -842,6 +843,7 @@ spi_1: spi@13930000 { samsung,spi-src-clk = <0>; pinctrl-names = "default"; pinctrl-0 = <&spi1_bus>; + samsung,spi-fifosize = <64>; status = "disabled"; }; From patchwork Thu Jan 25 15:16:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 767129 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 4F1B773176 for ; Thu, 25 Jan 2024 15:16:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706195807; cv=none; b=c/oJe09l1aMC4ESO4P1btdTi47izwY69xKrgZsJQ5SugB2i9icQsa7SkI+1Da7U3XJoQ1cqSesjumzmPf5yR9GC1we//oJ/nnhiAHJU/V3wtRFvUIc4ykU6FJytjuJlWcSit30GL77sqYAQnVg/OvEGM8e8Huu7wa5dX/g95rUg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706195807; c=relaxed/simple; bh=CIAizzJebZtx1/g8zjjifKsCrrjh+jRaAW0m31CylKk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=khgLlh899RkAGySao5BnEDBOof0mWLCz0xykYP1HzrCZ7as4VMJDY4ORdtKisAx/F9jczFEXKec3nfvy9STJuKUrcki+YHHUyPNV88sPX8fHp3ivwrP9qe1+/QCsErFQxZ4Msq56bnZM5fVu1i1a9RgDG7LsOlQnxY4M7AdIrg4= 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=lr8ZW/KF; arc=none smtp.client-ip=209.85.128.43 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lr8ZW/KF" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-40ed28f8666so6034325e9.3 for ; Thu, 25 Jan 2024 07:16:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706195803; x=1706800603; 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=DYvvmpy3gvXDtu9+cgwcBJMRAtk90gz+DuNp4PyQjQs=; b=lr8ZW/KFLrMlmub6tCbbsov0TV3h6WBAEzfm9AkY7k29SoFnS/yT4lOvEHDmBHXFqJ 7CX/+D4KM8X+FbwVKpzhoWCRilJbIMN1nnjoTjyzJFSPI7HRAuk5sW4hX9KQzvzhSc7s NShek+smH3N6HoTsdY1SiuA3GKe5wRw22OraeemSNzQ+MyHXp+EwM6ISR7oof625DVpZ FELf4AIWnyq1HahTCzRxpiFo2d9S1BuDTZqcx6YlantAbFghSJwBBnEQoZRdqL9lvEfe SnnEJ/kZMWCdZoWmUHPc16LGLuGOHJhRVGuaJrRd6epCvIK7AtQFWYAZbWMwrqvc0ZE9 PByQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706195803; x=1706800603; 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=DYvvmpy3gvXDtu9+cgwcBJMRAtk90gz+DuNp4PyQjQs=; b=VxtSYfv7D+LlYaDULPf1fAcLpEHB+qZdv+IzorNm5WMKboP+wqBMOpdK2mSpp2zMLQ VnlIICcXYSiGF/9ep+3DXzdRgH73NKPYdDCXDlHqoXLBaMx+5xR8q3dKV/mZHTDPBpNJ LQFsdYLsg0GksNAtvGi/G0lMeKhFjlN8YR9D3UJS6rNopGGI2rt8DCTRrFAWxgbz56MD ktWeyHo/ppp70Z6hYzoKVUWRifGuGDzx3CVMAEVnp2177GlwSvzwNK9IEWUFVeUaBesO I5VFXhgdsrjS4US2z7Fn+0ODTPSO6F+qn/nyLhBTEg3NvexLILCEai+ejYqT79f9YDBW AAeg== X-Gm-Message-State: AOJu0Yw09Gr32N4gtsIvVt6lb11GgjoVlfdnKmW6qjElUFjqCh8Ryvcv lMIytufO9azZGPfnWdijN5MVEKCKym3wTmC1Vg9BLM7dRoOlG/ucQgwckkqXvks= X-Google-Smtp-Source: AGHT+IGuWq41cd/mRGhM7in6UzcnHANCL0ranLj92tjRczIUg8SRuL80g/hVClELM745HKmfd4IpZQ== X-Received: by 2002:a05:600c:4f52:b0:40e:d425:841 with SMTP id m18-20020a05600c4f5200b0040ed4250841mr256288wmq.60.1706195803587; Thu, 25 Jan 2024 07:16:43 -0800 (PST) Received: from ta2.c.googlers.com.com (88.140.78.34.bc.googleusercontent.com. [34.78.140.88]) by smtp.gmail.com with ESMTPSA id q17-20020adfcb91000000b00337d3465997sm3184656wrh.38.2024.01.25.07.16.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 07:16:42 -0800 (PST) From: Tudor Ambarus To: krzysztof.kozlowski+dt@linaro.org, broonie@kernel.org Cc: robh+dt@kernel.org, conor+dt@kernel.org, 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, linux-spi@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, semen.protsenko@linaro.org, kernel-team@android.com, willmcvicker@google.com, Tudor Ambarus Subject: [PATCH 3/7] ARM: dts: samsung: exynos4: specify the SPI fifosize Date: Thu, 25 Jan 2024 15:16:26 +0000 Message-ID: <20240125151630.753318-4-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240125151630.753318-1-tudor.ambarus@linaro.org> References: <20240125151630.753318-1-tudor.ambarus@linaro.org> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Up to now the SPI alias was used as an index into an array defined in the SPI driver to determine the SPI FIFO size. Drop the dependency on the SPI alias and specify the SPI FIFO size directly into the SPI node. 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..10967063727c 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>; + samsung,spi-fifosize = <256>; status = "disabled"; }; @@ -636,6 +637,7 @@ spi_1: spi@13930000 { clock-names = "spi", "spi_busclk0"; pinctrl-names = "default"; pinctrl-0 = <&spi1_bus>; + samsung,spi-fifosize = <64>; status = "disabled"; }; @@ -651,6 +653,7 @@ spi_2: spi@13940000 { clock-names = "spi", "spi_busclk0"; pinctrl-names = "default"; pinctrl-0 = <&spi2_bus>; + samsung,spi-fifosize = <64>; status = "disabled"; }; From patchwork Thu Jan 25 15:16:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 766253 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 987E4745F6 for ; Thu, 25 Jan 2024 15:16:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706195808; cv=none; b=hZ8X6enwyqf4YcGRwqx0a+dEfxf5M//iytQriNAbV4b9w2kTm7fx86S5h6TEmRx1irJX1hnjZSE6SVjBBSb57TORl3c7Ybi1wtk7omIUuc1WRLnTpUD5n4x0G+KecYcMgumUMjRN5wQi71t+MfTtJ4vwS9Gi5nzbMEDWbvAQ+tI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706195808; c=relaxed/simple; bh=tTDyP+QbDcDGX9MYq7Op5ElHJv6X/wISu1O4fxGJcjw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=dtf7GmVaYpdzCcovg0wDj67HibdsuaxyX7DMcZomjcRRL2dZoP0TAB9mAJufavoH2JdKMpJ+qoA2mzEDBLBIUnw6LlDOoj/f+NBoluEQYQ9ULF9BOXYnI1RikVNeLWZDaH1tg/SEl6kkJayXGOAgU7TU/Mm50yn3f+qDeLsicDE= 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=DLeNheuK; arc=none smtp.client-ip=209.85.128.48 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DLeNheuK" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-40e60e137aaso74966945e9.0 for ; Thu, 25 Jan 2024 07:16:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706195805; x=1706800605; 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=ZccBdMZTdQRiy4WH1cInpysJI1QGDCx3Jxp2itAkdao=; b=DLeNheuKPphe/bKw8eeimrUVHXPAylo2EEr/oJv1dTsfJ+1WZSlklQ6/9VeZDMbmLf cqjkIf+RJzAxC6zlTLuVlRqGCLNJGxDZj4MFQbQeQrjgY4IdM+WfchHrOdaTmdQA1YZr p3x8dXkGWz1bFBGNyvJxvh13uNeI26F1Oqifj+QMW2z6Inyn0UNeNAboNJwPpJHWHNzq YnxO7vGbMyt4KjdaZCbM7PXl/WS8WesexpnQZaSxoCYtZ6orSqKSptSAFUvBDe5Cz6WW T6r4C1YlTaWERV4eLPs6LKrQmQMB7WtrWYOCnbEQ1N2ijcyDyfb65Fs/yeqe6k++s9NU zhlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706195805; x=1706800605; 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=ZccBdMZTdQRiy4WH1cInpysJI1QGDCx3Jxp2itAkdao=; b=EHSWAuOicq/0bqF6MVGncDHHjPw1Fy43ov0VbPgF7MCYlFfllNREGEq99Mp2g1WJJw VgzKdlKAuQC2JqyAGu3fwEIHeLVFk8pufzWxYskEmHv+YsDX/gKUtkkMyl6g5vv84Pq+ msjtKx7vH/GYedU50q+WtEzRUZOQ/sk1BFPthi2FUM/qdGf5bv2XqqAaT3eYh+zPxLPG FB2/8mM9NoZu9Xf4CrYkUf/wtqwb4xPHl9iA/r3Ebj2WSTXen50ThHMS7kPLP+k4UbLa erxPHDwdr624ce7hXrWWWajwOe84dwXe4M2JAjcX9llFs9o31yqTryXB5/LehggHM0sg KxBw== X-Gm-Message-State: AOJu0YxPgr7XL2CJBj/iyEmnIgOXTTC+nf4m3h6Z5A3zuLHXIsSC3RJe UHXFCeNyWminOl41IAP4uFzlnWVvFurb648NECze2ryxkENB0+YEKe7EVEVjIfk= X-Google-Smtp-Source: AGHT+IGeL1GlUcr2NLv2GRUKPYkgBQEEer1ETUOGmu8WmOi1W5uB4BOahlGNzKoqyE+JD19VzVCIWQ== X-Received: by 2002:a05:600c:84c9:b0:40e:550c:a295 with SMTP id er9-20020a05600c84c900b0040e550ca295mr471910wmb.136.1706195804783; Thu, 25 Jan 2024 07:16:44 -0800 (PST) Received: from ta2.c.googlers.com.com (88.140.78.34.bc.googleusercontent.com. [34.78.140.88]) by smtp.gmail.com with ESMTPSA id q17-20020adfcb91000000b00337d3465997sm3184656wrh.38.2024.01.25.07.16.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 07:16:43 -0800 (PST) From: Tudor Ambarus To: krzysztof.kozlowski+dt@linaro.org, broonie@kernel.org Cc: robh+dt@kernel.org, conor+dt@kernel.org, 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, linux-spi@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, semen.protsenko@linaro.org, kernel-team@android.com, willmcvicker@google.com, Tudor Ambarus Subject: [PATCH 4/7] ARM: dts: samsung: exynos5250: specify the SPI fifosize Date: Thu, 25 Jan 2024 15:16:27 +0000 Message-ID: <20240125151630.753318-5-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240125151630.753318-1-tudor.ambarus@linaro.org> References: <20240125151630.753318-1-tudor.ambarus@linaro.org> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Up to now the SPI alias was used as an index into an array defined in the SPI driver to determine the SPI FIFO size. Drop the dependency on the SPI alias and specify the SPI FIFO size directly into the SPI node. 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..8e81d49622b7 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>; + samsung,spi-fifosize = <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>; + samsung,spi-fifosize = <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>; + samsung,spi-fifosize = <64>; }; mmc_0: mmc@12200000 { From patchwork Thu Jan 25 15:16:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 767128 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 9FF7D74E27 for ; Thu, 25 Jan 2024 15:16:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706195809; cv=none; b=AjcP4LY7Zeof3jNzm4nnRyRaA8GLlDZ0I+KvXdOUDFL9s5zNmStp47yy455YgPvfEbIiWP9Bfh6QcLpNk1SRG8AAF3sn+sNIUKBDD45tgVPwIaptOhF173BznibkWhkIcBoUHXk6QwALMypNUOHcuN1q8m1yHL5dWYDSV9ihf4Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706195809; c=relaxed/simple; bh=FTTDJwnrK7E36EZxAV/LZq7tKNV5qxmi0FcnlYPFXNo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XbbH9XOYo27gyt5/SbelTZ2cuO9vTw518MdUaZdUhq0KNVlW1cqZv47euwsiKCD1/pTY38t+kHP1UlOoQtzOaAkHFl/wDPe8DLbahewQQiT1iTwNJOpbpruOgIbGdCezZcZhJuZysjCr/Z2PyXW02tj8So8ovwN+wnOHs2i2R+Q= 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=oL/tsqkJ; arc=none smtp.client-ip=209.85.221.42 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="oL/tsqkJ" Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-339231c062bso4833467f8f.0 for ; Thu, 25 Jan 2024 07:16:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706195806; x=1706800606; 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=tXxPqJOvoUlfXn9BCYWKqTCOJ1mrScyukPmjwSmqHnA=; b=oL/tsqkJP1HMjNzmSZkZ+FaSw18KYThdi3vq/Mg/dr1SI7EXLVBV1fQesMc67jXTNr vyfkWNxr5SoZWu4YtChPmBejXmZ7a7ChhsyCAe2FGtMB3DSmkOAyUO8HZs4+vbjryEdP c1r3OtYVfW2l9j8jE46VHTr8BmazimQ79t0pEo832pTqoQfi9oB8I4FhLaw126b/9cxm 0jWn/OoRoUTRFFq1cnzSQlqlc+gDq+cI5fRtLXuqTXbyelnOrqjeMkmzjUUWinPFb0or ZAjbM+CrjDLrDfDhjVgWxlpZNAS9W09qngbw9z1GDOA5vhy+14E50UzGMafSh4zfrmJz o+GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706195806; x=1706800606; 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=tXxPqJOvoUlfXn9BCYWKqTCOJ1mrScyukPmjwSmqHnA=; b=Wz1QMj6AZZBkfynB72MZlIaOAKKgK5DMzsKdUcYRln5V8/RIOB2SM/9CJBfOV1G+ga EkQ2PJswrVSqeCk6IgBO2VxnGMqo2F4jvCfc29UrgGgv90gNXdWaPwsiQxtaW7nmEPv0 TTCSiUkInHmnoylRDxEXQ2/T3+UurVtIxuo0cK9pU4AAbhAbrlwtSBjP6JphcdIXxNkA p/yPYealC2d31F375ln6qxarYKqYdbacsGv9nqf3A8SrAW9uJ3Gz3LW6Hxeg8k7qpiyE 5OOtPKtu4+KbnXWIE8KLAaXDUHwFddjIpH/e15ZcVX6kxydbPJp9x9Eap+/9wY1UTbO5 8Zhw== X-Gm-Message-State: AOJu0YxtLUgfTJPmcY4gS7bglzMXVSRKwNQK0lDDzb2993wEwU8wdqf+ DNqOuDmLnv3CYdvNyj5O+CF4Ub+Cj6D2RU78b2QRfS3PseKsiE1TL8onbPrLxRo= X-Google-Smtp-Source: AGHT+IFOoZHXMIT/4Zve03YeeUbOYEFQZSqJR86REuQDoTvLqWV4vzsg7EY4ouv402Ob73dh/Vbehw== X-Received: by 2002:a5d:4407:0:b0:33a:c013:68d7 with SMTP id z7-20020a5d4407000000b0033ac01368d7mr530130wrq.11.1706195806021; Thu, 25 Jan 2024 07:16:46 -0800 (PST) Received: from ta2.c.googlers.com.com (88.140.78.34.bc.googleusercontent.com. [34.78.140.88]) by smtp.gmail.com with ESMTPSA id q17-20020adfcb91000000b00337d3465997sm3184656wrh.38.2024.01.25.07.16.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 07:16:45 -0800 (PST) From: Tudor Ambarus To: krzysztof.kozlowski+dt@linaro.org, broonie@kernel.org Cc: robh+dt@kernel.org, conor+dt@kernel.org, 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, linux-spi@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, semen.protsenko@linaro.org, kernel-team@android.com, willmcvicker@google.com, Tudor Ambarus Subject: [PATCH 5/7] ARM: dts: samsung: exynos5450: specify the SPI fifosize Date: Thu, 25 Jan 2024 15:16:28 +0000 Message-ID: <20240125151630.753318-6-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240125151630.753318-1-tudor.ambarus@linaro.org> References: <20240125151630.753318-1-tudor.ambarus@linaro.org> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Up to now the SPI alias was used as an index into an array defined in the SPI driver to determine the SPI FIFO size. Drop the dependency on the SPI alias and specify the SPI FIFO size directly into the SPI node. 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..e22692063aa9 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"; + samsung,spi-fifosize = <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"; + samsung,spi-fifosize = <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"; + samsung,spi-fifosize = <64>; status = "disabled"; }; From patchwork Thu Jan 25 15:16:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 766252 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 5111076906 for ; Thu, 25 Jan 2024 15:16:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706195811; cv=none; b=lxFyfh471e+kjrDF3n/6qnUG04e77BO/0zBRM922gebRICeNbn0JFIIoeQHCMmw5NMKaDa5WLfqLtx7lv/fv1/kpHfRv8aMefYi1eztmgRD5LiuxwbcMoE5OiEqokBSVrLQ0R8vXgXmao70QjWklWci2BBPX9wcwbz0GItirpes= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706195811; c=relaxed/simple; bh=WYvk9yPR6/JZyjBlCcCevDoHajB/tuMpck369sNB4+c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EnyABTgJGzEqotj7VGLu5udB9H2uC0paeiVaRidpKallMNOTOk5K/C1x4RrYmN1UhckkJQHGc68qDMIHUIY/vO6tYCVBJrUnuPueG90XTdOOlm4rBRYoVniKN4vkPcAsR/DJ56p+XblvGjCrOD1d6cpc0zL4xN8SUntVC7u1Ac8= 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=rQh9L4E8; arc=none smtp.client-ip=209.85.128.41 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rQh9L4E8" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-40ed2333c8fso7829255e9.0 for ; Thu, 25 Jan 2024 07:16:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706195807; x=1706800607; 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=35VmVc/8ejel4BrHqQQU0z/004d8YMTrnLiuRdXtvQo=; b=rQh9L4E8KOqZmxwPDnVbP4Hh6rLHIN8v5WN264CEnjHaRBRgYa8gcQ/ViMNJd06kPZ HeQytDc5nC27E/tXc9a0UDEcG2d1Mn92QWgukP0wyajkWE8yHPlELhIF9cphYAsUSdpx 4pWZC5RPG/D0mh9S0RmQDEjZTg2zUf41YkU1SvIKgpv2nLqfwN9BRLcmTXQ/b1CC7cC0 ZzdooKyOG/fjDkFvxLzM3Oct6nUEgM0E+SGoY+uOsYvGnQtolchfRFuIzRtM8Z4TpQ5B xTXY1JQ8Qi8S2BsudXzm2L7i8JhCbIIFmWcvmirMURr7PD9S+lneUAKa99JdgZY/iMKh 7mXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706195807; x=1706800607; 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=35VmVc/8ejel4BrHqQQU0z/004d8YMTrnLiuRdXtvQo=; b=vV338FQ401enMF+Shgz0CFqzq+z5L409jMLndqtGsFxLbffqh5Fy4G8xO78z1NH+n6 Q9VXzklCXH6ifPi15oTpp6daXnNXeqqZOeMTMTeILHQYPWyhzBQWrgsI1H8OumoK5k0m iOm5qv4JJLojy9LM/Q6vHOIzORYJXlLU5nCws2HlEIZ0XeNwNvtX60Uc0UmU3JyTEIq1 FoH6obUxKzyQohY6JaR4lLYoY2HHfLl//wV4Q21V3DJtapOXONrNrjteeXukFoZYo+tH cc0tBxinW4SV+Ng5nXUZqHYiWLzJLnEPHxVzS5L4E7LjfhR0MxqSr+pmrPNJI1QDt1rx NY7Q== X-Gm-Message-State: AOJu0YwWMuX3/Se5sOdL+aAtbnCrH5FcF0l1VF80ER974UK5x3cb3dMe jvq5kRqgB8LGEpiRBWy4xgl6KGitcwv/oHHGtAt+1SGJi6C+32lYbf1+cUWB3zY= X-Google-Smtp-Source: AGHT+IEJ0OKepjGpb6EdN0r3HkMYVxzhwVDvAZF7vtDAmnhFjc6DcohOMbEY1lslagNHUZP7nt14+g== X-Received: by 2002:a05:600c:21d5:b0:40e:c193:1de8 with SMTP id x21-20020a05600c21d500b0040ec1931de8mr564537wmj.232.1706195807674; Thu, 25 Jan 2024 07:16:47 -0800 (PST) Received: from ta2.c.googlers.com.com (88.140.78.34.bc.googleusercontent.com. [34.78.140.88]) by smtp.gmail.com with ESMTPSA id q17-20020adfcb91000000b00337d3465997sm3184656wrh.38.2024.01.25.07.16.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 07:16:46 -0800 (PST) From: Tudor Ambarus To: krzysztof.kozlowski+dt@linaro.org, broonie@kernel.org Cc: robh+dt@kernel.org, conor+dt@kernel.org, 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, linux-spi@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, semen.protsenko@linaro.org, kernel-team@android.com, willmcvicker@google.com, Tudor Ambarus Subject: [PATCH 6/7] ARM: dts: samsung: exynos5433: specify the SPI fifosize Date: Thu, 25 Jan 2024 15:16:29 +0000 Message-ID: <20240125151630.753318-7-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240125151630.753318-1-tudor.ambarus@linaro.org> References: <20240125151630.753318-1-tudor.ambarus@linaro.org> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Up to now the SPI alias was used as an index into an array defined in the SPI driver to determine the SPI FIFO size. Drop the dependency on the SPI alias and specify the SPI FIFO size directly into the SPI node. The FIFO sizes were determined based on the SPI aliases that are defined in exynos5433-tm2-common.dtsi. 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..b5c898703e3b 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>; + samsung,spi-fifosize = <256>; status = "disabled"; }; @@ -1487,6 +1488,7 @@ spi_1: spi@14d30000 { pinctrl-names = "default"; pinctrl-0 = <&spi1_bus>; num-cs = <1>; + samsung,spi-fifosize = <64>; status = "disabled"; }; @@ -1506,6 +1508,7 @@ spi_2: spi@14d40000 { pinctrl-names = "default"; pinctrl-0 = <&spi2_bus>; num-cs = <1>; + samsung,spi-fifosize = <64>; status = "disabled"; }; @@ -1525,6 +1528,7 @@ spi_3: spi@14d50000 { pinctrl-names = "default"; pinctrl-0 = <&spi3_bus>; num-cs = <1>; + samsung,spi-fifosize = <64>; status = "disabled"; }; @@ -1544,6 +1548,7 @@ spi_4: spi@14d00000 { pinctrl-names = "default"; pinctrl-0 = <&spi4_bus>; num-cs = <1>; + samsung,spi-fifosize = <64>; status = "disabled"; }; From patchwork Thu Jan 25 15:16:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 767127 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (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 C751C6EB59 for ; Thu, 25 Jan 2024 15:16:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706195812; cv=none; b=R7PJPzsq5r9JjLpMrf6uAVXsd1WYyN9SJanIhs+MnhcgJ9HhmsFPCFFL4ejdd5AWzJpLtgIZfTewKLILo0cFK27Fb7hwTtJdjboB5nJq0pOAQLOnGfpLYAFb1h3b8grSQnlMLJGtO5OklDbweUoCMm6c/Iigu3olsUNwTW6B92g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706195812; c=relaxed/simple; bh=BdvEdsI+9ZwmAcWu9r+fn2zpwOJ5y95xenR9tMcXHt4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UMQ5a2mTdGOgjnH/Qp8j+kA4s48YCgN90YdZAQkaPhudWjWK7+zLBbUYPeUgLd1y933ndsGkNA5rUJHTJZXceYc96J45EnOdWrJuxGbmJ47+g8HbHDG4/qAWoYuH83FhiiFDrtSqmqQxFMw2Tya22DRKLtyrWnrNEJMabdBjM2Y= 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=MCeui8pa; arc=none smtp.client-ip=209.85.221.43 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="MCeui8pa" Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-339237092dcso4837443f8f.3 for ; Thu, 25 Jan 2024 07:16:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706195809; x=1706800609; 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=B7fZHgdtAk254b2Ta6r4jswrfEyOE+a6C3SzcwRbr5s=; b=MCeui8pa96/950ae+M3AilAREYSAapIKOLfsm/x3xcvdrw6ebBuU391l90CvjM6q+h LKgCN6L5Zj2eTZfbnu0EoCnvh76pevcVuyk6XjQfYltDeFbpjDE+0ONBain0EfV8kvG+ LIIo9ENvRSki+ogerLl5fKGCpBL+mFet5bc/j41pqZpssY0oqrtC8PQqP3eznv7a5Aka KAyH5M+kctHrIVPO9qhQM2ELE4Vd/ZNevFXCJgiJC18VvtTWpPeFplM+rMGnuLar3Y8Z DMvkTghpSpnZmQvIVAzw20gD9+KjpImafYNMUKWsc/WdYQmoLAbvvEPoUzmzXwTXjWLi 7i8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706195809; x=1706800609; 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=B7fZHgdtAk254b2Ta6r4jswrfEyOE+a6C3SzcwRbr5s=; b=VzoSK+nXHEKcUjUCzQdWpsLokvWfULKDPVOtHFb/TdqCWjBp3ZWqcKfaUGnjI0Eb6o FM+6ehqlXQKVOG2Iw35wQ5fW1UMZ9Z4Ek7z+LvlQxIPzXwHqu3uxIIXJESm2rihOwx5n +uEXnjmv0JuUhKERAewl0nxlCzcNnoHBJuQwEMGoqxb8NhNH4rl44GXgHXqbIsd54hQb 7a9tgX4zwWLQAiaqDL8sgP5gKBPuiDqHLSrxIwmTs+me7HfZd11opPllN5HnmDRxLCwY cvHiw0RKKcCxecMu/SXEId/YKqU9FjyaWbC2pG4cIcQ/EXCp3eHQlOSO9/YBhbXJpUfP eqXw== X-Gm-Message-State: AOJu0Yzx+x6PdqokihltD7zw9h7yHAUge2wL1b3ZA/BZnFWhQsJwvhb6 9A0FJDXLS+GAfxvn/ke2cf0roB80Rtdgi+LnDqkw5d24L8vcr8WDUwVVxXOnxFM= X-Google-Smtp-Source: AGHT+IGoYO9kOPahwZ6XA2vuBj8K4clNsgjxliD3BZy40XKH+w00g1wwRaBaodP+bbbqXxngyjZQ8A== X-Received: by 2002:a5d:4906:0:b0:337:c4dc:c6ca with SMTP id x6-20020a5d4906000000b00337c4dcc6camr722087wrq.14.1706195809268; Thu, 25 Jan 2024 07:16:49 -0800 (PST) Received: from ta2.c.googlers.com.com (88.140.78.34.bc.googleusercontent.com. [34.78.140.88]) by smtp.gmail.com with ESMTPSA id q17-20020adfcb91000000b00337d3465997sm3184656wrh.38.2024.01.25.07.16.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 07:16:47 -0800 (PST) From: Tudor Ambarus To: krzysztof.kozlowski+dt@linaro.org, broonie@kernel.org Cc: robh+dt@kernel.org, conor+dt@kernel.org, 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, linux-spi@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, semen.protsenko@linaro.org, kernel-team@android.com, willmcvicker@google.com, Tudor Ambarus Subject: [PATCH 7/7] ARM: dts: samsung: exynosautov9: specify the SPI fifosize Date: Thu, 25 Jan 2024 15:16:30 +0000 Message-ID: <20240125151630.753318-8-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240125151630.753318-1-tudor.ambarus@linaro.org> References: <20240125151630.753318-1-tudor.ambarus@linaro.org> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Up to now the SPI alias was used as an index into an array defined in the SPI driver to determine the SPI FIFO size. Drop the dependency on the SPI alias and specify the SPI FIFO size directly into the SPI node. There are no SPI aliases defined, thus the FIFO size was determined by matching the FIFO size of the I2C node of the same USI parent. 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..3615da60dc9a 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>; + samsung,spi-fifosize = <256>; status = "disabled"; }; @@ -526,6 +527,7 @@ spi_1: spi@10320000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + samsung,spi-fifosize = <256>; status = "disabled"; }; @@ -617,6 +619,7 @@ spi_2: spi@10340000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + samsung,spi-fifosize = <64>; status = "disabled"; }; @@ -708,6 +711,7 @@ spi_3: spi@10360000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + samsung,spi-fifosize = <64>; status = "disabled"; }; @@ -799,6 +803,7 @@ spi_4: spi@10380000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + samsung,spi-fifosize = <64>; status = "disabled"; }; @@ -890,6 +895,7 @@ spi_5: spi@103a0000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + samsung,spi-fifosize = <64>; status = "disabled"; }; @@ -981,6 +987,7 @@ spi_6: spi@10900000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + samsung,spi-fifosize = <256>; status = "disabled"; }; @@ -1072,6 +1079,7 @@ spi_7: spi@10920000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + samsung,spi-fifosize = <64>; status = "disabled"; }; @@ -1163,6 +1171,7 @@ spi_8: spi@10940000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + samsung,spi-fifosize = <64>; status = "disabled"; }; @@ -1254,6 +1263,7 @@ spi_9: spi@10960000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + samsung,spi-fifosize = <64>; status = "disabled"; }; @@ -1345,6 +1355,7 @@ spi_10: spi@10980000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + samsung,spi-fifosize = <64>; status = "disabled"; }; @@ -1434,6 +1445,7 @@ spi_11: spi@109a0000 { num-cs = <1>; #address-cells = <1>; #size-cells = <0>; + samsung,spi-fifosize = <64>; status = "disabled"; };