Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2447199pxu; Sat, 28 Nov 2020 14:30:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJw9rVOBWIqJwEeJRZ96KdKo1AMS/AD6zFl8oL00cxeOLdD4vfOxfIOHNyopvS15uPvGH2Sx X-Received: by 2002:a05:6402:b35:: with SMTP id bo21mr14538475edb.52.1606602653314; Sat, 28 Nov 2020 14:30:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606602653; cv=none; d=google.com; s=arc-20160816; b=Nn1vyef2ht3Doi+wPa6lWJoVLkrVN5b6GvEszV6rj3jaEZfbFXWteVChzedHyF6k2U lQs9jhEjiuDfXmUU9KQtNefDU/NFgTwavJRp1ZTKkhkaeEw/KdPREi+eNNFenjQjcJVP 5w0TGzGO4/7U8KPFKrC1n5LQCBKCYVmf/3bD/D0lZX+hNwxrc5PLvKDnPPHOPSEH0T7u vxNnLmoX8NE/aZnev8q0GYvyd65N6fIT2Mwqwckm/ypGIl9LLnH+VKopSa6rbB9yLeF0 4aXYUWndChZ8vdWeKjyg+wCcnfSSfZFpkQlGNsix9PlHxRctH8nEaoDNLOr4B4FKCeSK iG/Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=UiXj3We7MPBKjKGDi4n84sP2/fSvzM7aQ6CkLZejyLE=; b=IAkRk8q13fXK4yF57hDd5cZKIU0QTRw1icv0IzCcBllNM/JZHjlJ89SZrjxyx4TFjO Oy8ew7hqwfdN6vDwwTenI9uMg9t6N9lsNNefHn0n5Svs8Jt3UKf2cpfcYcgSHFa8nKXP MkOcANSFXDrlK7U8ZRbVbKqFQ3X900/Mfi4OTpl5Q0aCbxruDZEkuEbnJk8fOscFQb6P XF/xyxXEg+RPPjn77QGUr5/W/l8o5v7FH6czZlkPgH+l8Beg1TxBjERqPy2Z3QShsDSh DWOl1DwVBXqj5MBN1rPs06SLG3AJfyyy+5wdupIq7T7+tF1Isg25HEw1IeNPr3ps3phI GDMA== 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 b16si3336878eju.94.2020.11.28.14.30.30; Sat, 28 Nov 2020 14:30:53 -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 S2387489AbgK1W3P (ORCPT + 99 others); Sat, 28 Nov 2020 17:29:15 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:35815 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730967AbgK1W3N (ORCPT ); Sat, 28 Nov 2020 17:29:13 -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 relay6-d.mail.gandi.net (Postfix) with ESMTPSA id E1DF2C0003; Sat, 28 Nov 2020 22:28:30 +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 , Rob Herring Subject: [PATCH v3 03/10] dt-bindings:iio:adc:remove atmel,adc-res and atmel,adc-res-names Date: Sat, 28 Nov 2020 23:28:11 +0100 Message-Id: <20201128222818.1910764-4-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201128222818.1910764-1-alexandre.belloni@bootlin.com> References: <20201128222818.1910764-1-alexandre.belloni@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove atmel,adc-res and atmel,adc-res-names as they are not necessary and are handled by the driver. Also add sama5d3 to the list of possible chips. Cc: Rob Herring Signed-off-by: Alexandre Belloni --- .../devicetree/bindings/iio/adc/at91_adc.txt | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/at91_adc.txt b/Documentation/devicetree/bindings/iio/adc/at91_adc.txt index f65b04fb7962..da393ac5c05f 100644 --- a/Documentation/devicetree/bindings/iio/adc/at91_adc.txt +++ b/Documentation/devicetree/bindings/iio/adc/at91_adc.txt @@ -2,7 +2,7 @@ Required properties: - compatible: Should be "atmel,-adc" - can be "at91sam9260", "at91sam9g45" or "at91sam9x5" + can be "at91sam9260", "at91sam9g45", "at91sam9x5" or "sama5d3" - reg: Should contain ADC registers location and length - interrupts: Should contain the IRQ line for the ADC - clock-names: tuple listing input clock names. @@ -13,17 +13,12 @@ Required properties: - atmel,adc-startup-time: Startup Time of the ADC in microseconds as defined in the datasheet - atmel,adc-vref: Reference voltage in millivolts for the conversions - - atmel,adc-res: List of resolutions in bits supported by the ADC. List size - must be two at least. - - atmel,adc-res-names: Contains one identifier string for each resolution - in atmel,adc-res property. "lowres" and "highres" - identifiers are required. Optional properties: - atmel,adc-use-external-triggers: Boolean to enable the external triggers - - atmel,adc-use-res: String corresponding to an identifier from - atmel,adc-res-names property. If not specified, the highest - resolution will be used. + - atmel,adc-use-res: String selecting the resolution, can be "lowres" or + "highres". If not specified, the highest resolution will + be used. - atmel,adc-sleep-mode: Boolean to enable sleep mode when no conversion - atmel,adc-sample-hold-time: Sample and Hold Time in microseconds - atmel,adc-ts-wires: Number of touchscreen wires. Should be 4 or 5. If this -- 2.28.0