Repository navigation
clk: qcom: videocc-sm8150: add qcom,sc8180x-videocc compatible - #211
Open
robertijtsma wants to merge 1 commit into
Open
robertijtsma wants to merge 1 commit into
robertijtsma wants to merge 1 commit into
Conversation
The SC8180X video clock controller at 0xab00000 exposes the same register layout, PLL, branch clocks, resets, and GDSCs (venus_gdsc, vcodec0_gdsc, vcodec1_gdsc) as SM8150, and sc8180x.dtsi lists compatible = "qcom,sc8180x-videocc", "qcom,sm8150-videocc". Add an explicit qcom,sc8180x-videocc OF match entry so the driver exports a matching modalias and binds explicitly on SC8180X. Tested on Microsoft Surface Pro X SQ2 (SC8180X, Linux 7.3.1-1-surface). Signed-off-by: robertijtsma <37256770+robertijtsma@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add an explicit
"qcom,sc8180x-videocc"OF match entry todrivers/clk/qcom/videocc-sm8150.c. The SC8180X video clock controller at0xab00000(already declared inarch/arm64/boot/dts/qcom/sc8180x.dtsiwithcompatible = "qcom,sc8180x-videocc", "qcom,sm8150-videocc") shares the same PLL, branch clocks, resets, and GDSCs (venus_gdsc,vcodec0_gdsc,vcodec1_gdsc) as SM8150.Verification
videocc-sm8150.kocompiled cleanly withW=1against Linux7.3.1-1-surface(0 errors, 0 warnings)../scripts/checkpatch.pl --no-tree: 0 errors, 0 warnings.SC8180X, Linux7.3.1-1-surface).