Re: [PATCH v6 1/2] mfd: Add anatop mfd driver

From: Peter Korsgaard
Date: Fri Mar 02 2012 - 09:00:32 EST


>>>>> "Y" == Ying-Chun Liu (PaulLiu) <paul.liu@xxxxxxxxxx> writes:

Hi,

Y> From: "Ying-Chun Liu (PaulLiu)" <paul.liu@xxxxxxxxxx>
Y> Anatop is a mfd chip embedded in Freescale i.MX6Q SoC.
Y> Anatop provides regulators and thermal.
Y> This driver handles the address space and the operation of the mfd device.

Y> Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@xxxxxxxxxx>
Y> Cc: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx>
Y> Cc: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Y> Cc: Shawn Guo <shawn.guo@xxxxxxxxxx>
Y> ---
Y> drivers/mfd/Kconfig | 6 ++
Y> drivers/mfd/Makefile | 1 +
Y> drivers/mfd/anatop-mfd.c | 142 ++++++++++++++++++++++++++++++++++++++++++++
Y> include/linux/mfd/anatop.h | 40 ++++++++++++
Y> 4 files changed, 189 insertions(+), 0 deletions(-)
Y> create mode 100644 drivers/mfd/anatop-mfd.c
Y> create mode 100644 include/linux/mfd/anatop.h

Y> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
Y> index f147395..f787d17 100644
Y> --- a/drivers/mfd/Kconfig
Y> +++ b/drivers/mfd/Kconfig
Y> @@ -830,6 +830,12 @@ config MFD_INTEL_MSIC
Y> Passage) chip. This chip embeds audio, battery, GPIO, etc.
Y> devices used in Intel Medfield platforms.

Y> +config MFD_ANATOP
Y> + bool "Support for Anatop"
Y> + depends on SOC_IMX6Q

The bool line should be indented with a <tab>, not spaces.

--
Bye, Peter Korsgaard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/