Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp486766lqb; Wed, 29 May 2024 01:23:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWR2JGOf+Mdczs3wFzWMyARMWgvQGeJeRjvpfpEApY3ulImjPddMJI8n0A3vuSKtX3geqbHroxcWG/dNoIZoeDlfu3dqQw6Uq1gHDqRxg== X-Google-Smtp-Source: AGHT+IH4fdqG5YPljPjKTJwJ1CppqiXXUeil4TW9K7Pt0Ll8elqIpCkYCydtycIJ5MmIE145N6iz X-Received: by 2002:a17:906:a391:b0:a65:ab74:1e8d with SMTP id a640c23a62f3a-a65ab743299mr3766066b.59.1716971034057; Wed, 29 May 2024 01:23:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716971034; cv=pass; d=google.com; s=arc-20160816; b=dQ+A013VsZY3ffLej98K6XE9pxjruYLXsSUv3Vl5WnA4ZBaqqoP97OVYP4FYvhn2LV amwUgfux4ak5Uc/NBjRE1kIhgoL0xxNaElfKk3vSJalwcifNwsU7CK6PYbTtxyX8x2GN f1KEUyMhWXMZhwS1LwHAR2Z3LP20teexBMlsuXMc2QahzqRtT+SAPd1rbnjzOeq8dHtl e3VkqWddPUE1JcTFkGCKjR84+9OMtwqvxbiufPNTAGFYwSkgyBJVjcKZokezXV++Yze0 8TMdYA7d/642/IV8PcM9UxOJoSBUti5UUClQzS6euAYvvZ1zVgsglXc7L0BWXjmWLFbf IKOA== 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=72XwbfWX0JNfftZ8PPXFHNsSZEHdXiNIRoGnHXe6D44=; fh=sirFds4znnUGbV84lQf03ERkcLDrw9zHNKaU8Fwjuu0=; b=ki7WEBj2TGgiiepVahybAd2sNgWpRbbpx7IHcT3zX2iAVRG1d59wiydUqY5yJdDsz6 LRs8XQqD8aRv0wD86qhlOsyU57Rp6PyKIzoVqGMdP8V+Cesjs2zZGnZjJNSZFx06yRVN pd1uLpfGg/8onbjnTL2TC+8V1bxw+g4uX+jSvMFpbEKSnO2kWwZzPLr42/kjuBb14WET +D0rFxZgvdIeQQfcO8OeoZD1FCJMQADgGT3CplCXndiYDfgC9Tpi6TF/KFBwPCKGmxpt 6TmdCsMUXrj+SXTvc84/yLKY1jVNnqDa7ieyv9PR5nqjlPGXL9XDO8qcwNodOH80FXRW pmlw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=SxmSPn+O; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-193705-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193705-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microchip.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cc6769esi592302366b.603.2024.05.29.01.23.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 01:23:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193705-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=@microchip.com header.s=mchp header.b=SxmSPn+O; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-193705-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193705-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microchip.com 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 1B6371F29B5E for ; Wed, 29 May 2024 08:20:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 016CF16C680; Wed, 29 May 2024 08:13:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="SxmSPn+O" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (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 AACD716A367; Wed, 29 May 2024 08:13:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716970425; cv=none; b=LMd60XGeErCd2qYYYKYle1+M+wlbviz15a2VooqP1Id8GtEfeSKQAD3ltAdq8cl1UCZNwVQ31fc1tthtTXHTDetWPeil+nrMDWtwsGb3CPdFj9o1gs0K3il2Tz/YFFBnZ5hz4Qj+xtbeRQuqQpy+aX35sydJEYBle6/lnRVEYbk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716970425; c=relaxed/simple; bh=72XwbfWX0JNfftZ8PPXFHNsSZEHdXiNIRoGnHXe6D44=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=R9U4yjF0NIDqRVtOFOaq9b1+5twmxF2aT+VtWlx2o43K6PtlcoK34PXGI4cLc+QyKDojNr5gT2WDSyEKfOH4hTpbnbeapj61dnf/3BIJLr7dtkY27eBq/qmh81ZW4YefaULEkKLpPJcT8K4EW1f6vz0AVlKkHNPetuA5aRdw818= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=SxmSPn+O; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1716970422; x=1748506422; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=72XwbfWX0JNfftZ8PPXFHNsSZEHdXiNIRoGnHXe6D44=; b=SxmSPn+O8tOjGwG8kwe/2/REZa1dwij+e1jxSmZeB/nZ09XTr7la4gsN DnEbdakaqO+2pxOTJeY8aOnvEGD8fL/asW/S9NqyijW39vXo0RLq/VYGO r50I1lTfPgOKK6o1ee5vjkkHp0jzoSiKjMTIgV3IchwADJw6UdZmLEjhK lwfz2neYEkB6NNj9OChzNgOcB7xcqK7GMwn6B5KSiNyw5QU9aj9Iw6fKr XDJTmTF6fVat+dIaMNJE8ORiO5uVHQOxdR4SDXG7G77a2pl0aX++GJNJC DRbvdCgZpLQ9G/lr1/YXAfwmjxsC+NSAVL29AzIFTsurAWSlHAu71fxK0 Q==; X-CSE-ConnectionGUID: 93YC8SPlT/GvXrqhb2YOdA== X-CSE-MsgGUID: txZTcmdLTX6G4a1LPMLe5A== X-IronPort-AV: E=Sophos;i="6.08,197,1712646000"; d="asc'?scan'208";a="194082660" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 29 May 2024 01:13:41 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 29 May 2024 01:13:28 -0700 Received: from wendy (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Wed, 29 May 2024 01:13:25 -0700 Date: Wed, 29 May 2024 09:33:10 +0100 From: Conor Dooley To: Nuno =?iso-8859-1?Q?S=E1?= CC: Conor Dooley , David Lechner , Mark Brown , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nuno =?iso-8859-1?Q?S=E1?= , Michael Hennerich , Lars-Peter Clausen , David Jander , Martin Sperl , , , , Subject: Re: [PATCH RFC v2 1/8] spi: dt-bindings: spi-peripheral-props: add spi-offloads property Message-ID: <20240529-quicksand-pulp-9926fc45a294@wendy> References: <20240514-aspire-ascension-449556da3615@spud> <20240516-rudder-reburial-dcf300504c0a@spud> <20240519-abreast-haziness-096a57ef57d3@spud> <20240522-gullible-ibuprofen-cf9111c25f6f@spud> <5ad0b5782434eaf4cf565cffb0e4c14b7414ae38.camel@gmail.com> <20240526-peculiar-panama-badda4f02336@spud> <10991373cb9603803df63d8236c475807f6dde68.camel@gmail.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="rbQyeM2lc/f5W732" Content-Disposition: inline In-Reply-To: <10991373cb9603803df63d8236c475807f6dde68.camel@gmail.com> --rbQyeM2lc/f5W732 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 29, 2024 at 10:07:37AM +0200, Nuno S=E1 wrote: > On Sun, 2024-05-26 at 18:35 +0100, Conor Dooley wrote: > > On Thu, May 23, 2024 at 02:15:35PM +0200, Nuno S=E1 wrote: > > > On Wed, 2024-05-22 at 19:24 +0100, Conor Dooley wrote: > >=20 > > > >=20 > > > > To remind myself, "Application 2" featured an offload engine design= ed > > > > specifically to work with a particular data format that would strip= a > > > > CRC byte and check the validity of the data stream. > > > >=20 > > >=20 > > > I think the data manipulation is not really a property of the engine.= Typically > > > data > > > going out of the offload engine goes into another "data reorder" bloc= k that is > > > pure > > > HW. > > >=20 > > > > I think you're right something like that is a stretch to say that t= hat > > > > is a feature of the SPI controller - but I still don't believe that > > > > modelling it as part of the ADC is correct. I don't fully understan= d the > > > > io-backends and how they work yet, but the features you describe th= ere > > > > seem like something that should/could be modelled as one, with its = own > > > > node and compatible etc. Describing custom RTL stuff ain't always > > > > strightforward, but the stuff from Analog is versioned and document= ed > > > > etc so it shouldn't be quite that hard. > > > >=20 > > >=20 > > > Putting this in io-backends is likely a stretch but one thing to add = is that the > > > peripheral is always (I think) kind of the consumer of the resources. > >=20 > > Could you explain you think why making some additional processing done = to > > the data an io-backend is a stretch? Where else can this RTL be > > represented? hint: it's not part of the ADC, just like how if you have > > some custom RTL that does video processing that is not part of the > > camera! >=20 > Maybe we are speaking about two different things... I do agree with the v= ideo > processing example you gave but for this case I'm not sure there#s any da= ta > manipulation involved. i mean, there is but nothing controlled by SW at t= his point. > Or maybe there's already a future usecase that I'm not aware about (maybe= the CRC > stuff David mentioned). Yes, this was about the CRC or other additional processing - the quoted text should really make this clear. --rbQyeM2lc/f5W732 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZlboQQAKCRB4tDGHoIJi 0kz3AP0Tzr065+W35OM/7KhesmbmeL+xHVzJPcC/rRlOigC+FAEA4EI9ewuesuPF gSK62N0YxbrnLdbpWvhRMnxNLjRDlAs= =Vc5B -----END PGP SIGNATURE----- --rbQyeM2lc/f5W732--