On 11/11/2022 12:35, Krzysztof Kozlowski wrote:
Adding sound support for Qualcomm SM8450 SoC (and later for SC8280XP) brought some changes to APR/GPR services bindings. These bindings are part of qcom,apr.yaml:
apr-or-gpr-device-node <- qcom,apr.yaml apr-gpr-service@[0-9] <- qcom,apr.yaml service-specific-components <- /schemas/sound/qcom,q6*.yaml
The schema for services (apr-gpr-service@[0-9]) already grows considerably and is still quite not specific. It allows several incorrect combinations, like adding a clock-controller to a APM device. Restricting it would complicate the schema even more. Bringing new support for sound on Qualcomm SM8450 and SC8280XP SoC would grow it as well.
Refactor the bindings before extending them for Qualcomm SM8450 SoC.
I forgot to mention that DTS in progress is available here: https://github.com/krzk/linux/blob/wip/sm8450/arch/arm64/boot/dts/qcom/sm845... https://github.com/krzk/linux/blob/wip/sm8450/arch/arm64/boot/dts/qcom/sm845...
Best regards, Krzysztof