From mboxrd@z Thu Jan 1 00:00:00 1970 From: broonie@opensource.wolfsonmicro.com (Mark Brown) Date: Tue, 21 Jun 2011 12:10:10 +0100 Subject: [PATCH v2 1/4] Exynos4 NURI: configure regulators and PMIC In-Reply-To: <4E002D18.2080401@linaro.org> References: <20110620103124.GD31864@opensource.wolfsonmicro.com> <1308622033-2521-1-git-send-email-myungjoo.ham@samsung.com> <1308622033-2521-2-git-send-email-myungjoo.ham@samsung.com> <4E002D18.2080401@linaro.org> Message-ID: <20110621111010.GH22177@opensource.wolfsonmicro.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Jun 21, 2011 at 11:03:12AM +0530, Tushar Behera wrote: > Will it be possible to move PMIC specific defines to a common file > and make appropriate calls in the board-specific file? > In that way, we can re-use this PMIC code on some other boards (e.g. > Insignal low-cost board Origen featuring Exynos4210 also features > MAX8997). If the board is similar enough in design to be sharing the PMIC code that sounds like it should be sharing a lot more of the board setup code.