Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2847833lqo; Tue, 14 May 2024 10:56:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVHioXQFT/y1X9Nz30agKhHiwgmqjXFAjXRZZ5t/kMAif0DmOl7/pknaHqnPyF9rUqKLlwmLHx/t/ihRykzqKBq4bC+IlvA5Lu7+CPlgg== X-Google-Smtp-Source: AGHT+IFw6xkY15dYostbwfukFUjrAJZGkb5SEz1oqh1vth3d4BHdh6HelTWJDf9tpawl7OCf1J6I X-Received: by 2002:a05:6359:5f94:b0:192:231f:508a with SMTP id e5c5f4694b2df-193bb50b21cmr1463181755d.5.1715709379180; Tue, 14 May 2024 10:56:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715709379; cv=pass; d=google.com; s=arc-20160816; b=QEJUhnrO1z/Tnbi1H/8MGtA/MpyNBnLhXZIOwmkJQqv4D2rndK1uOgzKGaIhoVfc4e /OEijIbBjeZnTJO3OI5nkUGDnqRIoagDa8Y4wfOHhYzmspUoCvt0NhvvHyHdpTgMChD9 NpN/Fyxh3hf4ii2rTnrb4EQwQAqyhGZK6HEqBJfcQOtycc0A+97oN3U+Qq2CBfCtIEYD YIaGDDzE1qxzE+HlN2IvF7e6a42nx8ANmxoLcBxqmGzGrvZyICo0LvaCpg1l85s/gPpF 8XinDmpHPWsJob4Th/nWB1gEH/mo3y3GRbQIl7cWwvm+I8ou4U+tMhVriIXkkMg4Ofm/ A4bA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mXZugdNbas/FjjyMhO8j4ZUXbeWS5rgKhtfOA5jVU30=; fh=OjAHvvftbD+7y8ccmtAbJ2668Vpf24+P4MHbkoDcBYI=; b=YySWNOHqMfAMHEMwR6AoEZnTBLR/KDlSWimF0o6zvs8Effy6nUPFxM17fD2H+1AakL rckSiWrC5IGy7nGjy5Q1ClPvnEfZ4lHoOqHzNu2Ah1jieADe/4oOWsispWpicFoELuAg Kw6NddgtV3MJAEg6HIu9Ntq7zrSHUXYIzI5IkL+xrYwQ0AwciGLCGBo+Or1aG5q0KRrN sWVog1x+wZc3otAFndBSetmP2nILJRL/8nyoXBETH8N3WX+b0kWLWzJ9TdyB51P/axz0 bMU4h6LWHydYGYCL35QwjdmCo+MHzBFXM0zzs8n62KvD8C6rtGJNYmqR3KtFeJmQ2rw1 EpAQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K0kPQXSE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-179027-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179027-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6341180e0dcsi11679765a12.521.2024.05.14.10.56.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 10:56:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179027-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K0kPQXSE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-179027-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179027-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 838B2B226A8 for ; Tue, 14 May 2024 17:55:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 06105180A67; Tue, 14 May 2024 17:54:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="K0kPQXSE" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D5761802AE; Tue, 14 May 2024 17:54:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715709244; cv=none; b=TOOxxX3uhCnuFBrU+W9mO1ArJGY7QsTXnH7YRBkKF/gO1Ha0ZKJh92fijKXJ+AJv/QGf8b0pf+4g5kRfxOfGi19EKXKZbMJrliVjBP0y8agTqyWji0xTBSTmks3dC0aWDHmRHzOmb+c2sfl80iKd9PLSnWHTKb93H4nOms6sgco= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715709244; c=relaxed/simple; bh=Og2bulaEiyhJKBbZNSuOSTrvk7DGpRodAs0PpN4so9Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LZ5cxF83/mKIY0WZqMCepd53WO/czVFmbytvXoxZjh7RuqyIe8f9N7XU/oiV1Hlr6ukVHsfUp8IJMFClKKUsPy5KqWXRgalxqHIoGsWEZcXTzDYJBdT95cUXFCSapqc+hN5NEXz3V/ZHm4ItCwblbd/LKtxlOCCyIuxbzdLFznE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=K0kPQXSE; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69F77C2BD10; Tue, 14 May 2024 17:54:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715709243; bh=Og2bulaEiyhJKBbZNSuOSTrvk7DGpRodAs0PpN4so9Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=K0kPQXSEKrzRVNE1rhsk7LR8Y9DVKojRyOJxI/q9ASeeyJ3kLTNTZnffMQkUmLQ46 Sxj43rQN30djUDw/EFF51Z7/6OdMnffKTRs3ZdJHhqCu4Svv/xM+W0Vy9F6rRYnbDJ MvbgCZR92nyN5lQbIVP24wAzTX6BEGDtvl1WsU675/u9cxILjccBD2dw75Gb4DNrHV gcHSxg1wqowP2s18cUU8Ix7R0s7UnmC3xhiBEooaZgPiPz6600v+ly8JxK1CbW2lbM cxKG0nrkDwW1/kqFp79n7zlPcgYmZb+/Ueo+NTcCLSA83vCtPkZclWRg9rCSyxhLBF RxLuVOzH3kUtg== Date: Tue, 14 May 2024 18:53:59 +0100 From: Conor Dooley To: Prajna Rajendra Kumar Cc: Mark Brown , Rob Herring , Krzysztof Kozlowski , linux-riscv@lists.infradead.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Conor Dooley , Daire McNamara , valentina.fernandezalanis@microchip.com Subject: Re: [PATCH v2 2/3] spi: spi-microchip-core: Fix the number of chip selects supported Message-ID: <20240514-epileptic-enrage-44fe37b417ff@spud> References: <20240514104508.938448-1-prajna.rajendrakumar@microchip.com> <20240514104508.938448-3-prajna.rajendrakumar@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vyFYGc/Uj8F56sfy" Content-Disposition: inline In-Reply-To: <20240514104508.938448-3-prajna.rajendrakumar@microchip.com> --vyFYGc/Uj8F56sfy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 14, 2024 at 11:45:07AM +0100, Prajna Rajendra Kumar wrote: > The SPI "hard" controller in PolarFire SoC has eight CS lines, but only > one CS line is wired. When the 'num-cs' property is not specified in > the device tree, the driver defaults to the MAX_CS value, which has > been fixed to 1 to match the hardware configuration; however, when the > 'num-cs' property is explicitly defined in the device tree, it > overrides the default value. >=20 > Fixes: 9ac8d17694b6 ("spi: add support for microchip fpga spi controllers= ") > Signed-off-by: Prajna Rajendra Kumar I gave you a reviewed-by on v1, here it is again: Reviewed-by: Conor Dooley Cheers, Conor. > --- > drivers/spi/spi-microchip-core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/spi/spi-microchip-core.c b/drivers/spi/spi-microchip= -core.c > index 634364c7cfe6..c10de45aa472 100644 > --- a/drivers/spi/spi-microchip-core.c > +++ b/drivers/spi/spi-microchip-core.c > @@ -21,7 +21,7 @@ > #include > =20 > #define MAX_LEN (0xffff) > -#define MAX_CS (8) > +#define MAX_CS (1) > #define DEFAULT_FRAMESIZE (8) > #define FIFO_DEPTH (32) > #define CLK_GEN_MODE1_MAX (255) > --=20 > 2.25.1 >=20 >=20 > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv --vyFYGc/Uj8F56sfy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZkOlNwAKCRB4tDGHoIJi 0mh9AP0e3B6+xx/518heUOBQSktIwp5X7vszCM4FRNeMALAPlAEApV7oxlTbfDp6 VOdPHK8/UYURoluxXJ5VzI1bZDU6cwU= =yQ4T -----END PGP SIGNATURE----- --vyFYGc/Uj8F56sfy--