All of lore.kernel.org
 help / color / mirror / Atom feed
* How to indicate both flag/phandle for same property in devicetree yaml ?
@ 2021-12-07  5:48 Kuninori Morimoto
  0 siblings, 0 replies; only message in thread
From: Kuninori Morimoto @ 2021-12-07  5:48 UTC (permalink / raw)
  To: Rob Herring, Frank Rowand, devicetree


Hi Rob, Frank
 
I'm not familiar with DT yaml,
but how to enable both flag and phandle on same property ?

For example, bitclock-master can be both flag/phandle.

	// flag style.
	// This driver is provider if it has flag.
	// (No flag means consumer)
	bitclock-master;

	// phandle style.
	// specified driver is provider
	bitclock-master = <&xxxx>

I tried many yamls, but all case will be error.
How to incicate both flag/phandle in this case ?

bitclock-master:
  description: Indicates dai-link bit clock master
  $ref: /schemas/types.yaml#/definitions/phandle
  $ref: /schemas/types.yaml#/definitions/flag


Best regards
---
Kuninori Morimoto

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-07  5:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-07  5:48 How to indicate both flag/phandle for same property in devicetree yaml ? Kuninori Morimoto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.