Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3793420imu; Mon, 24 Dec 2018 08:49:53 -0800 (PST) X-Google-Smtp-Source: ALg8bN66PDBptcrgN3tOzb0a5wXkl6Gf8+DAYjINno/uGAlr5+jIb2zFfkz2OCvPfHp0Lg435FOF X-Received: by 2002:a63:5e43:: with SMTP id s64mr12959249pgb.101.1545670193138; Mon, 24 Dec 2018 08:49:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545670193; cv=none; d=google.com; s=arc-20160816; b=Qsw52tXtkMp1UvbZ4x4d0CI32+ynghzlOoEeWqKJJLsnwsVtdqi9Ls3pWwyKp/mjZA ws6eYVYPo7+JOHzzcmmwQ3brAlZAyCWenrbAnUQ1cpAati/rEJNpGpIotaFYMM123+d/ 58b3JpwZE4VmgjAy/N9A4DinpnIv6+olASr/AcLAYap48kRaYzqm7witxvUgjtCDtHQt 6Bqw1oX59uy8/r4oz9eXH1PhXwKQb828hQ1K22OZpdcSbs2yRSxL/U6Tz7qopDdKrz42 lYmLV13EXLtFlcfSNxwslZIProDiU2jKwunKEvNdVKW5RPaRTXwu/P7Vjpi113s3FtGi ldJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=PaPdCcUN/aTrW03fb99UqapSalhel2ZxvrWmcwqiEuA=; b=mNiU3JhjPkGQU1yvRl7tyvdNqWeVQ1vnB+xFKQm4TdpQvQCa32JPG7LmdEG+JHABjn T+jyv3s9xJDnppHv79JCpj82vbGwZXpOxkLUufSi3z9+ymHJu5rBauqaKIVVXPheKQj1 eMzZeNtiibUn1BTyN/J0cVgr3mhRHqgL6VAi5O+2AAtq8U7IlWSCSYcNGPUd+hhsm0Bk RIP+eq/2jz+bFjBvo7d7Y2LBGBO5t1wQ0aWtpBGwJ1Ux3T96zXgDh9xtasqZDDRlqOTU MZ0fDoDP1TJZ9JhrZAbYR09OAZ2xriwtB57bXlJHASqkq8a6PVhHCIDnBoFnHgNABiNm PDlg== 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m8si9951050pgd.555.2018.12.24.08.49.38; Mon, 24 Dec 2018 08:49:53 -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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725822AbeLXQss (ORCPT + 99 others); Mon, 24 Dec 2018 11:48:48 -0500 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:56630 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725355AbeLXQsr (ORCPT ); Mon, 24 Dec 2018 11:48:47 -0500 Received: from taln60.nuvoton.co.il (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id wBOGHxxP032447; Mon, 24 Dec 2018 18:18:00 +0200 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 924A662DA4; Mon, 24 Dec 2018 18:47:57 +0200 (IST) From: Tomer Maimon To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, robh+dt@kernel.org, mark.rutland@arm.com, yuenn@google.com, venture@google.com, brendanhiggins@google.com, avifishman70@gmail.com, joel@jms.id.au Cc: linux-iio@vger.kernel.org, openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Tomer Maimon Subject: [PATCH v1 0/2] iio: adc: npcm: add NPCm ADC driver Date: Mon, 24 Dec 2018 18:47:53 +0200 Message-Id: <20181224164755.286932-1-tmaimon77@gmail.com> X-Mailer: git-send-email 2.14.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set adds Analog-to-Digital Converter (ADC) support for the Nuvoton NPCM Baseboard Management Controller (BMC). The NPCM ADC is a 10-bit converter for eight channel inputs. The NPCM ADC driver tested on NPCM750 evaluation board. Tomer Maimon (2): dt-binding: iio: add NPCM ADC documentation iio: adc: add NPCM ADC driver .../bindings/iio/adc/nuvoton,npcm-adc.txt | 35 +++ drivers/iio/adc/Kconfig | 10 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/npcm_adc.c | 336 +++++++++++++++++++++ 4 files changed, 382 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/nuvoton,npcm-adc.txt create mode 100644 drivers/iio/adc/npcm_adc.c -- 2.14.1