Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753095AbbDFMiq (ORCPT ); Mon, 6 Apr 2015 08:38:46 -0400 Received: from mail-lb0-f170.google.com ([209.85.217.170]:33232 "EHLO mail-lb0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752679AbbDFMio (ORCPT ); Mon, 6 Apr 2015 08:38:44 -0400 From: To: Wolfram Sang , Sekhar Nori , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Cc: grygorii.strashko@ti.com, linux-i2c@vger.kernel.org, , , Grygorii Strashko , Kevin Hilman , Santosh Shilimkar , Murali Karicheri , Alexander Sverdlin Subject: [PATCH v4 0/3] i2c: davinci improvements and fixes Date: Mon, 6 Apr 2015 15:38:38 +0300 Message-Id: <1428323921-25832-1-git-send-email-grygorii.strashko@linaro.org> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2131 Lines: 55 From: Grygorii Strashko This series converts driver to use I2C bus recovery infrastructure and adds Davinci I2C bus recovery mechanizm based on using ICPFUNC registers. These patches are combination of two patches from Ben Gardiner [1] and Mike Looijmans [2] which i've reworked to use I2C bus recovery infrastructure [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2011-April/047305.html "[PATCH 0/6] i2c-davinci gpio pulsed SCL recovery with ICPFUNC" [2] https://lkml.org/lkml/2014/2/28/133 "[PATCH] i2c-davinci: Implement a bus recovery that actually works" Changes in v4: - no changes, re-besed on top of i2c/for-next, K4.1 Changes in v3: - minor comments applied Changes in v2: - patch 1: error handling improved - patch 2: commit message updated - patch 4: minor comments applied - patch 5: added new optional DT property "ti,has-pfunc" Links v3: http://www.spinics.net/lists/linux-i2c/msg17835.html v2: https://lkml.org/lkml/2014/11/26/252 v1: http://www.spinics.net/lists/linux-i2c/msg17601.html CC: Sekhar Nori CC: Kevin Hilman CC: Santosh Shilimkar CC: Murali Karicheri CC: Alexander Sverdlin Grygorii Strashko (3): i2c: recovery: change input parameter to i2c_adapter for prepare/unprepare_recovery i2c: davinci: use bus recovery infrastructure i2c: davinci: use ICPFUNC to toggle I2C as gpio for bus recovery .../devicetree/bindings/i2c/i2c-davinci.txt | 3 + drivers/i2c/busses/i2c-davinci.c | 177 ++++++++++++++++----- drivers/i2c/i2c-core.c | 4 +- include/linux/i2c.h | 4 +- include/linux/platform_data/i2c-davinci.h | 1 + 5 files changed, 144 insertions(+), 45 deletions(-) -- 1.9.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/