Implement DT bindings for regulators
The Linux kernel contains a regulator framework for instantiating and managing voltage regulators used during Dynamic Frequency and Voltage Scaling (DVFS) operations. ARM SOC ports currently hardcode board-specific regulator information in the board.c file. As part of the transition to using Device Tree for board initialisation, Linaro engineering will lead development of device tree bindings for this framework along with porting of device drivers and BSPs to using DT. This work includes:
* Developing DT bindings for regulators and helper functions to extract regulator_init_data from the device tree.
* Developing DT bindings for fixed voltage regulators
* Adapting regulator drivers to use DT bindings and APIs
* Updating DTS files for members LEBs to include regulator descriptions
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Medium
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- Rajendra Nayak
- Definition:
- Approved
- Series goal:
- Accepted for devtrack
- Implementation:
- Implemented
- Milestone target:
- 12.01
- Started by
- Deepak Saxena
- Completed by
- Deepak Saxena
Related branches
Related bugs
Sprints
Whiteboard
Meta:
Headline: DT support for regulators
Acceptance: Kernel can boot across all Linaro member LEBs with regulators fully described via device tree.
All patches are merged upstream.
Roadmap id: KWG2011-
Workitems for 2011.12:
[rnayak] Define generic regulator bindings, add regulator helpers: DONE
[rnayak] Adapt fixed voltage regulator driver to dt: DONE
[rnayak] Define a way to pass Linux specific regulator properties: DONE
[rnayak] Support/Fix issues found with patches now in for-next of regulator tree: DONE
Work Items
Dependency tree
* Blueprints in grey have been implemented.