Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4994922imm; Tue, 18 Sep 2018 02:36:28 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZrRU29G1kJKyI7k5ZVAPN4bNkyfTGsVXEuIQAZeGTkOq/PtKR1aocwjZHbpssQa922crfS X-Received: by 2002:a62:1544:: with SMTP id 65-v6mr29713925pfv.178.1537263388259; Tue, 18 Sep 2018 02:36:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537263388; cv=none; d=google.com; s=arc-20160816; b=QQIWhPquSiyyE3gnaIJUcKLMLKlF8QnJnkO74OvhuwRbIAUwA17FkCgdEAUm3y57xg fi9q2/WUkMQ8sG14k+NWoT2EY/g94V+PTpuuBXeYC7BNZBRsFN0iQNOmOyVJltlP4rmV lrXl1orPnOJ4DFpHEGlt4OZa6nd9apenk2n8GvDGHXcF3SvonnNz8S9c/pCNOsf/Vl9p wTo52veZgsf1ljOg/NXhd/UXf0CdNORmn3LPbuDKWuYU66/+HJWP4foCSG3kjC4OSyj4 W036z/YagESAQCoRSU0gW4u8olldEZDRO90LHrdZbV3JqPKZsq9LrrMDE/36mjdFElpH Jp4A== 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=i38FaXV3HgB1kE2mHEoIXIEVdJwMVOgoYrK4/aAQ3vI=; b=gXxlM0z01mLggpyqvQcAMXRaj7jGkhsOZlgT5jEb/OOXAjeD25WAfbOXkoBFEC6rFv UlqGKcZsrLdDKVpaKEsxcPHGrWytUSqCrzLg/SJIQNQzaCsPf2R47+wsczEEhzz4w4uA vSuSkxm0q97HER9+5a/NoLRjTcIwCwGkNTRMipdnb7/SpVtgQpYkHrgNClvo2SavdPMF HGXGzD1ou5jPcXF6sph7lNPZ4yt+deYqNZ54/l+tsBkoIVMPJpIOsTI666kaIRohkpCS CbZhL/YKHtlxSc1HoJcXOiFFKvJDmflOJK3345t4/Jfp6wWnbBJ2EliwCCgFcZRvuMlc ixqQ== 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 a8-v6si18876675ple.189.2018.09.18.02.36.13; Tue, 18 Sep 2018 02:36:28 -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 S1729688AbeIRPGr (ORCPT + 99 others); Tue, 18 Sep 2018 11:06:47 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:46268 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729487AbeIRPGr (ORCPT ); Tue, 18 Sep 2018 11:06:47 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 42DyWk4JK7z1qx96; Tue, 18 Sep 2018 11:34:58 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 42DyWk3cV8z1qr2X; Tue, 18 Sep 2018 11:34:58 +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 Yusl1ZPFoU88; Tue, 18 Sep 2018 11:34:56 +0200 (CEST) X-Auth-Info: 8bd+lrMYx733neda6L3M/fA++miM+PiTNrEHm5hw/gY= 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; Tue, 18 Sep 2018 11:34:56 +0200 (CEST) From: Lukasz Majewski To: Mark Brown Cc: Rob Herring , Mark Rutland , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lukasz Majewski Subject: [PATCH 0/3] ARM: dspi: Provide slave mode support for Vybryd vf610 Date: Tue, 18 Sep 2018 11:34:34 +0200 Message-Id: <20180918093437.26799-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 This patch series provides support for DSPI slave mode operation. It tries to maximally reuse current DMA driver (including its limitations). For testing the spidev_test program has been used. Test script for this patch can be found here: https://github.com/lmajewski/tests-spi/blob/master/tests/spi/spi_tests.sh Lukasz Majewski (3): dt-bindings: spi: Provide bindings for fsl dspi working in slave mode ARM: dspi: Provide per DSPI instance of the MCR register (SLAVE mode) ARM: dspi: Provide support for DSPI slave more operation (Vybryd vf610) .../devicetree/bindings/spi/spi-fsl-dspi.txt | 8 ++++ drivers/spi/spi-fsl-dspi.c | 54 ++++++++++++++++------ 2 files changed, 49 insertions(+), 13 deletions(-) -- 2.11.0