Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp360053imu; Thu, 8 Nov 2018 09:16:25 -0800 (PST) X-Google-Smtp-Source: AJdET5dua3l2SH37wN06L1u/JB3KJpHEdpvcKuXH1SVnKAsz9rTkOEPdPtwuqI18Ti1YGUu/iXQ0 X-Received: by 2002:a62:682:: with SMTP id 124-v6mr5349483pfg.161.1541697385799; Thu, 08 Nov 2018 09:16:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541697385; cv=none; d=google.com; s=arc-20160816; b=arkWsUiT9TjnRsTvdux+0453w9bEquJxnTwhCqMjOTRPxVz+s5Z45zCbMwXXlsR4BF FgtTkEOTjj+oqV7b6XRLQeUezjrtGhFh+XGuTUxYYdfLzlIQMApWcy0lz02s2XBwzUSx 4uosgYABScO0Tsq4rdfgcuzA+jhmmhegbTiiJWNDX02rYrCUz12WFr7tBKLSNBeNx+Th 872HLxEx2JDqq0PcMiCr2ke8jYALy0EFLTjtTMUvKUq3I7yIvvXEAU/LZAclx8JnLCQA KVl53OQ+ocrTRcHzyQmdc0tctIZZbq1/o3JBDJES3fPQ2/VUWyKymOxpqn/TsMHlMIFp opdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=ROCWvXgeVY54gIGyWvpOwhuZ9fx1xU6ji3OUVmPinW8=; b=emzHv2YCYKPcAa5+/zH50Mqo4H7Do/a1V2kN+1nxK/iznSyXOWaRkoz8u6Z5v2vmtl 4kF/18CXDxzz7/gK/PmfBzhRmJ0uUiZY0yhXC/ncqQEwrSk2CWN7kwsNOUGyetWiOyZp PUukodnxlOl5Q/FcM5HxZ0xGxWTzCKBEy//wEtY1cVHi343KidbVrFiH1HWNZDp7oxh2 MG1XP/2wnv0GBXLpYbzyiMhctJw0Izts2LzMLhxWjtviFx9qT8FjbxjyOAlScsiweZOu 3w2U+HFCRU2Paoyw/6qaxMvgI/9bLhCrDbv4LO3sSO9VZKmT4fcetb7Qzin4xSeeoAu9 gKmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b="FOrfKMg/"; 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 f2-v6si4939985pfb.246.2018.11.08.09.16.08; Thu, 08 Nov 2018 09:16:25 -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=@synopsys.com header.s=mail header.b="FOrfKMg/"; 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 S1727353AbeKICv6 (ORCPT + 99 others); Thu, 8 Nov 2018 21:51:58 -0500 Received: from smtprelay.synopsys.com ([198.182.47.9]:39122 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727253AbeKICv5 (ORCPT ); Thu, 8 Nov 2018 21:51:57 -0500 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id 697CB24E0A3F; Thu, 8 Nov 2018 09:15:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1541697330; bh=qVtF7vWHWZeNlCTIaCpsKWl3dh9738MJPCMxjNuA/xc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FOrfKMg/qVYtBGxYJCGZ4ja94JF6vwXvTiaPTBXvM9uFSo51MvkWrobNw+nL0krtP Iv6Ei7B/UQMiT12nz0PomBkgvZwxjxp7jMk/L1EsRNI4EYBsVrUYrKK3zk465A5Wcg SnCb6YDkRkliMQGRMu1Hlb6TbL2/0LSXtB2RJ6xhGh3CTpAHvE/Anlg0WnWOIufjQs 3N52UPltgyPISPT0LSF1cox1ulaJhzpM84CPcLK2NCNhbH+huzl40KTKXRR6wZVsWF OahmdZV/L1ng66fT8a/Le3l1xZGLR1eNCIDzg2Dfl3ffaLWMTelOLhClkG4aWV0MPt aHVI6FBceC9iw== Received: from vitor-VirtualBox.internal.synopsys.com (soares-e7470.internal.synopsys.com [10.107.19.145]) by mailhost.synopsys.com (Postfix) with ESMTP id 5336457AD; Thu, 8 Nov 2018 09:15:20 -0800 (PST) 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 Subject: [PATCH v3 2/3] dt-bindings: i3c: Document Synopsys DesignWare I3C master bindings Date: Thu, 8 Nov 2018 17:14:10 +0000 Message-Id: <1541697251-20392-3-git-send-email-soares@synopsys.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1541697251-20392-1-git-send-email-soares@synopsys.com> References: <1541697251-20392-1-git-send-email-soares@synopsys.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document Synopsys DesignWare I3C master module Signed-off-by: Vitor soares --- Changes in v3: - Remove dummy characters Changes in v2: - Address the changes in Documentation/devicetree/bindings/i3c/i3c.txt - Add controller version on compatible string .../devicetree/bindings/i3c/snps,dw-i3c-master.txt | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.txt diff --git a/Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.txt b/Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.txt new file mode 100644 index 0000000..b930c09 --- /dev/null +++ b/Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.txt @@ -0,0 +1,42 @@ +Bindings for Synopsys DesignWare I3C master block +================================================= + +Required properties: +-------------------- +- compatible: shall be "snps,dw-i3c-master-1.00a" +- clocks: shall reference the core_clk +- interrupts: the interrupt line connected to this I3C master +- reg: Offset and length of I3C master registers + +Mandatory properties defined by the generic binding (see +Documentation/devicetree/bindings/i3c/i3c.txt for more details): + +- #address-cells: shall be set to 3 +- #size-cells: shall be set to 0 + +Optional properties defined by the generic binding (see +Documentation/devicetree/bindings/i3c/i3c.txt for more details): + +- i2c-scl-hz +- i3c-scl-hz + +I3C device connected on the bus follow the generic description (see +Documentation/devicetree/bindings/i3c/i3c.txt for more details). + +Example: + + i3c-master@2000 { + compatible = "snps,dw-i3c-master-1.00a"; + #address-cells = <3>; + #size-cells = <0>; + reg = <0x02000 0x1000>; + interrupts = <0>; + clocks = <&i3cclk>; + + eeprom@57{ + compatible = "atmel,24c01"; + reg = < 0x57 0x0 0x10>; + pagesize = <0x8>; + }; + }; + -- 2.7.4