From patchwork Tue Jan 7 10:59:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Beniamin Bia X-Patchwork-Id: 11320743 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B8840138C for ; Tue, 7 Jan 2020 10:58:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 827D620678 for ; Tue, 7 Jan 2020 10:58:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=analog.onmicrosoft.com header.i=@analog.onmicrosoft.com header.b="4eWD44ZC" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727177AbgAGK6k (ORCPT ); Tue, 7 Jan 2020 05:58:40 -0500 Received: from mx0b-00128a01.pphosted.com ([148.163.139.77]:52018 "EHLO mx0b-00128a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726690AbgAGK6j (ORCPT ); Tue, 7 Jan 2020 05:58:39 -0500 Received: from pps.filterd (m0167091.ppops.net [127.0.0.1]) by mx0b-00128a01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 007AstFm020566; Tue, 7 Jan 2020 05:58:08 -0500 Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2049.outbound.protection.outlook.com [104.47.66.49]) by mx0b-00128a01.pphosted.com with ESMTP id 2xawstxa56-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 Jan 2020 05:58:07 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dJX4762I7DnMMY5l99Gyz9T0X2oRRdqdQBndt2un7PRHjDXL9DqBVb/68bF2Jc6tl9trTU7jEmVnWoECv9mEd3IVLmLudmIUQpo1/lZuUPPTwvZq7UBOXDJNIpmIZliS41jAG25uwrll3zlpxxx2hQwx36TduShG4OKsfss+seql3jnv2GJUOiEE4MjZtRF42gfMWYHtIA/hB/8mqDibI3Yso33v+KI3uRUDqVkepJBA664veKC9HCSkgn/wZT8tXG9N3F0ot92HNqehGeX5a3TegfGCozYeo09lGG/5aeQhA7rKmGJhdTJdGr3XPy9GQ6KoucRalzCrMLxrSQn83g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hoJc5S0ImvwRRV4T56GGXklgJdZJYg6RbrFISwMvYaU=; b=d3bvSJ+y+XE1M5EUwmqIMZeSdDVz/TIH8P66BCzZ61ChIbTt/LkKQbUBQ04z8hja77GSP0++qUX0pGRf8q1v7GRmtrWARt1cgoEb6gNRgsY05rFSRSwagJ/M8WbnZMUgwfrsimpURupq4t0Uua6nY0FXgiAj5SV3x6z/K6RxhuHAzDotrpQATSMMjkeToKuu3iQ0uYcNRkVZoRCVigQ/3jwt0UcguP7COqhbMq3kqNbMkUxrRE6YaKXB3ya2QKuZMxS46QnJTDY9K8G0WYyy4WlB3qAEmwcSzO7PZ9PgMAUhBXXL0IB/x5Z+3Vwu3intqe5JhAeynQrXOVBy6zkIUg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 137.71.25.57) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=analog.com; dmarc=bestguesspass action=none header.from=analog.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.onmicrosoft.com; s=selector2-analog-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hoJc5S0ImvwRRV4T56GGXklgJdZJYg6RbrFISwMvYaU=; b=4eWD44ZCIXywoLVWwcrKof37UJsVg5zAQ+xoZUlNSwFhF8lK4KBt5KYddbkm5ATCPe9x1NLp/04qBuPUoDIgTGDjUtyyvPSpIKMMqHE/etlTMUCQeA2Mr6FuxmzXroTl/untapwMExj6MILrf0rIBVqe5K9ks2HCYBHJw3PflXw= Received: from BN3PR03CA0061.namprd03.prod.outlook.com (2a01:111:e400:7a4d::21) by MWHPR03MB2670.namprd03.prod.outlook.com (2603:10b6:300:46::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.15; Tue, 7 Jan 2020 10:58:05 +0000 Received: from CY1NAM02FT062.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::206) by BN3PR03CA0061.outlook.office365.com (2a01:111:e400:7a4d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.12 via Frontend Transport; Tue, 7 Jan 2020 10:58:05 +0000 Received-SPF: Pass (protection.outlook.com: domain of analog.com designates 137.71.25.57 as permitted sender) receiver=protection.outlook.com; client-ip=137.71.25.57; helo=nwd2mta2.analog.com; Received: from nwd2mta2.analog.com (137.71.25.57) by CY1NAM02FT062.mail.protection.outlook.com (10.152.75.60) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.2602.11 via Frontend Transport; Tue, 7 Jan 2020 10:58:04 +0000 Received: from ASHBMBX8.ad.analog.com (ashbmbx8.ad.analog.com [10.64.17.5]) by nwd2mta2.analog.com (8.13.8/8.13.8) with ESMTP id 007Aw3LQ011470 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 7 Jan 2020 02:58:03 -0800 Received: from SCSQMBX11.ad.analog.com (10.77.17.10) by ASHBMBX8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Tue, 7 Jan 2020 05:58:01 -0500 Received: from zeus.spd.analog.com (10.64.82.11) by SCSQMBX11.ad.analog.com (10.77.17.10) with Microsoft SMTP Server id 15.1.1779.2 via Frontend Transport; Tue, 7 Jan 2020 02:58:01 -0800 Received: from ben-Latitude-E6540.ad.analog.com ([10.48.65.231]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 007Avvmm002960; Tue, 7 Jan 2020 05:57:57 -0500 From: Beniamin Bia To: CC: , , , , , , , , , Beniamin Bia Subject: [PATCH v3 1/3] hwmon: adm1177: Add ADM1177 Hot Swap Controller and Digital Power Monitor driver Date: Tue, 7 Jan 2020 12:59:27 +0200 Message-ID: <20200107105929.18938-1-beniamin.bia@analog.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-ADIRoutedOnPrem: True X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:137.71.25.57;IPV:;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(39860400002)(346002)(376002)(396003)(136003)(189003)(199004)(4326008)(186003)(8936002)(478600001)(7636002)(8676002)(6916009)(6666004)(356004)(1076003)(246002)(26005)(336012)(426003)(107886003)(5660300002)(2616005)(36756003)(7696005)(966005)(2906002)(44832011)(70206006)(316002)(54906003)(70586007)(86362001);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR03MB2670;H:nwd2mta2.analog.com;FPR:;SPF:Pass;LANG:en;PTR:nwd2mail11.analog.com;MX:1;A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 226b8ace-9139-4a1d-5cc1-08d793607872 X-MS-TrafficTypeDiagnostic: MWHPR03MB2670: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-Forefront-PRVS: 027578BB13 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: H7HYwfMuMnOUBxf8FGuqFoCASw5EOl0hvu8zlmasR300lYz/c2bCLG+KqjRgDcT9+GR2tq/28WM3uhK4vrcG8WVbRhr/g1919GeZUGGMamCTlxs87YBBIus/9xx1I/KZMXP0xVeIhYGYrI5zj2hadsG9Js2dBV4SdUCWE81EzzS6Nrq5dLHmmHhobeBq2PQkddYSj+MCCBSvwqwyj4sHR1BOwhYsKJeYUxMhPZT9EFZUKN+E+r4IIhJFrZVGvZVaDMENVy8+0Qmqe+pIv5HuwvUbIQGXRaKlL5RZFscQQSc7j3l2TRYvUq/f94U6+vi48qzwoAcBP2oFrzrG9qfYWY5pS2+WF4cWKUsUbdsQmDVsKAb6zBT7cQbQMhWYRKoVXcNfVKbWn4ZnrCs/ruNM9FBXDAsvW8FixHJlC6sNCRk15UKmdfOzQD7ToPFnhyoqj7Y4pdkFZBVg7BT9dnbQwuSpEdqIetxlB3+93qY/POfkK826e1P2xtIkNsrHFGQzBxbTvNTQLyr05Nf9LQXr6Q== X-OriginatorOrg: analog.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jan 2020 10:58:04.0406 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 226b8ace-9139-4a1d-5cc1-08d793607872 X-MS-Exchange-CrossTenant-Id: eaa689b4-8f87-40e0-9c6f-7228de4d754a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=eaa689b4-8f87-40e0-9c6f-7228de4d754a;Ip=[137.71.25.57];Helo=[nwd2mta2.analog.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR03MB2670 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2020-01-07_02:2020-01-06,2020-01-07 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 phishscore=0 impostorscore=0 clxscore=1015 suspectscore=0 spamscore=0 mlxscore=0 priorityscore=1501 mlxlogscore=999 lowpriorityscore=0 malwarescore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-2001070089 Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org ADM1177 is a Hot Swap Controller and Digital Power Monitor with Soft Start Pin. Datasheet: Link: https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf Signed-off-by: Beniamin Bia --- Changes in v3: -alert_threshold_ua clamped to maximum Documentation/hwmon/adm1177.rst | 36 ++++ drivers/hwmon/Kconfig | 10 ++ drivers/hwmon/Makefile | 1 + drivers/hwmon/adm1177.c | 288 ++++++++++++++++++++++++++++++++ 4 files changed, 335 insertions(+) create mode 100644 Documentation/hwmon/adm1177.rst create mode 100644 drivers/hwmon/adm1177.c diff --git a/Documentation/hwmon/adm1177.rst b/Documentation/hwmon/adm1177.rst new file mode 100644 index 000000000000..c81e0b4abd28 --- /dev/null +++ b/Documentation/hwmon/adm1177.rst @@ -0,0 +1,36 @@ +Kernel driver adm1177 +===================== + +Supported chips: + * Analog Devices ADM1177 + Prefix: 'adm1177' + Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf + +Author: Beniamin Bia + + +Description +----------- + +This driver supports hardware monitoring for Analog Devices ADM1177 +Hot-Swap Controller and Digital Power Monitors with Soft Start Pin. + + +Usage Notes +----------- + +This driver does not auto-detect devices. You will have to instantiate the +devices explicitly. Please see Documentation/i2c/instantiating-devices for +details. + + +Sysfs entries +------------- + +The following attributes are supported. Current maxim attribute +is read-write, all other attributes are read-only. + +in0_input Measured voltage in microvolts. + +curr1_input Measured current in microamperes. +curr1_max_alarm Overcurrent alarm in microamperes. diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 5308c59d7001..3db8f5752675 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -164,6 +164,16 @@ config SENSORS_ADM1031 This driver can also be built as a module. If so, the module will be called adm1031. +config SENSORS_ADM1177 + tristate "Analog Devices ADM1177 and compatibles" + depends on I2C + help + If you say yes here you get support for Analog Devices ADM1177 + sensor chips. + + This driver can also be built as a module. If so, the module + will be called adm1177. + config SENSORS_ADM9240 tristate "Analog Devices ADM9240 and compatibles" depends on I2C diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile index 40c036ea45e6..27d04eab1be4 100644 --- a/drivers/hwmon/Makefile +++ b/drivers/hwmon/Makefile @@ -34,6 +34,7 @@ obj-$(CONFIG_SENSORS_ADM1025) += adm1025.o obj-$(CONFIG_SENSORS_ADM1026) += adm1026.o obj-$(CONFIG_SENSORS_ADM1029) += adm1029.o obj-$(CONFIG_SENSORS_ADM1031) += adm1031.o +obj-$(CONFIG_SENSORS_ADM1177) += adm1177.o obj-$(CONFIG_SENSORS_ADM9240) += adm9240.o obj-$(CONFIG_SENSORS_ADS7828) += ads7828.o obj-$(CONFIG_SENSORS_ADS7871) += ads7871.o diff --git a/drivers/hwmon/adm1177.c b/drivers/hwmon/adm1177.c new file mode 100644 index 000000000000..1f2ff7a29306 --- /dev/null +++ b/drivers/hwmon/adm1177.c @@ -0,0 +1,288 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * ADM1177 Hot Swap Controller and Digital Power Monitor with Soft Start Pin + * + * Copyright 2015-2019 Analog Devices Inc. + */ + +#include +#include +#include +#include +#include +#include +#include + +/* Command Byte Operations */ +#define ADM1177_CMD_V_CONT BIT(0) +#define ADM1177_CMD_I_CONT BIT(2) +#define ADM1177_CMD_VRANGE BIT(4) + +/* Extended Register */ +#define ADM1177_REG_ALERT_TH 2 + +#define ADM1177_BITS 12 + +/** + * struct adm1177_state - driver instance specific data + * @client pointer to i2c client + * @reg regulator info for the the power supply of the device + * @r_sense_uohm current sense resistor value + * @alert_threshold_ua current limit for shutdown + * @vrange_high internal voltage divider + */ +struct adm1177_state { + struct i2c_client *client; + struct regulator *reg; + u32 r_sense_uohm; + u32 alert_threshold_ua; + bool vrange_high; +}; + +static int adm1177_read_raw(struct adm1177_state *st, u8 num, u8 *data) +{ + return i2c_master_recv(st->client, data, num); +} + +static int adm1177_write_cmd(struct adm1177_state *st, u8 cmd) +{ + return i2c_smbus_write_byte(st->client, cmd); +} + +static int adm1177_write_alert_thr(struct adm1177_state *st, + u32 alert_threshold_ua) +{ + u64 val; + int ret; + + val = 0xFFULL * alert_threshold_ua * st->r_sense_uohm; + val = div_u64(val, 105840000U); + val = div_u64(val, 1000U); + if (val > 0xFF) + val = 0xFF; + + ret = i2c_smbus_write_byte_data(st->client, ADM1177_REG_ALERT_TH, + val); + if (!ret) + return ret; + + st->alert_threshold_ua = alert_threshold_ua; + return 0; +} + +static int adm1177_read(struct device *dev, enum hwmon_sensor_types type, + u32 attr, int channel, long *val) +{ + struct adm1177_state *st = dev_get_drvdata(dev); + u8 data[3]; + long dummy; + int ret; + + switch (type) { + case hwmon_curr: + switch (attr) { + case hwmon_curr_input: + ret = adm1177_read_raw(st, 3, data); + if (ret < 0) + return ret; + dummy = (data[1] << 4) | (data[2] & 0xF); + /* + * convert to milliamperes + * ((105.84mV / 4096) x raw) / senseResistor(ohm) + */ + *val = div_u64((105840000ull * dummy), + 4096 * st->r_sense_uohm); + return 0; + case hwmon_curr_max_alarm: + *val = st->alert_threshold_ua; + return 0; + default: + return -EOPNOTSUPP; + } + case hwmon_in: + ret = adm1177_read_raw(st, 3, data); + if (ret < 0) + return ret; + dummy = (data[0] << 4) | (data[2] >> 4); + /* + * convert to millivolts based on resistor devision + * (V_fullscale / 4096) * raw + */ + if (st->vrange_high) + dummy *= 26350; + else + dummy *= 6650; + + *val = DIV_ROUND_CLOSEST(dummy, 4096); + return 0; + default: + return -EOPNOTSUPP; + } +} + +static int adm1177_write(struct device *dev, enum hwmon_sensor_types type, + u32 attr, int channel, long val) +{ + struct adm1177_state *st = dev_get_drvdata(dev); + + switch (type) { + case hwmon_curr: + switch (attr) { + case hwmon_curr_max_alarm: + adm1177_write_alert_thr(st, val); + return 0; + default: + return -EOPNOTSUPP; + } + default: + return -EOPNOTSUPP; + } +} + +static umode_t adm1177_is_visible(const void *data, + enum hwmon_sensor_types type, + u32 attr, int channel) +{ + const struct adm1177_state *st = data; + + switch (type) { + case hwmon_in: + switch (attr) { + case hwmon_in_input: + return 0444; + } + break; + case hwmon_curr: + switch (attr) { + case hwmon_curr_input: + if (st->r_sense_uohm) + return 0444; + return 0; + case hwmon_curr_max_alarm: + if (st->r_sense_uohm) + return 0644; + return 0; + } + break; + default: + break; + } + return 0; +} + +static const struct hwmon_channel_info *adm1177_info[] = { + HWMON_CHANNEL_INFO(curr, + HWMON_C_INPUT | HWMON_C_MAX_ALARM), + HWMON_CHANNEL_INFO(in, + HWMON_I_INPUT), + NULL +}; + +static const struct hwmon_ops adm1177_hwmon_ops = { + .is_visible = adm1177_is_visible, + .read = adm1177_read, + .write = adm1177_write, +}; + +static const struct hwmon_chip_info adm1177_chip_info = { + .ops = &adm1177_hwmon_ops, + .info = adm1177_info, +}; + +static void adm1177_remove(void *data) +{ + struct adm1177_state *st = data; + + regulator_disable(st->reg); +} + +static int adm1177_probe(struct i2c_client *client, + const struct i2c_device_id *id) +{ + struct device *dev = &client->dev; + struct device *hwmon_dev; + struct adm1177_state *st; + u32 alert_threshold_ua; + int ret; + + st = devm_kzalloc(dev, sizeof(*st), GFP_KERNEL); + if (!st) + return -ENOMEM; + + st->client = client; + + st->reg = devm_regulator_get_optional(&client->dev, "vref"); + if (IS_ERR(st->reg)) { + if (PTR_ERR(st->reg) == -EPROBE_DEFER) + return -EPROBE_DEFER; + + st->reg = NULL; + } else { + ret = regulator_enable(st->reg); + if (ret) + return ret; + ret = devm_add_action_or_reset(&client->dev, adm1177_remove, + st); + if (ret) + return ret; + } + + if (device_property_read_u32(dev, "shunt-resistor-micro-ohms", + &st->r_sense_uohm)) + st->r_sense_uohm = 0; + if (device_property_read_u32(dev, "adi,shutdown-threshold-microamp", + &alert_threshold_ua)) { + if (st->r_sense_uohm) + /* + * set maximum default value from datasheet based on + * shunt-resistor + */ + alert_threshold_ua = div_u64(105840000000, + st->r_sense_uohm); + else + alert_threshold_ua = 0; + } + st->vrange_high = device_property_read_bool(dev, + "adi,vrange-high-enable"); + if (alert_threshold_ua && st->r_sense_uohm) + adm1177_write_alert_thr(st, alert_threshold_ua); + + ret = adm1177_write_cmd(st, ADM1177_CMD_V_CONT | + ADM1177_CMD_I_CONT | + (st->vrange_high ? 0 : ADM1177_CMD_VRANGE)); + if (ret) + return ret; + + hwmon_dev = + devm_hwmon_device_register_with_info(dev, client->name, st, + &adm1177_chip_info, NULL); + return PTR_ERR_OR_ZERO(hwmon_dev); +} + +static const struct i2c_device_id adm1177_id[] = { + {"adm1177", 0}, + {} +}; +MODULE_DEVICE_TABLE(i2c, adm1177_id); + +static const struct of_device_id adm1177_dt_ids[] = { + { .compatible = "adi,adm1177" }, + {}, +}; +MODULE_DEVICE_TABLE(of, adm1177_dt_ids); + +static struct i2c_driver adm1177_driver = { + .class = I2C_CLASS_HWMON, + .driver = { + .name = "adm1177", + .of_match_table = adm1177_dt_ids, + }, + .probe = adm1177_probe, + .id_table = adm1177_id, +}; +module_i2c_driver(adm1177_driver); + +MODULE_AUTHOR("Beniamin Bia "); +MODULE_AUTHOR("Michael Hennerich "); +MODULE_DESCRIPTION("Analog Devices ADM1177 ADC driver"); +MODULE_LICENSE("GPL v2"); From patchwork Tue Jan 7 10:59:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Beniamin Bia X-Patchwork-Id: 11320745 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C6581930 for ; Tue, 7 Jan 2020 10:58:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9B1CF2081E for ; Tue, 7 Jan 2020 10:58:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=analog.onmicrosoft.com header.i=@analog.onmicrosoft.com header.b="PQj/zWbo" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727894AbgAGK6o (ORCPT ); Tue, 7 Jan 2020 05:58:44 -0500 Received: from mx0a-00128a01.pphosted.com ([148.163.135.77]:64698 "EHLO mx0a-00128a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727857AbgAGK6o (ORCPT ); Tue, 7 Jan 2020 05:58:44 -0500 Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 007Aw4WS026227; Tue, 7 Jan 2020 05:58:12 -0500 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2107.outbound.protection.outlook.com [104.47.70.107]) by mx0a-00128a01.pphosted.com with ESMTP id 2xaneaeu6s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 Jan 2020 05:58:12 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BrpdcTOSXfvmjBm7f0sU1YNH0BQTHrNFMac7aczIMjYRI21EoODQzHg2h8aZh2hJ+m3Mp9IKrJ4AF++k2UIWj8UpeND4Ynmm0PQPe+RJHsGv6DuXJUdQyeccXGKFWqwbuPxg/1s2GfnLUDTr0LHKX0804HWoEmIuPLrWe20G2V21Jfo0PgbpI1EABjfJgYoGXIVmWUHCyQHf+qCIjABbfK9K6cMd+JtwZO5kx1RL0J1R+H2gvR1qcThn1vWphsOiA5bisJ4hMUmpD2W5+GyXpPIubvlwgsOpzmdZ0nn1t5QzzHC3O7cnePp+grJkQ+pA8FYWHJVoT817KKs13f2/Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/w43bNGP1KTpzQOQlde9YYZ1rTv4uuaVx1hOmF5i6RM=; b=fZuHNh2diT32F0nccuKwS/XoIbfv5u1iBDuBivRpQ9LMGXKEnAA2IGko2wF1pK3+AsDCTxaLnhw7XzSH1L8CE6g/jsKUJffEJY0IIehWsSI0/n6i6qNInGGxE+ppjSKfw+W9xAz5Dar7mfkCRxEnKkchJfP/s5jav7sgoTgrInqU08CWDzHk1qgUSr5iJRJzdsQCiyQu2i61DHYoY8avwgDpYmqXhClYbYyd6j5rVBx16ewWURgDmfVS7pYvKZLclk2dHkUaMSMkRdOJzoGfd7mey9q4BmYYueS2od1urh0RjtQRtflU0iuyD7jCFNNwXid1XyBBKhGaqdxtAccc1A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 137.71.25.57) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=analog.com; dmarc=bestguesspass action=none header.from=analog.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.onmicrosoft.com; s=selector2-analog-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/w43bNGP1KTpzQOQlde9YYZ1rTv4uuaVx1hOmF5i6RM=; b=PQj/zWbooavZxMy1zYAdhlDXxQ/vzN43CY22rL1RmXZM4rDct4Iycx+BdlaLuP6POgvlYNPtBCVDu+578HSK+cWAofnLFvt63my4NATdZADbPSkxgQM8J/RGyil0V+3S5NrPfujYKtmdnoyUjFLA0tRxRwXjMWzoqksLSTnmxjM= Received: from BN3PR03CA0078.namprd03.prod.outlook.com (2a01:111:e400:7a4d::38) by BYAPR03MB4310.namprd03.prod.outlook.com (2603:10b6:a03:c1::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.13; Tue, 7 Jan 2020 10:58:09 +0000 Received: from CY1NAM02FT019.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::204) by BN3PR03CA0078.outlook.office365.com (2a01:111:e400:7a4d::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.12 via Frontend Transport; Tue, 7 Jan 2020 10:58:09 +0000 Received-SPF: Pass (protection.outlook.com: domain of analog.com designates 137.71.25.57 as permitted sender) receiver=protection.outlook.com; client-ip=137.71.25.57; helo=nwd2mta2.analog.com; Received: from nwd2mta2.analog.com (137.71.25.57) by CY1NAM02FT019.mail.protection.outlook.com (10.152.75.177) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.2602.11 via Frontend Transport; Tue, 7 Jan 2020 10:58:09 +0000 Received: from ASHBMBX8.ad.analog.com (ashbmbx8.ad.analog.com [10.64.17.5]) by nwd2mta2.analog.com (8.13.8/8.13.8) with ESMTP id 007Aw8f4011473 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 7 Jan 2020 02:58:08 -0800 Received: from SCSQMBX11.ad.analog.com (10.77.17.10) by ASHBMBX8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Tue, 7 Jan 2020 05:58:07 -0500 Received: from zeus.spd.analog.com (10.64.82.11) by SCSQMBX11.ad.analog.com (10.77.17.10) with Microsoft SMTP Server id 15.1.1779.2 via Frontend Transport; Tue, 7 Jan 2020 02:58:07 -0800 Received: from ben-Latitude-E6540.ad.analog.com ([10.48.65.231]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 007Avvmn002960; Tue, 7 Jan 2020 05:58:03 -0500 From: Beniamin Bia To: CC: , , , , , , , , , Beniamin Bia Subject: [PATCH v3 2/3] dt-binding: hwmon: Add documentation for ADM1177 Date: Tue, 7 Jan 2020 12:59:28 +0200 Message-ID: <20200107105929.18938-2-beniamin.bia@analog.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200107105929.18938-1-beniamin.bia@analog.com> References: <20200107105929.18938-1-beniamin.bia@analog.com> MIME-Version: 1.0 X-ADIRoutedOnPrem: True X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:137.71.25.57;IPV:;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(396003)(39860400002)(376002)(346002)(136003)(189003)(199004)(7636002)(966005)(2616005)(86362001)(44832011)(4326008)(6916009)(5660300002)(1076003)(54906003)(336012)(26005)(36756003)(426003)(186003)(478600001)(356004)(6666004)(7696005)(246002)(2906002)(107886003)(8676002)(8936002)(70206006)(70586007)(316002);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR03MB4310;H:nwd2mta2.analog.com;FPR:;SPF:Pass;LANG:en;PTR:nwd2mail11.analog.com;MX:1;A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 47d145a4-f998-4854-4767-08d793607b57 X-MS-TrafficTypeDiagnostic: BYAPR03MB4310: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-Forefront-PRVS: 027578BB13 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /HfVkCLlujx2uYkwNF6CietrQ4Zu4fRzPiTucfs8nb/ggzXXQxFUK4lxNdAB9I9Qpe2uSmrDVFZfaoKTJpSv21ajRhwN/L9GaarExBSEDqA+Qp0rhVgak9v7GS8e2OuPZrdibAvvgLXmUb/Z/KReUiwfqogomkYeB4pFMVAMQR/zPSWbOl51wZ2rJY+uGtZXjUlASuD50iabsp2aOCHmb3njcFrdO/7ZzD4bpAP1kfxVQgpzdlcEISuYT6EWWATHNOmYRsaWxAyxCr78nupgkR/jzFQEvI8U+SohQ4yIi5dhjRDajdRecwlHIrWCBM25hkPWeVxOQ3ThNM2wHSS2lOOEBfmMNkgs4tqL5nZAesQ+VdOBLC7hR5WM7eoQme1DB6ZgrqY035RFokY95Jgn1M0mJMOgLpKELyvCWvWR60CIXZPZC5L3mNAM4k9KYLCGazA+FpRTOhTc1Bv9lVjrNiEbTPDvf+NlD0hPtykN3EU= X-OriginatorOrg: analog.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jan 2020 10:58:09.0271 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 47d145a4-f998-4854-4767-08d793607b57 X-MS-Exchange-CrossTenant-Id: eaa689b4-8f87-40e0-9c6f-7228de4d754a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=eaa689b4-8f87-40e0-9c6f-7228de4d754a;Ip=[137.71.25.57];Helo=[nwd2mta2.analog.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR03MB4310 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2020-01-07_02:2020-01-06,2020-01-07 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 bulkscore=0 adultscore=0 impostorscore=0 mlxscore=0 lowpriorityscore=0 spamscore=0 malwarescore=0 phishscore=0 suspectscore=0 mlxlogscore=999 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-2001070088 Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org Documentation for ADM1177 was added. Signed-off-by: Beniamin Bia Reviewed-by: Rob Herring --- Changes in v3: -nothing changed .../bindings/hwmon/adi,adm1177.yaml | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml diff --git a/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml b/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml new file mode 100644 index 000000000000..65ef95328bc6 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml @@ -0,0 +1,66 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/adi,adm1177.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices ADM1177 Hot Swap Controller and Digital Power Monitor + +maintainers: + - Michael Hennerich + - Beniamin Bia + +description: | + Analog Devices ADM1177 Hot Swap Controller and Digital Power Monitor + https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf + +properties: + compatible: + enum: + - adi,adm1177 + + reg: + maxItems: 1 + + avcc-supply: + description: + Phandle to the Avcc power supply + + shunt-resistor-micro-ohms: + description: + The value of curent sense resistor in microohms. If not provided, + the current reading and overcurrent alert is disabled. + + adi,shutdown-threshold-microamp: + description: + Specifies the current level at which an over current alert occurs. + If not provided, the overcurrent alert is configured to max ADC range + based on shunt-resistor-micro-ohms. + + adi,vrange-high-enable: + description: + Specifies which internal voltage divider to be used. A 1 selects + a 7:2 voltage divider while a 0 selects a 14:1 voltage divider. + type: boolean + +required: + - compatible + - reg + +examples: + - | + #include + #include + i2c0 { + #address-cells = <1>; + #size-cells = <0>; + + pwmon@5a { + compatible = "adi,adm1177"; + reg = <0x5a>; + shunt-resistor-micro-ohms = <50000>; /* 50 mOhm */ + adi,shutdown-threshold-microamp = <1059000>; /* 1.059 A */ + adi,vrange-high-enable; + }; + }; +... From patchwork Tue Jan 7 10:59:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Beniamin Bia X-Patchwork-Id: 11320747 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F1DD514B4 for ; Tue, 7 Jan 2020 10:58:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CFA492081E for ; Tue, 7 Jan 2020 10:58:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=analog.onmicrosoft.com header.i=@analog.onmicrosoft.com header.b="CrkbLA0d" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727875AbgAGK6o (ORCPT ); Tue, 7 Jan 2020 05:58:44 -0500 Received: from mx0a-00128a01.pphosted.com ([148.163.135.77]:64552 "EHLO mx0a-00128a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726690AbgAGK6n (ORCPT ); Tue, 7 Jan 2020 05:58:43 -0500 Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 007AwELc026248; Tue, 7 Jan 2020 05:58:14 -0500 Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2046.outbound.protection.outlook.com [104.47.66.46]) by mx0a-00128a01.pphosted.com with ESMTP id 2xaneaeu6u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 Jan 2020 05:58:14 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E7TOPn1X4PoLoFyRW7vatooBJViixJIaXG+qvV0bSBIvUgHCekzKAjRShjYJQU+XDEAIftt5Kes8Y0zvWgPIwC5zMNVO+7sxx2ZkLkWjwhQ0JShpmUFeVPV2UEfxOxU4ee6VypXBTxVvd9Rz1reqMX/a5Pc9XXbsw+rOHUBlEtUHKxOJl4e9K81ta9SCL+9t37VrVOTYSeTODVEwjyBCqRUMwYR5gCWyMVmiWrqNOXr1d9dl8KhLlyK/WvxL+z6/piOfKPMqZuN2Y2avxRlUrWrXZGglGhCjfI+njiUH5aW2cWhlCmr/inZH0IbKv0RjE44uGFRU7VkKwtnydMvwrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/8ar9U71tuRi7WXQ5hK95iq1Hzf9qNmjZUzQE4BOjjM=; b=NSI0xwFTuLIbYPAC3jypAULjPtxUbWmGR6Lou1VwzB9KcputtotoInFArT3YqtiFknSUlESnAp4DPDBUvZSrvkd5oeBQijM/sETpoIYQlJGFOaHMz3fL60es+BpViqScjw2uunXJ1guaLfwz/SZp5AVBtNanK0ZhwHVoC2l0ty/obJqf0YiJzHviFZRgxwqBuGQ6LRZ91hdo/lMYz+0PNLkrC0Q5Cg489cAGMc6ZaJMAWK6LpfhXu+9wUAdHvHn3hwdPYlDi01FeMkQu1rn8mac2+wLjyklSqMW2QSWFD9crx7g6P6HNcK7TxUXvcWztNAfOENM+dqagnW0ME4gy4g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 137.71.25.55) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=analog.com; dmarc=bestguesspass action=none header.from=analog.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.onmicrosoft.com; s=selector2-analog-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/8ar9U71tuRi7WXQ5hK95iq1Hzf9qNmjZUzQE4BOjjM=; b=CrkbLA0dNuZM97NOGsAYxWiZqAALwr1H9Rmafn2N2Uq5Sl4raDzSzdJi17gcBhSdBE6k2rIs9zJ0Y52ai7X03WaEqTbOmd/SSaptu7VEzRpfjylDB3vRwUjDZJWnyg0BJ3nJ4SJPoC8mOST9QmMANGRFWn5DfqDxvk2r2SrMi28= Received: from MWHPR03CA0019.namprd03.prod.outlook.com (2603:10b6:300:117::29) by CO2PR03MB2344.namprd03.prod.outlook.com (2603:10b6:100:1::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.12; Tue, 7 Jan 2020 10:58:12 +0000 Received: from CY1NAM02FT043.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::204) by MWHPR03CA0019.outlook.office365.com (2603:10b6:300:117::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.12 via Frontend Transport; Tue, 7 Jan 2020 10:58:12 +0000 Received-SPF: Pass (protection.outlook.com: domain of analog.com designates 137.71.25.55 as permitted sender) receiver=protection.outlook.com; client-ip=137.71.25.55; helo=nwd2mta1.analog.com; Received: from nwd2mta1.analog.com (137.71.25.55) by CY1NAM02FT043.mail.protection.outlook.com (10.152.74.182) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.2602.11 via Frontend Transport; Tue, 7 Jan 2020 10:58:12 +0000 Received: from ASHBMBX9.ad.analog.com (ashbmbx9.ad.analog.com [10.64.17.10]) by nwd2mta1.analog.com (8.13.8/8.13.8) with ESMTP id 007Aw0Nc030987 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 7 Jan 2020 02:58:00 -0800 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) by ASHBMBX9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Tue, 7 Jan 2020 05:58:10 -0500 Received: from zeus.spd.analog.com (10.64.82.11) by ASHBMBX8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server id 15.1.1779.2 via Frontend Transport; Tue, 7 Jan 2020 05:58:10 -0500 Received: from ben-Latitude-E6540.ad.analog.com ([10.48.65.231]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 007Avvmo002960; Tue, 7 Jan 2020 05:58:07 -0500 From: Beniamin Bia To: CC: , , , , , , , , , Beniamin Bia Subject: [PATCH v3 3/3] MAINTAINERS: add entry for ADM1177 driver Date: Tue, 7 Jan 2020 12:59:29 +0200 Message-ID: <20200107105929.18938-3-beniamin.bia@analog.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200107105929.18938-1-beniamin.bia@analog.com> References: <20200107105929.18938-1-beniamin.bia@analog.com> MIME-Version: 1.0 X-ADIRoutedOnPrem: True X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:137.71.25.55;IPV:;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(376002)(39860400002)(346002)(136003)(396003)(189003)(199004)(44832011)(54906003)(36756003)(2906002)(356004)(6666004)(246002)(86362001)(1076003)(6916009)(7636002)(316002)(26005)(186003)(7696005)(8676002)(2616005)(5660300002)(70206006)(70586007)(426003)(966005)(107886003)(4326008)(336012)(8936002)(4744005)(478600001);DIR:OUT;SFP:1101;SCL:1;SRVR:CO2PR03MB2344;H:nwd2mta1.analog.com;FPR:;SPF:Pass;LANG:en;PTR:nwd2mail10.analog.com;MX:1;A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9aeff0ac-8efb-45d1-45f9-08d793607d39 X-MS-TrafficTypeDiagnostic: CO2PR03MB2344: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1303; X-Forefront-PRVS: 027578BB13 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tPbzDqd/xtQpyYyOHAuYryr7y16HRTyuQsLgoy3ox/DC/Ku64J1Qgwyjd7QSOUrQWKM/JD+8Cljmv9eC2XD0kVm19WZychJV9tBc2TD0ei1BmFQhaqN0zZfpLs23kRSeuOztKM63Zi+zPoTXTGr44aLWSGI473I0tgoaqswn/+PNaC/m9Jt5OiMNC7nqboBMtcq6HqXcvkV1t08yK8CRRHPVxZnejN2asezKVpEVEYyycdgGK0nSxM2SZA5iPVCxPOUcs0vha11S/1KbvojMt6qWDAy1xc7qkdDTJOQt39lXORZrwb7q6XiCwhch1ua/BrEM/N4CAoJkiJ+2I9hZDYYYZ6n9Z4nNh00Dfn97wG3TwMmrYkoM4PLH1GWsGeE8/SyGdGJz8k+tcvJoP1Tqcz9E0s6ZKum5GiahkijLZTRreWjQr57sbSvo4qiqhz7m88Rw9a2zHNf94RlzMTqKQlzND+NjbsacG/L2B8FJfoKNguyh+yWTvdVoKWzxcHefaIBmqwTaW8r9rFiY8l68GA== X-OriginatorOrg: analog.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jan 2020 10:58:12.1872 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9aeff0ac-8efb-45d1-45f9-08d793607d39 X-MS-Exchange-CrossTenant-Id: eaa689b4-8f87-40e0-9c6f-7228de4d754a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=eaa689b4-8f87-40e0-9c6f-7228de4d754a;Ip=[137.71.25.55];Helo=[nwd2mta1.analog.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR03MB2344 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2020-01-07_02:2020-01-06,2020-01-07 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 bulkscore=0 adultscore=0 impostorscore=0 mlxscore=0 lowpriorityscore=0 spamscore=0 malwarescore=0 phishscore=0 suspectscore=1 mlxlogscore=999 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-2001070088 Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org Add Beniamin Bia and Michael Hennerich as a maintainer for ADM1177 ADC. Signed-off-by: Beniamin Bia --- Changes in v3: -nothing changed MAINTAINERS | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3ef731fc753b..bc19b624fcd5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -978,6 +978,15 @@ W: http://ez.analog.com/community/linux-device-drivers F: drivers/iio/imu/adis16460.c F: Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml +ANALOG DEVICES INC ADM1177 DRIVER +M: Beniamin Bia +M: Michael Hennerich +L: linux-hwmon@vger.kernel.org +W: http://ez.analog.com/community/linux-device-drivers +S: Supported +F: drivers/hwmon/adm1177.c +F: Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml + ANALOG DEVICES INC ADP5061 DRIVER M: Stefan Popa L: linux-pm@vger.kernel.org