Loading arch/arm64/boot/dts/qcom/kona-audio.dtsi +11 −0 Original line number Original line Diff line number Diff line Loading @@ -3,6 +3,8 @@ * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. */ */ #include <dt-bindings/clock/qcom,audio-ext-clk.h> #include "kona-lpi.dtsi" #include "kona-lpi.dtsi" #include "msm-audio-lpass.dtsi" #include "msm-audio-lpass.dtsi" Loading @@ -25,8 +27,17 @@ &audio_apr { &audio_apr { q6core: qcom,q6core-audio { q6core: qcom,q6core-audio { compatible = "qcom,q6core-audio"; compatible = "qcom,q6core-audio"; lpass_core_hw_vote: vote_lpass_core_hw { compatible = "qcom,audio-ref-clk"; qcom,codec-ext-clk-src = <AUDIO_LPASS_CORE_HW_VOTE>; #clock-cells = <1>; }; bolero: bolero-cdc { bolero: bolero-cdc { compatible = "qcom,bolero-codec"; compatible = "qcom,bolero-codec"; clock-names = "lpass_core_hw_vote"; clocks = <&lpass_core_hw_vote 0>; tx_macro: tx-macro@3220000 { tx_macro: tx-macro@3220000 { swr2: tx_swr_master { swr2: tx_swr_master { }; }; Loading arch/arm64/boot/dts/qcom/kona-lpi.dtsi +3 −0 Original line number Original line Diff line number Diff line Loading @@ -26,6 +26,9 @@ <0x00000010>, <0x00000012>, <0x00000010>, <0x00000012>, <0x00000000>, <0x00000000>; <0x00000000>, <0x00000000>; clock-names = "lpass_core_hw_vote"; clocks = <&lpass_core_hw_vote 0>; quat_mi2s_sck { quat_mi2s_sck { quat_mi2s_sck_sleep: quat_mi2s_sck_sleep { quat_mi2s_sck_sleep: quat_mi2s_sck_sleep { mux { mux { Loading include/dt-bindings/clock/qcom,audio-ext-clk.h +1 −0 Original line number Original line Diff line number Diff line Loading @@ -16,5 +16,6 @@ #define AUDIO_LPASS_MCLK_6 7 #define AUDIO_LPASS_MCLK_6 7 #define AUDIO_LPASS_MCLK_7 8 #define AUDIO_LPASS_MCLK_7 8 #define AUDIO_LPASS_CORE_HW_VOTE 9 #define AUDIO_LPASS_CORE_HW_VOTE 9 #define AUDIO_LPASS_MCLK_8 10 #endif #endif Loading
arch/arm64/boot/dts/qcom/kona-audio.dtsi +11 −0 Original line number Original line Diff line number Diff line Loading @@ -3,6 +3,8 @@ * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. */ */ #include <dt-bindings/clock/qcom,audio-ext-clk.h> #include "kona-lpi.dtsi" #include "kona-lpi.dtsi" #include "msm-audio-lpass.dtsi" #include "msm-audio-lpass.dtsi" Loading @@ -25,8 +27,17 @@ &audio_apr { &audio_apr { q6core: qcom,q6core-audio { q6core: qcom,q6core-audio { compatible = "qcom,q6core-audio"; compatible = "qcom,q6core-audio"; lpass_core_hw_vote: vote_lpass_core_hw { compatible = "qcom,audio-ref-clk"; qcom,codec-ext-clk-src = <AUDIO_LPASS_CORE_HW_VOTE>; #clock-cells = <1>; }; bolero: bolero-cdc { bolero: bolero-cdc { compatible = "qcom,bolero-codec"; compatible = "qcom,bolero-codec"; clock-names = "lpass_core_hw_vote"; clocks = <&lpass_core_hw_vote 0>; tx_macro: tx-macro@3220000 { tx_macro: tx-macro@3220000 { swr2: tx_swr_master { swr2: tx_swr_master { }; }; Loading
arch/arm64/boot/dts/qcom/kona-lpi.dtsi +3 −0 Original line number Original line Diff line number Diff line Loading @@ -26,6 +26,9 @@ <0x00000010>, <0x00000012>, <0x00000010>, <0x00000012>, <0x00000000>, <0x00000000>; <0x00000000>, <0x00000000>; clock-names = "lpass_core_hw_vote"; clocks = <&lpass_core_hw_vote 0>; quat_mi2s_sck { quat_mi2s_sck { quat_mi2s_sck_sleep: quat_mi2s_sck_sleep { quat_mi2s_sck_sleep: quat_mi2s_sck_sleep { mux { mux { Loading
include/dt-bindings/clock/qcom,audio-ext-clk.h +1 −0 Original line number Original line Diff line number Diff line Loading @@ -16,5 +16,6 @@ #define AUDIO_LPASS_MCLK_6 7 #define AUDIO_LPASS_MCLK_6 7 #define AUDIO_LPASS_MCLK_7 8 #define AUDIO_LPASS_MCLK_7 8 #define AUDIO_LPASS_CORE_HW_VOTE 9 #define AUDIO_LPASS_CORE_HW_VOTE 9 #define AUDIO_LPASS_MCLK_8 10 #endif #endif