From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.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 56C7645BD45 for ; Fri, 27 Feb 2026 22:02:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772229760; cv=none; b=oz9MfoU/+lJNBAXGDTzy2HUrmIk18GDAqIE2lxB7SRSTVeVymvlhcvm10eK4jcgRpRPbM/f9FF7nH+zZMfkCoK9/6UD2xzFkqwy+IQT9xMKLwme4ftuQ3pVzBBNBt9zekzDwlAm5YELbZVyzbXWWmnGVCMkE/wzkSht421/tlfo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772229760; c=relaxed/simple; bh=4Fb26j5vTfieYch+seVLLPeFSYE4hBxYLaTjZ68Ieuc=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=QgzKrTA0J3EX/koW+a2FUMw+OZEOa2HasreMRn5WWJjR7ROHuMbO9idwbPm2ahqNaOPKKH7H4QRjjj+wM8MjEtOLMGniPM3DEw4stB1DLq16CSFTLUnS2qUxNPtuqfYaqQVzNpdfXU6VF2aT2dUxlRLGBKe5fFEtndpX59Y13Ok= 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=vsAWn+Wi; arc=none smtp.client-ip=209.85.128.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="vsAWn+Wi" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-48371bb515eso35434665e9.1 for ; Fri, 27 Feb 2026 14:02:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1772229758; x=1772834558; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=qbVQyBBqf3r/Whw+7lnX7iODWdqwkPoqOOSohK0cUc4=; b=vsAWn+WiosGwdOxk3EyBLoFb0Zh5GAvwNj569vZjoM5Be/dDtYBGpLX+sttEt1atNu JGxctc0luFxQtxXHGqcMoBsAyH1FJ8DxQURWrNiJcbspAdLW2XLzDw5EZ8avv8IWxJ2M hcUqD5UpUjB2u4bn1u1d++5YZ80S0Jf+4BpmS1wSgTlcZ+lpckcGqm0q7j9h16rS1X7w FHy7UePlh2xiO5UkAA3QppvfaSGWKc22HrkFPFlzflr9V63QrWJMoSsC6ZJQ46WC2tNk Pie1tyJlehw8BfGFoDUa7L8+mNq57SXnrF+c9wlMukTFC6TO7Yfg09qy079mEUDIyGPc piIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772229758; x=1772834558; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qbVQyBBqf3r/Whw+7lnX7iODWdqwkPoqOOSohK0cUc4=; b=pZDbtmSlIF5eotegWtNmMv7Zp9Xek0GKRNItfBOQZ+okbWEGQMt6U0dVbAJa0+Q0qO j7YxyF4xHw75+RL1UHb/k2RLUL2h76hCnB/Tq3AlMPdMr5UloFHhSppDvLAj5Y25561u a096GT9Agm9gJr4oR8DHSKI8WsPxonIho3IRHdSDUff11RFsnuyGu/2T6pmnoP8b+tB0 CuvmAujLu60XZAJGO2+OLmqfpVk4fkprLPAeaiMCEkETsV1t5sRGIsK65VhsjUpF3uVG YwiCqzm/2XxUipXAsMnpWvC6OxAwWO76BiByTq/lMXIG46M0M8x8lnG5uXpCxn41dsSO Gy9A== X-Forwarded-Encrypted: i=1; AJvYcCVmrFfjgj3TF7MBT4fiuOKG+EAuXRK39Ulxmijw3W/LtLNBsdNRKVBQ6NWqFoE4ngGQM05g1zb/M/BenRo=@vger.kernel.org X-Gm-Message-State: AOJu0YzakNXAkKw+GqKC5cOJ90o3gnzgQ9LarMCCir0ebT2nTMq+YWNH /4r3lfd7Y46OA5bvXWAzQ3g6DCaD+PsEL8yJIerI8Bx8xOktQZoho3Yz3/uEYQtA/gI= X-Gm-Gg: ATEYQzwHJM4mrnqnARu726ArxkRkVSYH2PkhJc/YzWPXNA78CfotnUnf24ZgkD/Dou1 7Tr9RWJAF7VHAZTy/g/GSBlIRp+Cq2oZoE9fV+z63AIfzHTPR9lDGid48TItmWVrfJ22eE5eOAP igQXn9vkvQ76R2DNn0VenaDrVSMWqmb90NgPu8qqLxiZpSYMLoDtdUnx6ikJlxco36hY116py11 tnG/cWfSiyUIOrJMaqo/gquL4fxo0/0Qln4YOx3f2nj0NcdF/th646k4+ROIohYz7SWHrYcgVc/ 2oTUF8jXJ7dgE+bglvCarEDLyOa7n0Wa1iTMZJUbYi7LqeXTyzjRo0IK5cJx3xN608MtjMrUqF7 OMaOq7mkTA47S6fZlakTmYjf9mRPgOSjleBQoyhaXP/wfnDqXHcVsaWSbikjy2e91npebtHofGk bRXni0BeOR9JCW6DAOPsip4abOo99Q41z3r05qfMPwpa8wJKG8Qzq2nfnuacsGAkOhDn86+N3k3 Unxgh7rFNUrVXZGaxNEus6FGbGwq1WnG+I= X-Received: by 2002:a05:600c:4e08:b0:477:fcb:2256 with SMTP id 5b1f17b1804b1-483c9c0bb0amr67180355e9.17.1772229757631; Fri, 27 Feb 2026 14:02:37 -0800 (PST) Received: from [192.168.16.154] (host86-188-11-239.range86-188.btcentralplus.com. [86.188.11.239]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-483bd765604sm209952065e9.15.2026.02.27.14.02.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Feb 2026 14:02:37 -0800 (PST) Message-ID: <22126bec3375b76f197cf7e70baa5e33a21bf0d6.camel@linaro.org> Subject: Re: [PATCH v8 05/18] media: qcom: camss: Add legacy_phy flag to SoC definition structures From: Christopher Obbard To: Bryan O'Donoghue , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robert Foss , Todor Tomov , Mauro Carvalho Chehab , Konrad Dybcio , Vladimir Zapolskiy , Bryan O'Donoghue Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, Krzysztof Kozlowski Date: Fri, 27 Feb 2026 22:02:36 +0000 In-Reply-To: <20260225-b4-linux-next-25-03-13-dtsi-x1e80100-camss-v8-5-95517393bcb2@linaro.org> References: <20260225-b4-linux-next-25-03-13-dtsi-x1e80100-camss-v8-0-95517393bcb2@linaro.org> <20260225-b4-linux-next-25-03-13-dtsi-x1e80100-camss-v8-5-95517393bcb2@linaro.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2-8 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi Bryan, On Wed, 2026-02-25 at 15:11 +0000, Bryan O'Donoghue wrote: > Flag which SoCs have legacy - builtin PHY code. This will be useful in > subsequent patches to inform PHY bringup logic if legacy bindings are > available. >=20 > Signed-off-by: Bryan O'Donoghue Reviewed-by: Christopher Obbard Tested-by: Christopher Obbard > --- > drivers/media/platform/qcom/camss/camss.c | 17 +++++++++++++++++ > drivers/media/platform/qcom/camss/camss.h | 1 + > 2 files changed, 18 insertions(+) >=20 > diff --git a/drivers/media/platform/qcom/camss/camss.c b/drivers/media/pl= atform/qcom/camss/camss.c > index 00b87fd9afbd8..5fb5ad87e1671 100644 > --- a/drivers/media/platform/qcom/camss/camss.c > +++ b/drivers/media/platform/qcom/camss/camss.c > @@ -5104,6 +5104,7 @@ static void camss_remove(struct platform_device *pd= ev) > =20 > static const struct camss_resources msm8916_resources =3D { > .version =3D CAMSS_8x16, > + .legacy_phy =3D true, > .csiphy_res =3D csiphy_res_8x16, > .csid_res =3D csid_res_8x16, > .ispif_res =3D &ispif_res_8x16, > @@ -5115,6 +5116,7 @@ static const struct camss_resources msm8916_resourc= es =3D { > =20 > static const struct camss_resources msm8939_resources =3D { > .version =3D CAMSS_8x39, > + .legacy_phy =3D true, > .csiphy_res =3D csiphy_res_8x39, > .csid_res =3D csid_res_8x39, > .ispif_res =3D &ispif_res_8x39, > @@ -5126,6 +5128,7 @@ static const struct camss_resources msm8939_resourc= es =3D { > =20 > static const struct camss_resources msm8953_resources =3D { > .version =3D CAMSS_8x53, > + .legacy_phy =3D true, > .icc_res =3D icc_res_8x53, > .icc_path_num =3D ARRAY_SIZE(icc_res_8x53), > .csiphy_res =3D csiphy_res_8x96, > @@ -5139,6 +5142,7 @@ static const struct camss_resources msm8953_resourc= es =3D { > =20 > static const struct camss_resources msm8996_resources =3D { > .version =3D CAMSS_8x96, > + .legacy_phy =3D true, > .csiphy_res =3D csiphy_res_8x96, > .csid_res =3D csid_res_8x96, > .ispif_res =3D &ispif_res_8x96, > @@ -5150,6 +5154,7 @@ static const struct camss_resources msm8996_resourc= es =3D { > =20 > static const struct camss_resources qcm2290_resources =3D { > .version =3D CAMSS_2290, > + .legacy_phy =3D true, > .csiphy_res =3D csiphy_res_2290, > .csid_res =3D csid_res_2290, > .vfe_res =3D vfe_res_2290, > @@ -5163,6 +5168,7 @@ static const struct camss_resources qcm2290_resourc= es =3D { > static const struct camss_resources qcs8300_resources =3D { > .version =3D CAMSS_8300, > .pd_name =3D "top", > + .legacy_phy =3D true, > .csiphy_res =3D csiphy_res_8300, > .csid_res =3D csid_res_8775p, > .csid_wrapper_res =3D &csid_wrapper_res_sm8550, > @@ -5177,6 +5183,7 @@ static const struct camss_resources qcs8300_resourc= es =3D { > static const struct camss_resources sa8775p_resources =3D { > .version =3D CAMSS_8775P, > .pd_name =3D "top", > + .legacy_phy =3D true, > .csiphy_res =3D csiphy_res_8775p, > .csid_res =3D csid_res_8775p, > .csid_wrapper_res =3D &csid_wrapper_res_sm8550, > @@ -5190,6 +5197,7 @@ static const struct camss_resources sa8775p_resourc= es =3D { > =20 > static const struct camss_resources sdm660_resources =3D { > .version =3D CAMSS_660, > + .legacy_phy =3D true, > .csiphy_res =3D csiphy_res_660, > .csid_res =3D csid_res_660, > .ispif_res =3D &ispif_res_660, > @@ -5201,6 +5209,7 @@ static const struct camss_resources sdm660_resource= s =3D { > =20 > static const struct camss_resources sdm670_resources =3D { > .version =3D CAMSS_845, > + .legacy_phy =3D true, > .csiphy_res =3D csiphy_res_670, > .csid_res =3D csid_res_670, > .vfe_res =3D vfe_res_670, > @@ -5212,6 +5221,7 @@ static const struct camss_resources sdm670_resource= s =3D { > static const struct camss_resources sdm845_resources =3D { > .version =3D CAMSS_845, > .pd_name =3D "top", > + .legacy_phy =3D true, > .csiphy_res =3D csiphy_res_845, > .csid_res =3D csid_res_845, > .vfe_res =3D vfe_res_845, > @@ -5223,6 +5233,7 @@ static const struct camss_resources sdm845_resource= s =3D { > static const struct camss_resources sm6150_resources =3D { > .version =3D CAMSS_6150, > .pd_name =3D "top", > + .legacy_phy =3D true, > .csiphy_res =3D csiphy_res_sm6150, > .csid_res =3D csid_res_sm6150, > .vfe_res =3D vfe_res_sm6150, > @@ -5236,6 +5247,7 @@ static const struct camss_resources sm6150_resource= s =3D { > static const struct camss_resources sm8250_resources =3D { > .version =3D CAMSS_8250, > .pd_name =3D "top", > + .legacy_phy =3D true, > .csiphy_res =3D csiphy_res_8250, > .csid_res =3D csid_res_8250, > .vfe_res =3D vfe_res_8250, > @@ -5249,6 +5261,7 @@ static const struct camss_resources sm8250_resource= s =3D { > static const struct camss_resources sc8280xp_resources =3D { > .version =3D CAMSS_8280XP, > .pd_name =3D "top", > + .legacy_phy =3D true, > .csiphy_res =3D csiphy_res_sc8280xp, > .csid_res =3D csid_res_sc8280xp, > .ispif_res =3D NULL, > @@ -5263,6 +5276,7 @@ static const struct camss_resources sc8280xp_resour= ces =3D { > static const struct camss_resources sc7280_resources =3D { > .version =3D CAMSS_7280, > .pd_name =3D "top", > + .legacy_phy =3D true, > .csiphy_res =3D csiphy_res_7280, > .csid_res =3D csid_res_7280, > .vfe_res =3D vfe_res_7280, > @@ -5276,6 +5290,7 @@ static const struct camss_resources sc7280_resource= s =3D { > static const struct camss_resources sm8550_resources =3D { > .version =3D CAMSS_8550, > .pd_name =3D "top", > + .legacy_phy =3D true, > .csiphy_res =3D csiphy_res_8550, > .csid_res =3D csid_res_8550, > .vfe_res =3D vfe_res_8550, > @@ -5290,6 +5305,7 @@ static const struct camss_resources sm8550_resource= s =3D { > static const struct camss_resources sm8650_resources =3D { > .version =3D CAMSS_8650, > .pd_name =3D "top", > + .legacy_phy =3D true, > .csiphy_res =3D csiphy_res_sm8650, > .csid_res =3D csid_res_sm8650, > .csid_wrapper_res =3D &csid_wrapper_res_sm8550, > @@ -5304,6 +5320,7 @@ static const struct camss_resources sm8650_resource= s =3D { > static const struct camss_resources x1e80100_resources =3D { > .version =3D CAMSS_X1E80100, > .pd_name =3D "top", > + .legacy_phy =3D true, > .csiphy_res =3D csiphy_res_x1e80100, > .csid_res =3D csid_res_x1e80100, > .vfe_res =3D vfe_res_x1e80100, > diff --git a/drivers/media/platform/qcom/camss/camss.h b/drivers/media/pl= atform/qcom/camss/camss.h > index 6d048414c919e..24ec3ad7990e7 100644 > --- a/drivers/media/platform/qcom/camss/camss.h > +++ b/drivers/media/platform/qcom/camss/camss.h > @@ -104,6 +104,7 @@ enum icc_count { > struct camss_resources { > enum camss_version version; > const char *pd_name; > + const bool legacy_phy; > const struct camss_subdev_resources *csiphy_res; > const struct camss_subdev_resources *csid_res; > const struct camss_subdev_resources *ispif_res;