Thread (20 messages) flat view 20 messages, 5 authors, 2021-08-14

Re: [PATCH v7 1/6] mfd: sy7636a: Initial commit

From: Lee Jones <hidden>
Date: 2021-07-20 16:14:40
Also in: lkml

On Tue, 20 Jul 2021, Mark Brown wrote:
On Tue, Jul 20, 2021 at 03:53:25PM +0100, Lee Jones wrote:
quoted
On Thu, 08 Jul 2021, Alistair Francis wrote:
quoted
quoted
+static const struct mfd_cell sy7636a_cells[] = {
+	{ .name = "sy7636a-regulator", },
+	{ .name = "sy7636a-temperature", },
+	{ .name = "sy7636a-thermal", },
+};
quoted
If you put these in the Device Tree, you can use "simple-mfd-i2c"
At least the regulator probably shouldn't be - this is just a Linux
specific grouping of devices, it's not really directly a block in the
hardware in a way that's platform independent.
I've seen (and authored) regulator support in DT before.

What's changed?  They're controlled by registers, right?

Is the problem that the registers are usually split?

-- 
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help