From patchwork Wed Dec 12 00:54:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Fertic X-Patchwork-Id: 10725389 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 0AFBC112E for ; Wed, 12 Dec 2018 00:55:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EEF8F29FF0 for ; Wed, 12 Dec 2018 00:55:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E26612A17B; Wed, 12 Dec 2018 00:55:36 +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 918B629FF0 for ; Wed, 12 Dec 2018 00:55:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726218AbeLLAzg (ORCPT ); Tue, 11 Dec 2018 19:55:36 -0500 Received: from mail-it1-f195.google.com ([209.85.166.195]:54384 "EHLO mail-it1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726211AbeLLAzf (ORCPT ); Tue, 11 Dec 2018 19:55:35 -0500 Received: by mail-it1-f195.google.com with SMTP id i145so6568369ita.4; Tue, 11 Dec 2018 16:55:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ckc7BYm/A/FyrDEIxKSqpTf6zyRuN3t8fKrLuJigIBI=; b=oZNWOvGELdH8/WuhZ3i486vMy1B7IfuMQx3mFVydNW8Q8zRR8w5pqnzzJ7O85t15dO EXqKx/OapKnSD3UBqfIW5yQUQTM/OizXinmuXHR+aE2NH09LnmsfA6bHj9ZSdYOzWfBF AtZxrDOJzTHUt9WjHx4Rruimgb/j5TQJgZEwhjnPfs6dpSVP1TscyBIy1FWbX8ZE4S2m Y8uasGHySRyd3I7f8hV8l/Zm4jINzuYUoV2fkFBzpiIcNWMMeTpytQXF1gA8OOhnZACz cXLxsoNFChDWh2HddCkKS1P/pEQ9gWynT/QOkLQKihWC8XO/YO3TdL8IomNYLfoXLcQj m4ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ckc7BYm/A/FyrDEIxKSqpTf6zyRuN3t8fKrLuJigIBI=; b=BK7za0hWYyUmTV1pNXnoQ/WY/LglQQQt60ziOr2khZ3BvyJu5Sk/8Oi0U64jrCEi43 yBqLYnxeqwptZkP+JQcwyzw31Na2metQMrkLKHdo3KYJN8UVSEfs3jOkkrt341NYLMus HCVGMhjyNY13ytWHlfPfYMp73miPF4j9X54p3CER+rrF7wMERyTdzob+U7jEGnbtXOfb zd20OxbDeB2Ul625v09Q5arYCMnEUNLxGruvO8Ff7cTD63DEdA+X3ODh8E6ci2xB95Lb pJAcooJO/a4i0bYziOrGBhiJInm79BGcrF4HlK2lrTBrkyjyUEMnXPOE8ZLq8nbqkbmV erEg== X-Gm-Message-State: AA+aEWaIvwiGDAyKrztYsRh7E8AJkGiONNRDm5/tv2gcfr6MCw5leU2v U8HRZXjaswurSYsBL4wgm14= X-Google-Smtp-Source: AFSGD/UkMcuaPS3RsTo41JumEsl5xoBoc5vrd/wf22BkgrPjUMe7a6dsD22q4z9XVOKu2XTgw7Qyew== X-Received: by 2002:a02:4c55:: with SMTP id a82mr17746728jab.29.1544576134919; Tue, 11 Dec 2018 16:55:34 -0800 (PST) Received: from r2700x.localdomain (c-75-70-96-103.hsd1.co.comcast.net. [75.70.96.103]) by smtp.gmail.com with ESMTPSA id l186sm1952445itl.22.2018.12.11.16.55.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 16:55:34 -0800 (PST) From: Jeremy Fertic To: Jonathan Cameron Cc: Lars-Peter Clausen , Michael Hennerich , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman , linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Jeremy Fertic Subject: [PATCH 00/11] staging: iio: adt7316: dac fixes Date: Tue, 11 Dec 2018 17:54:52 -0700 Message-Id: <20181212005503.28054-1-jeremyfertic@gmail.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 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 Here are some dac related fixes for adt7316. I'm testing with an adt7516 over i2c to an orange pi pc. I've attempted to test any functionality that these patches are touching. Jeremy Fertic (11): staging: iio: adt7316: fix register and bit definitions staging: iio: adt7316: invert the logic of the check for an ldac pin staging: iio: adt7316: fix dac_bits assignment staging: iio: adt7316: fix handling of dac high resolution option staging: iio: adt7316: fix the dac read calculation staging: iio: adt7316: fix the dac write calculation staging: iio: adt7316: use correct variable in DAC_internal_Vref read staging: iio: adt7316: allow adt751x to use internal vref for all dacs staging: iio: adt7316: remove dac vref buffer bypass from adt751x staging: iio: adt7316: change interpretation of write to dac update mode staging: iio: adt7316: correct spelling of ADT7316_DA_EN_VIA_DAC_LDCA drivers/staging/iio/addac/adt7316.c | 89 ++++++++++++++--------------- 1 file changed, 43 insertions(+), 46 deletions(-)