From: Julien Stephan <jstephan@baylibre.com>
To: unlisted-recipients:; (no To-header on input)
Cc: krzysztof.kozlowski@linaro.org, robh@kernel.org,
chunkuang.hu@kernel.org, linux-mediatek@lists.infradead.org,
Julien Stephan <jstephan@baylibre.com>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
linux-kernel@vger.kernel.org (open list:ARM/Mediatek SoC support),
linux-arm-kernel@lists.infradead.org (moderated
list:ARM/Mediatek SoC support)
Subject: [PATCH v2 0/2] phy: mtk-mipi-csi: add driver for CSI phy
Date: Mon, 15 May 2023 11:05:49 +0200 [thread overview]
Message-ID: <20230515090551.1251389-1-jstephan@baylibre.com> (raw)
Adding a new driver for the MIPI CSI CD-PHY module v 0.5 embedded in
some Mediatek soc, such as the MT8365
This driver was adapted from https://patchwork.kernel.org/project/linux-mediatek/cover/20200708104023.3225-1-louis.kuo@mediatek.com/
v1 can be found here: https://lore.kernel.org/all/20230403071929.360911-1-jstephan@baylibre.com/
Changelog
Changes in v2:
- fix all comments on bindings
- move the binding chunk from driver to binding commit
- fix dt_binding_check error (reported by DT_CHECKER_FLAGS)
- use a more generic compatible string
- add a new dt properties to simplify the driver
"mediatek,is_cdphy"
- rename the driver and the corresponding file to include
version
- drop of_match_ptr()
- use devm_platform_ioremap_resource
- use phy-mtk-io.h api instead of regmap
- rework the driver to use dt nodes to declare PHY instead of an
array in the driver
- remove useless define for unused registers
- remove support for CSI0A/B because it cannot be tested, and it
simplifies the driver for a first review
- edit commit message and bindings to be more descriptive about the
hardware
Florian Sylvestre (1):
dt-bindings: phy: add mediatek mipi csi driver v 0.5
Phi-bang Nguyen (1):
phy: mtk-mipi-csi: add driver for CSI phy
.../phy/mediatek,phy-mipi-csi-0-5.yaml | 62 +++++
MAINTAINERS | 7 +
drivers/phy/mediatek/Kconfig | 8 +
drivers/phy/mediatek/Makefile | 2 +
.../mediatek/phy-mtk-mipi-csi-0-5-rx-reg.h | 58 ++++
drivers/phy/mediatek/phy-mtk-mipi-csi-0-5.c | 257 ++++++++++++++++++
.../phy/mediatek,phy-mipi-csi-0-5.h | 15 +
7 files changed, 409 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/mediatek,phy-mipi-csi-0-5.yaml
create mode 100644 drivers/phy/mediatek/phy-mtk-mipi-csi-0-5-rx-reg.h
create mode 100644 drivers/phy/mediatek/phy-mtk-mipi-csi-0-5.c
create mode 100644 include/dt-bindings/phy/mediatek,phy-mipi-csi-0-5.h
--
2.40.0
next reply other threads:[~2023-05-15 9:38 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-15 9:05 Julien Stephan [this message]
2023-05-15 9:05 ` [PATCH v2 1/2] dt-bindings: phy: add mediatek mipi csi driver v 0.5 Julien Stephan
2023-05-15 12:25 ` 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-1-jstephan@baylibre.com \
--to=jstephan@baylibre.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=chunkuang.hu@kernel.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=matthias.bgg@gmail.com \
--cc=robh@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
all inboxes | Powered by JetHome®