From patchwork Fri Aug 12 03:22:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Ranostay X-Patchwork-Id: 12941882 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 3E183C25B06 for ; Fri, 12 Aug 2022 03:24:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=5gKeT3UzeOF46sOjrydz3fcz6WMM0y5ilUQO/RuQ9eY=; b=Dn5JY/ZvFq5gE6 WJT0K9J7USH3h3BVXsoOXIZ79UG/6DKGV6xBw/HrF1OD6ALJEQwFDjRs7X2hTmuquoTIxbNoUWzVj 35/xdtPe8UgTp0ZWFM68G1Zj02drqwS2qjR52TKainymDvdNo3nErCcO+5YtARkhlEqRGY0naq71s uCbJyTtUIy9Bui4APBnGEk02wpmKlNxbv+i5rROxNm0OU/xozbVwpkIJJPNjwhrfd2DZfj2CM24mN DVJucN17Xy5NhYcDEmPNbxYyydjj5JLSLY7O/txjkmI43t3gzwATGNjI2fI/3hnpg08SfZTK2gief v8mc+BZA1/RH09Edc6HA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oMLGM-00DJBo-02; Fri, 12 Aug 2022 03:23:06 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oMLGJ-00DINk-1N for linux-arm-kernel@lists.infradead.org; Fri, 12 Aug 2022 03:23:04 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 27C3Mu0C119184; Thu, 11 Aug 2022 22:22:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1660274576; bh=lNW3BqQa6fQK97rdDGIYSbO0YwDXxe23ONuU/uOYiSs=; h=From:To:CC:Subject:Date; b=Dl8fpbpaP/FIFBxXmmERg/kRzmvqM0r6IDj75DA78fwOuJuhcXqrqlNONy0I9vo3W 1gtY563s/fc2QHAU44hzkXKPndRN0LSn6ixfif8JaFA2/SUxdTxDXmEmMfV4gHL2uR eEgQ8yLkJbeowdXm4fT6IGKEtVODZB/JGpvH9nKY= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 27C3MuNE013572 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 11 Aug 2022 22:22:56 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Thu, 11 Aug 2022 22:22:55 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Thu, 11 Aug 2022 22:22:55 -0500 Received: from ubuntu.ent.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 27C3MkOq096105; Thu, 11 Aug 2022 22:22:48 -0500 From: Matt Ranostay To: , , CC: , , , , Matt Ranostay Subject: [PATCH v2 0/6] mfd: add tps6594x support for Jacinto platform Date: Thu, 11 Aug 2022 20:22:36 -0700 Message-ID: <20220812032242.564026-1-mranostay@ti.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220811_202303_223890_4821EB53 X-CRM114-Status: GOOD ( 13.48 ) 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 patchset series adds support for the TPS6594x PMIC along with initial support for its RTC, and poweroff sequence. Additionally, add usage of the PMIC for the various Jacintor platforms devicetree's. Changes from v1: * Corrected devicetree documentation issues found with dt-schema * Changed MFD references to PMIC reflecting the more valid use of driver * Cleaning up variable naming and ordering within functions * Adding gpio + regulator cells for upcoming driver support * Switching from .probe to .probe_new API * Revising comments within drivers to be more concise * Adding device tree nodes for j721s2 and j721e platforms Keerthy (3): MFD: TPS6594x: Add new PMIC device driver for TPS6594x chips rtc: rtc-tps6594x: Add support for TPS6594X PMIC RTC arm64: dts: ti: k3-j7200-common-proc-board: Add TPS6594x PMIC node Matt Ranostay (3): Documentation: tps6594x: Add DT bindings for the TPS6594x PMIC arm64: dts: ti: k3-j721e-common-proc-board: Add TPS6594x PMIC node arm64: dts: ti: k3-j721s2-common-proc-board: Add TPS6594x PMIC node .../devicetree/bindings/mfd/ti,tps6594x.yaml | 56 ++++++ .../dts/ti/k3-j7200-common-proc-board.dts | 16 ++ .../dts/ti/k3-j721e-common-proc-board.dts | 16 ++ .../dts/ti/k3-j721s2-common-proc-board.dts | 16 ++ drivers/mfd/Kconfig | 14 ++ drivers/mfd/Makefile | 1 + drivers/mfd/tps6594x.c | 121 ++++++++++++ drivers/rtc/Kconfig | 10 + drivers/rtc/Makefile | 1 + drivers/rtc/rtc-tps6594x.c | 181 ++++++++++++++++++ include/linux/mfd/tps6594x.h | 84 ++++++++ 11 files changed, 516 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/ti,tps6594x.yaml create mode 100644 drivers/mfd/tps6594x.c create mode 100644 drivers/rtc/rtc-tps6594x.c create mode 100644 include/linux/mfd/tps6594x.h