From: Philipp Zabel <p.zabel@pengutronix.de>
To: Michal Wilczynski <m.wilczynski@samsung.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Robert Foss <rfoss@kernel.org>,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Luca Ceresoli <luca.ceresoli@bootlin.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
Emil Renner Berthing <kernel@esmil.dk>,
Hal Feng <hal.feng@starfivetech.com>,
Heiko Stuebner <heiko@sntech.de>, Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>,
Dominique Belhachemi <db@domibel.de>, Andy Yan <andyshrk@163.com>,
David Airlie <airlied@gmail.com>,
Simona Vetter <simona@ffwll.ch>,
Yakir Yang <kuankuan.y@gmail.com>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
Conor Dooley <conor@kernel.org>,
William Qiu <william.qiu@starfivetech.com>,
Xingyu Wu <xingyu.wu@starfivetech.com>,
Sandy Huang <hjc@rock-chips.com>,
Manivannan Sadhasivam <mani@kernel.org>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
dri-devel@lists.freedesktop.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org,
linux-riscv@lists.infradead.org,
"Marek Szyprowski" <m.szyprowski@samsung.com>,
"Maud Spierings" <maud_spierings@murena.io>,
"Graham Markall" <hello@big-grey.co.uk>,
"Icenowy Zheng" <zhengxingda@iscas.ac.cn>,
"Chaoyi Chen" <chaoyi.chen@rock-chips.com>,
"Joshua Peisach" <jpeisach@ubuntu.com>,
"Uwe Kleine-König" <u.kleine-koenig@baylibre.com>,
"Cristian Ciocaltea" <cristian.ciocaltea@collabora.com>,
"Byron Stanoszek" <gandalf@winds.org>,
"Owen O'Hehir" <oo.hehir@gmail.com>
Subject: Re: [PATCH v8 16/18] drm/bridge: starfive: Add JH7110 HDMI controller driver
Date: Tue, 24 Nov 2026 17:50:00 +0100 [thread overview]
Message-ID: <831aebd692fc5ddbbd1cf57f1aad3bcc0d3f30d2.camel@pengutronix.de> (raw)
In-Reply-To: <20261124-jh7110-clean-send-v8-16-de92635dd857@samsung.com>
On Di, 2026-11-24 at 16:52 +0100, Michal Wilczynski wrote:
> Add the HDMI controller (bridge) driver for the StarFive JH7110.
>
[...]
>
> Tested-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
> Tested-by: Byron Stanoszek <gandalf@winds.org>
> Tested-by: Owen O'Hehir <oo.hehir@gmail.com>
> Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com>
> ---
> drivers/gpu/drm/bridge/Kconfig | 11 ++
> drivers/gpu/drm/bridge/Makefile | 1 +
> drivers/gpu/drm/bridge/jh7110-inno-hdmi.c | 297 ++++++++++++++++++++++++++++++
> 3 files changed, 309 insertions(+)
>
[...]
> diff --git a/drivers/gpu/drm/bridge/jh7110-inno-hdmi.c b/drivers/gpu/drm/bridge/jh7110-inno-hdmi.c
> new file mode 100644
> index 0000000000000000000000000000000000000000..a0283f83ddc93e3e6c9e9192b73dca9a63f9d9ab
> --- /dev/null
> +++ b/drivers/gpu/drm/bridge/jh7110-inno-hdmi.c
> @@ -0,0 +1,297 @@
[...]
> +
> +struct stf_inno_hdmi_controller {
> + struct clk_bulk_data clks[CLK_CTRL_NUM];
> + struct reset_control *tx_rst;
tx_rst is never used outside of starfive_inno_hdmi_controller_probe(),
it could be a local variable.
> + struct phy *phy;
> + bool enabled;
> +};
> +
[...]
> +static void stf_inno_hdmi_rst_assert(void *data)
> +{
> + reset_control_assert(data);
> +}
> +
> +static int starfive_inno_hdmi_controller_probe(struct platform_device *pdev)
> +{
[...]
> + ctrl->tx_rst = devm_reset_control_get_exclusive(dev, NULL);
> + if (IS_ERR(ctrl->tx_rst))
> + return dev_err_probe(dev, PTR_ERR(ctrl->tx_rst), "failed to get tx reset\n");
> +
[...]
> +
> + ret = reset_control_deassert(ctrl->tx_rst);
> + if (ret)
> + return ret;
> +
> + ret = devm_add_action_or_reset(dev, stf_inno_hdmi_rst_assert,
> + ctrl->tx_rst);
> + if (ret)
> + return ret;
This looks like it could be simplified with
devm_reset_control_get_exclusive_deasserted().
regards
Philipp
next prev parent reply other threads:[~2026-11-24 16:50 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20261124155359eucas1p2f7d4e5137f38415561ce77fd55023466@eucas1p2.samsung.com>
2026-11-24 15:52 ` [PATCH v8 00/18] drm: starfive: jh7110: Enable display subsystem Michal Wilczynski
[not found] ` <CGME20261124155401eucas1p23c6e29781ee1e0d34bb8539a0a848625@eucas1p2.samsung.com>
2026-11-24 15:52 ` [PATCH v8 01/18] drm/bridge: inno-hdmi: fix swapped HSYNC and VSYNC polarity Michal Wilczynski
[not found] ` <CGME20261124155403eucas1p26cc9bf09dc326b2e48c3d2e7100b4ecf@eucas1p2.samsung.com>
2026-11-24 15:52 ` [PATCH v8 02/18] drm/bridge: inno-hdmi: Report hotplug through drm_bridge_hpd_notify() Michal Wilczynski
[not found] ` <CGME20261124155405eucas1p16e1890307874ae88842b4aa4c852f5af@eucas1p1.samsung.com>
2026-11-24 15:52 ` [PATCH v8 03/18] dt-bindings: display: bridge: Add starfive,jh7110-inno-hdmi-controller Michal Wilczynski
[not found] ` <CGME20261124155406eucas1p23a523deb496c21cbf3da3724812a8101@eucas1p2.samsung.com>
2026-11-24 15:52 ` [PATCH v8 04/18] dt-bindings: display: starfive: Add starfive,jh7110-hdmi-subsystem Michal Wilczynski
[not found] ` <CGME20261124155408eucas1p205755e13b741cc44224d944e46575e28@eucas1p2.samsung.com>
2026-11-24 15:52 ` [PATCH v8 05/18] dt-bindings: soc: starfive: Add starfive,jh7110-vout-syscon Michal Wilczynski
[not found] ` <CGME20261124155410eucas1p1a505fa8e80ea04caa33bbd7d1a8b796c@eucas1p1.samsung.com>
2026-11-24 15:52 ` [PATCH v8 06/18] dt-bindings: display: starfive: Add starfive,jh7110-vout-subsystem Michal Wilczynski
[not found] ` <CGME20261124155412eucas1p2f62b824c68f30e1a52d7b9d878def311@eucas1p2.samsung.com>
2026-11-24 15:52 ` [PATCH v8 07/18] drm/bridge: inno-hdmi: Split probe out of bind Michal Wilczynski
[not found] ` <CGME20261124155414eucas1p1061b3aa17e9780ca95c2a723c350495f@eucas1p1.samsung.com>
2026-11-24 15:52 ` [PATCH v8 08/18] drm/bridge: inno-hdmi: Use a regmap for register access Michal Wilczynski
[not found] ` <CGME20261124155416eucas1p1d074766d9b700f0f829cf9bdc700bea5@eucas1p1.samsung.com>
2026-11-24 15:52 ` [PATCH v8 09/18] drm/bridge: inno-hdmi: Add .disable platform operation Michal Wilczynski
[not found] ` <CGME20261124155417eucas1p1800c657fb3f28861a7bd0e01018d936c@eucas1p1.samsung.com>
2026-11-24 15:52 ` [PATCH v8 10/18] drm/bridge: inno-hdmi: Add .mode_valid " Michal Wilczynski
[not found] ` <CGME20261124155419eucas1p1be4546e9ca9aa75f3f98c9a63d7e8ae6@eucas1p1.samsung.com>
2026-11-24 15:52 ` [PATCH v8 11/18] drm/bridge: inno-hdmi: Make the PHY configuration table optional Michal Wilczynski
[not found] ` <CGME20261124155421eucas1p17ba32e556ed232c18e3b573eb12f1ebd@eucas1p1.samsung.com>
2026-11-24 15:52 ` [PATCH v8 12/18] drm/bridge: inno-hdmi: Make the register clock source selectable Michal Wilczynski
[not found] ` <CGME20261124155423eucas1p2dc9d18f8a847d77c60615bc7f37ed657@eucas1p2.samsung.com>
2026-11-24 15:52 ` [PATCH v8 13/18] drm/bridge: inno-hdmi: Make the supported HDMI version selectable Michal Wilczynski
[not found] ` <CGME20261124155425eucas1p2035620902a47a26cb56909c0afda250f@eucas1p2.samsung.com>
2026-11-24 15:52 ` [PATCH v8 14/18] soc: starfive: Add jh7110-hdmi-subsystem driver Michal Wilczynski
[not found] ` <CGME20261124155427eucas1p1d7984cd7c12532c271826fd19820a55f@eucas1p1.samsung.com>
2026-11-24 15:52 ` [PATCH v8 15/18] soc: starfive: Add jh7110-vout-subsystem driver Michal Wilczynski
[not found] ` <CGME20261124155429eucas1p1015c7cd9beec294fefdcd6900dd407f6@eucas1p1.samsung.com>
2026-11-24 15:52 ` [PATCH v8 16/18] drm/bridge: starfive: Add JH7110 HDMI controller driver Michal Wilczynski
2026-11-24 16:50 ` Philipp Zabel [this message]
[not found] ` <CGME20261124155431eucas1p18761b3a7bbc4e018c6840db83d1c64fb@eucas1p1.samsung.com>
2026-11-24 15:52 ` [PATCH v8 17/18] riscv: dts: starfive: jh7110: Update DT for display subsystem Michal Wilczynski
[not found] ` <CGME20261124155433eucas1p29be901baa6a465bd2c8472160abd86f1@eucas1p2.samsung.com>
2026-11-24 15:52 ` [PATCH v8 18/18] MAINTAINERS: Add StarFive JH7110 display subsystem entry Michal Wilczynski
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=831aebd692fc5ddbbd1cf57f1aad3bcc0d3f30d2.camel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=alex@ghiti.fr \
--cc=andyshrk@163.com \
--cc=aou@eecs.berkeley.edu \
--cc=chaoyi.chen@rock-chips.com \
--cc=conor@kernel.org \
--cc=cristian.ciocaltea@collabora.com \
--cc=db@domibel.de \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=gandalf@winds.org \
--cc=hal.feng@starfivetech.com \
--cc=heiko@sntech.de \
--cc=hello@big-grey.co.uk \
--cc=hjc@rock-chips.com \
--cc=jernej.skrabec@gmail.com \
--cc=jpeisach@ubuntu.com \
--cc=kernel@esmil.dk \
--cc=krzk+dt@kernel.org \
--cc=kuankuan.y@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=luca.ceresoli@bootlin.com \
--cc=m.szyprowski@samsung.com \
--cc=m.wilczynski@samsung.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mani@kernel.org \
--cc=maud_spierings@murena.io \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=oo.hehir@gmail.com \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=rfoss@kernel.org \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
--cc=u.kleine-koenig@baylibre.com \
--cc=william.qiu@starfivetech.com \
--cc=xingyu.wu@starfivetech.com \
--cc=zhengxingda@iscas.ac.cn \
/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®