How to indicate both flag/phandle for same property in devicetree yaml ?

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

 



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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux