Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3915491ioo; Mon, 30 May 2022 12:48:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyG9tOcg8m18qMFu+BdFBTLn9gxXZHm9RHsIEGTt6PNiQv/KE+aaND6AEGQ89yZF1aej0fK X-Received: by 2002:a05:6402:4410:b0:427:ab6f:a39a with SMTP id y16-20020a056402441000b00427ab6fa39amr60803106eda.120.1653940138498; Mon, 30 May 2022 12:48:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653940138; cv=none; d=google.com; s=arc-20160816; b=oZ/q4Jw9LgR49yCftzuM+a33JMxYV86TSTrO0OXoJJ3Q4M0etzyuPaJVB3RT+IJFPl 1plnC6MTDL97iz8NplZf0sMIYWQsGRPRINAZQx5O89PBwcGdhQExE9hMNgv80AGwoHZX rw2wBX9XKyIMiRgyPHbzBYhh+rO2uVLd/W64D4BhCvP5tFqDNub/JGQHKJKuiL53p9Kk Ep9bhn71SsUijDMXuquUti6P06BtnXACSSzzCLN+hrMW6MV3xa7hsgCQY0wL6sft/RAD 4oYpVGHDRzq9bpN+Zuzky+j8qQOvCwoUKA034GJBPU76dQuRD1noNhgu9IuE0/EVu5YV 5Dsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=BpvW+1CARD+2Wstf+Sys867YHgDzTT59BSksht6v+S4=; b=iUQP++bkA6yK+9sws4xa+rGOgeWdqsoWUGnLnLtXoCzy1zEfwdO3VTA2j0WDhX08NF wtdHpyYFOncKEUQvD8QOja92EIrcAzO6pe8Dq+v5zIHa1M2Mdg5MTfCjVc2V+DGbcpe0 g3Md4PzqGTyo5T4FUqDz/PtceuKcbUF/zLjve1guMsSwY7vM8u04f66n/bQP6yFShKPZ 3D45lXG2Tk57TsGelQtQom3Y+qnKWP/QyM8rILmDQkXyjCgQ7kDjXnmVBdD05q3/+WDO hmLwbw7fGaHGxI0CrHEmzJZw970ldtukUSkcY9M7zgs+EWkYo4eUmeiyyjVseM1Vwztl i5EQ== 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 gs19-20020a1709072d1300b006ff288d1c02si13059277ejc.805.2022.05.30.12.48.32; Mon, 30 May 2022 12:48:58 -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 S232931AbiE3JWp (ORCPT + 99 others); Mon, 30 May 2022 05:22:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231430AbiE3JWn (ORCPT ); Mon, 30 May 2022 05:22:43 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB47074DDE for ; Mon, 30 May 2022 02:22:41 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nvbbe-0003jF-JB; Mon, 30 May 2022 11:22:34 +0200 Received: from [2a0a:edc0:0:1101:1d::28] (helo=dude02.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1nvbbf-005QNi-6l; Mon, 30 May 2022 11:22:33 +0200 Received: from mfe by dude02.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1nvbbd-0038uF-67; Mon, 30 May 2022 11:22:33 +0200 From: Marco Felsch To: p.zabel@pengutronix.de, robh+dt@kernel.org, krzk+dt@kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, Marco Felsch Subject: [PATCH v2 1/2] dt-bindings: reset: Add TPS380x documentation Date: Mon, 30 May 2022 11:22:25 +0200 Message-Id: <20220530092226.748644-1-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Add device-tree binding documentation for the tps380x reset driver. The binding uses enum to make it easy to add more devices from that family. Signed-off-by: Marco Felsch Reviewed-by: Krzysztof Kozlowski --- Changelog: v2: - added Krzysztof rb .../bindings/reset/ti,tps380x-reset.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/ti,tps380x-reset.yaml diff --git a/Documentation/devicetree/bindings/reset/ti,tps380x-reset.yaml b/Documentation/devicetree/bindings/reset/ti,tps380x-reset.yaml new file mode 100644 index 000000000000..afc835eda0ef --- /dev/null +++ b/Documentation/devicetree/bindings/reset/ti,tps380x-reset.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/ti,tps380x-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI TPS380x reset controller node bindings + +maintainers: + - Marco Felsch + +description: | + The TPS380x family [1] of supervisory circuits monitor supply voltages to + provide circuit initialization and timing supervision. The devices assert a + RESET signal if the voltage drops below a preset threshold or upon a manual + reset input (MR). The RESET output remains asserted for the factory + programmed delay after the voltage return above its threshold or after the + manual reset input is released. + + [1] https://www.ti.com/product/TPS3801 + +properties: + compatible: + enum: + - ti,tps3801 + + reset-gpios: + maxItems: 1 + description: Reference to the GPIO connected to the MR pin. + + "#reset-cells": + const: 0 + +required: + - compatible + - reset-gpios + - "#reset-cells" + +additionalProperties: false + +examples: + - | + #include + reset: reset-controller { + compatible = "ti,tps3801"; + #reset-cells = <0>; + reset-gpios = <&gpio3 2 GPIO_ACTIVE_LOW>; + }; +... -- 2.30.2