Re: [PATCH v2 8/8] ARM: dts: mt8135: Add support for MT6397 regulator

From: Mark Brown
Date: Mon Dec 01 2014 - 06:17:39 EST


On Mon, Dec 01, 2014 at 11:19:25AM +0800, Flora Fu wrote:
> On Fri, 2014-11-28 at 15:30 +0000, Mark Brown wrote:

> > This appears to be the DT fragment for a SoC but you are defining the
> > system integration for the PMIC. That's bad, the PMIC is a separate
> > device so should be hooked up by the board using it. If there's common
> > elements from a reference design they should be in their own .dtsi.

> Do you mean that we should add a mt6397.dtsi and include it from
> mt8135.dtsi? For board specific, update them in mt8135.dtsi?

More likely you should just add any integration needed in the board
file. There should be no need to specify anything generically for the
regulators on a PMIC except registering the device.

Attachment: signature.asc
Description: Digital signature