From patchwork Mon Sep 23 06:49:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 13809311 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 62AFACF9C6F for ; Mon, 23 Sep 2024 06:52:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=gKyhQILQ77RBZD3HbM9Skewft+v5CPRE8ew1QUqXqng=; b=C3hvBtuitrNP+FgFp4AdaYxd88 xA0lExJEJ/48U4bgDvm/qzSwjgGig93peRAf/wAAuWDDIbVbFfpVE7tuDR6NDXfJHwpJsDsGBIKx8 l1lVK/Bhx4oLgm8Lfsxaj35U0UbFaDhVIwk5JRBYLUYr3IziPd26TZiMm9EI8qGtpTf396+UeOC/x G3lPmnkBwaEpd0X8i9duC5NQwjyOclT0pvssM4uUPPu2y/O9n3b4yywZrbD5WbOoSzYRt8AEe28of nFNOOkNjhbkwtISHquIKMOALlh30KVK8IwuXN118aNf+zaE5pbMMaM3zyQvBmpWC/e4cY+1GhqUi5 /XnzJtXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sscwC-0000000GSJI-2q7M; Mon, 23 Sep 2024 06:52:48 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sscuJ-0000000GRy9-189E for linux-arm-kernel@lists.infradead.org; Mon, 23 Sep 2024 06:50:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1727074252; x=1758610252; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=VwINCGRlGQnR0rRp781X14ZquLX22Qk6e/b9LdO7DbM=; b=vtxyKclPZWOVq2tbm/7fkZ/K5hn6WZhH3RbiIOH0Sy7b2B9qhn+T8fvV OihELLNS5YPil/pOA7jkexCtKd74IdfEqG+Q2ZytIs7+0Y9OfbQDIJiq+ gyfxaoUduXoLPhMUS5Xpxn9nffxqsB5orPcqMErSD5ud/NlVvsr0J8qA2 R4CBpLvm3/2ELRZno6TyyezemOEYtie9H4mZ0E6srIt3YRhxqBJszmDSv 2pbO0UZ7Kv7pm4+DB7CAzXY2kCCsZnkItpBa7BmXwoja1FNKxWP023M/+ xXEWVtCZvKW6HQBMYB4nmsAbOk7j0IzTSunlmnojDOtTDT6m55wWYbkeX A==; X-CSE-ConnectionGUID: nbowMA2OSLiJEr3vdSwxZA== X-CSE-MsgGUID: ICsVmeOVSXKAc9BCkLGwHQ== X-IronPort-AV: E=Sophos;i="6.10,250,1719903600"; d="scan'208";a="263115654" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 22 Sep 2024 23:50:51 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.35; Sun, 22 Sep 2024 23:50:06 -0700 Received: from archlinux.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Sun, 22 Sep 2024 23:50:03 -0700 From: Mihai Sain To: , , , , , , , , , CC: Mihai Sain Subject: [PATCH 0/5] Add power monitor support on Microchip boards Date: Mon, 23 Sep 2024 09:49:27 +0300 Message-ID: <20240923064932.5797-1-mihai.sain@microchip.com> X-Mailer: git-send-email 2.46.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240922_235051_331647_3F3C72B0 X-CRM114-Status: UNSURE ( 7.28 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series adds power monitor support using PAC1934 on Microchip boards. [root@sama7g5 ~]$ lsiio Device 001: pac1934 Device 000: e1000000.adc [root@sama7g5 ~]$ awk -f pac1934.awk VDD3V3 current: 161.747 mA, voltage: 3300.29 mV VDDIODDR current: 72.616 mA, voltage: 1346.68 mV VDDCORE current: 249.84 mA, voltage: 1204.59 mV VDDCPU current: 68.4628 mA, voltage: 1301.27 mV Mihai Sain (5): ARM: dts: microchip: sam9x60ek: Add power monitor support ARM: dts: microchip: sama5d2_icp: Add power monitor support ARM: dts: microchip: sama7g54_curiosity: Add power monitor support ARM: dts: microchip: sama7g5ek: Add power monitor support ARM: configs: at91: enable PAC1934 driver as module .../arm/boot/dts/microchip/at91-sam9x60ek.dts | 31 +++++++++++++++++++ .../boot/dts/microchip/at91-sama5d2_icp.dts | 31 +++++++++++++++++++ .../dts/microchip/at91-sama7g54_curiosity.dts | 31 +++++++++++++++++++ .../arm/boot/dts/microchip/at91-sama7g5ek.dts | 31 +++++++++++++++++++ arch/arm/configs/at91_dt_defconfig | 1 + arch/arm/configs/sama5_defconfig | 1 + arch/arm/configs/sama7_defconfig | 1 + 7 files changed, 127 insertions(+) base-commit: de5cb0dcb74c294ec527eddfe5094acfdb21ff21