• Krzysztof Kozlowski's avatar
    ASoC: dt-bindings: qcom,lpass-cpu: Correct and constrain clocks, interrupts, reg · ffb2bbdf
    Krzysztof Kozlowski authored
    The binding allowed multiple variations and number of
    reg/interrupts/clocks properties for SC7180 and SC7280.  Maybe this was
    done for different use-cases of LPASS CPU audio node, but DTS is
    supposed to be a complete picture of the hardware.  The upstreamed
    SC7180 and SC7280 DTSes contain the widest set of these
    reg/interrupts/clocks, sometimes being even sum of these different
    variations.
    
    Correct and narrow the reg, interrupts and clocks to match existing DTS:
    
      sc7280-herobrine-evoker-lte.dtb: audio@3987000: clock-names: 'oneOf' conditional failed, one must be fixed:
        ['aon_cc_audio_hm_h', 'audio_cc_ext_mclk0', 'core_cc_sysnoc_mport_core', 'core_cc_ext_if0_ibit', 'core_cc_ext_if1_ibit',
         'audio_cc_codec_mem', 'audio_cc_codec_mem0', 'audio_cc_codec_mem1', 'audio_cc_codec_mem2', 'aon_cc_va_mem0'] is too long
        'core_cc_sysnoc_mport_core' was expected
        'audio_cc_codec_mem' was expected
        'audio_cc_codec_mem0' was expected
        'audio_cc_codec_mem1' was expected
        'audio_cc_codec_mem2' was expected
        'aon_cc_va_mem0' was expected
    Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Reviewed-by: default avatarRob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20221227163135.102559-3-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
    ffb2bbdf
qcom,lpass-cpu.yaml 6.69 KB