Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp547897lqg; Fri, 1 Mar 2024 13:06:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWedy3qW7d5M34rhAKpJOajrF6vVmbY2xTKq88Yg91eJY7RIQA0DrecZeVaJ42ho/78zXz2YFCm938Q5JRepgyOb2uWWkqGHaM5qAw7iQ== X-Google-Smtp-Source: AGHT+IG9BkkS5xzQpoIVRDJ081QQonUWi/R7q2vjkroWN/Sg/LOtz9UIIIzXVUZohpq4ik29gvGD X-Received: by 2002:a17:903:2408:b0:1d8:e4b8:95e5 with SMTP id e8-20020a170903240800b001d8e4b895e5mr3111803plo.32.1709327215586; Fri, 01 Mar 2024 13:06:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709327215; cv=pass; d=google.com; s=arc-20160816; b=oyhQ7TMULBg4TsVTM4x3AAcmRmNcLEcaQhzkJxGHtnxJ7PlTOBf/beO/xOYhQ39/qH R4a7XcnS4VWOxgyUk/80RbjQkG3yCxv37SVskKfyJ55Ibv25VgKkP73FqR/p08ypWIvn JXl6VBqOLMLuXkmjiVeL+rHLKArKCEzkQfTrWpkRg8NR0G6dCnNnQ4IeQiZznHmMPK13 xYIsMn16z+mJADsByQO2LkQBXQFmP7MerUs9xCZkTvHGDcKgAKvPEcFLPLCI6HO0aBeX NdUKJNogeIi8rFdw7RnAKzUsZRdMV5UYBm3h8sNEabOThFzei4KmZLlf5AzdcA2S/KZd B/QQ== 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=byqcMqA4OCz9BY2Wpu9fFfez36nRPE7W4SXGexDDc7k=; fh=pdYZmcCiamrZoYCOu7Bg+UzRlU//gBUvEjG9W/1Yrno=; b=bldq30/U2pTElCJqH9t2x4B9hnOKYGSbF09blkCKGuwPfi3u/7Q2ZlnoCMk4hqCEAD ZqpMlQemCp82LdnXBAmQonLmKs+ldS/UI8JSdejbUsg1CS6+jMgHY3goZ81p2CSgWN+c MHLg2HAOixA/xVU0ihw4WPR/Vn7RbBzu/PY6reny90/XgIe6tUrVuXaAzVfFtMuRK0EB opv8NkCTDYLc2pc24vVlZPrNxrCjpCwV1s1XPx24LXzq/9yR5udOac/EzfzJrDUy7aP3 wRLX3wOO77FTdQCH0N1GZDOy5qVzEWIefkseYFkdxej/itkeNe4KhqfJS1Ne0fBrxAeu 6Byw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JanC+Tna; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-89104-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89104-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e13-20020a170902784d00b001dcdc6e350fsi3638055pln.82.2024.03.01.13.06.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 13:06:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89104-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JanC+Tna; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-89104-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89104-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8621D28D241 for ; Fri, 1 Mar 2024 20:42:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B396B3D56A; Fri, 1 Mar 2024 20:42:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JanC+Tna" 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 D2B4C16FF2A; Fri, 1 Mar 2024 20:42:45 +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=1709325766; cv=none; b=cLHrMAsmZUGdUDqB229oeZ1W9g33xsV3k+D5eCd0toc2PP/7hknmLlQcR1qdWoNWo1ZrPCQtHG9s9zbbK6ONnWds1xWYMfJVxqaiSaHEKDbQI7RpGIRsiNUnvRj8IzyThpKf164x5iKNIBcQdJVeC9f/ep/8L+ydqkBnV4/zbNE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709325766; c=relaxed/simple; bh=73uTaA7d9xcbo8r4tapptpkNEAf8G2KEmjwaiwApfsQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uvBPER14lpadq2IOKGnKiYO32kBMkq90NY+D50+E6RLSQzhiElbyQEFjC37ZM+0Uf3FwYfdU1ZKWHI8o2sDMz+B/3ZIkoHp8+EfN1c6LhoFkYELU3zQcmYOA+CHoSpYGPm704rknRdnjtFADe00icKBlelPadlOqOMfHCjR+e3Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JanC+Tna; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5C19C433F1; Fri, 1 Mar 2024 20:42:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709325765; bh=73uTaA7d9xcbo8r4tapptpkNEAf8G2KEmjwaiwApfsQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JanC+TnaakLG12kECCD3MmA8tdR4b9z77LSK1XXJKokE5aR4fG5xvf3pvpZTZ2TbW dG9zZ61DShqUUMwRcvb8vdvWCjkOjgyqOhCPBGZJJaAMcewtTEiDYGs/GheEmHQy5u QLDvjiqkxCPFRa/D3vsdqL9UAfEXDnwzLvRmOuspK26WLrQW/kYFNIOL4sJAd0v688 cTBCE0prLNZXXPKHY/GlnjqrYIifbQegMlSptNZfAiHT663h5dzCNkDc6eWaJhdeZl 4E4yREyPc9WhOO1eeCVt9IND4QpDZyWnCd+YQN1F8JXYKO7liSw189d9M5WHcAqNkV 86a2b4XH+xPPw== Date: Fri, 1 Mar 2024 20:42:39 +0000 From: Mark Brown To: Sam Protsenko Cc: Tudor Ambarus , andi.shyti@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, willmcvicker@google.com, kernel-team@android.com Subject: Re: [PATCH] spi: dt-bindings: samsung: make dma properties not required Message-ID: References: <20240301115546.2266676-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="MemfwNmSGq/zcA3d" Content-Disposition: inline In-Reply-To: X-Cookie: Schizophrenia beats being alone. --MemfwNmSGq/zcA3d Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 01, 2024 at 01:28:35PM -0600, Sam Protsenko wrote: > On Fri, Mar 1, 2024 at 5:55=E2=80=AFAM Tudor Ambarus wrote: > > Since the addition of the driver in 2009, the driver selects between DMA > > and polling mode depending on the transfer length - DMA mode for > > transfers bigger than the FIFO depth, polling mode otherwise. All > > versions of the IP support polling mode, make the dma properties not > > required. > AFAIU, the device tree has nothing to do with drivers, it's about > hardware description. Does making DMA properties not required here > mean that there are some HW out there which doesn't integrate DMA in > SPI blocks? Even if this change is ok (I'm not sure), the > argumentation doesn't look sound to me. I do remember there being some SoC which shipped a SPI controller in that configuration for some reason. Possibly one of the OEM ones rather than one in a Samsung SoC? --MemfwNmSGq/zcA3d Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmXiPb4ACgkQJNaLcl1U h9Ap3gf/eN7JFZQiBhvsOUiRAENty3XADwJD6Dy7jlfgRduqmhzKOdfa7IlHM/wl FNIUAWf+T27AgQJjSXEXbkmON0RkeJVpWCbZoXJV9Rr2z3Xhns2wasphCMBDmtdE oMVIohHuCe61P/svZ4zJ7//pdXxFGVvMe44Dwz1uJvbtu1SiUv2GQQ5CV5U4fUhy Tav2FbYNzSZoy/zqsve97SBxVm6Fme8BCiTMnPvyrSbuA+UJ7/s2A243HgCM1VHA bFpNa5zVoSbiHkI4d+s6Fo/RlOV2fpwgXTW/s4BhHYjhkgTb+Qvd/jGN1ZmPC++F NLsnijQPfxAvIWgh4QAwhvhm2NkQTA== =aEUe -----END PGP SIGNATURE----- --MemfwNmSGq/zcA3d--