Namespaces

Enumerations

enum class RegisterType : uint8_t
Name Value Comments
kMmio 0

Default. Parsed by the mmio visitor.

kI2c 1

Register used to represent i2c device address.

kSpi 2

Register used to represent spi device address.

kSpmi 3

Register used to represent spmi target id and device registers (sub target id).

Represents who provides the `reg` property for this node. This information will be set and used

by the visitors. By default `reg` property of all nodes are considered mmio.

Defined at line 46 of file ../../sdk/lib/driver/devicetree/manager/node.h

Records

Functions

  • zx::result<std::unique_ptr<VisitorRegistry>> LoadVisitors (const std::optional<std::vector<fuchsia_driver_framework::NodeSymbol>> & symbols)

    Find all devicetree visitor shared libraries under the incoming namespace's

    `/pkg/lib/visitors` directory. Instantiate all visitor objects and return a

    registry of visitors which includes the default devicetree visitors.

    Defined at line 17 of file ../../sdk/lib/driver/devicetree/visitors/load-visitors.cc