Message ID | 20250121120901.1841142-1-quic_vikramsa@quicinc.com |
---|---|
Headers | show |
Series | Update clocks for sc7280-camss | expand |
On 21/01/2025 13:09, Vikram Sharma wrote: > This patch change clock names to make it consistent with Please do not use "This commit/patch/change", but imperative mood. See longer explanation here: https://elixir.bootlin.com/linux/v5.17.1/source/Documentation/process/submitting-patches.rst#L95 > existing platforms as gcc_cam_hf_axi -> gcc_axi_hf. Which ones? sm8250 uses different. > This also adds gcc_axi_sf and remove gcc_camera_ahb. Why? > > This change will not break ABI because the ABI hasn't > been cemented yet as the dtsi changes are not merged > yet and there are no users for this driver as of now. So why did you wait till it gets to this merge window? Or is there some sort of history here which you hid? The user was merged to media tree and it is going to be merged for RC1. Please wrap commit message according to Linux coding style / submission process (neither too early nor over the limit): https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597 Best regards, Krzysztof
On 21/01/2025 17:02, Vikram Sharma wrote: > > On 1/21/2025 6:25 PM, Krzysztof Kozlowski wrote: >> On 21/01/2025 13:09, Vikram Sharma wrote: >>> This patch change clock names to make it consistent with >> >> Please do not use "This commit/patch/change", but imperative mood. See >> longer explanation here: >> https://elixir.bootlin.com/linux/v5.17.1/source/Documentation/process/submitting-patches.rst#L95 > Hi Krzysztof, > Thanks for your response. > Will update commit text. >>> existing platforms as gcc_cam_hf_axi -> gcc_axi_hf. >> Which ones? sm8250 uses different. > qcom,sc8280xp-camss.yaml uses 'gcc_axi_hf' Then mention with which binding you align it. >> >>> This also adds gcc_axi_sf and remove gcc_camera_ahb. >> Why? > > 'gcc_camera_ahb' is always 'on' and we don't need to enable it explicitly. > 'gcc_axi_sf' basic use case works even without this clock but our 'Hardware programing guide' suggest to enable this one too to avoid unexpected behaviors. > Konrad pointed these points in V8 of the series. That's what the commit msg is for. Best regards, Krzysztof
This one is a follow-up change for series. https://lore.kernel.org/linux-arm-msm/20241206191900.2545069-1-quic_vikramsa@quicinc.com/ We have got comments on our dtsi change to update clock names as - GCC_CAMERA_AHB_CLK is always enabled clock so it can be removed. - Change clock name from gcc_cam_hf_axi to `gcc_axi_hf` for consistency. - Add gcc_axi_sf as missing to enable it can have undefined hw behaviour. So to handle these comments in our base series we need to update documentaion and driver (already merged) to work with dtsi. We are not breaking ABI here because the ABI hasn't been cemented yet as the dtsi changes are not merged yet also there are no users for this driver as of now. Used following tools for the sanity check of these changes. - make CHECK_DTBS=y W=1 DT_SCHEMA_FILES=media/qcom,sc7280-camss.yaml - make DT_CHECKER_FLAGS=-m W=1 DT_SCHEMA_FILES=media/qcom,sc7280-camss.yaml dt_binding_check - make -j32 W=1 - ./scripts/checkpatch.pl Signed-off-by: Vikram Sharma <quic_vikramsa@quicinc.com> Vikram Sharma (2): media: dt-bindings: update clocks for sc7280-camss media: qcom: camss: update clock names for sc7280 .../bindings/media/qcom,sc7280-camss.yaml | 10 +++++----- drivers/media/platform/qcom/camss/camss.c | 15 ++++++++++----- 2 files changed, 15 insertions(+), 10 deletions(-)