Re: [PATCH v12 1/4] dt-bindings: msm: disp: add yaml schemas for DPU bindings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting mkrishn@xxxxxxxxxxxxxx (2021-03-04 04:36:05)
> On 2021-02-27 01:15, Stephen Boyd wrote:
> > Quoting Krishna Manikandan (2021-02-12 02:49:57)
> >> +
> >> +    soc {
> >> +      #address-cells = <2>;
> >> +      #size-cells = <2>;
> > 
> > I think we can drop the soc node from the examples.
> Hi Stephen,
> 
> In latest dt schema, there is a rule that we have to specify the address 
> and size cells or else it will take default value of 1 for both. If we 
> use these default values, dt binding check will throw error as display 
> uses 2 address cells and 2 size cells. That's why soc node was added to 
> specify the values for mdss node.
> 

Do you need to use both cells in the example? Presumably the second cell
is all zero, so it's useless. The example doesn't have to have both
cells in the reg property, that can be fixed up when writing the DT for
a particular SoC.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux