From patchwork Fri Nov 9 07:34:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishad Kamdar X-Patchwork-Id: 10675409 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 6CFFE14BD for ; Fri, 9 Nov 2018 07:34:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 48FF22E6AE for ; Fri, 9 Nov 2018 07:34:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3CAB72E6E6; Fri, 9 Nov 2018 07:34:20 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C7A142E6AE for ; Fri, 9 Nov 2018 07:34:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727869AbeKIRNh (ORCPT ); Fri, 9 Nov 2018 12:13:37 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:39640 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727845AbeKIRNg (ORCPT ); Fri, 9 Nov 2018 12:13:36 -0500 Received: by mail-pg1-f196.google.com with SMTP id r9-v6so498357pgv.6; Thu, 08 Nov 2018 23:34:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=HnTeUMjknPYuDRExOVIqkJbzR1URO+WU2PNAyXjhYCs=; b=PYl1QigCaG7yFspXTF6hQTsTbvwCKsX1+/bfDFAi8rc2aOC0W5i+WlLJxVx9/Qymj4 xmTbd1L0kkuogcU7ZYcKWArJL1E4uK41ydYTp7mWHu+cP+EVkaIVOiYcWQcTJlZZR2Zo 9eoO4ftWWKMadWu5pB7XvQI8lKeNCUECaNZ6H4KfLvvAzNTE4K6HwTKy2CIcCe1njUqh cu0e8JPrN83IIQoWredSwZR0/PyU93JARNTD8WiGk7cawWlFVUYyEsTbbBlqp82PWMdc QeJfwuYc+OTLdoIDDsHpplVeHtU3hy9vEBmaseVnY0FR8E0kKajXbUuN3rHkr2FGZiHD 3guQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=HnTeUMjknPYuDRExOVIqkJbzR1URO+WU2PNAyXjhYCs=; b=nOg4/O8xAFqh/UGMGBCg1MO01Lrg9MVLOyvnhDFGH18SFYmgd2xoEMhAtTrUT0FfhM 6ld5l5qs3R6MEWD7lHLO6j+4Zqn6L7GOpOtYJqh0XTkQrQcvj3x1Cidg6LemDLd3XIS7 Lj/1y+5cH6S02+qXXW6wAbDWI0I7rkf1cn7iOi+I97HhO9sKzY9kkL/Gj/MiSR/VzKaP O4/gq8ZtEye+dSegIwv0ypije0tms/Mus3g49WYsvgIvbB3GeP6iRM/zrG2sibTbydVZ nupMYOsK5ZPXX1bIv3WWjqv3YWGc92t0+Z+xLcCa/ibFLbBScUuoaidKLdLf3eL+AXvU 19xA== X-Gm-Message-State: AGRZ1gLOH8rm+LVdR++fQPuoPoreaUxQwIkd78Qmy3IRjVRpvzH3j06/ 2sX583S43yCD/BHRE0HDPKzneAF9bvQ= X-Google-Smtp-Source: AJdET5fgAK4G++rpXpQeHXMz9C3QodO1erHufkfMeff5Dac9NhnoeeXeviw4gbW2XI1Oc0UCTTgI8A== X-Received: by 2002:a62:4dc4:: with SMTP id a187-v6mr7899013pfb.92.1541748857838; Thu, 08 Nov 2018 23:34:17 -0800 (PST) Received: from nishad ([106.210.186.71]) by smtp.gmail.com with ESMTPSA id y18-v6sm7743149pfa.136.2018.11.08.23.34.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Nov 2018 23:34:17 -0800 (PST) Date: Fri, 9 Nov 2018 13:04:09 +0530 From: Nishad Kamdar To: Lars-Peter Clausen Cc: Michael Hennerich , Jonathan Cameron , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman , linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/4] staging: iio: ad7816: Switch to the gpio descriptor interface Message-ID: MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Changes in v4: - Drop busy pin in case of AD7818. - Set RD/WR pin and CONVST pin as outputs. - Add device tree table. Nishad Kamdar (4): staging: iio: ad7816: Switch to the gpio descriptor interface staging: iio: ad7816: Do not use busy_pin in case of AD7818 staging: iio: ad7816: Set RD/WR pin and CONVST pin as outputs. staging: iio: ad7816: Add device tree table. drivers/staging/iio/adc/ad7816.c | 111 +++++++++++++++++-------------- 1 file changed, 60 insertions(+), 51 deletions(-)