mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 22:23:05 +00:00

Add the Low Power Audio SubSystem Low Power Island (LPASS LPI) pin controller device node required for audio subsystem on Qualcomm QRB4210 RB2. QRB4210 is based on sm4250 which has a slightly different lpass pin controller comparing to sm6115. While at this, also add description of lpi_i2s2 pins (active state) required for audio playback via HDMI. Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org> Link: https://lore.kernel.org/r/20241112025306.712122-4-alexey.klimov@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
78 lines
1.1 KiB
Plaintext
78 lines
1.1 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
|
/*
|
|
* Copyright (c) 2021, Iskren Chernev <iskren.chernev@gmail.com>
|
|
*/
|
|
|
|
#include "sm6115.dtsi"
|
|
|
|
&cpu0 {
|
|
compatible = "qcom,kryo240";
|
|
};
|
|
|
|
&cpu1 {
|
|
compatible = "qcom,kryo240";
|
|
};
|
|
|
|
&cpu2 {
|
|
compatible = "qcom,kryo240";
|
|
};
|
|
|
|
&cpu3 {
|
|
compatible = "qcom,kryo240";
|
|
};
|
|
|
|
&cpu4 {
|
|
compatible = "qcom,kryo240";
|
|
};
|
|
|
|
&cpu5 {
|
|
compatible = "qcom,kryo240";
|
|
};
|
|
|
|
&cpu6 {
|
|
compatible = "qcom,kryo240";
|
|
};
|
|
|
|
&cpu7 {
|
|
compatible = "qcom,kryo240";
|
|
};
|
|
|
|
&lpass_tlmm {
|
|
compatible = "qcom,sm4250-lpass-lpi-pinctrl";
|
|
gpio-ranges = <&lpass_tlmm 0 0 27>;
|
|
|
|
lpi_i2s2_active: lpi-i2s2-active-state {
|
|
sck-pins {
|
|
pins = "gpio10";
|
|
function = "i2s2_clk";
|
|
bias-disable;
|
|
drive-strength = <8>;
|
|
output-high;
|
|
};
|
|
|
|
ws-pins {
|
|
pins = "gpio11";
|
|
function = "i2s2_ws";
|
|
bias-disable;
|
|
drive-strength = <8>;
|
|
output-high;
|
|
};
|
|
|
|
data-pins {
|
|
pins = "gpio12";
|
|
function = "i2s2_data";
|
|
bias-disable;
|
|
drive-strength = <8>;
|
|
output-high;
|
|
};
|
|
|
|
ext-mclk1-pins {
|
|
pins = "gpio18";
|
|
function = "ext_mclk1_a";
|
|
bias-disable;
|
|
drive-strength = <16>;
|
|
output-high;
|
|
};
|
|
};
|
|
};
|