From patchwork Wed Nov 23 05:35:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Ranostay X-Patchwork-Id: 13053062 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 00050C433FE for ; Wed, 23 Nov 2022 05:37:14 +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:References:In-Reply-To: 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: List-Owner; bh=ZmOuo2jVKhQMkS4ttc3x7fIoDtzPVAy1F4+oNwKOfuY=; b=Z8dIkg1bn7lR1g Hd2BqQAi0Bni0KjtM/FCDKbuqmpX+w5EEYAcNJ8cMbd5KLbgs4//dfyqE5NU/QN3iobDKKCaR07p3 n9qI/URDoVXiJ78Uxuy20HfFG/5cCt54340h9sgq6l1SD2aqd5CmSPCDX/BRIbtgXQn05D7wXa/sV OOndKstzXBWkeMMNqkjoJ4mGEV1nHj4LKa0z3/GLEQfP1WiUtpltINkH53E064sT/a6no/mCUj1kl URVzR3HVFE8xufjFxAmytohbG1lgXrsi0GWn8U3il6bvkWnC3/ZszKo9hGJwFhRSRHFRbQ8dkd/ux w7p0nSL2JUSnPhLyJx3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oxiQd-00EKZs-Ng; Wed, 23 Nov 2022 05:36:11 +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 1oxiQF-00EKP6-NJ for linux-arm-kernel@lists.infradead.org; Wed, 23 Nov 2022 05:35:49 +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 2AN5ZfVO069638; Tue, 22 Nov 2022 23:35:41 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1669181741; bh=gtv691NYVsk28aiaN9x+rwnIaXxKLu3uYt/E+Q7kN6I=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=BpIJeO2pZ42hJEy9CW+9MLKnbJf8SbCeSBknQZI7xDiCesEzMnRITGQZrKYXf6I7E 6wshFVGMfIBhFz9ozBdxB+cXVZ8xRTxr64kv5XlFkB8JmnPwUZ4DIvt/fwBToDSZ8O bL9GIMl4texVlTTZnH9XD/Ox73FcUbWTyBZPCU4o= Received: from DFLE110.ent.ti.com (dfle110.ent.ti.com [10.64.6.31]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2AN5ZfJw009670 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 22 Nov 2022 23:35:41 -0600 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Tue, 22 Nov 2022 23:35:40 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Tue, 22 Nov 2022 23:35:40 -0600 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2AN5ZbBF119209; Tue, 22 Nov 2022 23:35:39 -0600 From: Matt Ranostay To: , , , , , , , CC: , , , , Matt Ranostay Subject: [PATCH v5 1/4] dt-bindings: mfd: ti,tps6594: add TPS6594 PMIC support Date: Tue, 22 Nov 2022 21:35:09 -0800 Message-ID: <20221123053512.1195309-2-mranostay@ti.com> X-Mailer: git-send-email 2.38.GIT In-Reply-To: <20221123053512.1195309-1-mranostay@ti.com> References: <20221123053512.1195309-1-mranostay@ti.com> 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-20221122_213547_890682_5B6CA838 X-CRM114-Status: GOOD ( 11.80 ) 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 Add documentation for the TPS6594 PMIC including its RTC and GPIO functionalities. Signed-off-by: Matt Ranostay Reviewed-by: Tony Lindgren --- .../devicetree/bindings/mfd/ti,tps6594.yaml | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/ti,tps6594.yaml diff --git a/Documentation/devicetree/bindings/mfd/ti,tps6594.yaml b/Documentation/devicetree/bindings/mfd/ti,tps6594.yaml new file mode 100644 index 000000000000..0de0db87dbf7 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/ti,tps6594.yaml @@ -0,0 +1,69 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/ti,tps6594.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TPS6594 Power Management Integrated Circuit (PMIC) + +description: | + TPS6594 Power Management Integrated Circuit (PMIC) + https://www.ti.com/lit/ds/symlink/tps6594-q1.pdf + +maintainers: + - Keerthy + +properties: + compatible: + enum: + - ti,tps6594 + + reg: + const: 0x48 + + ti,system-power-controller: + type: boolean + description: PMIC is controlling the system power. + + rtc: + type: object + $ref: /schemas/rtc/rtc.yaml# + unevaluatedProperties: false + properties: + compatible: + const: ti,tps6594-rtc + + gpio: + type: object + unevaluatedProperties: false + properties: + compatible: + const: ti,tps6594-gpio + +additionalProperties: false + +required: + - compatible + - reg + +examples: + - | + i2c0 { + #address-cells = <1>; + #size-cells = <0>; + + pmic: pmic@48 { + compatible = "ti,tps6594"; + reg = <0x48>; + + rtc { + compatible = "ti,tps6594-rtc"; + }; + + gpio { + compatible = "ti,tps6594-gpio"; + }; + }; + }; + +...