lkml.org 
[lkml]   [2013]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager
* Pantelis Antoniou <panto@antoniou-consulting.com> [130107 10:54]:
> A cape loader based on DT overlays and DT objects.
>
> Beaglebone cape manager implementation.
>
> Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
> ---
> arch/arm/mach-omap2/Kconfig | 2 +
> drivers/misc/Kconfig | 2 +
> drivers/misc/Makefile | 1 +
> drivers/misc/cape/Kconfig | 5 +
> drivers/misc/cape/Makefile | 5 +
> drivers/misc/cape/beaglebone/Kconfig | 11 +
> drivers/misc/cape/beaglebone/Makefile | 5 +
> drivers/misc/cape/beaglebone/capemgr.c | 1835 ++++++++++++++++++++++++++++++++

The driver should probably be in drivers/bus?

> 8 files changed, 1866 insertions(+)
> create mode 100644 drivers/misc/cape/Kconfig
> create mode 100644 drivers/misc/cape/Makefile
> create mode 100644 drivers/misc/cape/beaglebone/Kconfig
> create mode 100644 drivers/misc/cape/beaglebone/Makefile
> create mode 100644 drivers/misc/cape/beaglebone/capemgr.c
>
> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
> index 41b581f..f0c2eab 100644
> --- a/arch/arm/mach-omap2/Kconfig
> +++ b/arch/arm/mach-omap2/Kconfig
> @@ -18,6 +18,8 @@ config ARCH_OMAP2PLUS_TYPICAL
> select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
> select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
> select VFP
> + select OF_OVERLAY
> + select OF_RESOLVE
> help
> Compile a kernel suitable for booting most boards

You should just make the driver depend on OF_OVERLAY and
OF_RESOLVE as most SoCs won't need this. Then we can select
it in the omap2plus_defconfig.

Regards,

Tony


\
 
 \ /
  Last update: 2013-01-07 21:41    [W:0.157 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site