From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
To: Vikram Sharma <quic_vikramsa@quicinc.com>,
rfoss@kernel.org, todor.too@gmail.com, mchehab@kernel.org,
robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
andersson@kernel.org, konradybcio@kernel.org,
hverkuil-cisco@xs4all.nl, cros-qcom-dts-watchers@chromium.org,
catalin.marinas@arm.com, will@kernel.org
Cc: linux-arm-kernel@lists.infradead.org, quic_svankada@quicinc.com,
linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 3/7] media: qcom: camss: Add qcs8300 compatible
Date: Mon, 28 Jul 2025 15:12:39 +0100 [thread overview]
Message-ID: <dca47ca3-d5f7-4b2e-9611-dd195ee149fc@linaro.org> (raw)
In-Reply-To: <20250711131134.215382-4-quic_vikramsa@quicinc.com>
On 11/07/2025 14:11, Vikram Sharma wrote:
> Add CAMSS_8300 enum, QCS8300 compatible and qcs8300 camss driver
> private data, the private data just include some basic information
> for now, later changes will enumerate with csiphy, tpg, csid and
> vfe resources.
>
> Signed-off-by: Vikram Sharma <quic_vikramsa@quicinc.com>
> ---
> drivers/media/platform/qcom/camss/camss.c | 21 +++++++++++++++++++++
> drivers/media/platform/qcom/camss/camss.h | 1 +
> 2 files changed, 22 insertions(+)
>
> diff --git a/drivers/media/platform/qcom/camss/camss.c b/drivers/media/platform/qcom/camss/camss.c
> index 6f5b70bcf488..5211367b535d 100644
> --- a/drivers/media/platform/qcom/camss/camss.c
> +++ b/drivers/media/platform/qcom/camss/camss.c
> @@ -2898,6 +2898,19 @@ static const struct camss_subdev_resources vfe_res_8775p[] = {
> },
> };
>
> +static const struct resources_icc icc_res_qcs8300[] = {
> + {
> + .name = "ahb",
> + .icc_bw_tbl.avg = 38400,
> + .icc_bw_tbl.peak = 76800,
> + },
> + {
> + .name = "hf_0",
> + .icc_bw_tbl.avg = 2097152,
> + .icc_bw_tbl.peak = 2097152,
> + },
> +};
> +
> static const struct resources_icc icc_res_sa8775p[] = {
> {
> .name = "ahb",
> @@ -4180,6 +4193,13 @@ static const struct camss_resources msm8996_resources = {
> .link_entities = camss_link_entities
> };
>
> +static const struct camss_resources qcs8300_resources = {
> + .version = CAMSS_8300,
> + .pd_name = "top",
> + .icc_res = icc_res_qcs8300,
> + .icc_path_num = ARRAY_SIZE(icc_res_qcs8300),
> + .link_entities = camss_link_entities
> +};
>
> static const struct camss_resources sa8775p_resources = {
> .version = CAMSS_8775P,
> @@ -4308,6 +4328,7 @@ static const struct of_device_id camss_dt_match[] = {
> { .compatible = "qcom,msm8916-camss", .data = &msm8916_resources },
> { .compatible = "qcom,msm8953-camss", .data = &msm8953_resources },
> { .compatible = "qcom,msm8996-camss", .data = &msm8996_resources },
> + { .compatible = "qcom,qcs8300-camss", .data = &qcs8300_resources },
> { .compatible = "qcom,sa8775p-camss", .data = &sa8775p_resources },
> { .compatible = "qcom,sc7280-camss", .data = &sc7280_resources },
> { .compatible = "qcom,sc8280xp-camss", .data = &sc8280xp_resources },
> diff --git a/drivers/media/platform/qcom/camss/camss.h b/drivers/media/platform/qcom/camss/camss.h
> index 345479f6feba..b5600a8b2c4b 100644
> --- a/drivers/media/platform/qcom/camss/camss.h
> +++ b/drivers/media/platform/qcom/camss/camss.h
> @@ -84,6 +84,7 @@ enum camss_version {
> CAMSS_8x96,
> CAMSS_8250,
> CAMSS_8280XP,
> + CAMSS_8300,
> CAMSS_845,
> CAMSS_8550,
> CAMSS_8775P,
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
next prev parent reply other threads:[~2025-07-28 14:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-11 13:11 [PATCH v2 0/7] qcom: qcs8300: Add qcs8300 camss support Vikram Sharma
2025-07-11 13:11 ` [PATCH v2 1/7] media: dt-bindings: Add qcom,qcs8300-camss compatible Vikram Sharma
2025-07-11 13:36 ` Krzysztof Kozlowski
2025-07-11 13:11 ` [PATCH v2 2/7] arm64: dts: qcom: qcs8300: Add support for camss Vikram Sharma
2025-07-11 13:35 ` Krzysztof Kozlowski
2025-07-11 13:41 ` Vikram Sharma
2025-07-11 13:11 ` [PATCH v2 3/7] media: qcom: camss: Add qcs8300 compatible Vikram Sharma
2025-07-28 14:12 ` Bryan O'Donoghue [this message]
2025-07-11 13:11 ` [PATCH v2 4/7] media: qcom: camss: enable csid 690 for qcs8300 Vikram Sharma
2025-07-14 9:35 ` Konrad Dybcio
2025-07-11 13:11 ` [PATCH v2 5/7] media: qcom: camss: enable vfe " Vikram Sharma
2025-07-28 14:14 ` Bryan O'Donoghue
2025-07-11 13:11 ` [PATCH v2 6/7] media: qcom: camss: Add support for CSIPHY QCS8300 Vikram Sharma
2025-07-28 14:15 ` Bryan O'Donoghue
2025-07-11 13:11 ` [PATCH v2 7/7] media: qcom: camss: Enumerate resources for QCS8300 Vikram Sharma
2025-07-28 14:16 ` Bryan O'Donoghue
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=dca47ca3-d5f7-4b2e-9611-dd195ee149fc@linaro.org \
--to=bryan.odonoghue@linaro.org \
--cc=andersson@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=cros-qcom-dts-watchers@chromium.org \
--cc=devicetree@vger.kernel.org \
--cc=hverkuil-cisco@xs4all.nl \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=quic_svankada@quicinc.com \
--cc=quic_vikramsa@quicinc.com \
--cc=rfoss@kernel.org \
--cc=robh@kernel.org \
--cc=todor.too@gmail.com \
--cc=will@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).