Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp549537rdb; Tue, 19 Sep 2023 03:32:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IExnFv1FxbCUW8Vu5LyQ7PaOvOukQFLzgLV1p6EGgqpGd6MONJIcup25e1qZV6fPEaepAu/ X-Received: by 2002:a17:902:82c3:b0:1c4:749e:e725 with SMTP id u3-20020a17090282c300b001c4749ee725mr5344234plz.0.1695119537528; Tue, 19 Sep 2023 03:32:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695119537; cv=none; d=google.com; s=arc-20160816; b=iU1+DNT4QiJ8ZnUl7Uu9Es9+7yHsLvMrD1puCzJAeYyAY03SKL0YpX/sRP2VT4unlX XfZ8P3pJM8QcN0/JNUZXS9OcU1ilncWN7Yuxis/uJ2PXjkmhwx3loLZb0kjKFfLDBNkX 4/NtqUEAVYDoSs9rhA9w5k9wPFf0SPK2BXBeGU6CNS8YVHQG6EdvhIKDazgjKeBoroQv Hk6MQbOUUcKMDz3CXIrzj7/PohIM07FQwg1cohXADCto6Hpbhc9C3UQHqCrNi/X9leXN 7vbLWk7Q6mPW6GwFyUl3s4eH4gzOdimjEtaaa22/RzYHZBMC95FyzUnfPJGNyCc0ZNgP QJiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=gmhGDThIUommb+ftKTpel+Q35NvofcFtKWO4tgXHq+Q=; fh=TD0wsmDsAANwxrH+ZawsM0PrOClQriaa/f38P615fBg=; b=shufLaNvd6FoSamruRP46gahTgyMqgPsRl+jJe3Bvy3LFwpE1SLvczeoRA8Styy7EU Fbyn3BYloQbcFhhfsFyeW+T8ibN1ROngx2/THoAyfmpp1SQSjJlmWdZPgbnj7wiPUFuQ zbNU9dOrTWOwsp1RsZP78zuMU7h1qVjZdz82x1FaXFpWYvxMTdGVUdDHnzcz837Zo37F 2+BxOVwkUKiVgTi1ljDQjrRrvJlj4y/xTOAh1siLj0eS8/wnG3TK/SBLl5NDDR1tbMOI ma8+9EoRu2WB6BHeNHjEuzonWpljFhYiMHOwoh327zCaJFXrR+B9EO/nOHGummCC6ZVY gR2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@phytec.de header.s=a4 header.b="hQ/eGrWc"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id b13-20020a170902d50d00b001bbc138af0dsi7134197plg.163.2023.09.19.03.32.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 03:32:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=fail header.i=@phytec.de header.s=a4 header.b="hQ/eGrWc"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id A58BF81BB4D1; Tue, 19 Sep 2023 03:21:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231661AbjISKVl (ORCPT + 99 others); Tue, 19 Sep 2023 06:21:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231671AbjISKVi (ORCPT ); Tue, 19 Sep 2023 06:21:38 -0400 Received: from mickerik.phytec.de (mickerik.phytec.de [91.26.50.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4673AF9 for ; Tue, 19 Sep 2023 03:21:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1695118888; x=1697710888; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=gmhGDThIUommb+ftKTpel+Q35NvofcFtKWO4tgXHq+Q=; b=hQ/eGrWcWCpD931stGVaddLW4CW52ZsZdL8XfEIGNnbxqm8Lv3jYR8ztlVnqPW9T ytJ8PvaFcowcn3PADmT4+/ti1YjdsyVzuwzPJwiFRflQYJuOzSODqD1hGCRUOwsi WOwsNPpH7ol3hl0duJuCf+vCVK7cnIH4S1OK06r2QIM=; X-AuditID: ac14000a-6d65670000001e37-37-650976282e18 Received: from berlix.phytec.de (Unknown_Domain [172.25.0.12]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 09.B9.07735.82679056; Tue, 19 Sep 2023 12:21:28 +0200 (CEST) Received: from Berlix.phytec.de (172.25.0.12) by Berlix.phytec.de (172.25.0.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.18; Tue, 19 Sep 2023 12:21:28 +0200 Received: from Berlix.phytec.de ([fe80::61cc:ebf0:7375:8768]) by berlix.phytec.de ([fe80::197e:d26b:2ca:c7b4%4]) with mapi id 15.01.2375.018; Tue, 19 Sep 2023 12:21:28 +0200 From: Wadim Egorov To: Jonathan Cameron CC: "lars@metafoo.de" , "robh@kernel.org" , "heiko@sntech.de" , "mugunthanvnm@ti.com" , "peter.ujfalusi@ti.com" , "linux-iio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "upstream@lists.phytec.de" , "nm@ti.com" Subject: Re: [PATCH] iio: adc: ti_am335x_adc: Make DMAs optional Thread-Topic: [PATCH] iio: adc: ti_am335x_adc: Make DMAs optional Thread-Index: AQHZ5wTVP3tOGrcOcEWxWAi45YA9XLAeuLAAgAMd14A= Date: Tue, 19 Sep 2023 10:21:28 +0000 Message-ID: References: <20230914121300.845493-1-w.egorov@phytec.de> <20230917114552.3f5cd081@jic23-huawei> In-Reply-To: <20230917114552.3f5cd081@jic23-huawei> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.25.0.11] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrCIsWRmVeSWpSXmKPExsWyRpKBR1ejjDPVYO0CBYv/j16zWjxoWsVk sWTyfFaLeUfesVhc3jWHzeLqg3KLNz/OMlnM+viD1eL/nh3sFt3v1B24PDat6mTz6O9uYfVY 8uYQq8f2a/OYPY7f2M7k8XmTXABbFJdNSmpOZllqkb5dAlfG2fc/2Ap+yVdc2DCHqYFxgnwX IyeHhICJxMlni5lBbCGBJUwSh7pCIOwHjBK7l2d3MXIB2RsZJV7sfcsGkmATUJeY+PcEK4gt AmRPm3GFCaSIWWAxs8TLpW9ZQBLCAg4S1xZ9BbI5gIocJVq7FCHqrSQa76xjBQmzCKhKHF9u AGLyCthIrHzrC7E2UaLryiJGEJtTwFji3crnYAMZBWQlNmw4D3Yms4C4xKZn31khzheQWLIH Ii4hICrx8vE/qLi8xIlb05hAxjMLaEqs36UP0WohceXbISYIW1FiSvdDdhCbV0BQ4uTMJywT GMVnIdkwC6F7FpLuWUi6ZyHpXsDIuopRKDczOTu1KDNbryCjsiQ1WS8ldRMjKKZFGLh2MPbN 8TjEyMTBeIhRgoNZSYR3piFbqhBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHe+z1MiUIC6Yklqdmp qQWpRTBZJg5OqQbGVdt/9XIo9H1euDu8QKS7QCegPHqGTziPot7ixqRFC9+5NzHcZL6g1vz7 RknWhEmTJn1fMUEx8c+0Gcl68nwNGi+K2zkW1iSe4Fx6Z5fROm2TC70lk8Q2MNZUn2Z+F7P2 cZ78gnn7X0c8695Vpz9D953K/yfH9qTa7FtZl2DvOmvfe50A7RBWJZbijERDLeai4kQAHWsg pNcCAAA= X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Tue, 19 Sep 2023 03:21:47 -0700 (PDT) SGkgSm9uYXRoYW4sDQoNCkFtIDE3LjA5LjIzIHVtIDEyOjQ1IHNjaHJpZWIgSm9uYXRoYW4gQ2Ft ZXJvbjoNCj4gT24gVGh1LCAxNCBTZXAgMjAyMyAxNDoxMzowMCArMDIwMA0KPiBXYWRpbSBFZ29y b3YgPHcuZWdvcm92QHBoeXRlYy5kZT4gd3JvdGU6DQo+DQo+PiBETUFzIGFyZSBvcHRpb25hbC4g RXZlbiBpZiB0aGUgRE1BIHJlcXVlc3QgaXMgdW5zdWNjZXNzZnVsbHksDQo+PiB0aGUgQURDIGNh biBzdGlsbCB3b3JrIHByb3Blcmx5Lg0KPj4gTWFrZSB0aWFkY19yZXF1ZXN0X2RtYSgpIG5vdCBm YWlsIGlmIH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