Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp732969imw; Wed, 13 Jul 2022 07:06:09 -0700 (PDT) X-Google-Smtp-Source: AGRyM1saDT54G2l92bEHwlbRpH+uOv8KQYjxhnRtarTH2yDdcJiBxUm4BRFEveY+R3Hjnzv+2ClH X-Received: by 2002:a05:6a00:1250:b0:52a:b37e:d702 with SMTP id u16-20020a056a00125000b0052ab37ed702mr3500498pfi.72.1657721169181; Wed, 13 Jul 2022 07:06:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657721169; cv=none; d=google.com; s=arc-20160816; b=ZHTee9d6IdGL9xrH/9ElztV7uhZd1a98Qe4K3SS4cd/GMdr5L9LTl1TZAifkwG7+ja jQHj/SPJex5FQFsI/i661/Xa/cRydGk6X75Dm1AU5ze/eDK9IDj+PWbMYKDIo88IieK8 MroN+8yvn07CNmWaUDjeYiX0+kPLGwqRPoWP5ZXYOWNsi/12PHIlUwpmojvFo7/u2gDh V5fEHRwul8CWt0jIQ6uoOWlbCowyQHZ/WsH8JL2FlEKLbpsIY2lINgHDm4KarE5UBRNt Z2AJZGX7B88eP9z2kn9qPm8UQ0DYjqYVyAyTb4vvztVg1a1SjvYXZba+4YpPVMkCPaK6 L7pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=eGtKLxNCrYH7rQsNMOly+BsBLVmLWsSXrUTeY3kQLRs=; b=kd3X39ME71WJTQaw92hJ+iJeJ29sCd0SdFrJGzA2Wyte9cXfRqTGXTh0PwVv7WTAnS CASJ+DkztZ+zdBdHkE5ySGHLweWaxYSn9wYFOZTOd1+2X/GIqleWL0t2qKUXKuIm05x1 XD+ihzvrgsf4WtLgovXnavnK3Kss0egKOqSrILddQ6w9aYIA89Qf3KQ0IBRjZU/jjNnr ilTrzLcsO3TGf6maqSB09rRrp2N2F9SGExa02E4XZA8XFxSXaz3tVmmpANBrwMV42FWO 1UhU7s00cTZVNu0KRDpk3vRmnmRtifFvYEXrJMIE0KxbKIj+kCV34pZbL2xa0M+FTvlj +vfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w37-20020a634925000000b0041203feea99si15239718pga.238.2022.07.13.07.05.56; Wed, 13 Jul 2022 07:06:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S235774AbiGMN1G (ORCPT + 99 others); Wed, 13 Jul 2022 09:27:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230206AbiGMN1F (ORCPT ); Wed, 13 Jul 2022 09:27:05 -0400 Received: from maillog.nuvoton.com (maillog.nuvoton.com [202.39.227.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4D2F32B9; Wed, 13 Jul 2022 06:27:02 -0700 (PDT) Received: from NTHCCAS04.nuvoton.com (NTHCCAS04.nuvoton.com [10.1.8.29]) by maillog.nuvoton.com (Postfix) with ESMTP id B89101C8117B; Wed, 13 Jul 2022 21:27:01 +0800 (CST) Received: from NTHCML01B.nuvoton.com (10.1.8.178) by NTHCCAS04.nuvoton.com (10.1.8.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 13 Jul 2022 21:27:01 +0800 Received: from NTHCCAS04.nuvoton.com (10.1.8.29) by NTHCML01B.nuvoton.com (10.1.8.178) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Wed, 13 Jul 2022 21:27:01 +0800 Received: from taln60.nuvoton.co.il (10.191.1.180) by NTHCCAS04.nuvoton.com (10.1.12.25) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Wed, 13 Jul 2022 21:27:00 +0800 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 3C65763A23; Wed, 13 Jul 2022 16:27:00 +0300 (IDT) From: Tomer Maimon To: , , , , , , , , , , , CC: , , , , Tomer Maimon Subject: [PATCH v3 0/2] iio: adc: npcm: add Arbel NPCM8XX support Date: Wed, 13 Jul 2022 16:26:38 +0300 Message-ID: <20220713132640.215916-1-tmaimon77@gmail.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,NML_ADSP_CUSTOM_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set adds Arbel NPCM8XX Analog-to-Digital Converter (ADC) support to ADC NPCM driver. The NPCM8XX ADC is a 12-bit converter for eight channel inputs. The NPCM ADC driver tested on NPCM845 evaluation board. Addressed comments from: - Andy Shevchenko : https://www.spinics.net/lists/kernel/msg4436806.html Changes since version 2: - Drop npcm_adc_info casting. Changes since version 1: - Modify dt-binding compatible property. - Use device_get_match_data function instead of_match_node function. Tomer Maimon (2): dt-bindings: iio: adc: npcm: Add npcm845 compatible string iio: adc: npcm: Add NPCM8XX support .../bindings/iio/adc/nuvoton,npcm750-adc.yaml | 7 ++-- drivers/iio/adc/npcm_adc.c | 35 +++++++++++++++---- 2 files changed, 33 insertions(+), 9 deletions(-) -- 2.33.0