From patchwork Tue Apr 26 01:17:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander 'lynxis' Couzens X-Patchwork-Id: 614750 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (caladan.dune.hu [78.24.191.180]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3qv4x74DVMz9t6s for ; Tue, 26 Apr 2016 11:18:51 +1000 (AEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 86AF1B80DF8; Tue, 26 Apr 2016 03:17:56 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.1 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP; Tue, 26 Apr 2016 03:17:56 +0200 (CEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 1E3CAB80DBF for ; Tue, 26 Apr 2016 03:17:40 +0200 (CEST) X-policyd-weight: using cached result; rate: -6.1 Received: from mail.base45.de (mail.base45.de [80.241.61.77]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Tue, 26 Apr 2016 03:17:40 +0200 (CEST) Received: from [2001:1a80:225b:5d1a:9ceb:64d7:1b07:b2ab] (helo=lazus.yip) by mail.base45.de with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA256:128) (Exim 4.82) (envelope-from ) id 1aurd9-00030t-Ay; Tue, 26 Apr 2016 03:17:36 +0200 From: Alexander Couzens To: openwrt-devel@lists.openwrt.org Date: Tue, 26 Apr 2016 03:17:24 +0200 Message-Id: <1461633445-1695-4-git-send-email-lynxis@fe80.eu> X-Mailer: git-send-email 2.8.0 In-Reply-To: <1461633445-1695-1-git-send-email-lynxis@fe80.eu> References: <1461633445-1695-1-git-send-email-lynxis@fe80.eu> Subject: [OpenWrt-Devel] [PATCH 3/4] kernel/spi: add kernel package for spi-omap-24xx X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" spi-omap-24xx can be found in TI based SoC like the beaglebone black Signed-off-by: Alexander Couzens --- package/kernel/linux/modules/spi.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/package/kernel/linux/modules/spi.mk b/package/kernel/linux/modules/spi.mk index 1c2a789..1d70138 100644 --- a/package/kernel/linux/modules/spi.mk +++ b/package/kernel/linux/modules/spi.mk @@ -89,3 +89,20 @@ define KernelPackage/spi-dev/description endef $(eval $(call KernelPackage,spi-dev)) + +define KernelPackage/spi-omap-24xx + SUBMENU:=$(SPI_MENU) + TITLE:=SPI omap 24xx + KCONFIG:=CONFIG_SPI_OMAP24XX \ + CONFIG_SPI=y \ + CONFIG_SPI_MASTER=y + FILES:=$(LINUX_DIR)/drivers/spi/spi-omap2-mcspi.ko + AUTOLOAD:=$(call AutoProbe,spi-omap2-mcspi) +endef + +define KernelPackage/spi-dev/description + This package contains the user mode SPI device driver +endef + +$(eval $(call KernelPackage,spi-omap-24xx)) +