Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3884545pxb; Tue, 17 Nov 2020 06:10:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJzp9lx/jBlf7p263Q1a7ECfmWJAsUHhFN0VBiWwZLklV+h58DQI+An/p+sOGtP+ENk1oDGE X-Received: by 2002:adf:eb47:: with SMTP id u7mr25010954wrn.163.1605622241807; Tue, 17 Nov 2020 06:10:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605622241; cv=none; d=google.com; s=arc-20160816; b=vTFCEAa8yxFnYDs0FympmM6YwLvNZuy/tJHzQ+zlCuIBLrNQW4vHpw5u3DzvhYzg5h SQDTbvUahHGevbUcBV757E79YtPYsP4JrEpeKXJqGhnlmlrb7vn4ppMhqBBdft2Yn50Y 3+KjCbHvxXpFPrf7D+mQfJ7kwJyo1PdVhWoKGzdDjKFgAd2OHEdjrvJ8wEk4fNaSJ/OF JWJdCyhQ2c80ZwMeZ2Ai6xq/q1grApcXMKaq9dRHx5TkAlbCBuMpu0rfr8AZjJsflbu1 DmErkBa4cXYpwZTQKz09/shm30Fsbly+tCXZo8g3SMqOQoZEgPxLhb/f5yP8pTrR+31i 3aiA== 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=wUXNdxZu12c5SFVCHcxRbzzgpkRncDAfdkl+Xe8YBADtyhn+4PtuhZuNZQ5qc60G0g yWilffTM6Jtgy3ap5WYXeJJQz96rHT/5bD4F1DtEh0SM+RhLBvmHAboISYtN0+bExLlw zM/BK96uHalHnTB+M1CY+ckVV5yihyunhcf85oDiCccXhuxGLB+mibbPDjWBFmXZsobz 2n/4O9JCNjrf3RBnQ7vhp93AXE/Smj9vuZ4TDZyA9nJjoVaaWVsCFIzyUlOp57PNqtBR WEWDqGlXAfekNGVmv14a16M3OG1Nw8pVrxWTq97sOd3PyWXMcqjJO7zkqIMylpPs+Azr CVCw== 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 u21si13806789ejb.17.2020.11.17.06.10.16; Tue, 17 Nov 2020 06:10:41 -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 S2387998AbgKQOII (ORCPT + 99 others); Tue, 17 Nov 2020 09:08:08 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:39699 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387966AbgKQOH7 (ORCPT ); Tue, 17 Nov 2020 09:07:59 -0500 Received: from localhost (lfbn-lyo-1-997-19.w86-194.abo.wanadoo.fr [86.194.74.19]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 4E2B120000C; Tue, 17 Nov 2020 14:07:54 +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 v2 03/11] dt-bindings:iio:adc:remove atmel,adc-res and atmel,adc-res-names Date: Tue, 17 Nov 2020 15:06:48 +0100 Message-Id: <20201117140656.1235055-4-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201117140656.1235055-1-alexandre.belloni@bootlin.com> References: <20201117140656.1235055-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