HomeFreeBSD

Refactor FDT part of gpioled driver

Description

Refactor FDT part of gpioled driver

  • Split driver in two parts: FDT and non-FDT
  • Instead of reattach gpioled nodes to GPIO bus use gpio_pin_get_by_ofw_idx and add ofwbus and simplebus as parrent buses

Reviewed by: loos
Differential Revision: https://reviews.freebsd.org/D8233

Details

Provenance
gonzoAuthored on Nov 7 2016, 9:15 PM
Parents
rGd30e308465d9: Fix include order as required post r308415
Branches
Unknown
Tags
Unknown

Event Timeline