Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp101328rdb; Thu, 25 Jan 2024 09:19:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IFMdbPOhkQMxMx9Py/YAcfaJ4QnSUGQCoc9hK54iX0E9QMuZtBUjSCS2faBoR3AJ6RD3/J4 X-Received: by 2002:a17:906:eb17:b0:a30:f7f2:ebca with SMTP id mb23-20020a170906eb1700b00a30f7f2ebcamr649645ejb.21.1706203148429; Thu, 25 Jan 2024 09:19:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706203148; cv=pass; d=google.com; s=arc-20160816; b=r+hcETFJhNTtxrOrCxO/JVhup78B3rKQ2sRRp0PBC/tOY6gg2F5D5QZ7jGuFkv+OSn WzSoDuKu/H/HgEjn1OTb2qP/DNfvm7SoklpAa4BWzY+F+ALPLENFW86T042HfXR+oalh ettZFYfuq4Zi4L8oNdNwq7sNMgDPHjbyek9Gj343JZvv3Df7bMNFUBMytdGHhvU99gV/ zlhql5BClnGW6VdboswBpmfl62gGXX18rgxuh4YoY3hXo54lArvABkuAcFisf3YYvD7V aV0qXtcx3jsA1YGXrqgi4WjBVosfnoOfC+8De7QgXnRKmS/uiRSCG85K5YnwFwvmBQUe OMyA== 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=IqhITx+3AoyJCTQ3wNRYhgVg9Etm7uaRVIpsFoMc2Vg=; fh=iMDL/FpHz0aKOCd7ET+5SpdmjHzCOQ8K+j30WfXEtRg=; b=ZeAUVj4BBe5V4c+s/2M1trrBcS6FVTeL2FWcVPiw8sQuUCbwj2Z8f0Hz4wFxs/WSR7 R5NBab3rWy1xxXTSJt4XzSfyOdg22hDgOVyq+VHhsg18bkGrGEyt8OFNASCvY8pC03+B E4qLz3mHoZHeJR0hCjEQSE4SJ70Q9gG6nvGnoUWgJrZtVPzj4AIVvEKumI9+Hj7iN5wY RmaB1OuSGzBaI9wEyuqqc6JriPQbShSK6vO3ZiG/oQtDcX0YumEM0WKIWBB0uAc0Kk7J EB/OdDpCQJpcyxe0vfTK8FAOrZRYihPEH/0RQ90R0GbVB6zmevI1QVW0txRacX0LCpor dVNQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=D2HkKulG; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-39023-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39023-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id s6-20020a170906c30600b00a2dd05df9d5si1105698ejz.437.2024.01.25.09.19.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 09:19:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39023-linux.lists.archive=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=@kernel.org header.s=k20201202 header.b=D2HkKulG; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-39023-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39023-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 29EC01F2A34C for ; Thu, 25 Jan 2024 17:19:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3221D129A63; Thu, 25 Jan 2024 17:18:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="D2HkKulG" 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 4C4D71339BD; Thu, 25 Jan 2024 17:18:09 +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=1706203089; cv=none; b=n0VFn4TBY5a63Q0zfsSzCFqLZZnTRHpwkygdrs8uon2qU5UhxPO35stLlNNSg+fTWLGfyy8cCH3WAJvX9XzNkClsZfj6bpZSxlzBcYrU67CDPNLwk5riygQwM6iluPpSaa8zgyKDKXkAjbZ2x1ixKMbwORazKIUB9fIZOojWBb4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706203089; c=relaxed/simple; bh=VmrqQGWyTbOGTNQ/vAkIp69HNVkARx3sDciLeid9ZvU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Ypy2SR01OYXto7hxEStSowFDFkkbYbUJwlMLZckm0PnW2xb9ER0xLtQ4gsMJrMix4IijPbJEJOsbA0a/JeUF224+UAEeKXlHxbkRwpMN7HhPwOpPYyRcuF96KTorwdnxDEkRdgGiemLz2toO9YYrExAMM2DfsRalf0yCf+hUg3s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=D2HkKulG; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FE2FC433C7; Thu, 25 Jan 2024 17:18:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706203088; bh=VmrqQGWyTbOGTNQ/vAkIp69HNVkARx3sDciLeid9ZvU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=D2HkKulGZOJDLv1CxUoUEePIPPC22jyGmMG6KiuneZXq0/pd1BpJlwCzUgSmTWrV/ R/JO5+1/nhtk15gStc7jK5j/9Q1/XcQ6iFDjFueIIt/D6jmuYCmL6vLVX/2muZDFMY xVOY6UAULY0vUoG6goSp6+BmSxcBAeKDNAvryLnS/Bq4E9BVcHW9xdeDSIieHGdR2w Karj56jxx3FtkJNQRD6N3RkOQkt2vCvHkRNdwIR9yIDstmtGDj3vxAh+OJ27K7MQ58 iUkTNtQLK31/1UpBmv2VfbCBk43VbMc+qMI3BrM732hVdA0PpV6KleWQh3uTjWT4zp kMvvZNesLB/fA== Date: Thu, 25 Jan 2024 17:18:01 +0000 From: Mark Brown To: Tudor Ambarus Cc: andi.shyti@kernel.org, arnd@arndb.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, alim.akhtar@samsung.com, linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arch@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 v2 21/28] spi: s3c64xx: infer fifosize from the compatible Message-ID: <2086b88e-45fc-4224-b00f-0840d446d042@sirena.org.uk> References: <20240125145007.748295-1-tudor.ambarus@linaro.org> <20240125145007.748295-22-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="HgRtS/XEVb/749Yx" Content-Disposition: inline In-Reply-To: <20240125145007.748295-22-tudor.ambarus@linaro.org> X-Cookie: Entropy isn't what it used to be. --HgRtS/XEVb/749Yx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jan 25, 2024 at 02:49:59PM +0000, Tudor Ambarus wrote: > Infer the FIFO size from the compatible, where all the instances of the > SPI IP have the same FIFO size. This way we no longer depend on the SPI > alias from the device tree to select the FIFO size, thus we remove the > dependency of the driver on the SPI alias. > static const struct s3c64xx_spi_port_config s3c2443_spi_port_config = { > - .fifo_lvl_mask = { 0x7f }, > + .fifosize = 64, > .rx_lvl_offset = 13, > .tx_st_done = 21, > .clk_div = 2, I'm having real trouble associating the changelog with the change here. This appears to be changing from specifying the mask for the FIFO level register to specifying the size of the FIFO and unrelated to anything to do with looking things up from the compatible? --HgRtS/XEVb/749Yx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmWyl8gACgkQJNaLcl1U h9DTfwf9EPYILffoosYlL9u/einpypgWGHhqhCvASqvmgmec/OFieX6W9rE9756V qRQKkCsaD16mHJUSvJSqEf4qwoAXGf/57d03e5ShnK7nF8eUh+gsG2nz8b2mDmIr 2M6foetkCRim5eV4rNmsqxW8Ce+6EWrJX4y9BqxJNbxaACxa9fO9fIHAF+jnUOdU /Bw/4aK99kPkW8PHMsg3vpuHxzbzak0aiYvMTHVZcp8Paan0hz3KYvI6xHLllNL0 ukoQMrnHrpOKy3ftVmNDXeefDuE0sOHQinzQsIEuIXqiRE2XKyJ+yXII+RaZ2o1b v87fTDNtaYqs9bH0jweNhcv62vHu1A== =qAfe -----END PGP SIGNATURE----- --HgRtS/XEVb/749Yx--