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

Commit f5647b0e authored by Jayadev K's avatar Jayadev K Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: qcom: Adding I2S parameters to HS-I2S node on SA6155



Adding the below properties to HS-I2S generic node
1. number-of-rate-detectors
2. rate-detector-interfaces

Adding the below properties to HS-I2S interface node
1. bit-clock-hz
2. data-buffer-ms
3. bit-depth
4. spkr-channel-count
5. mic-channel-count.

Change-Id: I61fe2f7b480cae1e9303db8b1d0be4d92fb35ab1
Signed-off-by: default avatarJayadev K <jayak@codeaurora.org>
parent 2b16b0cf
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
@@ -64,8 +64,8 @@
		clock-names = "core_clk", "wr0_mem_clk",
			      "wr1_mem_clk", "wr2_mem_clk",
			      "csr_hclk";
		bit-clock-hz = <20000000>;
		interrupt-interval-ms = <10>;
		number-of-rate-detectors = <2>;
		rate-detector-interfaces = <0 1>;

		sdr0: qcom,hs0_i2s {
			compatible = "qcom,hsi2s-interface";
@@ -80,6 +80,11 @@
			iommus = <&apps_smmu 0x035C 0x0>;
			qcom,smmu-s1-bypass;
			qcom,iova-mapping = <0x0 0xFFFFFFFF>;
			bit-clock-hz = <12288000>;
			data-buffer-ms = <10>;
			bit-depth = <32>;
			spkr-channel-count = <2>;
			mic-channel-count = <2>;
		};

		sdr1: qcom,hs1_i2s {
@@ -95,6 +100,11 @@
			iommus = <&apps_smmu 0x035D 0x0>;
			qcom,smmu-s1-bypass;
			qcom,iova-mapping = <0x0 0xFFFFFFFF>;
			bit-clock-hz = <12288000>;
			data-buffer-ms = <10>;
			bit-depth = <32>;
			spkr-channel-count = <2>;
			mic-channel-count = <2>;
		};
	};

+12 −2
Original line number Diff line number Diff line
@@ -57,8 +57,8 @@
		clock-names = "core_clk", "wr0_mem_clk",
			      "wr1_mem_clk", "wr2_mem_clk",
			      "csr_hclk";
		bit-clock-hz = <20000000>;
		interrupt-interval-ms = <10>;
		number-of-rate-detectors = <2>;
		rate-detector-interfaces = <0 1>;

		sdr0: qcom,hs0_i2s {
			compatible = "qcom,hsi2s-interface";
@@ -73,6 +73,11 @@
			iommus = <&apps_smmu 0x035C 0x0>;
			qcom,smmu-s1-bypass;
			qcom,iova-mapping = <0x0 0xFFFFFFFF>;
			bit-clock-hz = <12288000>;
			data-buffer-ms = <10>;
			bit-depth = <32>;
			spkr-channel-count = <2>;
			mic-channel-count = <2>;
		};

		sdr1: qcom,hs1_i2s {
@@ -88,6 +93,11 @@
			iommus = <&apps_smmu 0x035D 0x0>;
			qcom,smmu-s1-bypass;
			qcom,iova-mapping = <0x0 0xFFFFFFFF>;
			bit-clock-hz = <12288000>;
			data-buffer-ms = <10>;
			bit-depth = <32>;
			spkr-channel-count = <2>;
			mic-channel-count = <2>;
		};
	};