From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: [PATCH v3 2/2] mfd: tps65218.c: Add input voltage options Date: Wed, 16 Jan 2019 14:13:36 +0000 Message-ID: <20190116141336.GG23399@dell> References: <1546523226-358-1-git-send-email-Christian.Hohnstaedt@wago.com> <1547453794-18770-3-git-send-email-Christian.Hohnstaedt@wago.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: <1547453794-18770-3-git-send-email-Christian.Hohnstaedt@wago.com> Sender: linux-kernel-owner@vger.kernel.org To: Christian Hohnstaedt Cc: Keerthy , Liam Girdwood , Mark Brown , Mark Rutland , Rob Herring , Tony Lindgren , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-omap@vger.kernel.org List-Id: devicetree@vger.kernel.org On Mon, 14 Jan 2019, Christian Hohnstaedt wrote: > These options apply to all regulators in this chip. > > ti,strict-supply-voltage-supervision: > Set STRICT flag in CONFIG1 > ti,under-voltage-limit-microvolt: > Select 2.75, 2.95, 3.25 or 3.35 V UVLO in CONFIG1 > ti,under-voltage-hyst-microvolt: > Select 200mV or 400mV UVLOHYS in CONFIG2 > > Signed-off-by: Christian Hohnstaedt > Tested-by: Keerthy > Reviewed-by: Keerthy > --- > drivers/mfd/tps65218.c | 89 ++++++++++++++++++++++++++++++++++++++++++++ > include/linux/mfd/tps65218.h | 4 ++ > 2 files changed, 93 insertions(+) This looks like regulator code. Why aren't you placing it into the regulator driver? -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog