lkml.org 
[lkml]   [2021]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1 5/6] dt-bindings: memory: tegra20: emc: Convert to schema
On Tue, Mar 30, 2021 at 06:32:20PM +0300, Dmitry Osipenko wrote:
> 30.03.2021 11:48, Krzysztof Kozlowski пишет:
> >> + nvidia,use-ram-code:
> >> + type: boolean
> >> + description:
> >> + If present, the emc-tables@ sub-nodes will be addressed.
> >> +
> >> +patternProperties:
> >> + "^emc-table@[0-9]+$":
> > This might not be easy but you should add constraints when emc-table and
> > emc-tables are expected. The schema should check if proper node is used
> > depending on "nvidia,use-ram-code".
> >
>
> I'm afraid this is not doable. If you have an example how to do this,
> please share it with me.
>
> I see that there is a "dependencies:", but it doesn't work with the
> patterns, IIUC.

That's correct.

Rob

\
 
 \ /
  Last update: 2021-03-31 00:37    [W:0.053 / U:3.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site