Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3743144imu; Mon, 10 Dec 2018 07:11:39 -0800 (PST) X-Google-Smtp-Source: AFSGD/XdtnIghZdPdq9A1CVpq1QKuSxk9nx4njpoCyltqw0iyUuyyDR5GVl6wgbfhAjiEZpjiNU3 X-Received: by 2002:a65:49cd:: with SMTP id t13mr11327843pgs.376.1544454698999; Mon, 10 Dec 2018 07:11:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544454698; cv=none; d=google.com; s=arc-20160816; b=LJXlR84M0bqjSBNuJJCV0Lce54N23E2g1qkoa0mKDsmot1B25Gzbi8LrYAiZckN2TC Wqy2J1ajUWreod22Y+tJgqHeVn10+9C8N6qPY2LHlinaf5LlVmdusufNadRTLDdSFWPv 5Ra005LoBYx/hGDRGS56wJ+KwSVS/u0D1I/l1KrSl5L5IfL7rcwmQT/e8qH5SYrHKxWN AqlJW04eicomFCzwqZU/M5zaV17ClRQ1FQm+rTIozm3Mz/Zq/ZV4pvXQRxmKuZM5vAhH rANwlBMoHDOpcUrumQBhnKezTJvBjCdjUzr4eC/yxw0Ht4EOpHFJS9uzxdhA8SBCF1x2 LiNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=LsrIY2yyxWCcgqZLRPgBMakO6FU7GELeomHUIZ0chIw=; b=lnJ91X839NG937z7NO5fGv9KCokhMSOl35CNTvvZe14HLf5WMVn2f7Z2Sus/MAcNkg 56SayTjc8o+4xbPmK3ED7aZ+MqIBUE9C42ASynyIJqmiWDFt/5mo+5U0luVs1n9CaTbQ yq+cT1orKV7kiGBX8Mx8KcU/MiLvQ0PRWiBiGsG+zhFUkzaQitaB/YdZTqsPGbX6pkDl mPgwlCmIgJ8edG5TjOzAaPZmNfMJKn/3oBrJBto8yCUH+b16qUnzl6BpRBWpcffpuBt/ R63+tuPBoIb64+zyFIeMC9EsYyyu4BijghUNqu8JUmVK9nsgGcuYnV8i0rVq/DBz1Q0s KCSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nokia.onmicrosoft.com header.s=selector1-nokia-com header.b=UN7m1ioV; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nokia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w11si10846023pfk.210.2018.12.10.07.11.22; Mon, 10 Dec 2018 07:11:38 -0800 (PST) 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; dkim=pass header.i=@nokia.onmicrosoft.com header.s=selector1-nokia-com header.b=UN7m1ioV; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nokia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727782AbeLJPAW (ORCPT + 99 others); Mon, 10 Dec 2018 10:00:22 -0500 Received: from mail-eopbgr10139.outbound.protection.outlook.com ([40.107.1.139]:3707 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726602AbeLJPAW (ORCPT ); Mon, 10 Dec 2018 10:00:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LsrIY2yyxWCcgqZLRPgBMakO6FU7GELeomHUIZ0chIw=; b=UN7m1ioVRysVfaZfmoOomrA/q5ykQ0/ZfOR+3PkgStoerkFJBFukBgLicrfCmrxuaJDfeMeDQhHEKlkKCc1yNl6pi9+MMeRCo9fwZYNGF/qXHG5f9RcCgVxlryku5yt8WZYL26RYHvfN7wWO+WcPPgxndKuoQlm5ftOjZ6fyNQo= Received: from HE1PR07MB3434.eurprd07.prod.outlook.com (10.170.247.141) by HE1PR07MB4442.eurprd07.prod.outlook.com (20.176.167.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1425.17; Mon, 10 Dec 2018 15:00:17 +0000 Received: from HE1PR07MB3434.eurprd07.prod.outlook.com ([fe80::e491:596c:4d4e:ffdb]) by HE1PR07MB3434.eurprd07.prod.outlook.com ([fe80::e491:596c:4d4e:ffdb%2]) with mapi id 15.20.1425.016; Mon, 10 Dec 2018 15:00:17 +0000 From: "Adamski, Krzysztof (Nokia - PL/Wroclaw)" To: Wolfram Sang , "Sverdlin, Alexander (Nokia - DE/Ulm)" CC: "linux-i2c@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Linus Walleij , Guenter Roeck , Tobias Jordan , Peter Rosin Subject: [PATCH 0/3] i2c-axxia: support Sequence command Thread-Topic: [PATCH 0/3] i2c-axxia: support Sequence command Thread-Index: AQHUkJkP2JFJjvH9dUmvu7KoirhJYQ== Date: Mon, 10 Dec 2018 15:00:17 +0000 Message-ID: Accept-Language: pl-PL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HE1PR09CA0046.eurprd09.prod.outlook.com (2603:10a6:7:3c::14) To HE1PR07MB3434.eurprd07.prod.outlook.com (2603:10a6:7:2c::13) authentication-results: spf=none (sender IP is ) smtp.mailfrom=krzysztof.adamski@nokia.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [131.228.32.190] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;HE1PR07MB4442;6:SFetobggbqnXQFq2Mk6OEP9YiUfUVDw8yjJJwIRJ3Df5UDEgPeDnoN09A4r0O09VRFto5QuTWCrE8d9Lexs/A2/X0SfqJBot5tZGeXCZJSfBWHiLOf9pjDITp1cKlAgpbAOcsh8wYmQhHSFb8ulLSVtVHnlV1sNZlF+dGy7QlRnR4dkvZRhTHs0vmxAPsy7lCgKo7KLezk0LLXS78qYUMQygkisplBcZBWnrEcjLfkdnJf3aHEVVNrpD3jud1NDV7VGBNPk0JCM0YdFheZ8Z/5TXkM0dsD7OcW92j9O+bQlKW2MFDMh2lY0AIO3fzOdCkOeVPjTniGqhqvCaB6XfuYky8gq8V7AOQ8Zd8LZShH12sl6yURDdwGgi9SQ+b/TgHEw6oFQApNrvNWzyo37DmqozNnYHikIqpRLXrC7b+sU1iCU/Si4fGyDaCj/OmeA5cA+bJiDR87Dux5Ngr4ixUg==;5:bgH9tAxzVMlPbgJg7U5nltahZ63mcBTaq+SczeiZtKd9a5rQYftY6kfKQURxo7xAcrelx+Xs5/2DTfJCz8i39ogQfe5pZ7d8mX2JSL8rfglxETQzvBL0OIVkcllIAC4bbjYBjk5C6MunrdlNS1lEdExAxNVwiN/MF5VzD1fJshs=;7:PaY6iWk7vyj3LAN1dritbvCMGOwi7t05boiKuREbBMlAVQxe9hnX6JcnQukkAaEX82wcjpLdEXvLfouCFQtkZrAWqhXsq7tdTzj0iIcd1Peij3NDdIxs7mzQTdt2O0tz8J56J5qEmgPLHlT76TMRYA== x-ms-office365-filtering-correlation-id: 28988e7a-3440-45d9-62ea-08d65eb03242 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7193020);SRVR:HE1PR07MB4442; x-ms-traffictypediagnostic: HE1PR07MB4442: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231455)(999002)(11241501185)(806100)(944501520)(52105112)(10201501046)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123562045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:HE1PR07MB4442;BCL:0;PCL:0;RULEID:;SRVR:HE1PR07MB4442; x-forefront-prvs: 08828D20BC x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(346002)(136003)(366004)(396003)(39860400002)(189003)(199004)(6486002)(6436002)(256004)(54906003)(486006)(8936002)(305945005)(52116002)(26005)(186003)(66066001)(81166006)(81156014)(6116002)(53936002)(2616005)(36756003)(7736002)(476003)(110136005)(71200400001)(3846002)(71190400001)(6636002)(2906002)(316002)(8676002)(99286004)(97736004)(4326008)(478600001)(25786009)(6512007)(386003)(86362001)(14454004)(106356001)(6506007)(105586002)(102836004)(551934003)(5660300001)(68736007);DIR:OUT;SFP:1102;SCL:1;SRVR:HE1PR07MB4442;H:HE1PR07MB3434.eurprd07.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: QsG5ijz/elHR9SzxafNesMWqflrGUvEiXlS/EEEAt69H+cmJHRkpSHa8DaNEWThCKOJA9s/DgxhiN1S6QvICC++iLWjnElncxPLACu4UgsQEauW1oLGLsMVvkeR9U7Iii26RASYH2uJUFGFCjzPmUEfMzipNUaZYmMS4L6O1c/LVoQx+OqmHDCaLq7ztcA+JnFubV3C0qFRQr8lvOxO6DP6Bo5cPtp0+vIWDw2+K6UquHaOXvD4/tcSG41Sm59kmyudDFC7ebDZQxD4Au/VGH2rN/J+O9eWilcSpO3CJZOkTjh5zXTXYq0upIqmrc8ht spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nokia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 28988e7a-3440-45d9-62ea-08d65eb03242 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Dec 2018 15:00:17.2802 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB4442 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Woflram, This patch was based on your i2c/for-current branch as it adds to my patch you incuded there. First two patches are just preparations and the 3rd one which is the actual change. It allows us using hardware mode to send i2c transfers consisting for a write followed by read without the need of the CPU interaction inbetween which is an opportunity to trigger 25ms SMbus timeout and abort transaction. -------------------------------------------------------------------- Krzysztof Adamski (3): i2c-axxia: dedicated function to set client addr i2c-axxia: check for error conditions first i2c-axxia: support sequence command mode drivers/i2c/busses/i2c-axxia.c | 159 ++++++++++++++++++++++++++------- 1 file changed, 126 insertions(+), 33 deletions(-) --=20 2.17.2