(2012年03月02日 15:07), Venu Byravarasu wrote:
Why you did not made use of regmap?
Hi Venu,
I cannot fully understand. Anatop is not SPI or I2C device. It is internally embedded into the SoC. It is directly accessed by memory I/O.
Do you mean I should implement a regmap_bus which uses memory I/O and then use regmap?
Regards, Paul
-----Original Message----- From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel- owner@vger.kernel.org] On Behalf Of Ying-Chun Liu (PaulLiu) Sent: Friday, March 02, 2012 12:31 PM To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org; linaro-dev@lists.linaro.org; patches@linaro.org; Ying-Chun Liu (PaulLiu); Samuel Ortiz; Mark Brown; Shawn Guo Subject: [PATCH v6 1/2] mfd: Add anatop mfd driver
From: "Ying-Chun Liu (PaulLiu)" paul.liu@linaro.org
Anatop is a mfd chip embedded in Freescale i.MX6Q SoC. Anatop provides regulators and thermal. This driver handles the address space and the operation of the mfd device.
Signed-off-by: Ying-Chun Liu (PaulLiu) paul.liu@linaro.org Cc: Samuel Ortiz sameo@linux.intel.com Cc: Mark Brown broonie@opensource.wolfsonmicro.com Cc: Shawn Guo shawn.guo@linaro.org
drivers/mfd/Kconfig | 6 ++