Re: [PATCH RFC v4 1/6] dt-bindings: iio: add Open Sensor Fusion device

From: Kim Jinseob

Date: Sun Jun 14 2026 - 19:04:37 EST


2026년 6월 15일 (월) 오전 2:55, Jonathan Cameron <jic23@xxxxxxxxxx>님이 작성:
>
> On Wed, 10 Jun 2026 18:33:54 +0900
> Kim Jinseob <kimjinseob88@xxxxxxxxx> wrote:

> When a device needs power, the regulator is required, not optional from a binding
> point of view. If it is always one people can use a fixed regulator to represent it.
>
> Now from a driver point of view, the regulator framework in linux provides stub regulators
> for missing ones - on assumption they are always on. So we can just request the
> regulators in the driver. Keep it simple for now and use a
> devm_regulator_get_enable() in probe so we have power on for all the time
> the driver is loaded. Can do fancy stuff later when you have a board where the
> power is controlled.

Understood, thanks.

I will make vcc-supply a required property in the binding and use
devm_regulator_get_enable() in probe in the next revision, keeping the
power handling simple for now.

Jinseob