On Agatti, the CAMSS AXI clock is not managed by the interconnect and defaults to its lowest rate (19.2 MHz), which is insufficient and leads to throttling of CAMSS-related traffic.
Set the CAMSS AXI clock to a suitable operating point by assigning it to its nominal frequency (300 MHz) as defined by the specification. This ensures correct and stable operation while leaving room for future dynamic scaling support in the driver. Avoid relying on boot default by explicitly specifying the expected initial clock rate in the device tree. Signed-off-by: Loic Poulain <[email protected]> --- arch/arm64/boot/dts/qcom/agatti.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/agatti.dtsi b/arch/arm64/boot/dts/qcom/agatti.dtsi index f9b46cf1c6462a89784429565e1636ce2ba68d73..6a6ab3f15c49eb1e8150f57198ffe2515fa9ae52 100644 --- a/arch/arm64/boot/dts/qcom/agatti.dtsi +++ b/arch/arm64/boot/dts/qcom/agatti.dtsi @@ -1884,6 +1884,8 @@ camss: camss@5c11000 { "vfe0_cphy_rx", "vfe1", "vfe1_cphy_rx"; + assigned-clocks = <&gcc GCC_CAMSS_AXI_CLK>; + assigned-clock-rates = <300000000>; interrupts = <GIC_SPI 210 IRQ_TYPE_EDGE_RISING>, <GIC_SPI 212 IRQ_TYPE_EDGE_RISING>, -- 2.34.1

