Re: [PATCH v2 3/4] arm64: dts: qcom: qcm2290: add LPASS LPI pin controller

From: Alexey Klimov
Date: Fri Oct 10 2025 - 08:30:15 EST


On Tue Oct 7, 2025 at 1:39 PM BST, Konrad Dybcio wrote:
> On 10/7/25 4:03 AM, Alexey Klimov wrote:
>> Add the Low Power Audio SubSystem Low Power Island (LPASS LPI) pin
>> controller device node required for audio subsystem on Qualcomm
>> QRB2210 RB1. QRB2210 is based on qcm2290 which is based on sm6115.
>>
>> While at this, also add description of lpi_i2s2 pins (active state)
>> required for audio playback via HDMI/I2S.
>>
>> Cc: Srinivas Kandagatla <srini@xxxxxxxxxx>
>> Signed-off-by: Alexey Klimov <alexey.klimov@xxxxxxxxxx>
>> ---
>
> [...]
>
>> + lpi_i2s2_active: lpi-i2s2-active-state {
>> + data-pins {
>> + pins = "gpio12";
>> + function = "i2s2_data";
>> + bias-disable;
>> + drive-strength = <8>;
>> + output-high;
>
> I.. doubt output-high is what you want?

Why? Or is it because of some in-kernel gpiod?

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/qcom/sm4250.dtsi#n66

>> + };
>> +
>> + sck-pins {
>> + pins = "gpio10";
>> + function = "i2s2_clk";
>> + bias-disable;
>> + drive-strength = <8>;
>> + output-high;
>> + };
>> +
>> + ws-pins {
>> + pins = "gpio11";
>
> Please re-sort pin entries by the gpio index
>
> https://docs.kernel.org/devicetree/bindings/dts-coding-style.html#order-of-nodes

Ok.

Thanks,
Alexey.