Skip to content
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

schemas: add basic OPP consumer bindings #95

Merged
merged 1 commit into from Jan 19, 2023

Conversation

krzk
Copy link

@krzk krzk commented Jan 19, 2023

Several devices use Operating Performance Points and are consumers of the Performance or Power Domain controllers. Document common 'operating-points-v2' and 'required-opps' properties.

Signed-off-by: Krzysztof Kozlowski krzk@kernel.org

Several devices use Operating Performance Points and are consumers of
the Performance or Power Domain controllers.  Document common
'operating-points-v2' and 'required-opps' properties.

In Linux kernel bindings the 'operating-points-v2' is a phandle-array
but there is no single use with more than one phandle.  Since one OPP
table can store multiple values, it is unlikely that we ever need
multiple tables per one device, thus make it a phandle.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
@robherring robherring merged commit ad78307 into devicetree-org:main Jan 19, 2023
@krzk krzk deleted the required-opps branch January 19, 2023 14:13
krzk added a commit to krzk/linux that referenced this pull request Jan 23, 2023
Be specific how many required-opps are allowed.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

This change is independent, although logically is connected with my
dtschema pull:
devicetree-org/dt-schema#95

(cherry picked from commit 3a18af4)
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
krzk added a commit to krzk/linux that referenced this pull request Jan 23, 2023
Be specific how many required-opps are allowed.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

This change is independent, although logically is connected with my
dtschema pull:
devicetree-org/dt-schema#95

(cherry picked from commit c5be7a6)
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
krzk added a commit to krzk/linux that referenced this pull request Jan 23, 2023
The type for operating-points-v2 property is coming from dtschema
(/schemas/opp/opp.yaml), so individual bindings can just use simple
"true".

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

This depends on my pull request, at least logically:
devicetree-org/dt-schema#95

Patch could be applied in parallel but only if above PULL is
accepted/correct.

(cherry picked from commit 9931385)
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
krzk added a commit to krzk/linux that referenced this pull request Feb 7, 2023
Be specific how many required-opps are allowed.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

This change is independent, although logically is connected with my
dtschema pull:
devicetree-org/dt-schema#95

(cherry picked from commit c5be7a6)
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants