Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp3182761imd; Mon, 29 Oct 2018 03:08:44 -0700 (PDT) X-Google-Smtp-Source: AJdET5dcO9Ml2v/0ZvyFWXdeVE3KTcFEy5/ub8ci8XVoljeiD5lw16xDyQHpBCo2GGS5MwtakOjT X-Received: by 2002:a17:902:e185:: with SMTP id cd5-v6mr13322741plb.224.1540807723991; Mon, 29 Oct 2018 03:08:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540807723; cv=none; d=google.com; s=arc-20160816; b=Qm8bbg3fDcXjn8ozjFZjjNo5F9Wjxz2dwg25q2lgTsgXY0uMWa08Y+iNjYOgObtNq0 rMNmw8LxQhlbKlTGbCqTQdiTSTSlpGK1QtnOYL4cKm8O5abZzpud7ZIbty5tgiGFVw2Y oQwy981KEMsCwzcz3QO/csocB++J9hatmdub35jv7G988S/TiV1J5HMl1K7BmVL3ZvOx TU9vLhB1Q8cOBu6nrB2r2lMwSycOHzBCUr6J6M1gMq+wkaW8KTPAGBh6j9JI880mtqVd 1jaxJZ8ADz4LvaxKLfeo+AtsGTc7WoHap8/SeTaaml9rmnp3zIEH/tILxpYhrYMx9QtF dwmg== 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 :dkim-signature; bh=tBvSO08PrqirqeJSsIKX2lrwp3/6t8cUjA5gguIeA8w=; b=C/F/4yQ6CHJ71Pd8lYiFzAo1PArkJZm6vFHtG5Z8Yxkw9HvYVv/Ez33vFO1bubEe3e 5wj3nbG0rRhFrC7jRE4n+Kp69Hl83QKOcmZUvBETpO6aHyvPhQfa3DyjkBKS9oAPs896 fqn7WEIS60/t/2/7eJwDwEHDpYbLh3HykMzAgYa69VX7j/PYGFAYcjwpaSPqZ6oLZPBZ Tr2/diKm9vHS+1pIcIGl+qMS25sff5EUtqWXONrNu+iND+11laAqQkfsiyg53mvOqvOT ohltez5NbSOrNiy/FVfbuD/59B2l38QmMUik8CVnM4TPlBFwFfm46ahpWqEw1or/mIrl UzPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=OjjHnNrA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 92-v6si4444145pli.133.2018.10.29.03.08.28; Mon, 29 Oct 2018 03:08:43 -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; dkim=pass header.i=@synopsys.com header.s=mail header.b=OjjHnNrA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729730AbeJ2Sz5 (ORCPT + 99 others); Mon, 29 Oct 2018 14:55:57 -0400 Received: from smtprelay4.synopsys.com ([198.182.47.9]:51986 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729457AbeJ2Sz5 (ORCPT ); Mon, 29 Oct 2018 14:55:57 -0400 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id DBCD824E11D9; Mon, 29 Oct 2018 03:07:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1540807678; bh=cv+vAGIaacXfqsm6laxKspmfbhBbpJnIh33JEQ/PZN0=; h=From:To:Cc:Subject:Date:From; b=OjjHnNrA7/5Ji4V+qYIlPitzYwrqss7kviqX7GdPSQYOiS/O/gctzdzg2PxnuQ3sr r+z8J9TlyoRsE1/+F25X9iSFFsmSUh5YkRUK0XYVsJ6Hw2abck0jaPq4DUbawUk5Pg w8vN4PLBElAuwbo/RojjTbhvB4VjscDBe1eoEl1CfS4FikjcRIGeqZ4NgRlIlA2frZ /zOIL5CPqu63iBQ7vpQu0IXhiCZhcbaqIm/NgDXIPMTN3hCu9kAd1qvi0D6n+Puodk sXi++UEs+iI4zXyhRdlcQmpOrY+uuwuFeHpuI8NRYQ6cigoFBHXZ1cG7ZgUxx8QVU1 8qA9/rOoV9a+Q== Received: from localhost.localdomain (soares-e7470.internal.synopsys.com [10.225.2.39]) by mailhost.synopsys.com (Postfix) with ESMTP id CF3245444; Mon, 29 Oct 2018 03:07:46 -0700 (PDT) From: Vitor soares To: boris.brezillon@bootlin.com, wsa@the-dreams.de, linux-i2c@vger.kernel.org, corbet@lwn.net, linux-doc@vger.kernel.org, gregkh@linuxfoundation.org, arnd@arndb.de Cc: psroka@cadence.com, agolec@cadence.com, adouglas@cadence.com, bfolta@cadence.com, dkos@cadence.com, alicja@cadence.com, cwronka@cadence.com, sureshp@cadence.com, rafalc@cadence.com, thomas.petazzoni@bootlin.com, nm@ti.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, vitor.soares@synopsys.com, geert@linux-m68k.org, linus.walleij@linaro.org, Xiang.Lin@synaptics.com, linux-gpio@vger.kernel.org, nsekhar@ti.com, pgaj@cadence.com, peda@axentia.se, mshettel@codeaurora.org, swboyd@chromium.org, joao.pinto@synopsys.com, luis.oliveira@synopsys.com, manuel.abreu@synopsys.com, gustavo.pimentel@synopsys.com Subject: [PATCH 0/3] Add driver for Synopsys DesignWare I3C master IP Date: Mon, 29 Oct 2018 10:06:55 +0000 Message-Id: <1540807618-13246-1-git-send-email-soares@synopsys.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series is a proposal for the I3C master driver for Synopsys IP. This patch is to be applied on top of I3C subsystem RFC V10 submitted bu Boris Brezillon. The change made on bufs passed to i3c_master_send_ccc_cmd_locked() be dynamically allocated allow the use of writesl/readsl() function on I3C transfers. For I2C transfers still have memory misalignment on bufs and if the client try to read more than 4bytes the system stops. This will fixed next version. Supported features: Regular CCC commands. I3C private transfers. I2C transfers. Missing functionalities: Support for I3C_BUS_MODE_MIXED_SLOW. Hot-join. IBI. Main change between v1 and v2: Add controller version on dt-binding The driver now calls writesl/readsl() instead readl/writel Rename some variables in the driver Vitor soares (3): i3c: master: Add driver for Synopsys DesignWare IP dt-bindings: i3c: Document Synopsys DesignWare I3C master bindings MAINTAINERS: Add myself as the dw-i3c-master module maintainer .../devicetree/bindings/i3c/snps,dw-i3c-master.txt | 42 + MAINTAINERS | 6 + drivers/i3c/master/Kconfig | 13 + drivers/i3c/master/Makefile | 1 + drivers/i3c/master/dw-i3c-master.c | 1217 ++++++++++++++++++++ 5 files changed, 1279 insertions(+) create mode 100755 Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.txt create mode 100755 drivers/i3c/master/dw-i3c-master.c -- 2.7.4