public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: Louis Kuo <louis.kuo@mediatek•com>
To: <hans.verkuil@cisco•com>,
	<laurent.pinchart+renesas@ideasonboard•com>, <tfiga@chromium•org>,
	<keiichiw@chromium•org>, <matthias.bgg@gmail•com>,
	<mchehab@kernel•org>
Cc: devicetree@vger•kernel.org, Sean.Cheng@mediatek•com,
	Rynn.Wu@mediatek•com, srv_heupstream@mediatek•com,
	holmes.chiou@mediatek•com, Jerry-ch.Chen@mediatek•com,
	jungo.lin@mediatek•com, sj.huang@mediatek•com,
	yuzhao@chromium•org, linux-mediatek@lists•infradead.org,
	zwisler@chromium•org, Louis Kuo <louis.kuo@mediatek•com>,
	christie.yu@mediatek•com, frederic.chen@mediatek•com,
	linux-arm-kernel@lists•infradead.org,
	linux-media@vger•kernel.org
Subject: [RFC PATCH V3 3/4] dt-bindings: mt8183: Add sensor interface dt-bindings
Date: Thu, 6 Jun 2019 18:00:32 +0800	[thread overview]
Message-ID: <1559815233-24796-4-git-send-email-louis.kuo@mediatek.com> (raw)
In-Reply-To: <1559815233-24796-1-git-send-email-louis.kuo@mediatek.com>

This patch adds the DT binding documentation for the sensor interface
module in Mediatek SoCs.

Signed-off-by: Louis Kuo <louis.kuo@mediatek•com>
---
 .../devicetree/bindings/media/mediatek-seninf.txt  | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/mediatek-seninf.txt

diff --git a/Documentation/devicetree/bindings/media/mediatek-seninf.txt b/Documentation/devicetree/bindings/media/mediatek-seninf.txt
new file mode 100644
index 0000000..979063a
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/mediatek-seninf.txt
@@ -0,0 +1,31 @@
+* Mediatek seninf MIPI-CSI2 host driver
+
+Seninf MIPI-CSI2 host driver is a HW camera interface controller. It support a widely adopted,
+simple, high-speed protocol primarily intended for point-to-point image and video
+transmission between cameras and host devices.
+
+Required properties:
+  - compatible: "mediatek,mt8183-seninf"
+  - reg: Must contain an entry for each entry in reg-names.
+  - reg-names: Must include the following entries:
+    "base_reg": seninf registers base
+    "rx_reg": Rx analog registers base
+  - interrupts: interrupt number to the cpu.
+  - clocks : clock name from clock manager
+  - clock-names: must be CLK_CAM_SENINF and CLK_TOP_MUX_SENINF.
+    It is the clocks of seninf
+
+Example:
+	seninf: seninf@1a040000 {
+		compatible = "mediatek,mt8183-seninf";
+		reg = <0 0x1a040000 0 0x8000>,
+		      <0 0x11C80000 0 0x6000>;
+		reg-names = "base_reg", "rx_reg";
+		interrupts = <GIC_SPI 251 IRQ_TYPE_LEVEL_LOW>;
+		power-domains = <&scpsys MT8183_POWER_DOMAIN_CAM>;
+		clocks =
+				<&camsys CLK_CAM_SENINF>, <&topckgen CLK_TOP_MUX_SENINF>;
+		clock-names =
+			"CLK_CAM_SENINF", "CLK_TOP_MUX_SENINF";
+	}
+
-- 
1.9.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2019-06-06 10:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-06 10:00 [RFC PATCH V3 0/4] media: support Mediatek sensor interface driver Louis Kuo
2019-06-06 10:00 ` [RFC PATCH V3 1/4] media: platform: mtk-isp: Add " Louis Kuo
2019-06-17  6:34   ` CK Hu
2019-07-17  7:45   ` Tomasz Figa
2019-06-06 10:00 ` [RFC PATCH V3 2/4] media: platform: Add Mediatek sensor interface driver KConfig Louis Kuo
2019-08-26 11:53   ` Sakari Ailus
2019-06-06 10:00 ` Louis Kuo [this message]
2019-06-10  2:23   ` [RFC PATCH V3 3/4] dt-bindings: mt8183: Add sensor interface dt-bindings CK Hu
     [not found]     ` <f6c423612aec46ca8e3aa217fffe4897@mtkmbs07n1.mediatek.inc>
2019-06-10  5:13       ` CK Hu
2019-08-26 11:52   ` Sakari Ailus
2019-06-06 10:00 ` [RFC PATCH V3 4/4] dts: arm64: mt8183: Add sensor interface nodes Louis Kuo

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=1559815233-24796-4-git-send-email-louis.kuo@mediatek.com \
    --to=louis.kuo@mediatek$(echo .)com \
    --cc=Jerry-ch.Chen@mediatek$(echo .)com \
    --cc=Rynn.Wu@mediatek$(echo .)com \
    --cc=Sean.Cheng@mediatek$(echo .)com \
    --cc=christie.yu@mediatek$(echo .)com \
    --cc=devicetree@vger$(echo .)kernel.org \
    --cc=frederic.chen@mediatek$(echo .)com \
    --cc=hans.verkuil@cisco$(echo .)com \
    --cc=holmes.chiou@mediatek$(echo .)com \
    --cc=jungo.lin@mediatek$(echo .)com \
    --cc=keiichiw@chromium$(echo .)org \
    --cc=laurent.pinchart+renesas@ideasonboard$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-media@vger$(echo .)kernel.org \
    --cc=linux-mediatek@lists$(echo .)infradead.org \
    --cc=matthias.bgg@gmail$(echo .)com \
    --cc=mchehab@kernel$(echo .)org \
    --cc=sj.huang@mediatek$(echo .)com \
    --cc=srv_heupstream@mediatek$(echo .)com \
    --cc=tfiga@chromium$(echo .)org \
    --cc=yuzhao@chromium$(echo .)org \
    --cc=zwisler@chromium$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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