[PATCH] dt-bindings: soc: bcm: Convert to Dt schema

Conor Dooley conor at kernel.org
Mon Oct 21 14:11:54 PDT 2024


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20241021/e6bace72/attachment.sig>


More information about the linux-arm-kernel mailing list