From patchwork Mon Feb 20 12:32:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: marius.cristea@microchip.com X-Patchwork-Id: 655562 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF8F3C05027 for ; Mon, 20 Feb 2023 12:33:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229579AbjBTMc7 (ORCPT ); Mon, 20 Feb 2023 07:32:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230257AbjBTMc7 (ORCPT ); Mon, 20 Feb 2023 07:32:59 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56FA776A7; Mon, 20 Feb 2023 04:32:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1676896376; x=1708432376; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=vgSCEUc8iWaLUJXuISUE4WfvVHLMArLiY4LlOtGKzjE=; b=CeVYdhKqQX68jyRF9UBPb1yetaHoIyGVK5YUeJmex3hQKdNRmhHBYp6D oiru2zM86xdfNjwL9VZ41HyIG7jsNbRmoF8kMs8DNMBm+Tf7v+A6ZhirW X3Bx+ABbmp8qhYJNz0xlJ1m4P2vSThqzADqOAZcJjgR+os5uASi3v2Cd8 Hgwcy6jFh6TKgHCtsk7xwEbad0JcbKV6FUOdm1VtIrw/b2oyioZblZpi5 hSjDRMkTFsWph94G45J70Jsr/PCoe1AL2p4uzyMUxwVg15s4qVSfrxJOr fKmN+3Bf2GnX8AfjwPQZs0NIglClQR4bL+9gQl/BcZLCSruh443nN7Tbl g==; X-IronPort-AV: E=Sophos;i="5.97,312,1669100400"; d="scan'208";a="201422084" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 20 Feb 2023 05:32:55 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 20 Feb 2023 05:32:51 -0700 Received: from marius-VM.mshome.net (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Mon, 20 Feb 2023 05:32:50 -0700 From: To: , , CC: , , , Subject: [PATCH v1 0/2] adding support for Microchip PAC193X Power Monitor Date: Mon, 20 Feb 2023 14:32:30 +0200 Message-ID: <20230220123232.413029-1-marius.cristea@microchip.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Marius Cristea Adding support for Microchip PAC193X series of Power Monitor with Accumulator chip family. Differences related to previous patch: v1: - first version comitted to review Marius Cristea (2): dt-bindings: iio: adc: adding dt-bindings for PAC193X iio: adc: adding support for pac193x .../bindings/iio/adc/microchip,pac193x.yaml | 122 + MAINTAINERS | 7 + drivers/iio/adc/Kconfig | 12 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/pac193x.c | 2072 +++++++++++++++++ 5 files changed, 2214 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/microchip,pac193x.yaml create mode 100644 drivers/iio/adc/pac193x.c