Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp46412rdb; Thu, 25 Jan 2024 07:53:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IFijkj98+KDq5nQjvzhkQiAu9JUSrAzQkHOLoK/4VhmZhEUBFQI83NwY+EoMSAb4DkMadbg X-Received: by 2002:a05:6808:1392:b0:3bd:e0ba:9851 with SMTP id c18-20020a056808139200b003bde0ba9851mr312294oiw.30.1706198008041; Thu, 25 Jan 2024 07:53:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706198008; cv=pass; d=google.com; s=arc-20160816; b=PRH3Ca1AsbaHy3n3rgg13688i6djPoyhxhC4OWe78TKZFLSfRzdyYLYDmkFA5noCPs LLPNyBphB77D3NRXX4vu+vJ0APaYi7llZi4hM36ky8/DOzYfkmZmd0rIyl7aYWoURm3y VQmD8rHO6pqc6zCjGVkhMvNp7vnjykznrbzaWlwL/2LcNUV4Lm6M7mtTSQQLhKhhcRcA B4+BH/6EqhMQMtyXUN3Sc0dqK215f/noM/E2ahnUAs3HuWrK12pm3+snCuysXe0rPrBS 0sa5+A83Iw1wiItrFACD/f+l5NyzMSsnbCsakoOFmtfQgsSU4A/q6V3yVNmnVHPDthZ0 rJfg== 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=nOk6+vpBqAnD0NqUVUx1ai0O80sPEh8od21YAXRQz9o=; fh=30enZGvwQ6kty9utKo/iCPSaCqVQt6HFHnI6Wgi7hZ0=; b=GcGAgKnin2IDpAOdyS7TyP3XBcBRHq5Jg+17cSLYRMifffHhFJWEDfMxUaMDsrVTRy ge/Z6KAWK/10kXTfTbxQjISquT7/3x12cxMkULOu/R6QEYr5F8p2rBMzXaNHXA5b8UdO dcgfYrrifwYPlY0ec3vIuzcoVBmhhZuZo+RKuOUIKHrqxgMwEqUkfD9ynI4mgG5tR6Qj WhlCNO0aAvIyxQgE6DKsUpmDDitRyzl719HKQuh+2hXsa+7sKGSUjD+gqRfft8ue7DuQ /XD55j40B9ZYY1Kg/SXgr9hY6FIzEmlxPe0tlJEJnJwph4HPmhle071PI1N0LTUXKAbF 98Uw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QdtXKOCZ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-38856-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38856-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x18-20020a05620a259200b0078385e10903si14273824qko.464.2024.01.25.07.53.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 07:53:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38856-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QdtXKOCZ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-38856-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38856-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C58E41C21018 for ; Thu, 25 Jan 2024 15:53:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F01E745ED; Thu, 25 Jan 2024 15:53:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QdtXKOCZ" 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 AB4312C69E; Thu, 25 Jan 2024 15:53:15 +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=1706197995; cv=none; b=Ei3UTzZ4EJsZcWEozQQaQFkp10JJDqumQ8jAe118U5t+ORta0f8xmLiRgPkLCDqg8o/H7sfxEKIHKvreDCZ+qTtSyardJt4hkZshYKy+u7CUY4lP3GpT/oPoYYUgBb0ozTGB19/j8oHqLEaE3gUHOxRS7tkG+nVoUDxBNm0PWVY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706197995; c=relaxed/simple; bh=nOk6+vpBqAnD0NqUVUx1ai0O80sPEh8od21YAXRQz9o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hLnwPSfiiGdZ/Uh4XDfH6UbqxCZaLqKGrDIt9W1SeG+84A7vX4D0TGKAJdOAZlz/qaDikDNypb8uGE6xe6WFGjebXZfQ5SOr0iAXcudIPok4BO/M6chcV+wjFEZ+gBId+6rrr9woqFmSNeHr86WYuZ9dCbPlj9onl8jjsCfPA5I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QdtXKOCZ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DEE37C43390; Thu, 25 Jan 2024 15:53:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706197995; bh=nOk6+vpBqAnD0NqUVUx1ai0O80sPEh8od21YAXRQz9o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QdtXKOCZ0MumhfGjw0KAxGHAURFnRimM7IChc4rD/5CUdG0XlW9fXu/VLy0UzhC5a JBVO6oiLnXxqdToZ2Oewci7VR4Oec51N/DksyQu9WkRK8MbLelC3y0mD9ttDimOQvX 833oY53SfTUrWxVTYROVlpcnUwXdw7hiMDltdjiG+5YpN6/o1kSisRhRvQg/GkWcwM JBNPV0gFbVt35774aTuoae4V4gZfGxFr4a+KuE+bWAD3+BdF9i+/XbptMQFcC2q35/ +Nm5zlQKc+QoqqqQ5tNL0Fm8YAiWo0x33XS/zIMI5S2aB2kg9ddr1PjTi2VdOkN7sG Uxuvvl528e9Cw== Date: Thu, 25 Jan 2024 15:53:08 +0000 From: Mark Brown To: Tudor Ambarus Cc: krzysztof.kozlowski+dt@linaro.org, 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 Subject: Re: [PATCH 0/7] ARM: dts: samsung: specify the SPI fifosize Message-ID: References: <20240125151630.753318-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 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="foFfTHRHUmaAcrJ3" Content-Disposition: inline In-Reply-To: <20240125151630.753318-1-tudor.ambarus@linaro.org> X-Cookie: Entropy isn't what it used to be. --foFfTHRHUmaAcrJ3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jan 25, 2024 at 03:16:23PM +0000, Tudor Ambarus wrote: > These patches close the circle and break the dependency between the SPI > of_alias ID and the SPI driver. The SPI of_alias ID was used as an index > into the fifo_lvl_mask to determine the FIFO depth of the SPI node. > Changing the alias ID into the device tree would make the driver choose > a wrong FIFO size configuration, if not accessing past the fifo_lvl_mask > array boundaries. Not specifying an SPI alias would make the driver fail > to probe, which was wrong too. Thus I updated the driver and I provided Specifying a specific compatible is just good practice, it makes the DT much more robust for when we discover new things about the hardware and reduces the surface of the ABI. --foFfTHRHUmaAcrJ3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmWyg98ACgkQJNaLcl1U h9DPcgf/cXFXW2mU/ooxWd/EwkvRCkAW4vwoseFFv6E9z59LkE4ds8tHPZDgZOBE /3U/AIgAG9tQQFOWmxSNFHnh1E2NCMte/VUoXTisfRnhLdYZj2wlaFdcvGt/JFe+ E5WTpnGFsKLOEC1JB5XIQLpJVHniXRiPEsc4zDJlro7m6+r/5aLqbIh6ORuwVdVg 2uzj2iL2c2Ik8I6PreqCA5T6Ow53h/o5OELqui8W7AhDiN1c2cRL8ukRGteN6q0r HUWuLVYbuYxifr5BjOS+n7mLDMY2Jg/EhysV+T7ZB23mUSuNZPE9drX1lLb+CZa0 P4cbB+TJ3sk4DkKU2k5l2l3uIxyAkw== =0MC+ -----END PGP SIGNATURE----- --foFfTHRHUmaAcrJ3--