Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3986431ioo; Wed, 25 May 2022 12:10:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6Ld+yCz3iuFehXJKVxLobHwTvjqvTwTmAKw4pgSUHpqyyLQByLHauZ5JNTs8Sdbytndo8 X-Received: by 2002:a17:90a:b78d:b0:1d9:4f4f:bc2a with SMTP id m13-20020a17090ab78d00b001d94f4fbc2amr12004797pjr.155.1653505828744; Wed, 25 May 2022 12:10:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653505828; cv=none; d=google.com; s=arc-20160816; b=SHP1dH1uA6tvPkRZeQz+3LRv8vj6A/fHMrS+dCxSqBaKDVTz6BG6H3fUEx7hMFiwrX mIbj4R2ktIar+85iJ5ze/tHuSVrcINlMrh3aLgThYpgRiGHME/g6Rm0cfIOWZnsbPkog s5e8PqqeZ2n8W8GdCv5vkqHM1DAXHDRb0FCHP7ruzOY0io2B/4jBG8VQaOb94yXetTEC 7orLDuM/gptu6XlfXzxt1LfDrYXLsdeElNdv8fpwqTrRP9Mm+xK/kH2dMaXM9YL9BANF p91EUXAY620vwg1yfwjuiJOFiszPiDbdPwU13AgOXR7oNb1lkJfUgiwCtfxeFz3XcTT/ NI2g== 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=bCFqohIVWQrqP3Is9P96DyQfuY1Cci6sdGiJlcGTqW0=; b=aq3e4ddYNMQDDD5n9bwsv0n15ugw6B6YHTp5XpUVC2RYaaaeA8kjnlYSqZ+xy+/ypA GWiP4awCzKuCxH6bEmM6rVboKnySTB1XJ6sfuoS5U6JYNe8SOQcs7z9GNCevsPgjTL3u lIkiUxzwLztm7Zlp6URxd+y4lwf2nwHr8HuHNYKfZ9df5wdMrd2emUuaFfmPStuIj+nv m4DPAicYCNjoAO4sYO+ZDLeeLuDt0FNkIGW/70am21QwjEFoQDiR7FKeNe6W2+FKA9nU lFQJVwUAb8f4+qIK9JO3YuyJTHB6AjPzthvImqHJmKDI+NznlGsZD3DUI63bJYlUe9jx tTPg== 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 m17-20020a170902bb9100b0015ea266647fsi17409703pls.394.2022.05.25.12.10.16; Wed, 25 May 2022 12:10:28 -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 S240448AbiEYOU6 (ORCPT + 99 others); Wed, 25 May 2022 10:20:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233911AbiEYOU4 (ORCPT ); Wed, 25 May 2022 10:20:56 -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 2A7FCA30A2 for ; Wed, 25 May 2022 07:20:55 -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 1ntrsV-0007o9-N1; Wed, 25 May 2022 16:20:47 +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 1ntrsW-004U3i-9t; Wed, 25 May 2022 16:20:46 +0200 Received: from mfe by dude02.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1ntrsU-00FAwM-5x; Wed, 25 May 2022 16:20:46 +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 1/2] dt-bindings: reset: Add TPS380x documentation Date: Wed, 25 May 2022 16:20:19 +0200 Message-Id: <20220525142019.3615253-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 --- .../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