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=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no 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 CD4FBC64E75 for ; Tue, 17 Nov 2020 14:09:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 96B3520729 for ; Tue, 17 Nov 2020 14:09:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387973AbgKQOIC (ORCPT ); Tue, 17 Nov 2020 09:08:02 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:43209 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729564AbgKQOHY (ORCPT ); Tue, 17 Nov 2020 09:07:24 -0500 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 relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 4FBFAFF819; Tue, 17 Nov 2020 14:07:20 +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 v2 00/11] iio: adc: at91_adc: cleanup DT bindings Date: Tue, 17 Nov 2020 15:06:45 +0100 Message-Id: <20201117140656.1235055-1-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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. Changes in v2: - separated out the dt-binding change to give a chance to Rob to actually review them. - Dropped "iio: adc: at91_adc: use devm_input_allocate_device" - Collected tags - use of_device_get_match_data instead of device_get_match_data - include backportable sam9rl trigger fix Alexandre Belloni (10): iio: adc: at91_adc: remove platform data iio: adc: at91_adc: rework resolution selection dt-bindings:iio:adc:remove atmel,adc-res and atmel,adc-res-names iio: adc: at91_adc: rework trigger definition dt-bindings:iio:adc:remove triggers iio: adc: at91_adc: merge at91_adc_probe_dt back in at91_adc_probe iio: adc: at91_adc: remove forward declaration ARM: dts: at91: sama5d3: use proper ADC compatible ARM: dts: at91: at91sam9rl: fix ADC triggers 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 | 351 +++++++----------- include/linux/platform_data/at91_adc.h | 49 --- 10 files changed, 256 insertions(+), 501 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 -- 2.28.0