From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
To: Loic Poulain <loic.poulain@oss.qualcomm.com>,
Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org,
Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Subject: Re: [PATCH v2 4/4] media: qcom: camss: Report hardware version via media controller
Date: Tue, 21 Jul 2026 23:04:07 +0100 [thread overview]
Message-ID: <f94e951e-8abb-440c-8b23-2795d2d0e31f@linaro.org> (raw)
In-Reply-To: <20260721-camss-version-v2-4-b2440d99085a@oss.qualcomm.com>
On 21/07/2026 14:21, Loic Poulain wrote:
> Populate media_dev.hw_revision with the top-level CAMSS hardware version
> so that user space can query the exact hardware variant through the media
> controller (e.g. via media-ctl or MEDIA_IOC_DEVICE_INFO). This can help
> identify the platform variant and adapt behaviour accordingly, for example
> allowing libcamera to apply quirks or enable features that cannot be
> discovered through standard V4L2 or media-controller APIs.
>
> The version register is exposed by some platforms through the top-level
> "top" reg region (offset 0). When present, map it and read the version
> once at probe. This is a no-op on platforms not mapping the region (yet).
>
> Reported media info on Agatti/CM2290 (Spectra 520):
> Media Driver Info:
> Driver name : qcom-camss
> Model : Qualcomm Camera Subsystem
> Bus info : platform:5c11000.camss
> Hardware revision: 0x00050200 (328192)
>
> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
prev parent reply other threads:[~2026-07-21 22:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-21 13:21 [PATCH v2 0/4] media: qcom: camss: Report CAMSS " Loic Poulain
2026-07-21 13:21 ` [PATCH v2 1/4] media: qcom: camss: Add PM clock support and integrate with runtime PM Loic Poulain
2026-07-21 16:16 ` Frank Li
2026-07-21 22:02 ` Bryan O'Donoghue
2026-07-21 13:21 ` [PATCH v2 2/4] media: qcom: camss: Add PM clock definitions for QCM2290 Loic Poulain
2026-07-21 16:17 ` Frank Li
2026-07-21 13:21 ` [PATCH v2 3/4] media: qcom: camss: Drop top_ahb/ahb/axi from QCM2290 subdevice clocks Loic Poulain
2026-07-21 16:25 ` Frank Li
2026-07-21 22:03 ` Bryan O'Donoghue
2026-07-21 13:21 ` [PATCH v2 4/4] media: qcom: camss: Report hardware version via media controller Loic Poulain
2026-07-21 16:40 ` Frank Li
2026-07-21 22:04 ` Bryan O'Donoghue [this message]
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=f94e951e-8abb-440c-8b23-2795d2d0e31f@linaro.org \
--to=bryan.odonoghue@linaro.org \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=loic.poulain@oss.qualcomm.com \
--cc=mchehab@kernel.org \
--cc=vladimir.zapolskiy@linaro.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®