Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 47907c90 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "clk: dt-bindings: Add support for LPASS clock for soundwire"

parents c3f2cc06 9cb2b3f8
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -3,6 +3,8 @@
 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 */

#include <dt-bindings/clock/qcom,audio-ext-clk.h>

#include "kona-lpi.dtsi"
#include "msm-audio-lpass.dtsi"

@@ -25,8 +27,17 @@
&audio_apr {
	q6core: 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 {
			compatible = "qcom,bolero-codec";
			clock-names = "lpass_core_hw_vote";
			clocks = <&lpass_core_hw_vote 0>;
			tx_macro: tx-macro@3220000 {
				swr2: tx_swr_master {
				};
+3 −0
Original line number Diff line number Diff line
@@ -26,6 +26,9 @@
					   <0x00000010>, <0x00000012>,
					   <0x00000000>, <0x00000000>;

		clock-names = "lpass_core_hw_vote";
		clocks = <&lpass_core_hw_vote 0>;

		quat_mi2s_sck {
			quat_mi2s_sck_sleep: quat_mi2s_sck_sleep {
				mux {
+1 −0
Original line number Diff line number Diff line
@@ -16,5 +16,6 @@
#define AUDIO_LPASS_MCLK_6	7
#define AUDIO_LPASS_MCLK_7	8
#define AUDIO_LPASS_CORE_HW_VOTE	9
#define AUDIO_LPASS_MCLK_8	10

#endif