linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Mithil Bavishi <bavishimithil@gmail.com>
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
Date: Mon, 22 Aug 2022 14:24:50 -0500	[thread overview]
Message-ID: <20220822192450.GA297299-robh@kernel.org> (raw)
In-Reply-To: <20220820071659.1215-6-bavishimithil@gmail.com>

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 <contact@paulk.fr>
> Signed-off-by: Mithil Bavishi <bavishimithil@gmail.com>
> ---
>  .../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

  reply	other threads:[~2022-08-22 19:31 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-20  7:16 [PATCH 00/10] Add TWL6030 power off and powerbutton support Mithil Bavishi
2022-08-20  7:16 ` [PATCH 01/10] power: reset: Move TWL4030 power driver from mfd Mithil Bavishi
2022-09-06 15:13   ` Lee Jones
2022-08-20  7:16 ` [PATCH 02/10] dt-bindings: power: reset: Move twl4030-power from mfd to power/reset Mithil Bavishi
2022-08-22 19:23   ` Rob Herring
2022-09-06 15:13   ` Lee Jones
2022-08-20  7:16 ` [PATCH 03/10] power: reset: Add TWL6030 power driver, with minimal support for power off Mithil Bavishi
2022-09-11 12:55   ` Sebastian Reichel
2022-08-20  7:16 ` [PATCH 04/10] dt-bindings: input: twl-pwrbutton: Add support for twl6030-pwrbutton Mithil Bavishi
2022-08-22 19:25   ` Rob Herring
2022-08-20  7:16 ` [PATCH 05/10] dt-bindings: power: reset: Add bindings for twl6030-power Mithil Bavishi
2022-08-22 19:24   ` Rob Herring [this message]
2022-08-20  7:16 ` [PATCH 06/10] ARM: OMAP2+: Only select TWL4030_POWER for OMAP3 Mithil Bavishi
2022-08-20  7:16 ` [PATCH 07/10] ARM: OMAP2+: Select TWL6030_POWER for OMAP4 Mithil Bavishi
2022-08-20  7:16 ` [PATCH 08/10] input: misc: Rename twl4030_pwrbutton to twl_pwrbutton Mithil Bavishi
2022-08-20  7:16 ` [PATCH 09/10] dt-bindings: input: Rename twl4030-pwrbutton to twl-pwrbutton Mithil Bavishi
2022-08-22 19:26   ` Rob Herring
  -- strict thread matches above, loose matches on Subject: below --
2023-06-14  9:13 [PATCH 05/10] dt-bindings: power: reset: Add bindings for twl6030-power Mithil
2023-06-14 13:30 ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220822192450.GA297299-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=bavishimithil@gmail.com \
    --cc=contact@paulk.fr \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=lee@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=sre@kernel.org \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).