Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp887413rdb; Fri, 1 Dec 2023 00:50:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IGkVq0HAjtDJ7REBOc/PZukbbittgwubyUwGyGUKctiPK0Qk0FkeiXY1WmSiQIKnSPBKACn X-Received: by 2002:a05:6a20:1611:b0:187:e71d:ab41 with SMTP id l17-20020a056a20161100b00187e71dab41mr29314328pzj.19.1701420653727; Fri, 01 Dec 2023 00:50:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701420653; cv=none; d=google.com; s=arc-20160816; b=xRPanFPPtFmbpWtnNWb6yX1xNinsv+tRwq8u7xgAwyu/RpAqFyJtPZHrorqlpD8JjJ h4PcjgTV1Lc/vlj4T6wyhP/M+IyRhPNjmfQRRPJHhs7WZDoR2y+AEuM+q8QzMeWW2TRP SsNaJeYDE37/VqyH/jLn+1Z+xQkU7p0YgRDn9MaB6I7VKa/rH1I1rHaR6NLLk0gQfMAS 27CQZb2Ga+99JWfEG5N5rSfbu1qYEey+vy2PRGWxD1tJRbqx815PvkDEYL+YyMOql2i1 GVpK3v5wfyHsxw1twNwZrr0RDO5/LPOXezV50WEnzgh0XpeImMkuDcIAEt1dTfSlEaFe A7bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=ecWJytuJ+NdbltNOlj+5D5e20+I6iSpYpRaSkGLH+ao=; fh=GQxDNlU0szhKG+eay4kofdBwtci3PaXxPlX9M257frU=; b=QG9qX+AXYvoK7nUr5ZaueuGceX7hFNxbh3rVPcvQU5CJMm4WIAR+M9oU0NFMVPeIwF j/abjrbvunJ25vbcASjAL7vgGwujk9dr/7jQquup7Lq0bkJN7gj9gEWw7qTHybkEZFsL OgOe4d9gPHDxu0WR055d8NRPCCZ7E9Ysujp1AcI4CSUW6cDpHLQvTvsstk4MdHAVsLSG BaLlGoQJepnVjNsqrIVkXiBVvwtWC3ghcZtJTPljpu9vLXaalJxh540JQFIPa9ofd75E J262jkQNa7Vm51CqjUo/NWTfaQ5C7yKRs1RSdFTPMCGvyRp5h1yupdGCx6WMTNTChWFX m3ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PqujUTx2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id h10-20020a65404a000000b005b909e678dfsi2879035pgp.450.2023.12.01.00.50.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 00:50:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PqujUTx2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 48FD783328EC; Fri, 1 Dec 2023 00:50:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377916AbjLAIug (ORCPT + 99 others); Fri, 1 Dec 2023 03:50:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbjLAIuf (ORCPT ); Fri, 1 Dec 2023 03:50:35 -0500 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7ACE284; Fri, 1 Dec 2023 00:50:41 -0800 (PST) Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-33319741ba0so1653085f8f.1; Fri, 01 Dec 2023 00:50:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701420640; x=1702025440; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=ecWJytuJ+NdbltNOlj+5D5e20+I6iSpYpRaSkGLH+ao=; b=PqujUTx2yloB+dAvZygavPqZ+10+EDZFX88B0QP58QRMNrrBf4IXJty9wIgiY5McvU Y+j8GvEtAhJmZctGS5ICZCJk6sCtSVizsBbB+DaucGp+u7Fey1aY/DsU77ef4RDpJqHx Q2QUCIQZxdmLdWQRY3ynGAj26yFq8qhkMzJC4PNy5xTvWGOuRT+MyvFH7rHW+v0spRv6 dkvx6ypvNzwVO61iTB6ws9B0ouQ9Vg1/8Vo7SMfEzA2z2UMrv3eI0avR8O8NML1SfVY0 uDn7VRFeA8D1u995KjTmY8tyGo2WOvzxaSvEJI+HsmkSm5gwnMbfM5PDENvydqj8wS9Z DMrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701420640; x=1702025440; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ecWJytuJ+NdbltNOlj+5D5e20+I6iSpYpRaSkGLH+ao=; b=J9A3QLEYox2Gqtr0TEETE4hDjeNfUKfsNHwgqyCyOkhzbxmBr091kTqeenM62NAwfJ 0yWS7RpQC6yap6f24vFVF/seWcGPwVQIYZ6g6HCF+WVWSLbJTjStvREXOilktaHQx6l+ KwiR/hjPnSiKGsEAUY5qGeRAV4fO+LToJsre8LL6usv4UpRFKwb57jImj7EgLos6LspU RoKE4eMbXOrvjkuDPOlkRbYcgcqZ5Zeh/PisIMqztNNz2D7AdOXClFv348PYROHp90qA NZzn+M02nmxEPjNqrLxjXb18WY2+UbgDrKR3ivyylC+vvqzsUZqXw+bmfziJy3ly1y7O RCKw== X-Gm-Message-State: AOJu0YyZ4rfsUiJiUbWxYl2iDzGKBO6tOMInibp6Dj0G+UiPWloy4XY/ 2NjVNGGiIXW+9dVGWuMsZL/gEMrSziCvkTbJ X-Received: by 2002:a05:6000:1a45:b0:333:2fd2:4ad7 with SMTP id t5-20020a0560001a4500b003332fd24ad7mr666166wry.83.1701420639688; Fri, 01 Dec 2023 00:50:39 -0800 (PST) Received: from ?IPv6:2001:a61:3456:4e01:6ae:b55a:bd1d:57fc? ([2001:a61:3456:4e01:6ae:b55a:bd1d:57fc]) by smtp.gmail.com with ESMTPSA id j1-20020adfe501000000b003332f1f51f4sm1732408wrm.94.2023.12.01.00.50.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 00:50:39 -0800 (PST) Message-ID: <3b21271da4ec21e51a804181268a50a5d50ff85e.camel@gmail.com> Subject: Re: [PATCH 12/12] iio: adc: adi-axi-adc: move to backend framework From: Nuno =?ISO-8859-1?Q?S=E1?= To: David Lechner , nuno.sa@analog.com Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, Olivier MOYSAN , Greg Kroah-Hartman , "Rafael J. Wysocki" , Rob Herring , Frank Rowand , Jonathan Cameron , Lars-Peter Clausen , Michael Hennerich Date: Fri, 01 Dec 2023 09:50:38 +0100 In-Reply-To: References: <20231121-dev-iio-backend-v1-0-6a3d542eba35@analog.com> <20231121-dev-iio-backend-v1-12-6a3d542eba35@analog.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 01 Dec 2023 00:50:51 -0800 (PST) T24gVGh1LCAyMDIzLTExLTMwIGF0IDE3OjMzIC0wNjAwLCBEYXZpZCBMZWNobmVyIHdyb3RlOgo+ IE9uIFR1ZSwgTm92IDIxLCAyMDIzIGF0IDQ6MTfigK9BTSBOdW5vIFNhIHZpYSBCNCBSZWxheQo+ IDxkZXZudWxsK251bm8uc2EuYW5hbG9nLmNvbUBrZXJuZWwub3JnPiB3cm90ZToKPiA+IAo+ID4g RnJvbTogTnVubyBTYSA8bnVuby5zYUBhbmFsb2cuY29tPgo+ID4gCj4gPiBNb3ZlIHRvIHRoZSBJ SU8gYmFja2VuZCBmcmFtZXdvcmsuIERldmljZXMgc3VwcG9ydGVkIGJ5IGFkaS1heGktYWRjIG5v dwo+ID4gcmVnaXN0ZXIgdGhlbXNlbHZlcyBhcyBiYWNrZW5kIGRldmljZXMuCj4gPiAKPiA+IFNp Z25lZC1vZmYtYnk6IE51bm8gU2EgPG51bm8uc2FAYW5hbG9nLmNvbT4KPiA+IC0tLQo+ID4gwqBk cml2ZXJzL2lpby9hZGMvS2NvbmZpZ8KgwqDCoMKgwqDCoCB8wqDCoCAxICsKPiA+IMKgZH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