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

Commit 3786ee66 authored by Rohit kumar's avatar Rohit kumar
Browse files

ARM: dts: qcom: Enable audio on qcs403 sku4



Add device nodes to enable audio on qcs403 with
external PLL. External PLL clock frequency is
24.576MHz.

Change-Id: I6f5f0561adb98e8fa17de30de3587eb3ffd7a87a
Signed-off-by: default avatarRohit kumar <rohitkr@codeaurora.org>
parent 5d9062cb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -79,6 +79,9 @@ Required properties:
				     enumeration address.

Optional properties:
 - qcom,cdc-ext-clk-rate - Specifies the clock rate of external crystal which
			   is sourced to codec mclk in HZ. This should be either
			   same as qcom,cdc-mclk-clk-rate or its double.
 - cdc-dmic-sample-rate: Specifies the sample rate of digital mic in HZ. The
			 values for 9.6MHZ mclk can be 2400000 Hz, 3200000 Hz
			 and 4800000 Hz.  The values for 12.288MHz mclk can be
+29 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#include "qcs405-wsa-audio-overlay.dtsi"

&soc {
	clock_audio_ext_pll: ext_pll_clk {
		compatible = "qcom,audio-ref-clk";
		qcom,codec-ext-clk-src = <AUDIO_EXTERNAL_PLL>;
		#clock-cells = <1>;
	};
};

&wcd9335 {
	qcom,cdc-ext-clk-rate = <24576000>;
	qcom,cdc-mclk-clk-rate = <12288000>;
	clock-names = "wcd_clk";
	clocks = <&clock_audio_ext_pll 0>;
};
+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@

#include "qcs403.dtsi"
#include "qcs405-circular-pca9956.dtsi"
#include "qcs403-ext-pll-audio.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. QCS403 SSRD IOT AUDIO PLL";