public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: Karan Sanghavi <karansanghvi98@gmail.com>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Florian Fainelli <florian.fainelli@broadcom.com>,
	Broadcom internal kernel review list
	<bcm-kernel-feedback-list@broadcom.com>,
	Ray Jui <rjui@broadcom.com>,
	Scott Branden <sbranden@broadcom.com>,
	devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	Shuah Khan <skhan@linuxfoundation.org>
Subject: Re: [PATCH] dt-bindings: soc: bcm: Convert to Dt schema
Date: Mon, 21 Oct 2024 22:11:54 +0100	[thread overview]
Message-ID: <20241021-handset-frolic-a910c4cb1669@spud> (raw)
In-Reply-To: <pyizqjpxjgd6zdrhh65fklmyrxgxmlu2wmv7tzpdhdkwh7ifn6@efvaxhpekxtb>

[-- Attachment #1: Type: text/plain, Size: 1004 bytes --]

On Mon, Oct 21, 2024 at 06:13:17PM +0000, Karan Sanghavi wrote:
> On Mon, Oct 21, 2024 at 12:39:28PM +0100, Conor Dooley wrote:
> > On Sat, Oct 19, 2024 at 07:51:18PM +0000, Karan Sanghavi wrote:
> > > +examples:
> > > +  - |
> > > +    #include <dt-bindings/power/raspberrypi-power.h>
> > 
> > What do you use from this header?
> >
> Example for power node
> power: power {
>         compatible = "raspberrypi,bcm2835-power";
>         firmware = <&firmware>;
>         #power-domain-cells = <1>;
>    };
> 
> Example for using the power domain
> 
> &usb {
>         power-domains = <&power RPI_POWER_DOMAIN_USB>;
>    };
> 
> We need the header for referring the power domain defines in the sub
> nodes.
> 
> I didn't understood exactly how should I include the usb example thus
> omitted it but if required can you please let me know how to add them.

There's usually no consumers in a provider binding example, and you have
not included one, so the header isn't needed.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

      reply	other threads:[~2024-10-21 21:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-19 19:51 [PATCH] dt-bindings: soc: bcm: Convert to Dt schema Karan Sanghavi
2024-10-21 11:39 ` Conor Dooley
2024-10-21 18:13   ` Karan Sanghavi
2024-10-21 21:11     ` Conor Dooley [this message]

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=20241021-handset-frolic-a910c4cb1669@spud \
    --to=conor@kernel.org \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=florian.fainelli@broadcom.com \
    --cc=karansanghvi98@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=rjui@broadcom.com \
    --cc=robh@kernel.org \
    --cc=sbranden@broadcom.com \
    --cc=skhan@linuxfoundation.org \
    /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