D | gen_devicetree_rest.py | 6 devicetree bindings. 42 def __init__(self, vendor_prefixes, bindings): argument 44 self.vnd2bindings = self.init_vnd2bindings(bindings) 50 def bindings(self, vnd, default=None): member in VndLookup 84 def init_vnd2bindings(self, bindings): argument 85 # Take a 'vnd2vendor' map and a list of bindings and return a dict 86 # mapping 'vnd' vendor prefixes prefixes to lists of bindings. The 87 # bindings in each list are sorted by compatible. The keys in the 92 # - The 'None' key maps to bindings with no vendor prefix 94 # - The (UNKNOWN_VENDOR,) key maps to bindings whose compatible [all …]
|