From: Julien Stephan <jstephan@baylibre.com>
Cc: krzysztof.kozlowski@linaro.org, robh@kernel.org,
chunkuang.hu@kernel.org, linux-mediatek@lists.infradead.org,
Florian Sylvestre <fsylvestre@baylibre.com>,
Julien Stephan <jstephan@baylibre.com>,
Chunfeng Yun <chunfeng.yun@mediatek.com>,
Andy Hsieh <andy.hsieh@mediatek.com>,
Vinod Koul <vkoul@kernel.org>,
Kishon Vijay Abraham I <kishon@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
linux-arm-kernel@lists.infradead.org (moderated
list:ARM/Mediatek USB3 PHY DRIVER),
linux-phy@lists.infradead.org (open list:GENERIC PHY FRAMEWORK),
devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND
FLATTENED DEVICE TREE BINDINGS),
linux-kernel@vger.kernel.org (open list)
Subject: [PATCH v2 1/2] dt-bindings: phy: add mediatek mipi csi driver v 0.5
Date: Mon, 15 May 2023 11:05:50 +0200 [thread overview]
Message-ID: <20230515090551.1251389-2-jstephan@baylibre.com> (raw)
In-Reply-To: <20230515090551.1251389-1-jstephan@baylibre.com>
From: Florian Sylvestre <fsylvestre@baylibre.com>
This adds the bindings, for the MIPI CD-PHY module v 0.5 embedded in
some Mediatek soc, such as the mt8365
Signed-off-by: Florian Sylvestre <fsylvestre@baylibre.com>
Signed-off-by: Julien Stephan <jstephan@baylibre.com>
---
.../phy/mediatek,phy-mipi-csi-0-5.yaml | 62 +++++++++++++++++++
MAINTAINERS | 6 ++
2 files changed, 68 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/mediatek,phy-mipi-csi-0-5.yaml
diff --git a/Documentation/devicetree/bindings/phy/mediatek,phy-mipi-csi-0-5.yaml b/Documentation/devicetree/bindings/phy/mediatek,phy-mipi-csi-0-5.yaml
new file mode 100644
index 000000000000..5aa8c0b41cdf
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/mediatek,phy-mipi-csi-0-5.yaml
@@ -0,0 +1,62 @@
+# SPDX-License-Identifier: (GPL-2.0-Only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/phy/mediatek,phy-mipi-csi-0-5.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Mediatek Sensor Interface MIPI CSI CD-PHY
+
+maintainers:
+ - Julien Stephan <jstephan@baylibre.com>
+ - Andy Hsieh <andy.hsieh@mediatek.com>
+
+description:
+ The SENINF CD-PHY is a set of CD-PHY connected to the SENINF CSI-2
+ receivers. The number of PHYs depends on the SoC model.
+ Depending on the soc model, each PHYs can support CDPHY or DPHY only
+
+properties:
+ compatible:
+ enum:
+ - mediatek,phy-mipi-csi-0-5
+
+ reg:
+ maxItems: 1
+
+ '#phy-cells':
+ const: 0
+
+ mediatek,is_cdphy:
+ description:
+ Specify if the current phy support CDPHY configuration
+ type: boolean
+
+required:
+ - compatible
+ - reg
+ - '#phy-cells'
+
+additionalProperties: false
+
+examples:
+ - |
+ soc {
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ mipi_rx_csi0: mipi_rx_csi0@11c10000 {
+ compatible = "mediatek,phy-mipi-csi-0-5";
+ reg = <0 0x11C10000 0 0x2000>;
+ status = "okay";
+ mediatek,is_cdphy;
+ #phy-cells = <0>;
+ };
+
+ mipi_rx_csi1: mipi-rx-csi1@11c12000 {
+ compatible = "mediatek,phy-mipi-csi-0-5";
+ reg = <0 0x11C12000 0 0x2000>;
+ status = "disabled";
+ #phy-cells = <0>;
+ };
+ };
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index 6d54f3193075..44f0ff11e984 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -13098,6 +13098,12 @@ F: Documentation/devicetree/bindings/media/mediatek-vpu.txt
F: drivers/media/platform/mediatek/vcodec/
F: drivers/media/platform/mediatek/vpu/
+MEDIATEK MIPI-CSI CDPHY DRIVER
+M: Julien Stephan <jstephan@baylibre.com>
+M: Andy Hsieh <andy.hsieh@mediatek.com>
+S: Supported
+F: Documentation/devicetree/bindings/phy/mediatek,phy-mipi-csi-0-5.yaml
+
MEDIATEK MMC/SD/SDIO DRIVER
M: Chaotian Jing <chaotian.jing@mediatek.com>
S: Maintained
--
2.40.0
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
next parent reply other threads:[~2023-05-15 10:45 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20230515090551.1251389-1-jstephan@baylibre.com>
2023-05-15 9:05 ` Julien Stephan [this message]
2023-05-15 12:25 ` [PATCH v2 1/2] dt-bindings: phy: add mediatek mipi csi driver v 0.5 AngeloGioacchino Del Regno
2023-05-16 8:07 ` Krzysztof Kozlowski
2023-05-16 9:41 ` Julien Stephan
2023-05-16 12:56 ` Krzysztof Kozlowski
2023-05-16 17:00 ` Kevin Hilman
2023-05-16 17:46 ` Krzysztof Kozlowski
2023-05-16 21:31 ` Kevin Hilman
2023-05-17 7:40 ` Krzysztof Kozlowski
2023-05-22 19:15 ` Kevin Hilman
2023-05-30 8:53 ` Krzysztof Kozlowski
2023-06-05 8:44 ` Julien Stephan
2023-06-08 13:49 ` Rob Herring
2023-05-25 7:09 ` Chunfeng Yun (云春峰)
2023-05-15 9:05 ` [PATCH v2 2/2] phy: mtk-mipi-csi: add driver for CSI phy Julien Stephan
2023-05-15 12:22 ` AngeloGioacchino Del Regno
2023-05-15 13:36 ` Julien Stephan
2023-05-15 14:22 ` AngeloGioacchino Del Regno
2023-05-15 14:52 ` Julien Stephan
2023-05-15 14:07 ` Julien Stephan
2023-05-15 14:32 ` AngeloGioacchino Del Regno
2023-05-16 9:30 ` Julien Stephan
2023-05-16 14:55 ` AngeloGioacchino Del Regno
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=20230515090551.1251389-2-jstephan@baylibre.com \
--to=jstephan@baylibre.com \
--cc=andy.hsieh@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=chunfeng.yun@mediatek.com \
--cc=chunkuang.hu@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=fsylvestre@baylibre.com \
--cc=kishon@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-phy@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=robh+dt@kernel.org \
--cc=robh@kernel.org \
--cc=vkoul@kernel.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).