From mboxrd@z Thu Jan 1 00:00:00 1970 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 0A4F0C28D13 for ; Mon, 22 Aug 2022 20:12:18 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5BVHwaXUiiFPp8DC94UaCxgUdAHobjIKl8mKW7OTIUY=; b=Wi/LHWHWu0+99M os2QpLZZzPHExWJIZsXBmLwKZSvgDGL6XWIf3hS+tD5yAt4VSsZVRtQL+JMsuC4cBeZ6pZPa+EAxE RXZCsZBoXNTxipMZDB3BpK7B2TNLjx47JtdFsD7yDhqMpWR0+8Wr4U6Ja4UuGKFZOsZmKwNX7pmXD leTTQ0VCyPfcBUB1PMT9yn8hZUFUb75RqhjkXq1e8BC1Yswfmp8lG2k81tQ08F86Fxyu+z5lEwkRu kMzSiqg4gh+5dAN5vBtgm02Gx+VmzaghkfCdR0jBHjGkfsoFTJl+oDRovOvSfw7EHCHaFlGFkbKUw AFDS3zYBJcq3YAkgpQEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oQDkg-00EPXv-RL; Mon, 22 Aug 2022 20:10:27 +0000 Received: from mail-oa1-f43.google.com ([209.85.160.43]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oQD2b-00E184-0m for linux-arm-kernel@lists.infradead.org; Mon, 22 Aug 2022 19:24:54 +0000 Received: by mail-oa1-f43.google.com with SMTP id 586e51a60fabf-11d08d7ece2so7405245fac.0 for ; Mon, 22 Aug 2022 12:24:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=aqQ8EKilZNTR/MiCMHbW5S0C4/ZNQc/wn/QhlT3yNkA=; b=iYArc5ivNdOkxmWrpllv3wYyskJVwyeEk981FZ9MmlcmT0Y4oAEdXOivSjGSb7v62U QC4nAStWTN5s1Prui5AA+BHCJCYWQGfekCK7FbLEJdX9hP0BFdy+1W128Kbx8NuYhzhW P+eNl6T5TSH8ed6Jnve4B51BXl7jNJTvacCD8zB0CU2OG2ilxv+4xrDNaqC6Ra9flNrE hX6G5Pvb6cPPql03ENdYbFCK4dzXWNh2q38Egi9tUxlo2MfvMGqNZIyXknZiZQEFxFmd x9nCITPF0ikSU87qPVH0uFnA2UXQ/3qRtQola5DqUTs2FoaBiwCPayjhuM+VHh3rTK8P z5NA== X-Gm-Message-State: ACgBeo0R3KII+iAVki0CPyqw4xFOa7Chgjd/UBbpCsMoJs05LGR5QGcB N9ejg8zfBcK4sPIq5x4VqA== X-Google-Smtp-Source: AA6agR6WVI+/ceHbcBFR3xERiwrg/JO0+C7B4r7ga9Jn2f2JU+p2NFgk5jKwJ+rdMDIxRELPayZTxg== X-Received: by 2002:a05:6870:5591:b0:10e:20d0:b2cb with SMTP id n17-20020a056870559100b0010e20d0b2cbmr13027000oao.12.1661196292263; Mon, 22 Aug 2022 12:24:52 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id w9-20020a0568080d4900b00334c2e81dfbsm2802210oik.0.2022.08.22.12.24.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Aug 2022 12:24:51 -0700 (PDT) Received: (nullmailer pid 306067 invoked by uid 1000); Mon, 22 Aug 2022 19:24:50 -0000 Date: Mon, 22 Aug 2022 14:24:50 -0500 From: Rob Herring To: Mithil Bavishi Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dmitry.torokhov@gmail.com, krzysztof.kozlowski+dt@linaro.org, lee@kernel.org, sre@kernel.org, tony@atomide.com, linux@armlinux.org.uk, contact@paulk.fr Subject: Re: [PATCH 05/10] dt-bindings: power: reset: Add bindings for twl6030-power Message-ID: <20220822192450.GA297299-robh@kernel.org> References: <20220820071659.1215-1-bavishimithil@gmail.com> <20220820071659.1215-6-bavishimithil@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220820071659.1215-6-bavishimithil@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220822_122453_149055_F68B4C4B X-CRM114-Status: GOOD ( 20.55 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, Aug 20, 2022 at 12:46:55PM +0530, Mithil Bavishi wrote: > Adds documentation for the twl6030 power driver. > > Signed-off-by: Paul Kocialkowski > Signed-off-by: Mithil Bavishi > --- > .../bindings/power/reset/twl6030-power.txt | 31 +++++++++++++++++++ New bindings must be DT schema format. > 1 file changed, 31 insertions(+) > create mode 100644 Documentation/devicetree/bindings/power/reset/twl6030-power.txt > > diff --git a/Documentation/devicetree/bindings/power/reset/twl6030-power.txt b/Documentation/devicetree/bindings/power/reset/twl6030-power.txt > new file mode 100644 > index 000000000..946bb3d9f > --- /dev/null > +++ b/Documentation/devicetree/bindings/power/reset/twl6030-power.txt > @@ -0,0 +1,31 @@ > +Texas Instruments TWL family (twl6030) reset and power management module > + > +For now, the binding only supports the complete shutdown of the system after > +poweroff. > + > +Required properties: > +- compatible : must be > + "ti,twl6030-power" > + > +Optional properties: > + > +- ti,system-power-controller: This indicates that TWL6030 is the We have a generic property for this. > + power supply master of the system. With this flag, the chip will > + initiate an ACTIVE-to-OFF or SLEEP-to-OFF transition when the > + system poweroffs. > + > +Example: > +&i2c1 { > + clock-frequency = <2600000>; > + > + twl: twl@48 { > + reg = <0x48>; > + interrupts = <7>; /* SYS_NIRQ cascaded to intc */ > + interrupt-parent = <&intc>; > + > + twl_power: power { > + compatible = "ti,twl6030-power"; > + ti,system-power-controller; Why do you need a child node here? There aren't any resources for the sub-block. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel