Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp38556imm; Thu, 27 Sep 2018 15:32:46 -0700 (PDT) X-Google-Smtp-Source: ACcGV63ZCKwFpy0da1fFokhviFOqIKx2s3iv4hTDrX0JuEQRTbrsO23M4KX7WMy2fZwXxDVzYRt7 X-Received: by 2002:a62:898d:: with SMTP id n13-v6mr13415938pfk.57.1538087566813; Thu, 27 Sep 2018 15:32:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538087566; cv=none; d=google.com; s=arc-20160816; b=x6t8g8gPlvjjfla1dwpi0rFe3TcbuQ6p5cUjQItUSKByJRxoIcEBfOo+wfP8Ku/FKS KuF0Msjl3ZyG+pfNrxgYcnjJsMyXzIW7DXYFubLlp3T+Agw+r6KxxnUHkXpby5qHVGRh FWmilTl7j4sxHs56HNKgN6esBcYeqUe3QZqBiwJxaRCJoux2FmHHMEqkj2HUXW3H40/e CNyC3lGr86dW1G+FTnIbrvS3ok9g63JGx8GqtZtG1d2rwayNAuSQ7TVXwuZ0s7YaUiij 1gLTgFlsssSyj5yAxRGurZeQDl4wfmgSqxAYS9SVD8cNlXpcUhz9XlGxTdc2ev89lt9s nSbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=wrmGLB2DMjrsS+eQHqL0/52LnY5J+vKEMvAlgGXTEZQ=; b=hO+nyOVf1G6GAvqX4qO4Fn/TJPVjPbT3cLRw4Zw5dJy29Zjgu0LMSdsWdyd54V0vYs aAUgpvTD0V1m3iLKUJ7nHboKazqHA/cdwgrHSXv7Q7qNKwPmNjZBoZzxH9zuYOJD8VLs YLu9P2rcni/+dp2YiyPxwbBNJSYaMQ5d+ONvHPyeADauIdhCtFS2RiaNc93snIQsvZBw gfoLKZy18xLF+XrKPfmPc2M4o58f42HaTuuZck3sX/OdHIX4MqXc8hZrb1qwcEGypTY7 54PetphAnxGawnwngZ6ofzRFTXZGkEOCBXMgxZJLM8n8vwMlkQa8skzZK9hxrCM1zFO1 fVLw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z7-v6si2855872plk.215.2018.09.27.15.32.22; Thu, 27 Sep 2018 15:32:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726473AbeI1Ewn (ORCPT + 99 others); Fri, 28 Sep 2018 00:52:43 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:35678 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725957AbeI1Ewn (ORCPT ); Fri, 28 Sep 2018 00:52:43 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 42LqLK5sWkz1qxR3; Fri, 28 Sep 2018 00:32:09 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 42LqLK5fzRz1r44m; Fri, 28 Sep 2018 00:32:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id c6DD__zyqV0i; Fri, 28 Sep 2018 00:32:08 +0200 (CEST) X-Auth-Info: MCAog/ncEwLEb6moOQspkGt92ctDm8lMbyA8LNF5UQg= Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 28 Sep 2018 00:32:08 +0200 (CEST) From: Lukasz Majewski To: Mark Brown Cc: Shawn Guo , Rob Herring , Mark Rutland , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Lukasz Majewski Subject: [PATCH] spidev: Enable the Liebherr's BK4 board to work with spidev driver Date: Fri, 28 Sep 2018 00:31:52 +0200 Message-Id: <20180927223152.24990-1-lukma@denx.de> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org With this commit the DSPI driver on the BK4 board can be used for SPI transmission managed from user space (via /dev/spidev0.0). Example usage/testing: insmod ./spi-fsl-dspi.ko ./spidev_test -D /dev/spidev0.0 -s 3000000 -v -H -b 8 -p "\xCC\x11\x22\x74" Signed-off-by: Lukasz Majewski --- drivers/spi/spidev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index cda10719d1d1..07f4d05563ea 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -669,6 +669,7 @@ static const struct of_device_id spidev_dt_ids[] = { { .compatible = "lineartechnology,ltc2488" }, { .compatible = "ge,achc" }, { .compatible = "semtech,sx1301" }, + { .compatible = "lwn,bk4" }, {}, }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -- 2.11.0