|
py-dtbindings
1.4.1
This python "lib" aim is to extract devicetree bindings informations.
|
This class represent a binding document. More...
Public Member Functions | |
| def | get_prop_by_name (self, name) |
| The clean way to retrieve a property from BindingProps. More... | |
| def | required (self) |
| The clean way to retrieve BindingProps._required. More... | |
| def | optional (self) |
| The clean way to retrieve BindingProps._optional. More... | |
Public Attributes | |
| file_name | |
| id | |
| schema | |
| maintainers | |
| title | |
| examples | |
Private Member Functions | |
| def | _init_allOf (self) |
| Init _refs. | |
| def | _init_Properties (self) |
| Init _props which is basically a BindingProps item. More... | |
Private Attributes | |
| _verbose | |
| _path | |
| _files_dict | |
| _content | |
| _file | |
| _refs | |
| _if | |
| _props | |
This class represent a binding document.
|
private |
Init _props which is basically a BindingProps item.
Exctract required list from _content and call BindingProps.add_required() function
| def bindings.Binding.get_prop_by_name | ( | self, | |
| name | |||
| ) |
The clean way to retrieve a property from BindingProps.
| name | Name of the desired props |
| def bindings.Binding.optional | ( | self | ) |
The clean way to retrieve BindingProps._optional.
| def bindings.Binding.required | ( | self | ) |
The clean way to retrieve BindingProps._required.
|
private |
Internal pointer on loaded yaml
|
private |
Internal file pointer
|
private |
Internal reference on all YAML path in root dir. Given by SDTBindings
|
private |
Internal reference on if node from allOf node (currently unused)
|
private |
Internal reference for path of the main file
|
private |
Internal reference on BindingProps containing properties information
|
private |
Internal reference on Binding included by $ref in allOf node
|
private |
Internal reference for printing debug level (0 to 3)
| bindings.Binding.examples |
If maintainers did some, you can find dts node examples here
| bindings.Binding.file_name |
The YAML file name represented by this class
| bindings.Binding.id |
Usually kernel.org link to this binding
| bindings.Binding.maintainers |
Maintainers of this bindings
| bindings.Binding.schema |
dt-schema used as base for this binding
| bindings.Binding.title |
Title of this bindings