]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: qcom: camss: Use the CSIPHY id property to find clock names
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Fri, 14 Mar 2025 23:35:55 +0000 (23:35 +0000)
committerHans Verkuil <hverkuil@xs4all.nl>
Fri, 11 Apr 2025 11:29:06 +0000 (13:29 +0200)
commit74cae7794341fa4f96fef0966f44471f7e2d322f
treee023b391fd2e2bc2b5a086a727912d0be9c91076
parent5af908c2c93d5bfeec72125901aff991e5268015
media: qcom: camss: Use the CSIPHY id property to find clock names

Use the CSIPHY id property to find clock names instead of relying on
generating the clock names based on the control-loop index.

x1e80100 has CSIPHY0, CSIPHY1, CSIPHY2 and CSIPHY4 so simple index naming
won't work whereas and 'id' property allows any ordering and any stepping
between the CSIPHY names.

Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/qcom/camss/camss-csiphy.c