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: 11904611 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,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 96791C4742C for ; Fri, 13 Nov 2020 21:28:34 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 47C1022258 for ; Fri, 13 Nov 2020 21:28:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="wIMiGLdm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 47C1022258 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=1W16KaRLxzlDvNBydtHG/70H6I0FBZPOtQ49iUZBWrc=; b=wIMiGLdmPTdfo+LIhXjCsAfNao 3g8vPe3+PuWa4IiAHkZk8Le/Q5h4uDb4dtgXLFBICRbKWuZyG1vPBcQ5Bw0Er7/zLwFkf8BhLrwEM JSDqiqCD0fEwKD42nxkXBSh8luJ3DSNdEtpPlwse3eXlUVwRvpTROWYmtZb7nQQuxuFb2iXXJ3jHx okW9qNkTfcJXBolznHZwMpLwm8yJwgezih+ldAQEVqixwrUvRoE4Rbx+pELNpWQdjSKd84UEr/olN P0BobNStkhiSdsR2fgpM30mIciUOs/D+CYRvCJYWRBSJ2Rhw83Kp6xP/647K3xKKE6+QuHVvffqji Pp6IcR8A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdgb2-0002QO-EP; Fri, 13 Nov 2020 21:27:04 +0000 Received: from relay1-d.mail.gandi.net ([217.70.183.193]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdgaz-0002OV-J8 for linux-arm-kernel@lists.infradead.org; Fri, 13 Nov 2020 21:27:02 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201113_162701_762766_FD46AD12 X-CRM114-Status: UNSURE ( 9.40 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Alexandre Belloni , Lars-Peter Clausen , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ludovic Desroches , Peter Meerwald-Stadler , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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