From: Mike Shettel <mshettel@codeaurora.org>
To: gregkh@linuxfoundation.org, boris.brezillon@bootlin.com,
robh+dt@kernel.org, mark.rutland@arm.com,
devicetree@vger.kernel.org
Cc: Mike Shettel <mshettel@codeaurora.org>,
linux-arm-msm@vger.kernel.org, linux-i2c@vger.kernel.org,
linux-kernel@vger.kernel.org, evgreen@chromium.org,
acourbot@chromium.org, swboyd@chromium.org,
dianders@chromium.org, mka@chromium.org,
bjorn.andersson@linaro.org
Subject: [PATCH v1 2/3] dt-bindings: i3c: Document Qualcomm GENI I3C master bindings
Date: Tue, 31 Jul 2018 23:39:01 -0600 [thread overview]
Message-ID: <1533101942-29442-3-git-send-email-mshettel@codeaurora.org> (raw)
In-Reply-To: <1533101942-29442-1-git-send-email-mshettel@codeaurora.org>
Signed-off-by: Mike Shettel <mshettel@codeaurora.org>
---
.../devicetree/bindings/i3c/qcom,geni-i3c.txt | 44 ++++++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i3c/qcom,geni-i3c.txt
diff --git a/Documentation/devicetree/bindings/i3c/qcom,geni-i3c.txt b/Documentation/devicetree/bindings/i3c/qcom,geni-i3c.txt
new file mode 100644
index 0000000..8b76fda
--- /dev/null
+++ b/Documentation/devicetree/bindings/i3c/qcom,geni-i3c.txt
@@ -0,0 +1,44 @@
+Bindings for Qualcomm Geni I3C master block
+===========================================
+
+Required properties:
+--------------------
+- compatible: shall be "qcom,geni-i3c"
+- clocks: shall reference the se clock
+- clock-names: shall contain clock name corresponding to the serial engine
+- interrupts: the interrupt line connected to this I3C master
+- reg: I3C master registers
+
+Optional properties:
+--------------------
+- se-clock-frequency: Source serial clock frequency to use
+- dfs-index: Dynamic frequency scaling table index to use
+
+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@0d040000 {
+ compatible = "qcom,geni-i3c";
+ clocks = <&clock_gcc GCC_QUPV3_WRAP0_S0_CLK>;
+ clock-names = "se";
+ interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
+ reg = <0x0d040000 0x4000>;
+ #address-cells = <3>;
+ #size-cells = <0>;
+ i2c-scl-hz = <100000>;
+ };
+
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2018-08-01 5:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-01 5:38 [PATCH v1 0/3] Add a driver for Qualcomm GENI I3C master IP Mike Shettel
2018-08-01 5:39 ` [PATCH v1 1/3] i3c: master: " Mike Shettel
2018-08-09 15:18 ` Stephen Boyd
2018-08-01 5:39 ` Mike Shettel [this message]
2018-08-09 15:06 ` [PATCH v1 2/3] dt-bindings: i3c: Document Qualcomm GENI I3C master bindings Stephen Boyd
2018-08-13 21:47 ` Rob Herring
2018-08-01 5:39 ` [PATCH v1 3/3] MAINTAINERS: Add Qualcomm Generic Interface I3C driver maintainer Mike Shettel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1533101942-29442-3-git-send-email-mshettel@codeaurora.org \
--to=mshettel@codeaurora.org \
--cc=acourbot@chromium.org \
--cc=bjorn.andersson@linaro.org \
--cc=boris.brezillon@bootlin.com \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=evgreen@chromium.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mka@chromium.org \
--cc=robh+dt@kernel.org \
--cc=swboyd@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).