From: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Jacopo Mondi <jacopo.mondi@ideasonboard.com>,
Linus Walleij <linusw@kernel.org>,
Daniel Scally <dan.scally@ideasonboard.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH v4 4/5] arm64: dts: renesas: r9a09g057: Add IVC and ISP nodes
Date: Wed, 28 Oct 2026 15:53:13 +0100 [thread overview]
Message-ID: <auILoa4Tn2sgkC8P@zed> (raw)
In-Reply-To: <CAMuHMdUYXn_tZ8r5Her0y-TYfN3qd3DZ0JH1N3_fmEUHh4e0xw@mail.gmail.com>
On Wed, Oct 28, 2026 at 10:47:37AM +0100, Geert Uytterhoeven wrote:
> Hi Jacopo,
>
> On Wed, 28 Oct 2026 at 10:28, Jacopo Mondi
> <jacopo.mondi@ideasonboard.com> wrote:
> > On Wed, Oct 28, 2026 at 09:38:05AM +0100, Linus Walleij wrote:
> > > On Tue, Oct 27, 2026 at 7:39 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> > > > The driver uses Runtime PM, but I see no calls to
> > > > pm_runtime_resume_and_get()?
> > >
> > > It gets grabbed in *params.c and *stats.c:
> >
> > pm_runtime_resume_and_get() is called in the .start_streaming handler
> > for all video nodes (capture, params and stats)
>
> OK, but not from .probe(), which does hardware initialization
> before that?
The driver doesn't depend or select PM (to be honest, I don't see why
we would run without PM these days, but that's how things are the
moment).
So the peripheral is manually powered up and pm_runtime enabled in
'active' state
static int mali_c55_probe(struct platform_device *pdev)
{
ret = __mali_c55_power_on(mali_c55);
if (ret)
return dev_err_probe(dev, ret, "failed to power on\n");
ret = mali_c55_check_hwcfg(mali_c55);
if (ret)
goto err_power_off;
ret = mali_c55_init_context(mali_c55, res);
if (ret)
goto err_power_off;
mali_c55->media_dev.dev = dev;
pm_runtime_set_autosuspend_delay(&pdev->dev, 2000);
pm_runtime_use_autosuspend(&pdev->dev);
pm_runtime_set_active(&pdev->dev);
pm_runtime_enable(&pdev->dev);
If that wasn't the case, the driver would have failed to identify the
peripheral and would have bailed out in mali_c55_check_hwcfg()
>
> Gr{oetje,eeting}s,
>
> Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> -- Linus Torvalds
next prev parent reply other threads:[~2026-10-28 14:53 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-12 11:56 [PATCH v4 0/5] arm64: dts: renesas: Enable ISP and IVC on RZ/V2H EVK Linus Walleij
2026-10-12 11:56 ` [PATCH v4 1/5] dt-bindings: media: renesas,r9a09g057-ivc: Describe additional interrupts Linus Walleij
2026-10-12 11:56 ` [PATCH v4 2/5] dt-bindings: media: arm,mali-c55: Describe DMA line-tick interrupts Linus Walleij
2026-10-12 11:56 ` [PATCH v4 3/5] dt-bindings: media: arm,mali-c55: Add power domain Linus Walleij
2026-10-12 11:56 ` [PATCH v4 4/5] arm64: dts: renesas: r9a09g057: Add IVC and ISP nodes Linus Walleij
2026-10-12 15:39 ` Jacopo Mondi
2026-10-12 20:21 ` Lad, Prabhakar
2026-10-15 12:36 ` Linus Walleij
2026-10-19 10:23 ` Jacopo Mondi
2026-10-27 18:01 ` Linus Walleij
2026-10-27 18:39 ` Geert Uytterhoeven
2026-10-28 8:38 ` Linus Walleij
2026-10-28 9:28 ` Jacopo Mondi
2026-10-28 9:47 ` Geert Uytterhoeven
2026-10-28 14:53 ` Jacopo Mondi [this message]
2026-10-22 11:28 ` Lad, Prabhakar
2026-10-12 11:56 ` [PATCH v4 5/5] arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Add ISP and IVC nodes Linus Walleij
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=auILoa4Tn2sgkC8P@zed \
--to=jacopo.mondi@ideasonboard.com \
--cc=conor+dt@kernel.org \
--cc=dan.scally@ideasonboard.com \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=geert@linux-m68k.org \
--cc=krzk+dt@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=mchehab@kernel.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.