From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 895DFC4338F for ; Sun, 25 Jul 2021 17:22:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5B39260F35 for ; Sun, 25 Jul 2021 17:22:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231219AbhGYQmF (ORCPT ); Sun, 25 Jul 2021 12:42:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:42312 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229545AbhGYQmF (ORCPT ); Sun, 25 Jul 2021 12:42:05 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D79E160698; Sun, 25 Jul 2021 17:22:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627233755; bh=bn1YvA29ZVIK2zKDMBx/XTa3nPLF3KkGhWnHFOyMlFc=; h=From:To:Cc:Subject:Date:From; b=B9tn6IPBceSqLyitMDDrTZsh1JexnbzLWWIjRv3BBzm0zLDyBGCJSFrndT8iCv8R+ FOwU2oQdu+ltwX35yhIlV+35GggmQ6w2b1ObLWlNn3m+QAA1h9TKxF2hG4Y8wkk07k upyj+2YSCRxYwQJUHkG7cMRZOJZZmsvaVZvtcaslwoeJbhkWtEqUORX8tu0uvKTUeJ nqylmIDC8DzcfF3/POP0crXhOpDDZlbUfpcFvcq083xvu/WBvBmqe/XqKUlI+QZX9M zxwD9N0CUnIoXcT+Hl9dGfFxMh/IRuaYoNW8NERbD45Mt1Ak9NPCWNkwruD93bqOgZ ugUijSQIIYNfA== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Andy Shevchenko , Lars-Peter Clausen , Michael Hennerich , Alexandru Tachici , Jonathan Cameron Subject: [PATCH 0/2] iio:adc:ad7124: Convert to generic firmware handling Date: Sun, 25 Jul 2021 18:24:56 +0100 Message-Id: <20210725172458.487343-1-jic23@kernel.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron The fix was something noticed whilst editing adjacent code. Testing (minimal) done with hacked QEMU and a the device ID checks commented out. The driver handling of channel subnodes could be made more forgiving than it currently is, but this series doesn't attempt to change that and I'd be wary doing so without hardware. Andy pointed out we had a bunch of this of_ specific stuff still in IIO and it would be good to reduce this. I'm not that bothered about cases tied directly to specific SoCs but for general SPI / I2C devices it would be nice if ACPI uses of PRP0001 worked for all of them and we ensure there are no 'bad' examples for people to base new drivers on. Jonathan Cameron (2): iio:adc:ad7124: Parse configuration into correct local config structure. iio:adc:ad7124: Convert to fwnode handling of child node parsing. drivers/iio/adc/ad7124.c | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) -- 2.32.0