Skip to content

Commit 0e09a59

Browse files
flamingradianandersson
authored andcommitted
arm64: dts: qcom: sdm630: Add LPASS LPI TLMM
The LPASS LPI TLMM pin controller controls pins for use by the analog and digital codecs, such as the PDM bus, the digital microphone pins, and the compander pins. Add it to support the codecs. Signed-off-by: Richard Acayan <mailingradian@gmail.com> Co-developed-by: Nickolay Goppen <setotau@mainlining.org> Signed-off-by: Nickolay Goppen <setotau@mainlining.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260109-qcom-sdm660-lpass-lpi-dts-v1-1-d3eb84f10a39@mainlining.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent ee021b2 commit 0e09a59

1 file changed

Lines changed: 73 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/sdm630.dtsi

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2269,6 +2269,79 @@
22692269
status = "disabled";
22702270
};
22712271

2272+
lpi_tlmm: pinctrl@15070000 {
2273+
compatible = "qcom,sdm660-lpass-lpi-pinctrl";
2274+
reg = <0x15070000 0x20000>;
2275+
gpio-controller;
2276+
#gpio-cells = <2>;
2277+
gpio-ranges = <&lpi_tlmm 0 0 32>;
2278+
2279+
cdc_pdm_default: cdc-pdm-default-state {
2280+
clk-pins {
2281+
pins = "gpio18";
2282+
function = "pdm_clk";
2283+
drive-strength = <8>;
2284+
output-high;
2285+
};
2286+
2287+
sync-pins {
2288+
pins = "gpio19";
2289+
function = "pdm_sync";
2290+
drive-strength = <4>;
2291+
output-high;
2292+
};
2293+
2294+
tx-pins {
2295+
pins = "gpio20";
2296+
function = "pdm_tx";
2297+
drive-strength = <8>;
2298+
};
2299+
2300+
rx-pins {
2301+
pins = "gpio21", "gpio23", "gpio25";
2302+
function = "pdm_rx";
2303+
drive-strength = <4>;
2304+
output-high;
2305+
};
2306+
};
2307+
2308+
cdc_comp_default: cdc-comp-default-state {
2309+
pins = "gpio22", "gpio24";
2310+
function = "comp_rx";
2311+
drive-strength = <8>;
2312+
};
2313+
2314+
cdc_dmic_default: cdc-dmic-default-state {
2315+
dmic1-clk-pins {
2316+
pins = "gpio26";
2317+
function = "dmic1_clk";
2318+
drive-strength = <8>;
2319+
output-high;
2320+
};
2321+
2322+
dmic1-data-pins {
2323+
pins = "gpio27";
2324+
function = "dmic1_data";
2325+
drive-strength = <8>;
2326+
output-high;
2327+
};
2328+
2329+
dmic2-clk-pins {
2330+
pins = "gpio28";
2331+
function = "dmic2_clk";
2332+
drive-strength = <8>;
2333+
input-enable;
2334+
};
2335+
2336+
dmic2-data-pins {
2337+
pins = "gpio29";
2338+
function = "dmic2_data";
2339+
drive-strength = <8>;
2340+
input-enable;
2341+
};
2342+
};
2343+
};
2344+
22722345
adsp_pil: remoteproc@15700000 {
22732346
compatible = "qcom,sdm660-adsp-pas";
22742347
reg = <0x15700000 0x4040>;

0 commit comments

Comments
 (0)