Lines Matching full:binding
26 from devicetree.edtlib import Binding, bindings_from_paths, load_vendor_prefixes_txt
42 binding between the start and end commits. See subclasses
46 Compat2Binding = Dict[Compat, Binding]
47 Binding2Changes = Dict[Binding, List[BindingChange]]
153 for compat, binding in compat2binding.items():
154 ret[get_vnd(binding.compatible)][compat] = binding
165 for binding, changes in binding2changes.items():
166 ret[get_vnd(binding.compatible)][binding] = changes
183 for compat, binding in compat2binding_end.items():
193 ret[binding] = binding_changes
198 binding_start: Binding, argument
199 binding_end: Binding argument
201 '''Enumerate the changes to a binding given its start and end values.'''
230 binding_start: Binding, argument
231 binding_end: Binding argument
255 binding_start: Binding, argument
256 binding_end: Binding argument
267 binding_start: Binding, argument
268 binding_end: Binding argument
274 binding_start: Binding, argument
275 binding_end: Binding argument
281 binding_start: Binding, argument
282 binding_end: Binding, argument
292 binding_start: Binding, argument
293 binding_end: Binding, argument
303 binding_start: Binding, argument
304 binding_end: Binding, argument
314 binding_start: Binding, argument
315 binding_end: Binding, argument
325 binding_start: Binding, argument
326 binding_end: Binding, argument
336 binding_start: Binding, argument
337 binding_end: Binding, argument
362 '''Load a map from compatible to binding with that compatible,
383 bindings: List[Binding] = bindings_from_paths(
385 for binding in bindings:
386 compat = Compat(binding.compatible, binding.on_bus)
388 ret[compat] = binding
392 def compatible_sort_key(data: Union[Compat, Binding]) -> str: argument
421 lambda binding: f':dtcompatible:`{binding.compatible}`'
429 lambda binding: f'``{binding.compatible}``'
440 formatter: Callable[[Binding], str] argument
447 for binding, changes in binding2changes.items():
448 on_bus = f' (on {binding.on_bus} bus)' if binding.on_bus else ''
449 self.print(f' * :dtcompatible:`{binding.compatible}`{on_bus}:\n')
493 # binding(s) for it. We need to fix this in CI by