devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* DT schemas for multi-transport bindings
@ 2019-10-25 20:43 Dmitry Torokhov
  2019-10-30 13:19 ` Rob Herring
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Torokhov @ 2019-10-25 20:43 UTC (permalink / raw)
  To: Rob Herring; +Cc: DTML

Hi Rob,

I am trying to wrap my mind around converting multi-transport bindings
(let's say TSC2004/5 controller which is pretty much the same part, but
one is I2C while another is SPI interface). There is a set of common
properties, and then we can have transport-specific ones (for example,
spi-max-frequency for SPI case). Is it possible to annotate that some
properties are only needed for certain compatible, similarly to how
patternProperties work (but instead of matching node name we'd match on
compatible)?

Also, from syntax POV, how do I reference file ooutside of current
directory? I.e. how do I reference .../spi/spi-controller.yaml from
.../input/touchscreen/tsc2005.yaml?

Thanks.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-10-31  1:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-25 20:43 DT schemas for multi-transport bindings Dmitry Torokhov
2019-10-30 13:19 ` Rob Herring
2019-10-30 23:18   ` Dmitry Torokhov
2019-10-31  1:13     ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).