From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 8A359C10F00 for ; Fri, 15 Mar 2019 10:02:18 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 5BC962184C for ; Fri, 15 Mar 2019 10:02:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NXoSqBjJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5BC962184C 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+infradead-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=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=ltgtkty9jc8h1bMqde3myHDUrl3NVJIul4o2J5gkNDQ=; b=NXoSqBjJZqDNpW IfczPtTxz/YHrfdzfKtr6zvxpKLpSSTlbCyV70COXgBEBGCkJIGFbvCnW61zkp6AtZTosB8avBpy+ 83I3xmn7f+eOBnE8d9tHnufLqazungtjBd+9FBqYXaET6WP3WTwl1RUIxdfbZdvIrbOpJ31qdpgMf zizr3w4ktGidzCWsVIWTXi93YFl3G3Ao2iBRBW+YvOyxSfj0jpRyTiJuTkBd4b5vnmGmJZQrl8pgb rWBG/QADL8w/UvyWquGE6IfF4jYgUNQgbNk+E47KFMYM4K56J1giYsrvTv+brTEXr3mtqQ8/aAOPk 6y4R1V2vzd+DLKgddzCA==; 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 1h4jfC-0000db-82; Fri, 15 Mar 2019 10:02:06 +0000 Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h4jf7-0000bW-Ok for linux-arm-kernel@lists.infradead.org; Fri, 15 Mar 2019 10:02:03 +0000 X-Originating-IP: 109.213.80.250 Received: from localhost (alyon-652-1-57-250.w109-213.abo.wanadoo.fr [109.213.80.250]) (Authenticated sender: gregory.clement@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 1F30BC0026; Fri, 15 Mar 2019 10:01:37 +0000 (UTC) From: Gregory CLEMENT To: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-iio@vger.kernel.org Subject: [PATCH v2 0/4] Adding scale support to the lpc32xx ADC driver Date: Fri, 15 Mar 2019 10:52:27 +0100 Message-Id: <20190315095231.17001-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-20190315_030201_957501_25EBF864 X-CRM114-Status: GOOD ( 10.24 ) 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 , Vladimir Zapolskiy , Rob Herring , Thomas Petazzoni , Sylvain Lemieux , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, This is the second version of a series adding 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. Gregory Changelog: v1 -> v2: - "dt-bindings: iio: adc: move lpc32xx-adc out of staging" and "iio:adc:lpc32xx use SPDX-License-Identifier" has been merged - split "iio:adc:lpc32xx use SPDX-License-Identifier" in 2 patches one foe sorting and the second one for removal - add reviewed-by from Rob Herring on the binding documentation patch - add default in the switch/case in lpc32xx_read_raw() - no more use scan_type.realbits and directly put the value in the IIO_CHAN_INFO_SCALE case - keep the const for the struct iio_chan_spec and declare 2 of them. - remove the unrelated and bad whitespace change. Gregory CLEMENT (4): iio: adc: lpc32xx: Sort headers iio: adc: lpc32xx: Cleanup headers iio: adc: lpc32xx: Add scale feature dt-bindings: iio: adc: lpc32xx-adc: Document vref-supply .../bindings/iio/adc/lpc32xx-adc.txt | 5 ++ drivers/iio/adc/lpc32xx_adc.c | 59 +++++++++++++------ 2 files changed, 47 insertions(+), 17 deletions(-) -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel