This adds support for the camera subsystem on the Snapdragon 670. As of next-20240902, camss seems to be a bit broken, but the same series works on stable (although it is much less reliable now that the CCI clock frequency is not being assigned). Changes since v3 (20240819221051.31489-7-mailingradian@xxxxxxxxx): - add specific sdm670 compatible for camcc to dt schema and dts (1/7, 6/7) - pick up patch from Bryan for CCI driver (3/7) - stop assigning CCI frequency in dts (7/7) - add maxItems for sdm670 cci clocks (2/7) - remove empty line at top of camss dt schema (4/7) - move regs and reg-names up in camss dt schema (4/7) - move gcc and ahb clocks up in dts and dt schema (4/7, 7/7) - add reviewed-by from Vladimir for CCI dt-bindings patch (2/7) - add reviewed-by from Bryan for dts patch (7/7) - add reviewed-by from Krzysztof for camss dt-bindings patch (4/7) - add rewiew tags for camss driver patch (5/7) Changes since v2 (20240813230037.84004-8-mailingradian@xxxxxxxxx): - drop unnecessary assigned AXI clock frequency (5/5) - drop src clocks from cci (5/5) - add unit name, remove mmio properties from port in example dts (2/5) - correct the reg-names order (2/5) - add parent_dev_ops to csid (3/5) - remove CSID clocks from VFE (3/5) - remove AXI clock from CSIPHY (3/5) - change subsystem part of the commit message summary (3/5) - add reviewed-by (4/5) Changes since v1 (20240806224219.71623-7-mailingradian@xxxxxxxxx): - define dedicated resource structs/arrays for sdm670 (3/5) - separate camcc device tree node into its own patch (4/5) - specify correct dual license (2/5) - add include directives in dt-bindings camss example (2/5) - remove src clocks from dt-bindings (2/5) - remove src clocks from dtsi (5/5) - add power-domain-names to camss (5/5) - specify power domain names (3/5) - restrict cci-i2c clocks (1/5) - populate a commit message with hw info (2/5) - reword commit message (3/5) Bryan O'Donoghue (1): i2c: qcom-cci: Stop complaining about DT set clock rate Richard Acayan (6): dt-bindings: clock: qcom,sdm845-camcc: add sdm670 compatible dt-bindings: i2c: qcom-cci: Document SDM670 compatible dt-bindings: media: camss: Add qcom,sdm670-camss media: qcom: camss: add support for SDM670 camss arm64: dts: qcom: sdm670: add camcc arm64: dts: qcom: sdm670: add camss and cci .../bindings/clock/qcom,sdm845-camcc.yaml | 6 +- .../devicetree/bindings/i2c/qcom,i2c-cci.yaml | 19 ++ .../bindings/media/qcom,sdm670-camss.yaml | 318 ++++++++++++++++++ arch/arm64/boot/dts/qcom/sdm670.dtsi | 195 +++++++++++ drivers/i2c/busses/i2c-qcom-cci.c | 8 - drivers/media/platform/qcom/camss/camss.c | 191 +++++++++++ 6 files changed, 728 insertions(+), 9 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/qcom,sdm670-camss.yaml -- 2.46.0