Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3299800imm; Fri, 20 Jul 2018 13:59:54 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc2SdttFdSgs/IGQBLlfCnbitAaKDQQPn9meIiwseuVuLQ5S4wrgVW/0HAotvwsXwAvnJg+ X-Received: by 2002:a17:902:7683:: with SMTP id m3-v6mr3427808pll.255.1532120394509; Fri, 20 Jul 2018 13:59:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532120394; cv=none; d=google.com; s=arc-20160816; b=KvXehQ9Gh/o1het5rK3dju2NDwQbLDTxe2xPkzg1Lx9NLuwTYjoYaXQZx9bzoafFyG sKZqQA7KuvQCz68CKT3iBRkeGYTYDgragjfXTO2eiK8U6Qzm7zpvBtP/SxtLgMULAfXy gwGJd8AcEB5SpUypYXQ/NNY3wev7FDcx41IMIkfBBT7s9lPkQNMXcnqcsOLALabBo7jT C87AII5CWbHZ1uN8jE/tTLiaQFRtL9pvL/9lsc8ud4kobuhxtPKghn2xoTqkxyWzrMoa ou8wGVHXyzekB/CneAndzMUf4rlh7RF2ZOoeqtmMTYA8aAcxSQyz+tADZ9uu9f7dbZKv ++2w== 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:arc-authentication-results; bh=KyrKz5O+ppq3UsMOIbrHK+MCyjVTlS84aNT5sAaPmQw=; b=eeQ+ycyRfXAU0OypiLukzhOY8SZMPEHfurI8E6qAoo+m2eFE4e+EwH0VhciUq1GG94 tnWR5mvVWmX5xkGsK/CFoVeGGK7Ew/YQeyJxl19hHA0U5GhTjz52Dowm0zVRPckBPiBo P6DhKD6IMdbo08eN8dAE3ZdJF5ubWTen1EgrTQzp6YlBKxGmIlPdgsamxATG3/HEqp8S BipLUxDWRErV9gosVgaAc+TAyzQotEJ9vqeYmco28wqQs+oTPFpg3Ad8nFd9c0rrPTRw D92cse2xMRNvPjcEIH6a+E0yTHQ+gZ+O1+fCIkgpVBV+KexqARqAkE+0AmlOEFWM3ET+ wQdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=fgNUWj0S; 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 d31-v6si2390089pla.190.2018.07.20.13.59.39; Fri, 20 Jul 2018 13:59:54 -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=fgNUWj0S; 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 S1730010AbeGTVs5 (ORCPT + 99 others); Fri, 20 Jul 2018 17:48:57 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:38828 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727671AbeGTVs4 (ORCPT ); Fri, 20 Jul 2018 17:48:56 -0400 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id 9B81810C134B; Fri, 20 Jul 2018 13:58:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1532120337; bh=C1oH5KKjPAB9Z31tPLmMsdyi21v2Fw6D0tV4RqHM0/U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fgNUWj0S5irLngTXQk15cUZUB8cP6aG19ZSLm6IS8V6CVlFD/KXHNjJk3swJAh6D7 R6++WDO4oyW02o+fZ9ljA5CzXWQsQpg/IL9MqcoeGQaBVKsISGbn7QPESstDWyEYhV 9Gmz7/Ll5C88KTcuMBFID6hCcLt3hmg5ZZ6KFc9QiXtHNwdDnyJ4n32oPiVkAAbVts LZm9T9q2dOexOvvzs/p+sggMBZ1p+MuIUx5LjeOYNVf4oIHCiDppuqdqpCzCNgr4wr /DAXZV4W9n3y4r+uAEUpsI/fM+kFPmdXUMMgqmmTjb12yp2todZN2hYgrWF7g1gUzs eYs+TSgGA1JMw== Received: from vitor-VirtualBox.internal.synopsys.com (soares-e7470.internal.synopsys.com [10.107.25.76]) by mailhost.synopsys.com (Postfix) with ESMTP id 5E7095BE0; Fri, 20 Jul 2018 13:58:51 -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, 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, Joao.Pinto@synopsys.com, Vitor.Soares@synopsys.com Subject: [PATCH 2/3] dt-bindings: i3c: Document Synopsys DesignWare I3C master bindings Date: Fri, 20 Jul 2018 21:57:51 +0100 Message-Id: <1532120272-17157-3-git-send-email-soares@synopsys.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1532120272-17157-1-git-send-email-soares@synopsys.com> References: <1532120272-17157-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 This patch document Synopsys DesignWare I3C master DT bindings. Signed-off-by: Vitor soares --- .../devicetree/bindings/i3c/snps,dw-i3c-master.txt | 43 ++++++++++++++++++++++ 1 file changed, 43 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..7f5c8b0 --- /dev/null +++ b/Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.txt @@ -0,0 +1,43 @@ +Bindings for Synopsys DesignWare I3C master block +================================================= + +Required properties: +-------------------- +- compatible: shall be "snps,dw-i3c-master" +- clocks: shall reference the core_clk +- clock-names: shall contain "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@0x2000 { + compatible = "snps,dw-i3c-master"; + #address-cells = <3>; + #size-cells = <0>; + reg = <0x02000 0x1000>; + interrupts = <0>; + clocks = <&i3cclk>; + clock-names = "core_clk"; + + eeprom@0x57{ + compatible = "atmel,24c01"; + reg = < 0x57 0x80000010 0x0>; + pagesize = <0x8>; + }; + }; -- 2.7.4