HomeFreeBSD

regulator_fixed: Add a get_voltage method

Description

regulator_fixed: Add a get_voltage method

Some consumer cannot know the voltage of the regulator without it.
While here, refuse to attach is min_voltage != max_voltage, it
shouldn't happens anyway.

Reviewed by: mmel
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D23003

Details

Provenance
manuAuthored on
Reviewer
mmel
Differential Revision
D23003: regulator_fixed: Add a get_voltage method
Parents
rS356802: arm: allwinner: ahci: target-supply is optional
Branches
Unknown
Tags
Unknown