From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1565026AAB2 for ; Mon, 28 Jul 2025 14:12:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753711966; cv=none; b=oGrxC+poSP9M7+AWK5cpp0CB1DuawAJVd8wUcHnNgdbcBprVTrP4tPV3+1NCrR2FKv8+NdR+BM8MMgjaOmwtjPrfM8ZytRxEIcDxgpUajc2JShhClPqWhVcW7fZpsnYLy0QzbWtAv0UCpr+aq6xNm9bNs+qhMa0GtGjRCXkSdJE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753711966; c=relaxed/simple; bh=O7XVb7+2KL6hxl5QjIDAgpMPkeKC+T641Z452dT9/kI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=S8DTs36TQQC7gfVlXgomsDQj0SdzaelRRF9TK76yMyay8Ipcx+5hrpqsT1uJaqkqJYWe4XKmsCI67jMn22zTa46mRdgiOIa7vv7sLH+JivSEUQu7IrZ1DHQL1t56taDrDMC5t5534LugBBd2EKuqQcrJLs24Qkk2SYQDp3AwSwY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=bB02Xjuf; arc=none smtp.client-ip=209.85.218.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="bB02Xjuf" Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-ae3cd8fdd77so935339166b.1 for ; Mon, 28 Jul 2025 07:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1753711963; x=1754316763; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=jk6mSRTMsB/OIBvGlw4Rzm6kh4ycxWxzbNU2i/NsHgM=; b=bB02XjufDpj12Gzq6JmMN/Y9BwCXmUh1UUfOjCG/LhR2syMWCVBBHfdYN9WPcMdyhy OQOfvw2OU6mlCTVgUfFPsv9/MtAiqML8LR8pMjk1UwqqAJD0fr2BQRvG0kqPkCzsiVum dMCSw/xuIAyWBoJmO2xbCRyxMqGLw2OhW79jBvFpz9CBg5pLqTmav/sXMuh4vrHIYmZy rd728CDEmfBUwZkS9rNBsug9OLQZksmccsgedZ5ZhYF9UEt7dtmcthcHDNBtKOewvXIH hYOk7H7HqtOkigjEW/jt1/yahl3o44RsgcEuOXg/uU5R4XztCdDv/FUcnyceqDv1wN9Y t8Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753711963; x=1754316763; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jk6mSRTMsB/OIBvGlw4Rzm6kh4ycxWxzbNU2i/NsHgM=; b=Nq7lFTAWg5KWjkZK6yzqM9Uj7H/ocYfPCIFgbFXXYFjDJAkBNaPnO9k+3Y+yKG9gJY viIGa9gcRSO+yPkWEMYoFTFLbrtmzNSE8+/0Ezo3w380cK9reWplwfuTNpqAq7otWKz8 pA+w6bhBg6nVMD1TujLpxFMSyxXRUypc/ltnMEqk9MbPxzjYXuxawPEwqy7muiSMMWXi 7Mx5VZy+6fTbjB3VZo5BeYgKV0EOa61poD5Xw3dwFrBPXRnzH44HKTMk63XKbCutuzun cnORzp7cuHoiLv9skF5FSogykKy5Jix07uvpcqFQPg0vlwFm822Evf/wVQArTfVADnQf MVDQ== X-Forwarded-Encrypted: i=1; AJvYcCWE/c5O/qW8ZudA1rJP7O6NP5XV0mYK12/2ejbYtk9fb13BtxWdRiTjDTcg2NTP4u+lQ5FHsghIRFOu7Y4=@vger.kernel.org X-Gm-Message-State: AOJu0Yxfuez3yzjtP3+EGed48dVd/w8hEm1ibJWRVAUm3nKR3OlanHXF 1VKVmBnvs6cDNz+1TpG2ih07GZNT8qTFp8SQB0qoNRiqimhIAar6insx+nv7+YLVQA0= X-Gm-Gg: ASbGncsXHLrZL4anX2FncUl2+p7yEHBbA3R0uuXNV38ocxYNh/0ncd9C/F2ZdWdXIWC hgaqZ1Jd5TzVzNO/aVYxEVGutdwdmr9brXcWobVQmAmOJz20n6HiydlqUjZFOG3brU1DkQQCaH6 S6DnfU0QF3hunpkWlB9QMsEGR84cfTHCpX+vfebVvwQEuOo7bEGZQt8daxt+56kPV4nQ4sPwV2T fioqnxDunKWeiOuNLDTOV31ox8lsd70f6FGgbhaQcI/nP89uALpVxGWuSrkSKo6cIR8lVnB4x3r m+Xcd+Qdl4WclUaF7e+AAu75lnGrCftLLoUnoJI8QdmJLac9gVfpi3Zm/8ztDoWIajyJC6DSC7/ HsJrwIVfvhWuBCXvXcFtCnDNXTP48l0iWIkZ/2TjZ+qpRLn0Q6XVcwErRgNylbNA= X-Google-Smtp-Source: AGHT+IFqxJRE1QKHYBFZxQpyOgr6z9UdMOEOO88xTViMCt0rV+PU4AVbmvZ0211adT45N0kyk5+wKg== X-Received: by 2002:a17:907:96a0:b0:ae3:7058:7b48 with SMTP id a640c23a62f3a-af61ce932camr1392836266b.25.1753711961420; Mon, 28 Jul 2025 07:12:41 -0700 (PDT) Received: from [192.168.0.35] (188-141-3-146.dynamic.upc.ie. [188.141.3.146]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-af6358a1858sm431613166b.45.2025.07.28.07.12.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Jul 2025 07:12:40 -0700 (PDT) Message-ID: Date: Mon, 28 Jul 2025 15:12:39 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 3/7] media: qcom: camss: Add qcs8300 compatible To: Vikram Sharma , 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 References: <20250711131134.215382-1-quic_vikramsa@quicinc.com> <20250711131134.215382-4-quic_vikramsa@quicinc.com> From: Bryan O'Donoghue Content-Language: en-US In-Reply-To: <20250711131134.215382-4-quic_vikramsa@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 > --- > 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