From patchwork Fri Nov 13 21:26:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Belloni X-Patchwork-Id: 11904629 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C1A5F14C0 for ; Fri, 13 Nov 2020 21:29:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A736522259 for ; Fri, 13 Nov 2020 21:29:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726594AbgKMV3K (ORCPT ); Fri, 13 Nov 2020 16:29:10 -0500 Received: from mslow2.mail.gandi.net ([217.70.178.242]:52342 "EHLO mslow2.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726497AbgKMV3J (ORCPT ); Fri, 13 Nov 2020 16:29:09 -0500 Received: from relay1-d.mail.gandi.net (unknown [217.70.183.193]) by mslow2.mail.gandi.net (Postfix) with ESMTP id 8188C3A1141 for ; Fri, 13 Nov 2020 21:27:20 +0000 (UTC) X-Originating-IP: 86.194.74.19 Received: from localhost (lfbn-lyo-1-997-19.w86-194.abo.wanadoo.fr [86.194.74.19]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id EE82C240003; Fri, 13 Nov 2020 21:26:56 +0000 (UTC) From: Alexandre Belloni To: Jonathan Cameron Cc: Lars-Peter Clausen , Peter Meerwald-Stadler , Nicolas Ferre , Ludovic Desroches , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexandre Belloni Subject: [PATCH 0/9] iio: adc: at91_adc: cleanup DT bindings Date: Fri, 13 Nov 2020 22:26:41 +0100 Message-Id: <20201113212650.507680-1-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Hello, This series cleans up the at91_adc devicetree bindings. This mainly moves back the resolution options and names and the triggers description back in the driver. There are also other cleanups, like removing platform data support, this was pending for a while. Alexandre Belloni (8): iio: adc: at91_adc: remove platform data iio: adc: at91_adc: rework resolution selection iio: adc: at91_adc: rework trigger definition iio: adc: at91_adc: merge at91_adc_probe_dt back in at91_adc_probe iio: adc: at91_adc: remove forward declaration iio: adc: at91_adc: use devm_input_allocate_device ARM: dts: at91: sama5d3: use proper ADC compatible ARM: dts: at91: remove deprecated ADC properties Jonathan Cameron (1): dt-bindings:iio:adc:atmel,sama9260-adc: conversion to yaml from at91_adc.txt .../devicetree/bindings/iio/adc/at91_adc.txt | 83 ---- .../bindings/iio/adc/atmel,sama9260-adc.yaml | 121 ++++++ arch/arm/boot/dts/at91sam9260.dtsi | 25 -- arch/arm/boot/dts/at91sam9g45.dtsi | 27 -- arch/arm/boot/dts/at91sam9rl.dtsi | 25 -- arch/arm/boot/dts/at91sam9x5.dtsi | 28 -- arch/arm/boot/dts/sama5d3.dtsi | 26 +- arch/arm/boot/dts/sama5d4.dtsi | 22 - drivers/iio/adc/at91_adc.c | 377 +++++++----------- include/linux/platform_data/at91_adc.h | 49 --- 10 files changed, 259 insertions(+), 524 deletions(-) delete mode 100644 Documentation/devicetree/bindings/iio/adc/at91_adc.txt create mode 100644 Documentation/devicetree/bindings/iio/adc/atmel,sama9260-adc.yaml delete mode 100644 include/linux/platform_data/at91_adc.h Reviewed-by: Ludovic Desroches