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:
signature.asc
Description: PGP signature