Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp600853ybl; Wed, 29 Jan 2020 06:22:57 -0800 (PST) X-Google-Smtp-Source: APXvYqy1DX9zzf7XuL+1Of13OtgrMjG2mKLBBJ7kkzBZEiXNlaxwnvBragiSFby5cw7ZP+Yh2qlk X-Received: by 2002:a05:6808:8e1:: with SMTP id d1mr1529284oic.68.1580307776963; Wed, 29 Jan 2020 06:22:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580307776; cv=none; d=google.com; s=arc-20160816; b=HJ/iMTnoTj8yzTXdVwTb7oZYjPfsG3MJG8CN6EXAbe01fSVpOUcAKzH4Oa0WEHaVKo gxH/ZLUGi9mpH8l/Et6VexTtjjv5batpAnOv5rQ3YAbPPlmzOlkgHu9OuabxM6fLjRsi jNXfYCjB5sCexVX/Vi+3TQ+DU/NDxIcMbnDAFT6/Z7UZFWcMxx3XkAneets4pwb6+uUc bkjxPSaAyC3iWspVTknVkhj7nLej+bAgGEfS7QQcZqxtuLldWQmdVTR7wKEf0E9rgisB k339AzbNxcn/IVdtccVCSnAzacxvdpjlhH4fcadZoOV9Kyn7FlJ8QPqjaPZ4wRrPoJ7l KPSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=0TLiIIRsfgY57TcxwMKj82Pz479kjej6rho6ef39QkA=; b=SAeB1hk0CxFZE+UTohG1hpfv1SCBVO/YFK9aIr9JP1//ad1OEQ7cKaFJYIveUDkKi7 CwP6Qrl0p9V+bi8JWsnnvUvWj4LOfPuYUFWb8xMFFxVqLYe5wQib7v0F8c62UmrgfqQq fKBNdNlNg9V/2nHga6zATiy0brfAwJUNoMrnWPGIXirpV1RurHlkqLk2ZH7CaI35JxTr 5Qi0Wv+cCH7H9uFOfocrOfqeqtamOBYER8YM4HCZ/1zV3kNuPc6DsKQtDoWwxt9nJlm3 qbWHnAoNJ5QxVao+r90ZB4xrkQ9/b0y99T5Nl7n1D/60lySNxfQcqV4s0t+fHzuJqAow aRHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q6si1160442otf.301.2020.01.29.06.22.44; Wed, 29 Jan 2020 06:22:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726692AbgA2OV3 (ORCPT + 99 others); Wed, 29 Jan 2020 09:21:29 -0500 Received: from mx0a-00128a01.pphosted.com ([148.163.135.77]:51806 "EHLO mx0a-00128a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726339AbgA2OV3 (ORCPT ); Wed, 29 Jan 2020 09:21:29 -0500 Received: from pps.filterd (m0167089.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 00TEDYPs012775; Wed, 29 Jan 2020 09:21:06 -0500 Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com with ESMTP id 2xrkfam72s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Jan 2020 09:21:06 -0500 Received: from ASHBMBX9.ad.analog.com (ashbmbx9.ad.analog.com [10.64.17.10]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 00TEL5b6039244 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Wed, 29 Jan 2020 09:21:05 -0500 Received: from SCSQMBX11.ad.analog.com (10.77.17.10) 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; Wed, 29 Jan 2020 09:21:03 -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; Wed, 29 Jan 2020 06:21:03 -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 00TEKwxe027599; Wed, 29 Jan 2020 09:20:59 -0500 From: Beniamin Bia To: CC: , , , , , , , , , , Beniamin Bia Subject: [PATCH v4 0/5] Add hmc425a support Date: Wed, 29 Jan 2020 16:22:56 +0200 Message-ID: <20200129142301.13918-1-beniamin.bia@analog.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-ADIRoutedOnPrem: True X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-01-29_03:2020-01-28,2020-01-29 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 suspectscore=1 mlxlogscore=613 clxscore=1015 phishscore=0 spamscore=0 adultscore=0 priorityscore=1501 bulkscore=0 lowpriorityscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1911200001 definitions=main-2001290118 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes in v4: -handle db patch was added -gpiod_set_array_value_cansleep call was updated Beniamin Bia (4): iio: core: Handle 'dB' suffix in core iio: amplifiers: ad8366: Add write_raw_get_fmt function iio: amplifiers: hmc425a: Add support for HMC425A attenuator MAINTAINERS: add entry for hmc425a driver. Michael Hennerich (1): dt-bindings: iio: amplifiers: Add docs for HMC425A Step Attenuator .../bindings/iio/amplifiers/adi,hmc425a.yaml | 48 ++++ MAINTAINERS | 9 + drivers/iio/amplifiers/Kconfig | 10 + drivers/iio/amplifiers/Makefile | 1 + drivers/iio/amplifiers/ad8366.c | 13 + drivers/iio/amplifiers/hmc425a.c | 256 ++++++++++++++++++ drivers/iio/industrialio-core.c | 35 ++- 7 files changed, 369 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml create mode 100644 drivers/iio/amplifiers/hmc425a.c -- 2.17.1