From patchwork Fri Feb 8 16:09:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory CLEMENT X-Patchwork-Id: 10803363 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 83A3C1575 for ; Fri, 8 Feb 2019 16:22:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 705A82E77A for ; Fri, 8 Feb 2019 16:22:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 60DB62EA4C; Fri, 8 Feb 2019 16:22:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1B63B2E77A for ; Fri, 8 Feb 2019 16:22:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.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=ac60oK94W7+sj2b8Gd5gNQJVUz6SxcDobKtMJqWXmlw=; b=VfvUvtXc7LqktW 4vAox6piUcCqiFLdbWmIaqibH+pVglkdoDh6zcqS0nhnAylLtNbLjCxw+CCsPYhrgcLqvgBkrG6lJ id2RwFauXeOfjK4qr4W3hXggxzLgVMYD2dxPxG3I+Q+yP0qG4uFyAi6aIg8atPhgOHLotZAnQG8TD 5kNKEcslIWI81yk/6Shcc5zJG6EntJzcglOSpcLp/KkMTP4IsaUYr3gA9a2UVu8qM9upM5sZy4LHQ mNbMPa7P8RiH/tn17Z6HK8tbIOdrNkIEMiCNt/wPQZsltE3qsDZoSfZmUmB28shHllWXE0G3FOA9Z F1ixau/JWvWIgyxaZj0Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gs8v7-0000mn-R3; Fri, 08 Feb 2019 16:22:29 +0000 Received: from relay10.mail.gandi.net ([217.70.178.230]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gs8jD-0003OM-3d for linux-arm-kernel@lists.infradead.org; Fri, 08 Feb 2019 16:10:14 +0000 Received: from localhost (alyon-652-1-53-40.w109-213.abo.wanadoo.fr [109.213.164.40]) (Authenticated sender: gregory.clement@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 86CC3240019; Fri, 8 Feb 2019 16:09:56 +0000 (UTC) From: Gregory CLEMENT To: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler Subject: [PATCH 0/5] Adding scale support to the lpc32xx ADC driver Date: Fri, 8 Feb 2019 17:09:39 +0100 Message-Id: <20190208160944.13281-1-gregory.clement@bootlin.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190208_081011_487468_7B8CA936 X-CRM114-Status: UNSURE ( 7.84 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Gregory CLEMENT , Rob Herring , linux-arm-kernel@lists.infradead.org, Thomas Petazzoni Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hello, This series adds the support of the scale feature to the lpc32xx ADC driver. In order to use it we need to have the voltage reference as a device tree property, however in order to be backward compatible, this property is optional and do not prevent to use the driver if missing. I updated the binding documentation accordingly. While I was on this driver, I made also some clean-up. Gregory Gregory CLEMENT (5): dt-bindings: iio: adc: move lpc32xx-adc out of staging dt-bindings: iio: adc: lpc32xx-adc: Document vref-supply iio:adc:lpc32xx use SPDX-License-Identifier iio:adc:lpc32xx Cleanup headers iio:adc:lpc32xx Add scale feature .../{staging => }/iio/adc/lpc32xx-adc.txt | 5 ++ drivers/iio/adc/lpc32xx_adc.c | 57 +++++++++---------- 2 files changed, 33 insertions(+), 29 deletions(-) rename Documentation/devicetree/bindings/{staging => }/iio/adc/lpc32xx-adc.txt (67%)