Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2448221pxu; Sat, 28 Nov 2020 14:33:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJzDtmTV9rKwdehMlQrfkPbUlDgXaH/mSMAZrcWEwpK3ZncqWFoVABcNYAKvljqunB6Yf1qx X-Received: by 2002:a17:907:40f0:: with SMTP id nn24mr4413285ejb.233.1606602803153; Sat, 28 Nov 2020 14:33:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606602803; cv=none; d=google.com; s=arc-20160816; b=mpeCIK5yDTnKobjQ7Eew2SfVIVE3p20S4lTzces9fRYSqx+tNechrEBFkkrIX9tNVU rGYIowW6NIKO5HGdIDIFkOc136VPZL1mCDqXXeVOlG29wTT4wsIeBBNEuBPOaURT15fW gf8pbEHhQH+p662AjRgXufF3dd2Nf+i+vOlw+j5MOz8iGSWI7U1a6TMxNOf6AoiLyedL BPs4D9pfte9o1Bdg5qefHb70iGS6DcpCAQ5luvJxJP5KbqhPtxEby5UdgJ9P1ugdYKKX HaroND3JI0uooJxVNqQEi1/IyfmMlQK57DJ5kUQf+PtVbWkJae7EUAup8x0dcRTZ7NLw XI4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=HAQhWNhAv3DqE44u7DflXOXVNFT/WFSkueBj+7l9cHg=; b=p9Mb2Ukr8/a1AEVmocqHNSlU5oddzrW2HUsPl/AD0cuv4d3RvvncdEWim/Fh3/eUL1 1lzdxOtuWO0DzUbihAJI10pmoyfVOZSf//ke5VQsWsrQpMwLj6RFY7xqzq5taspJaAnT PG5oRpnnv31RHejI3dacT4pEKXN++nXOycy4qGxXEfXKrX0YflctmEGFiOptq9viE7WX QewLzv7q9STKqWcFE9kSP+UH/vckGOlZ9Ko1JgwhlNTrV63GwhClG+oNnFwdDcZ2wveM zO7+6zscYJuTwJn0pWtPNGk1BBaJPzyDiAMFJwqpzRMb9g7iOViJoL5igeH8BF38I99y 48uQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j7si9171540ejm.496.2020.11.28.14.32.59; Sat, 28 Nov 2020 14:33:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728955AbgK1W3J (ORCPT + 99 others); Sat, 28 Nov 2020 17:29:09 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:56857 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725294AbgK1W3J (ORCPT ); Sat, 28 Nov 2020 17:29:09 -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 relay8-d.mail.gandi.net (Postfix) with ESMTPSA id DD1C41BF203; Sat, 28 Nov 2020 22:28:25 +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 v3 00/10] iio: adc: at91_adc: cleanup DT bindings Date: Sat, 28 Nov 2020 23:28:08 +0100 Message-Id: <20201128222818.1910764-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. Changes in v3: - rebased on the togreg branch of iio.git - dropped "iio: adc: at91_adc: remove forward declaration" as it was already done in tree - Reworked patch 1 from "iio: adc: at91_adc: remove platform data" to "iio: adc: at91_adc: remove at91_adc_ids" 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 (9): iio: adc: at91_adc: remove at91_adc_ids 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 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 | 294 +++++++----------- 9 files changed, 237 insertions(+), 414 deletions(-) delete mode 100644 Documentation/devicetree/bindings/iio/adc/at91_adc.txt create mode 100644 Documentation/devicetree/bindings/iio/adc/atmel,sama9260-adc.yaml -- 2.28.0