Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753285AbbDFSbV (ORCPT ); Mon, 6 Apr 2015 14:31:21 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:44648 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752758AbbDFSbS (ORCPT ); Mon, 6 Apr 2015 14:31:18 -0400 From: Sricharan R To: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, galak@codeaurora.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, agross@codeaurora.org, iivanov@mm-sol.com Cc: srichara@qti.qualcomm.com Subject: [PATCH V2 0/6] i2c: qup: Add support for v2 tags and bam dma Date: Tue, 7 Apr 2015 00:01:01 +0530 Message-Id: <1428345067-21878-1-git-send-email-sricharan@codeaurora.org> X-Mailer: git-send-email 1.8.2.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1465 Lines: 33 QUP from version 2.1.1 onwards, supports a new format of i2c command tags. Tag codes instructs the controller to perform a operation like read/write. This new tagging version supports and is required for adding bam dma capabilities. v2 tags supports transfer of more than 256 bytes in a single i2c transaction. Also adding bam dma support facilitates transferring each i2c_msg in i2c_msgs without a 'stop' bit in between which is required for some of the clients. This series depends on the below bam dma bug fix https://lkml.org/lkml/2015/2/20/47 Tested this series on apq8074 dragon board eeprom client on i2c bus1 [V2] Addressed comments from Ivan T. Ivanov, Andy Gross [v1] Initial Version Andy Gross (1): i2c: qup: Add V2 tags support Sricharan R (5): i2c: qup: Change qup_wait_writeready function to use for all timeouts i2c: qup: Add bam dma capabilities i2c: qup: Transfer every i2c_msg in i2c_msgs without stop dts: msm8974: Add blsp2_bam dma node dts: msm8974: Add dma channels for blsp2_i2c1 node arch/arm/boot/dts/qcom-msm8974.dtsi | 14 +- drivers/i2c/busses/i2c-qup.c | 788 +++++++++++++++++++++++++++++++++--- 2 files changed, 748 insertions(+), 54 deletions(-) -- 1.8.2.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/