From patchwork Sat Dec 6 22:32:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Heimpold X-Patchwork-Id: 418423 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 6DB351400E7 for ; Sun, 7 Dec 2014 09:35:58 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id C445F28C16B; Sat, 6 Dec 2014 23:32:25 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 06CE028748E for ; Sat, 6 Dec 2014 23:31:42 +0100 (CET) X-policyd-weight: using cached result; rate: -8.5 Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.217]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Sat, 6 Dec 2014 23:31:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1417905191; l=853; s=domk; d=heimpold.de; h=Date:Subject:Cc:To:From; bh=hCPkES0KMxHKzkK1k+qqlS5Wetw=; b=G20jGM6ynwFfYZX80gYe3ONAW8wU05GkROZx+nyEabxrXGQZvEJ6Fwd7zLlvM3r4uhz n9aYFOTHS9jw87bw8Wdkvf+8YpKGC2K1K7+UF6E1L5pUn7FMgfmZgDkEGJGq8218rkyeD XixfG4HS11HTnyvDJ2mPjpILuYnTVhMkiQA= X-RZG-AUTH: :O2kGeEG7b/pS1EW8QnKjhhg/vO4pzqdNys2z+NfqLSUoNNCTudAGGnyHtjxQd77aq3bA2w== X-RZG-CLASS-ID: mo00 Received: from tonne.mhei.heimpold.itr (dslb-178-012-069-235.178.012.pools.vodafone-ip.de [178.12.69.235]) by post.strato.de (RZmta 36.2 DYNA|AUTH) with ESMTPA id C06aeeqB6MXAdn8; Sat, 6 Dec 2014 23:33:10 +0100 (CET) Received: from kerker.fritz.box (kerker [192.168.8.1]) by tonne.mhei.heimpold.itr (Postfix) with ESMTP id 9573C127277; Sat, 6 Dec 2014 23:33:10 +0100 (CET) From: Michael Heimpold To: wigyori@uid0.hu Date: Sat, 6 Dec 2014 23:32:47 +0100 Message-Id: <1417905173-31494-3-git-send-email-mhei@heimpold.de> X-Mailer: git-send-email 1.7.10.4 Cc: openwrt-devel@lists.openwrt.org Subject: [OpenWrt-Devel] [PATCH RESEND] mxs: add kernel module for spi interface X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 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" Signed-off-by: Michael Heimpold --- target/linux/mxs/modules.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/target/linux/mxs/modules.mk b/target/linux/mxs/modules.mk index c96146c..eba06c1 100644 --- a/target/linux/mxs/modules.mk +++ b/target/linux/mxs/modules.mk @@ -101,3 +101,18 @@ define KernelPackage/crypto-hw-dcp/description endef $(eval $(call KernelPackage,crypto-hw-dcp)) + +define KernelPackage/spi-mxs + SUBMENU:=$(SPI_MENU) + TITLE:=Freescale i.MX23/28 SPI driver + DEPENDS:=@TARGET_mxs + KCONFIG:=CONFIG_SPI_MXS + FILES:=$(LINUX_DIR)/drivers/spi/spi-mxs.ko + AUTOLOAD:=$(call AutoProbe,spi-mxs) +endef + +define KernelPackage/spi-mxs/description + Kernel module for Freescale i.MX23/28 SPI controller +endef + +$(eval $(call KernelPackage,spi-mxs))