From e5fd91f1ef340da553f7a79da9540c3db711c937 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 8 Sep 2015 01:01:14 -0300 Subject: Linux-libre 4.2-gnu --- drivers/staging/board/Kconfig | 3 +- drivers/staging/board/Makefile | 3 +- drivers/staging/board/armadillo800eva.c | 105 ++++++++++++++++++++++++ drivers/staging/board/board.c | 136 ++++++++++++++++++++++++++++++++ drivers/staging/board/board.h | 27 ++++++- drivers/staging/board/kzm9d.c | 10 ++- 6 files changed, 278 insertions(+), 6 deletions(-) create mode 100644 drivers/staging/board/armadillo800eva.c (limited to 'drivers/staging/board') diff --git a/drivers/staging/board/Kconfig b/drivers/staging/board/Kconfig index 0a89ad163..3f287c48e 100644 --- a/drivers/staging/board/Kconfig +++ b/drivers/staging/board/Kconfig @@ -1,7 +1,6 @@ config STAGING_BOARD bool "Staging Board Support" - depends on OF_ADDRESS - depends on BROKEN + depends on OF_ADDRESS && OF_IRQ && CLKDEV_LOOKUP help Select to enable per-board staging support code. diff --git a/drivers/staging/board/Makefile b/drivers/staging/board/Makefile index 65d39ecfa..6842745fe 100644 --- a/drivers/staging/board/Makefile +++ b/drivers/staging/board/Makefile @@ -1,2 +1,3 @@ obj-y := board.o -obj-$(CONFIG_ARCH_EMEV2) += kzm9d.o +obj-$(CONFIG_ARCH_EMEV2) += kzm9d.o +obj-$(CONFIG_ARCH_R8A7740) += armadillo800eva.o diff --git a/drivers/staging/board/armadillo800eva.c b/drivers/staging/board/armadillo800eva.c new file mode 100644 index 000000000..81df77bd5 --- /dev/null +++ b/drivers/staging/board/armadillo800eva.c @@ -0,0 +1,105 @@ +/* + * Staging board support for Armadillo 800 eva. + * Enable not-yet-DT-capable devices here. + * + * Based on board-armadillo800eva.c + * + * Copyright (C) 2012 Renesas Solutions Corp. + * Copyright (C) 2012 Kuninori Morimoto + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#include +#include +#include +#include +#include + +#include