From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: AG47ELsPGWcOtBDhfMOrn0M7Av19nr+ECmcuo7pRqbTLtwY+oo0LlFW36XBlJZQIhAijVT9StSJP ARC-Seal: i=1; a=rsa-sha256; t=1521802840; cv=none; d=google.com; s=arc-20160816; b=TE+0dFPMuqQNexCcFeTJK5PfTXUqSYPv3KtUIAJmw3CcAGEsKOBPFdNEGmFgbLoUw7 ufQ8Ndksna+gJgyycl2i5Oi3U+0btaY2L6Z0e12lDopPJOzIXmltIRsWe20WdRe98A0S 2b2DIEcmOat/rwNoB0xKIaGEYbg61dAq4/Z65G80qppYhibZHNEjDaYxaEpXRObC+RTk jMA94Fx9wWFjeENgIv3rYi+Y7dzJpVVXp8WLPAd79w54ir3cLnGc0XPMlTaCkvyMyyIX T1mxG/lFNBgyd2aNDomtrDKnDFUvdpKPuo4m7lCupTjWTEN+/P+3ckE8LtQGES1yabn5 SLZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=aI+wQgkKwCNOV+nG5mtsvcMRkgf9fE4AnYOboA9g0iw=; b=ymhUkEhJ6+WDwv4WtUF4YaL+JRi3TroN7BDosS/fcA61PoqPK0sHcW2hfEolvwJVCd /X0RmgUpHk6bCO7FfOr3S3vDjjvMSJRpUuXFzse8GUe4iABkajicUlezPpRhWg2TBJlF LCLCEoZOmQkRDcoH7+f6kmr0lO79oBkqN0MAaOA+Vi43jhz3KpOK+Ry3jJn3/+ehOu3T XlWZp5vC7Gzei/HC2JHAX30H4elg3+Xku0p0o+HUSDI28dL1un31WS7OtupPJqpRBOtZ Bu6nCfyiypUiib/Q95aLUOnKY5qNdrbT53kRKISnrYHPwWYKzk+QWHyzgn64eyrwS1yw ttpg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of boris.brezillon@bootlin.com designates 62.4.15.54 as permitted sender) smtp.mailfrom=boris.brezillon@bootlin.com Authentication-Results: mx.google.com; spf=pass (google.com: domain of boris.brezillon@bootlin.com designates 62.4.15.54 as permitted sender) smtp.mailfrom=boris.brezillon@bootlin.com From: Boris Brezillon To: Wolfram Sang , linux-i2c@vger.kernel.org, Jonathan Corbet , linux-doc@vger.kernel.org, Greg Kroah-Hartman , Arnd Bergmann Cc: Przemyslaw Sroka , Arkadiusz Golec , Alan Douglas , Bartosz Folta , Damian Kos , Alicja Jurasik-Urbaniak , Cyprian Wronka , Suresh Punnoose , Rafal Ciepiela , Thomas Petazzoni , Nishanth Menon , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vitor Soares , Geert Uytterhoeven , Linus Walleij , Xiang Lin , linux-gpio@vger.kernel.org, Boris Brezillon Subject: [PATCH v3 09/11] dt-bindings: i3c: Document Cadence I3C master bindings Date: Fri, 23 Mar 2018 12:00:18 +0100 Message-Id: <20180323110020.19080-10-boris.brezillon@bootlin.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180323110020.19080-1-boris.brezillon@bootlin.com> References: <20180323110020.19080-1-boris.brezillon@bootlin.com> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1595725934834963345?= X-GMAIL-MSGID: =?utf-8?q?1595725934834963345?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: From: Boris Brezillon Document Cadence I3C master DT bindings. Signed-off-by: Boris Brezillon --- .../devicetree/bindings/i3c/cdns,i3c-master.txt | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/i3c/cdns,i3c-master.txt diff --git a/Documentation/devicetree/bindings/i3c/cdns,i3c-master.txt b/Documentation/devicetree/bindings/i3c/cdns,i3c-master.txt new file mode 100644 index 000000000000..f9e4af4ff1c7 --- /dev/null +++ b/Documentation/devicetree/bindings/i3c/cdns,i3c-master.txt @@ -0,0 +1,45 @@ +Bindings for cadence I3C master block +===================================== + +Required properties: +-------------------- +- compatible: shall be "cdns,i3c-master" +- clocks: shall reference the pclk and sysclk +- clock-names: shall contain "pclk" and "sysclk" +- interrupts: the interrupt line connected to this I3C master +- reg: 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 1 +- #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-frequency +- i3c-scl-frequency + +I3C device connected on the bus follow the generic description (see +Documentation/devicetree/bindings/i3c/i3c.txt for more details). + +Example: + + i3c-master@0d040000 { + compatible = "cdns,i3c-master"; + clocks = <&coreclock>, <&i3csysclock>; + clock-names = "pclk", "sysclk"; + interrupts = <3 0>; + reg = <0x0d040000 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + i2c-scl-frequency = <100000>; + + nunchuk: nunchuk@52 { + compatible = "nintendo,nunchuk"; + reg = <0x52>; + i3c-lvr = <0x10>; + }; + }; + -- 2.14.1