arm64: dts: qcom: sm8250: use constants for audio clocks
The use of these constants was removed during merging, probably because the patches adding those defines and the dts patches were merged through different trees. Re-add them to make it clear which clocks are getting used. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220603094710.64591-2-luca.weiss@fairphone.com
This commit is contained in:
committed by
Bjorn Andersson
parent
a102644dcc
commit
7858ef3cfb
@@ -8,6 +8,8 @@
|
||||
#include <dt-bindings/clock/qcom,gcc-sm8250.h>
|
||||
#include <dt-bindings/clock/qcom,gpucc-sm8250.h>
|
||||
#include <dt-bindings/clock/qcom,rpmh.h>
|
||||
#include <dt-bindings/clock/qcom,sm8250-lpass-aoncc.h>
|
||||
#include <dt-bindings/clock/qcom,sm8250-lpass-audiocc.h>
|
||||
#include <dt-bindings/dma/qcom-gpi.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/interconnect/qcom,osm-l3.h>
|
||||
@@ -2188,11 +2190,11 @@
|
||||
wsamacro: codec@3240000 {
|
||||
compatible = "qcom,sm8250-lpass-wsa-macro";
|
||||
reg = <0 0x03240000 0 0x1000>;
|
||||
clocks = <&audiocc 1>,
|
||||
<&audiocc 0>,
|
||||
clocks = <&audiocc LPASS_CDC_WSA_MCLK>,
|
||||
<&audiocc LPASS_CDC_WSA_NPL>,
|
||||
<&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
|
||||
<&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
|
||||
<&aoncc 0>,
|
||||
<&aoncc LPASS_CDC_VA_MCLK>,
|
||||
<&vamacro>;
|
||||
|
||||
clock-names = "mclk", "npl", "macro", "dcodec", "va", "fsgen";
|
||||
@@ -2239,7 +2241,7 @@
|
||||
vamacro: codec@3370000 {
|
||||
compatible = "qcom,sm8250-lpass-va-macro";
|
||||
reg = <0 0x03370000 0 0x1000>;
|
||||
clocks = <&aoncc 0>,
|
||||
clocks = <&aoncc LPASS_CDC_VA_MCLK>,
|
||||
<&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
|
||||
<&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user