From patchwork Sat Aug 11 20:02:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus Folkesson X-Patchwork-Id: 10563533 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 ED1541804 for ; Sat, 11 Aug 2018 20:26:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD22B29866 for ; Sat, 11 Aug 2018 20:26:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C0EF2298CA; Sat, 11 Aug 2018 20:26:34 +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 8CC0F29866 for ; Sat, 11 Aug 2018 20:26:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727668AbeHKXBv (ORCPT ); Sat, 11 Aug 2018 19:01:51 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:34015 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727396AbeHKXBv (ORCPT ); Sat, 11 Aug 2018 19:01:51 -0400 Received: by mail-lj1-f195.google.com with SMTP id f8-v6so9704942ljk.1; Sat, 11 Aug 2018 13:26:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=LAMcNsyJ14F+TyO7V8bJWnm000oesfA3CYm+sxhJYjw=; b=jKNLdmNTDAOyHeSj8rgiqC+9EF68Mij28DpqENTp48sB/W566wkf5TcwQZdp32Nc9/ 6NxZD01kH3PYz9ggOg14ykD8vvHANQMb9q1s4RPLWuH7b11WjaKucDC5gjqqTIAPwTVH 6A0QN1og1YYHYcYxMTnNOYj7ERnm/RnzhEU4a2AlIKAOT3uGprDXjC2l6PTKbrse/64O QV+8h/GI5qZ9AJlwhVvZXE7nNmNXkAfRj+VeqC+s4sOgHjkHCVssyssA5Fm/o2Op2Il+ 0R61cn9Q/i+q9jPlEMf7Rbz+l8zIiwwXYH4p94j5ivy5IiuxP8DriRnjtTm0zZEQbfwS +faQ== 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; bh=LAMcNsyJ14F+TyO7V8bJWnm000oesfA3CYm+sxhJYjw=; b=lBUxCemPJyV2W1fg4zFV0w6FNsUAnfevufY/fx/PoppHAyC5XKkkFVltO+y9f5SytS PjcC/jrp4WVbrVjfB8fNbfyd/FpvQe5I6aUBR6naDnXHZcR4deIUKhcw2lb66caWiZ82 vgFxWPps/MiggyszpnUCKLxAdCj5GThswaS3258ThTZ33AI814oCmqyh7VwDYszcW+jl kaWCAR08YNKxO53f9V0q1OoQv3nv5tb6DXw9NL6nzKm3BXp9IskdJuuMr5Ulfvtczo5d aDwI3z2E8gWkwrwm7y2Jkpk7GGuVkFOedjkHli6f8LoDeKD2Z46orvB/Ek8G/UyOAuGz xxGg== X-Gm-Message-State: AOUpUlFggHilLuB1Ug33wHOikHk1ulGwD51Sha1LpuIpfkPnqI1iAbHe 5LVYHLNCcfwW3KcL2rNnIqaVu0/yHVw= X-Google-Smtp-Source: AA+uWPyXNNKMgGv0UWLzjTnNgythHIvjCWTyW4W7ADbU2/cL63SUwVDvkmjZK7PMT5SJw9q3zxnTiA== X-Received: by 2002:a2e:429c:: with SMTP id h28-v6mr7963692ljf.67.1534019189622; Sat, 11 Aug 2018 13:26:29 -0700 (PDT) Received: from localhost.localdomain (c-2ec2e3af-74736162.cust.telenor.se. [46.194.227.175]) by smtp.gmail.com with ESMTPSA id d10-v6sm2430353lfk.63.2018.08.11.13.26.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Aug 2018 13:26:28 -0700 (PDT) From: Marcus Folkesson To: Marcus Folkesson , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Mark Rutland Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] iio: dac: add support for ltc166x Date: Sat, 11 Aug 2018 22:02:24 +0200 Message-Id: <20180811200226.28776-1-marcus.folkesson@gmail.com> X-Mailer: git-send-email 2.11.0.rc2 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 LTC1665/LTC1660 is a 8/10-bit Digital-to-Analog Converter (DAC) with eight individual channels. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/Kconfig | 10 ++ drivers/iio/dac/Makefile | 1 + drivers/iio/dac/ltc166x.c | 244 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 255 insertions(+) create mode 100644 drivers/iio/dac/ltc166x.c diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig index 76db0768e454..04cfa6bb9dc1 100644 --- a/drivers/iio/dac/Kconfig +++ b/drivers/iio/dac/Kconfig @@ -120,6 +120,16 @@ config AD5624R_SPI Say yes here to build support for Analog Devices AD5624R, AD5644R and AD5664R converters (DAC). This driver uses the common SPI interface. +config LTC166X + tristate "Linear Technology LTC1660/LTC1665 DAC SPI driver" + depends on SPI + help + Say yes here to build support for Linear Technology + LTC1660 and LTC1665 Digital to Analog Converters. + + To compile this driver as a module, choose M here: the + module will be called ltc166x. + config LTC2632 tristate "Linear Technology LTC2632-12/10/8 DAC spi driver" depends on SPI diff --git a/drivers/iio/dac/Makefile b/drivers/iio/dac/Makefile index 81e710ed7491..380749c87c26 100644 --- a/drivers/iio/dac/Makefile +++ b/drivers/iio/dac/Makefile @@ -26,6 +26,7 @@ obj-$(CONFIG_CIO_DAC) += cio-dac.o obj-$(CONFIG_DPOT_DAC) += dpot-dac.o obj-$(CONFIG_DS4424) += ds4424.o obj-$(CONFIG_LPC18XX_DAC) += lpc18xx_dac.o +obj-$(CONFIG_LTC166X) += ltc166x.o obj-$(CONFIG_LTC2632) += ltc2632.o obj-$(CONFIG_M62332) += m62332.o obj-$(CONFIG_MAX517) += max517.o diff --git a/drivers/iio/dac/ltc166x.c b/drivers/iio/dac/ltc166x.c new file mode 100644 index 000000000000..0031f2b50f14 --- /dev/null +++ b/drivers/iio/dac/ltc166x.c @@ -0,0 +1,244 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Driver for Linear Technology LTC1665/LTC1660, 8 channels DAC + * + * Copyright (C) 2018 Marcus Folkesson + */ +#include +#include +#include +#include +#include +#include +#include +#include + +#define LTC166X_REG_WAKE 0x0 +#define LTC166X_REG_DAC_A 0x1 +#define LTC166X_REG_DAC_B 0x2 +#define LTC166X_REG_DAC_C 0x3 +#define LTC166X_REG_DAC_D 0x4 +#define LTC166X_REG_DAC_E 0x5 +#define LTC166X_REG_DAC_F 0x6 +#define LTC166X_REG_DAC_G 0x7 +#define LTC166X_REG_DAC_H 0x8 +#define LTC166X_REG_SLEEP 0xe + +#define LTC166X_NUM_CHANNELS 8 + +static const struct regmap_config ltc166x_regmap_config = { + .reg_bits = 4, + .val_bits = 12, +}; + +enum ltc166x_supported_device_ids { + ID_LTC1660, + ID_LTC1665, +}; + +struct ltc166x_priv { + struct spi_device *spi; + struct regmap *regmap; + struct regulator *vref_reg; + unsigned int value[LTC166X_NUM_CHANNELS]; + unsigned int vref_mv; +}; + +static int ltc166x_read_raw(struct iio_dev *indio_dev, + struct iio_chan_spec const *chan, + int *val, + int *val2, + long mask) +{ + struct ltc166x_priv *priv = iio_priv(indio_dev); + + switch (mask) { + case IIO_CHAN_INFO_RAW: + *val = priv->value[chan->channel]; + return IIO_VAL_INT; + case IIO_CHAN_INFO_SCALE: + *val = priv->vref_mv; + *val2 = chan->scan_type.realbits; + return IIO_VAL_FRACTIONAL_LOG2; + default: + return -EINVAL; + } +} + +static int ltc166x_write_raw(struct iio_dev *indio_dev, + struct iio_chan_spec const *chan, + int val, + int val2, + long mask) +{ + struct ltc166x_priv *priv = iio_priv(indio_dev); + + switch (mask) { + case IIO_CHAN_INFO_RAW: + if (val2 != 0) + return -EINVAL; + if (val > GENMASK(chan->scan_type.realbits-1, 0)) + return -EINVAL; + priv->value[chan->channel] = val; + val <<= chan->scan_type.shift; + return regmap_write(priv->regmap, chan->channel, val); + default: + return -EINVAL; + } +} + +#define LTC166X_CHAN(chan, bits) { \ + .type = IIO_VOLTAGE, \ + .indexed = 1, \ + .output = 1, \ + .channel = chan, \ + .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), \ + .info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE), \ + .scan_type = { \ + .sign = 'u', \ + .realbits = (bits), \ + .storagebits = 16, \ + .shift = 12 - (bits), \ + }, \ +} + +#define LTC166X_OCTAL_CHANNELS(bits) { \ + LTC166X_CHAN(LTC166X_REG_DAC_A, bits), \ + LTC166X_CHAN(LTC166X_REG_DAC_B, bits), \ + LTC166X_CHAN(LTC166X_REG_DAC_C, bits), \ + LTC166X_CHAN(LTC166X_REG_DAC_D, bits), \ + LTC166X_CHAN(LTC166X_REG_DAC_E, bits), \ + LTC166X_CHAN(LTC166X_REG_DAC_F, bits), \ + LTC166X_CHAN(LTC166X_REG_DAC_G, bits), \ + LTC166X_CHAN(LTC166X_REG_DAC_H, bits), \ +} + +static const struct iio_chan_spec ltc166x_channels[][LTC166X_NUM_CHANNELS] = { + [ID_LTC1660] = LTC166X_OCTAL_CHANNELS(10), + [ID_LTC1665] = LTC166X_OCTAL_CHANNELS(8), +}; + +static const struct iio_info ltc166x_info = { + .read_raw = <c166x_read_raw, + .write_raw = <c166x_write_raw, +}; + +static int __maybe_unused ltc166x_suspend(struct device *dev) +{ + struct ltc166x_priv *priv = iio_priv(spi_get_drvdata( + to_spi_device(dev))); + return regmap_write(priv->regmap, LTC166X_REG_SLEEP, 0x00); +} + +static int __maybe_unused ltc166x_resume(struct device *dev) +{ + struct ltc166x_priv *priv = iio_priv(spi_get_drvdata( + to_spi_device(dev))); + return regmap_write(priv->regmap, LTC166X_REG_WAKE, 0x00); +} +static SIMPLE_DEV_PM_OPS(ltc166x_pm_ops, ltc166x_suspend, ltc166x_resume); + +static int ltc166x_probe(struct spi_device *spi) +{ + struct iio_dev *indio_dev; + struct ltc166x_priv *priv; + const struct spi_device_id *id = spi_get_device_id(spi); + int ret; + + indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*priv)); + if (indio_dev == NULL) + return -ENOMEM; + + priv = iio_priv(indio_dev); + priv->regmap = devm_regmap_init_spi(spi, <c166x_regmap_config); + if (IS_ERR(priv->regmap)) { + dev_err(&spi->dev, "failed to register spi regmap %ld\n", + PTR_ERR(priv->regmap)); + return PTR_ERR(priv->regmap); + } + + priv->vref_reg = devm_regulator_get(&spi->dev, "vref"); + if (IS_ERR(priv->vref_reg)) { + dev_err(&spi->dev, "vref regulator not specified\n"); + return PTR_ERR(priv->vref_reg); + } + + ret = regulator_enable(priv->vref_reg); + if (ret) { + dev_err(&spi->dev, "failed to enable vref regulator: %d\n", + ret); + return ret; + } + + ret = regulator_get_voltage(priv->vref_reg); + if (ret < 0) { + dev_err(&spi->dev, "failed to read vref regulator: %d\n", + ret); + goto error_disable_reg; + } + priv->vref_mv = ret / 1000; + + priv->spi = spi; + spi_set_drvdata(spi, indio_dev); + indio_dev->dev.parent = &spi->dev; + indio_dev->info = <c166x_info; + indio_dev->modes = INDIO_DIRECT_MODE; + indio_dev->channels = ltc166x_channels[id->driver_data]; + indio_dev->num_channels = LTC166X_NUM_CHANNELS; + indio_dev->name = id->name; + + ret = iio_device_register(indio_dev); + if (ret) { + dev_err(&spi->dev, "failed to register iio device: %d\n", + ret); + goto error_disable_reg; + } + + return 0; + +error_disable_reg: + regulator_disable(priv->vref_reg); + + return ret; +} + +static int ltc166x_remove(struct spi_device *spi) +{ + struct iio_dev *indio_dev = spi_get_drvdata(spi); + struct ltc166x_priv *priv = iio_priv(indio_dev); + + iio_device_unregister(indio_dev); + regulator_disable(priv->vref_reg); + + return 0; +} + +static const struct of_device_id ltc166x_dt_ids[] = { + { .compatible = "lltc,ltc1660", .data = (void *)ID_LTC1660 }, + { .compatible = "lltc,ltc1665", .data = (void *)ID_LTC1665 }, + { /* sentinel */ } +}; +MODULE_DEVICE_TABLE(of, ltc166x_dt_ids); + +static const struct spi_device_id ltc166x_id[] = { + {"ltc1660", ID_LTC1660}, + {"ltc1665", ID_LTC1665}, + { /* sentinel */ } +}; +MODULE_DEVICE_TABLE(spi, ltc166x_id); + +static struct spi_driver ltc166x_driver = { + .driver = { + .name = "ltc166x", + .of_match_table = ltc166x_dt_ids, + .pm = <c166x_pm_ops, + }, + .probe = ltc166x_probe, + .remove = ltc166x_remove, + .id_table = ltc166x_id, +}; +module_spi_driver(ltc166x_driver); + +MODULE_AUTHOR("Marcus Folkesson "); +MODULE_DESCRIPTION("Linear Technology LTC166X DAC"); +MODULE_LICENSE("GPL v2"); From patchwork Sat Aug 11 20:02:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus Folkesson X-Patchwork-Id: 10563537 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 1C2281510 for ; Sat, 11 Aug 2018 20:26:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0793729866 for ; Sat, 11 Aug 2018 20:26:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F0029298CA; Sat, 11 Aug 2018 20:26:47 +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 E249A29866 for ; Sat, 11 Aug 2018 20:26:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727720AbeHKXBx (ORCPT ); Sat, 11 Aug 2018 19:01:53 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:42149 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727657AbeHKXBw (ORCPT ); Sat, 11 Aug 2018 19:01:52 -0400 Received: by mail-lj1-f195.google.com with SMTP id f1-v6so9665445ljc.9; Sat, 11 Aug 2018 13:26:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4huk6hz8OJGJGeyOptFEMy41wLoMmzqjFZgblcjpZxI=; b=Qi52UBVY69NzqsL13f0DOHbH7481KU5KE6M69RbBd3nXi7ZR641akFLbRfY2cPaEAT XWbtvwbiYdXTb4Ob/BEkrV0t0DeSNDzdUJUDBj2GFh+uOMMgnRjdQhcS8MCOg9jogHVR EL8ePpxAuykwoWP2o9SW9PfW5jfav7R7YxHENM5cIY8s+XIyWIHydVgFxRnvpNWkV85h sXKkToyj25u7ywq9tpyqoQpi5ge+PGE4Z0qAXP6aZPy9LRQrnV/mjwypCChkFOgn8Bci xlPUn4zthWGGyC5/hF49rJ2sw42TKogu0XKlBaEGPahcw2F/jqbYAtZaIkGvQ/2F7CRD GrrA== 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:in-reply-to :references; bh=4huk6hz8OJGJGeyOptFEMy41wLoMmzqjFZgblcjpZxI=; b=uVSo3+TToUf5sGlPorX9x0ofvJ6QzJn0dzZAEpFBylF2olB2rGqQEx58vf+uMoInR1 lQH8WUg1iNy8Eh3GOydohrDgPJi9dssH38LE9R7Fv9Tk5buHl/M92kJdMtoCC9D5zRga ZDEWXGoPF+fXuuwV71WpgJBQRllRmzKhFlWmScJgh8gjVaWshnOPIIcrkzfm4yqxI2qv 3jszFkl7zCQpcmPIAp13GMZoOWuLlXSAVHDNdrskZv5XTVGhiLQa45Cwbw1pW2YEy/n+ 1CngEmLEYBoxYYA/MipVgti/hVyNEkZJWYOZ278wMkZOyKKkonPV2mf2rpg2Qy6oOWKU Z6gg== X-Gm-Message-State: AOUpUlFGcw7fg6bbBFJF+K6O1hn54vWSOf6AoPQ6MtsJPOdcKlUhze30 p+4EhzZ7prf8RfdjG9naMrA= X-Google-Smtp-Source: AA+uWPzHpzhTgxtLVNJlMpLG0gTUDs3hJ/+AFAE+cIr2dzILeAfKrJUZrg/e4YbFPWUjcpKA1TRy1Q== X-Received: by 2002:a2e:9c82:: with SMTP id x2-v6mr8312709lji.131.1534019191637; Sat, 11 Aug 2018 13:26:31 -0700 (PDT) Received: from localhost.localdomain (c-2ec2e3af-74736162.cust.telenor.se. [46.194.227.175]) by smtp.gmail.com with ESMTPSA id d10-v6sm2430353lfk.63.2018.08.11.13.26.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Aug 2018 13:26:30 -0700 (PDT) From: Marcus Folkesson To: Marcus Folkesson , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Mark Rutland Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] dt-bindings: iio: dac: add bindings for ltc166x Date: Sat, 11 Aug 2018 22:02:25 +0200 Message-Id: <20180811200226.28776-2-marcus.folkesson@gmail.com> X-Mailer: git-send-email 2.11.0.rc2 In-Reply-To: <20180811200226.28776-1-marcus.folkesson@gmail.com> References: <20180811200226.28776-1-marcus.folkesson@gmail.com> 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 LTC1665/LTC1660 is a 8/10-bit Digital-to-Analog Converter (DAC) with eight individual channels. Signed-off-by: Marcus Folkesson Reviewed-by: Rob Herring --- .../devicetree/bindings/iio/dac/ltc166x.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/dac/ltc166x.txt diff --git a/Documentation/devicetree/bindings/iio/dac/ltc166x.txt b/Documentation/devicetree/bindings/iio/dac/ltc166x.txt new file mode 100644 index 000000000000..c5b5f22d6c64 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/dac/ltc166x.txt @@ -0,0 +1,21 @@ +* Linear Technology Micropower octal 8-Bit and 10-Bit DACs + +Required properties: + - compatible: Must be one of the following: + "lltc,ltc1660" + "lltc,ltc1665" + - reg: SPI chip select number for the device + - vref-supply: Phandle to the voltage reference supply + +Recommended properties: + - spi-max-frequency: Definition as per + Documentation/devicetree/bindings/spi/spi-bus.txt. + Max frequency for this chip is 5 MHz. + +Example: +dac@0 { + compatible = "lltc,ltc1660"; + reg = <0>; + spi-max-frequency = <5000000>; + vref-supply = <&vref_reg>; +}; From patchwork Sat Aug 11 20:02:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus Folkesson X-Patchwork-Id: 10563535 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 CFE1C13BB for ; Sat, 11 Aug 2018 20:26:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B0C0C29869 for ; Sat, 11 Aug 2018 20:26:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A4EFA2991E; Sat, 11 Aug 2018 20:26:43 +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=-6.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, URIBL_SBL 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 4F84829869 for ; Sat, 11 Aug 2018 20:26:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727598AbeHKXBz (ORCPT ); Sat, 11 Aug 2018 19:01:55 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:46145 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727396AbeHKXBy (ORCPT ); Sat, 11 Aug 2018 19:01:54 -0400 Received: by mail-lf1-f68.google.com with SMTP id l16-v6so8766988lfc.13; Sat, 11 Aug 2018 13:26:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=eNoo+LB43HEuzKB7MjlaA6QwKj5MPnAdvMjJ0GsAR0I=; b=khJxvAGiJ9bDndO2moIdwRzAvyKbLjW9cdnbN0R5gITJtn3xdZHBxXwuNM/Et9pEQt SmSYb2HvEJmdeQrPq18obnEmA11l5HNpYqsBWePx4Xux4ZZOjpYeKiGs6SuWne3PvNQe xb6iDTb4lJe0MKPv3OgzFD6E7dftnbHBN+lIW5FSEIrxi7x6YxRP3Bo61usCFsmy+1rn xHyG6XhVUUVROixcv/iy4QXFDFQFMjy/D6CFlCPFO8+jtYWzLFlZmxjT/M3C26Mjs2Vx suaPSmHhFscXyHLl6T+V2ba1H+ygg0jlmzDTk3Xa+RyRhaWW4k06w962+wZiz8WEM5k7 ijAQ== 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:in-reply-to :references; bh=eNoo+LB43HEuzKB7MjlaA6QwKj5MPnAdvMjJ0GsAR0I=; b=pvP1W2PGBrDgXmDlYCkjuyIOj8p2ovm+V4dlEjbFo3NNFfnpmMEY/FwHiGw82d3Eha Kp9OxSjqRCLsLjEfKpB9FAcQ3Vjw2WgeeVtIt01VyALjYQP4gyiJsGaF+bAJuM5t/naR VTV8KlhVC0NmU7iOOlP5hKzF7dJWtEmkBuOFDN1hon3QBeLdCYGXWFGDhFGOLTYQPmoy KOolqkW0IDOvesLIqfIWMmpNyOMOwAnNcqwYn2hgK5WZI8Gkf/jgXsCUMnAfbJmeH4b6 vvBiqueZ+EFgskltT7hFMdV5RiBZTGLKXZtsBiCcjZT+D2tnDEG3Gf8EeyAOeECTqAGb YlVw== X-Gm-Message-State: AOUpUlHiHgZfi3QZXJqPZC2KMNlgiL4X7ZbpGpwEh3vQInGmCeBYO8vF 6+RP94s5JfCk2ZGBvOFI5Zk= X-Google-Smtp-Source: AA+uWPzZT1VeeGPMXjc0TQAt5ICWAlOXIe7+OIdYiUAcj/SoPgW0yDQWpL+3A5qLyFr/AHXER4TK+w== X-Received: by 2002:a19:95c9:: with SMTP id x192-v6mr7220722lfd.37.1534019193590; Sat, 11 Aug 2018 13:26:33 -0700 (PDT) Received: from localhost.localdomain (c-2ec2e3af-74736162.cust.telenor.se. [46.194.227.175]) by smtp.gmail.com with ESMTPSA id d10-v6sm2430353lfk.63.2018.08.11.13.26.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Aug 2018 13:26:32 -0700 (PDT) From: Marcus Folkesson To: Marcus Folkesson , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Mark Rutland Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] MAINTAINERS: add entry for ltc166x DAC driver Date: Sat, 11 Aug 2018 22:02:26 +0200 Message-Id: <20180811200226.28776-3-marcus.folkesson@gmail.com> X-Mailer: git-send-email 2.11.0.rc2 In-Reply-To: <20180811200226.28776-1-marcus.folkesson@gmail.com> References: <20180811200226.28776-1-marcus.folkesson@gmail.com> 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 Add entry for ltc166x DAC driver and add myself as maintainer of this driver. Signed-off-by: Marcus Folkesson --- MAINTAINERS | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9276da915d9d..2dc4c773fb2e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8363,6 +8363,13 @@ L: linux-scsi@vger.kernel.org S: Maintained F: drivers/scsi/sym53c8xx_2/ +LTC166X DAC DRIVER +M: Marcus Folkesson +L: linux-iio@vger.kernel.org +S: Maintained +F: Documentation/devicetree/bindings/iio/dac/ltc166x.txt +F: drivers/iio/dac/ltc166x.c + LTC4261 HARDWARE MONITOR DRIVER M: Guenter Roeck L: linux-hwmon@vger.kernel.org