Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp1135708rdb; Wed, 16 Aug 2023 02:51:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEA7DSQCWRL+4YcR3UrFW+wUu6qNpNCjZNcFywMXj2jNamN6rPBZmeQXl2aBM1FyqX7gQV/ X-Received: by 2002:a2e:9606:0:b0:2b9:ac48:d7f5 with SMTP id v6-20020a2e9606000000b002b9ac48d7f5mr1103380ljh.39.1692179517375; Wed, 16 Aug 2023 02:51:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692179517; cv=none; d=google.com; s=arc-20160816; b=WlZwOSRXiVx4HhS6GZDETi02/VXkJqLjXLEUF7EiRQavYE2IB6ARZuYLctsrGX01IF MucwvI/qv0OYBGx6zuDa3n1ZNxxSuXmbVe3Fa9ytGwnuPSwFkcyfRs7bOXj7RHQB6ZqV DqAZlyWwgzQ2sC7nWN5/q/ihN2+ktGy+AQn77CerNYxtjXrYORSQPcu7aMIAm7DbN4Af tP81Zs47NytJUDuHqQbk/RQtiSRueOhmh7d7uCymBag9NfqFdyD4pFqX+p46OW4xvcNU JvrRaRKTOf39iVq5e9DOiI5b6X9Vmbi1rRRWsiujs9J8fDHDZrp2/rds+URHR4KEvK/H jC2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=HfqlQiitPgBlQ4HNxpp+CMyCFD5j8fu+c4C+gcmkE2s=; fh=5DXpi25Y2sPavqXnp+qKGPxlu5vqKyVAQRzSzzpHMas=; b=kqMI6cjLEbn7+O5ncV9y/4v9oiKWtDqg1now/nMb5+bV+/uI1pooFiGv9O2QEgv828 PUoITZXziwf/DQk1xbcAcY9/0wGrNW2UbcQ6gQ323+t82tsBHyFRd3mUwDSUCW+aCaf+ CjL0rhbp9xtM5CJOLJBJ7eizCdJqBYTZC8VGiEcW9V84sVOl8JnfAfsSd1kdPBALDE77 KVRRD08oGT1ZzSEcPeka/YRwIB9cRYP3hflCM1QSk9s98ds5OFwI/l0T60ghmsRkFepi KC1Am0WNVOtZd0nXloooDbEPd79SFDOkDm5TmzmtcbHl0vhtJwu2j/KthfOwr41w4qla BPZQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t2-20020a170906948200b0099bdfd4cc50si10489405ejx.830.2023.08.16.02.51.20; Wed, 16 Aug 2023 02:51:57 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242648AbjHPIEg (ORCPT + 99 others); Wed, 16 Aug 2023 04:04:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242538AbjHPIEc (ORCPT ); Wed, 16 Aug 2023 04:04:32 -0400 Received: from SHSQR01.spreadtrum.com (mx1.unisoc.com [222.66.158.135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D9C2109; Wed, 16 Aug 2023 01:04:30 -0700 (PDT) Received: from dlp.unisoc.com ([10.29.3.86]) by SHSQR01.spreadtrum.com with ESMTP id 37G839QM044059; Wed, 16 Aug 2023 16:03:10 +0800 (+08) (envelope-from Mingjin.Yang@unisoc.com) Received: from SHDLP.spreadtrum.com (shmbx06.spreadtrum.com [10.0.1.11]) by dlp.unisoc.com (SkyGuard) with ESMTPS id 4RQgYm0SPgz2PrQN4; Wed, 16 Aug 2023 16:01:00 +0800 (CST) Received: from xm9614pcu.spreadtrum.com (10.13.2.29) by shmbx06.spreadtrum.com (10.0.1.11) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Wed, 16 Aug 2023 16:03:07 +0800 From: Mingjin Yang To: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , , , , Orson Zhai , Baolin Wang , Chunyan Zhang , , , Subject: [PATCH V0 0/2] Add support for UMP serise pmic adc Date: Wed, 16 Aug 2023 16:02:23 +0800 Message-ID: <20230816080225.21482-1-mingjin.yang@unisoc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.13.2.29] X-ClientProxiedBy: SHCAS01.spreadtrum.com (10.0.1.201) To shmbx06.spreadtrum.com (10.0.1.11) X-MAIL: SHSQR01.spreadtrum.com 37G839QM044059 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Patch 1, add UMP518 pmic adc description and sample in dt-bindings. Patch 2, add UMP serise pmic adc driver, support both voltage and current mode. Mingjin Yang (2): dt-bindings: iio: adc: Add support for ump518 pmic adc iio: adc: sprd_pmic_adc: Add support for UMP serise pmic adc .../bindings/iio/adc/sprd,sc2720-adc.yaml | 2 + drivers/iio/adc/Kconfig | 10 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/sprd_pmic_adc.c | 1298 +++++++++++++++++ 4 files changed, 1311 insertions(+) create mode 100644 drivers/iio/adc/sprd_pmic_adc.c -- 2.17.1