forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 150
arm64: dts: qcom: msm8939-longcheer-l9100: Enable venus #399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
a-andre
wants to merge
5
commits into
msm8916-mainline:wip/msm8916/v6.16-rc4
Choose a base branch
from
a-andre:bqm5_venus
base: wip/msm8916/v6.16-rc4
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
e6cbbd0
media: dt-bindings: media: venus: Add msm8939 dt schema
b3bbbbd
media: venus: core: Add msm8939 resource struct
d7930e9
arm64: dts: qcom: msm8939: Add venus node
87ceb8f
arm64: dts: qcom: msm8939-longcheer-l9100: Enable venus node
00470bf
clk: qcom: gcc-msm8939: make VENUS_GDSC parent of VENUS_COREx_GDSC
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
126 changes: 126 additions & 0 deletions
126
Documentation/devicetree/bindings/media/qcom,msm8939-venus.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,126 @@ | ||
| # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
| %YAML 1.2 | ||
| --- | ||
| $id: http://devicetree.org/schemas/media/qcom,msm8939-venus.yaml# | ||
| $schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
|
||
| title: Qualcomm MSM8939 Venus video encode and decode accelerators | ||
|
|
||
| maintainers: | ||
| - Stanimir Varbanov <stanimir.varbanov@linaro.org> | ||
|
|
||
| description: | | ||
| The Venus IP is a video encode and decode accelerator present | ||
| on Qualcomm platforms | ||
|
|
||
| allOf: | ||
| - $ref: qcom,venus-common.yaml# | ||
|
|
||
| properties: | ||
| compatible: | ||
| const: qcom,msm8939-venus | ||
|
|
||
| power-domains: | ||
| maxItems: 1 | ||
|
|
||
| clocks: | ||
| maxItems: 3 | ||
|
|
||
| clock-names: | ||
| items: | ||
| - const: core | ||
| - const: iface | ||
| - const: bus | ||
|
|
||
| iommus: | ||
| maxItems: 1 | ||
|
|
||
| video-decoder: | ||
| type: object | ||
|
|
||
| properties: | ||
| compatible: | ||
| const: venus-decoder | ||
|
|
||
| clocks: | ||
| maxItems: 1 | ||
|
|
||
| clock-names: | ||
| items: | ||
| - const: core | ||
|
|
||
| power-domains: | ||
| maxItems: 1 | ||
|
|
||
| required: | ||
| - compatible | ||
| - clocks | ||
| - clock-names | ||
| - power-domains | ||
|
|
||
| additionalProperties: false | ||
|
|
||
| video-encoder: | ||
| type: object | ||
|
|
||
| properties: | ||
| compatible: | ||
| const: venus-encoder | ||
|
|
||
| clocks: | ||
| maxItems: 1 | ||
|
|
||
| clock-names: | ||
| items: | ||
| - const: core | ||
|
|
||
| power-domains: | ||
| maxItems: 1 | ||
|
|
||
| required: | ||
| - compatible | ||
| - clocks | ||
| - clock-names | ||
| - power-domains | ||
|
|
||
| additionalProperties: false | ||
|
|
||
| required: | ||
| - compatible | ||
| - iommus | ||
| - video-decoder | ||
| - video-encoder | ||
|
|
||
| unevaluatedProperties: false | ||
|
|
||
| examples: | ||
| - | | ||
| #include <dt-bindings/interrupt-controller/arm-gic.h> | ||
| #include <dt-bindings/clock/qcom,gcc-msm8939.h> | ||
|
|
||
| video-codec@1d00000 { | ||
| compatible = "qcom,msm8939-venus"; | ||
| reg = <0x01d00000 0xff000>; | ||
| interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; | ||
| clocks = <&gcc GCC_VENUS0_VCODEC0_CLK>, | ||
| <&gcc GCC_VENUS0_AHB_CLK>, | ||
| <&gcc GCC_VENUS0_AXI_CLK>; | ||
| clock-names = "core", "iface", "bus"; | ||
| power-domains = <&gcc VENUS_GDSC>; | ||
| iommus = <&apps_iommu 5>; | ||
| memory-region = <&venus_mem>; | ||
|
|
||
| video-decoder { | ||
| compatible = "venus-decoder"; | ||
| clocks = <&gcc GCC_VENUS0_CORE0_VCODEC0_CLK>; | ||
| clock-names = "core"; | ||
| power-domains = <&gcc VENUS_CORE0_GDSC>; | ||
| }; | ||
|
|
||
| video-encoder { | ||
| compatible = "venus-encoder"; | ||
| clocks = <&gcc GCC_VENUS0_CORE1_VCODEC0_CLK>; | ||
| clock-names = "core"; | ||
| power-domains = <&gcc VENUS_CORE1_GDSC>; | ||
| }; | ||
| }; |
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This value still needs to be verified. Where to find it in downstream?