Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754357AbaANAay (ORCPT ); Mon, 13 Jan 2014 19:30:54 -0500 Received: from seldrel01.sonyericsson.com ([212.209.106.2]:8702 "EHLO seldrel01.sonyericsson.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752727AbaANAaq (ORCPT ); Mon, 13 Jan 2014 19:30:46 -0500 From: Bjorn Andersson To: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Rob Landley , Wolfram Sang , Grant Likely , Bjorn Andersson , "Ivan T. Ivanov" , Jean Delvare , Greg Kroah-Hartman , Martin Schwidefsky , James Ralston , Bill Brown , Matt Porter , Andy Shevchenko , , , , , , Subject: [PATCH v2 0/2] Qualcomm Universal Peripheral (QUP) I2C controller Date: Mon, 13 Jan 2014 16:30:35 -0800 Message-ID: <1389659437-16406-1-git-send-email-bjorn.andersson@sonymobile.com> X-Mailer: git-send-email 1.8.2.2 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Picking up Ivans i2c-qup submission from a few months back, as I've now tested and corrected some minor things. I also introduced changes based on the review of v1. Changes from v1: - Cleaned up device tree binding example. - Refrased device tree bindings. - Following changes in the i2c framework. - Use the core clock to calculate divider for the bus clock, instead of explicitly setting it. - Remove explicit pinctrl settting. - Split/renamed qup_i2c_enable(bool) into enable/disable functions. - Return value was overwritten on error in write_one/read_one. - Initialize the i2c core every time, so that we actually can execute more than 1 transmission per xfer. Ivan T. Ivanov (2): i2c: qup: Add device tree bindings information i2c: New bus driver for the QUP I2C controller .../devicetree/bindings/i2c/qcom,i2c-qup.txt | 41 + drivers/i2c/busses/Kconfig | 10 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-qup.c | 897 +++++++++++++++++++++ 4 files changed, 949 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/qcom,i2c-qup.txt create mode 100644 drivers/i2c/busses/i2c-qup.c -- 1.8.2.2 -- 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/