Since the hardware blocks on the SoCs generally support both D-PHY and C-PHY standards for camera, but the camss driver currently is only supporting D-PHY, do some preparations in order to add C-PHY support at some point. Make the dt bindings explicit that the hardware supports both (except for MSM8916) but also add a check to the driver that errors out in case a dt tries to use C-PHY since that's not supported yet. Signed-off-by: Luca Weiss <luca.weiss@xxxxxxxxxxxxx> --- Luca Weiss (2): media: dt-bindings: media: camss: Restrict bus-type property media: qcom: camss: Restrict endpoint bus-type to D-PHY .../bindings/media/qcom,msm8916-camss.yaml | 8 ++++++ .../bindings/media/qcom,msm8953-camss.yaml | 15 +++++++++++ .../bindings/media/qcom,msm8996-camss.yaml | 20 +++++++++++++++ .../bindings/media/qcom,sc8280xp-camss.yaml | 20 +++++++++++++++ .../bindings/media/qcom,sdm660-camss.yaml | 20 +++++++++++++++ .../bindings/media/qcom,sdm845-camss.yaml | 20 +++++++++++++++ .../bindings/media/qcom,sm8250-camss.yaml | 30 ++++++++++++++++++++++ drivers/media/platform/qcom/camss/camss.c | 9 +++++++ 8 files changed, 142 insertions(+) --- base-commit: fac04efc5c793dccbd07e2d59af9f90b7fc0dca4 change-id: 20241209-camss-dphy-8bf46e251291 Best regards, -- Luca Weiss <luca.weiss@xxxxxxxxxxxxx>