From nobody Tue Nov 26 14:47:53 2024 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6633F1714A5 for ; Fri, 18 Oct 2024 02:55:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729220105; cv=none; b=lbh9OdiK3je7V64E761EoIqLxE1fZPTUVtv/7ZvDaoLmMSmvyX2r9OMJjQE3qN3k9DrHm5aMWplbphJ31i1W42RK0MmAA3xyxg8P9BWbcYiKg5U5THMWSsdGr6yQayycBeisbpHJ0n+rphWU3/Af6dKduLdjKYe+Rni0VqKOsWU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729220105; c=relaxed/simple; bh=xedB+SB35rrM1xMdjWGMO/4ms1873Lcpp/f93A898qQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gO/2ApGSNKQwDM2KIxBz7spZi41ItsELRCl+RszTcjdVpGs68xFwR6/uhzaufATy8dBilfLFzBbR4yvtrxdoTuqYT177PALVPyN/bEjlc11C27JFcB5H6SMs65QU8gyDGNJ5My47rigrIsHLofOymEfMBJZp0+FhYoVjF9AGhwE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=VwhMPome; arc=none smtp.client-ip=209.85.221.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="VwhMPome" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-37ec4e349f4so183360f8f.0 for ; Thu, 17 Oct 2024 19:55:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1729220102; x=1729824902; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bMr0ESHdQgzcPRySL/dluD2VQE3JhFz1dwfU5pmNjTA=; b=VwhMPomeT3ZLJl+SuDoKYx/78er/bZWCZ+RK0nCz+eg0o3yAWgPhO9XrA7uIKompmF 0g8d9RXlrgGUBGcVbVjfPGHz5/I8hPFL0tG+nMndP7KbiKsRRY0/fZrIwIhx/Hh9fbzd k3jbM2XmThOXXV+DZ8IRbPbqD0hIenOQDdqOBUQlIdn/0S82OjdM5eJQgwRvc9sPQRje zc4tSh5sNKFXIuZyLbfzdTzLT64UJAZTTHomSB+CpopQr5w07Tcugz9Mj5vbO34BVv2G SPrmdlt8AcBOCs4Xeoxh2nyVMT7iShDSmlsV2QURYROTtOEgsDqW18jZkMvUNvclpcco 0FWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729220102; x=1729824902; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bMr0ESHdQgzcPRySL/dluD2VQE3JhFz1dwfU5pmNjTA=; b=g2Sr87lgOxH0netB8nIYFUkm/fuKt3pJxOSLAUAKwUpZ4gXyCEMHdK/yafrUkzrnDu rcP0pLsNfryheUdU/FJV+AdMGzgfeSRik6XHbxwMJ+nroOYHLkg1ZZrPfjmdGlTr26ZA N4afAvRwnXprix7azB2iIarXX3tjjRbeSFFIg1slHNtfIaubLsNzA8pN0ncjiO67Eu3c VWS7K/keH2DtmKV5JTBuK50Vsj4WBgV4Tx5cG5sqZJDxI/g7t+WctW41g6GDcW6W0KJ1 uQwmhFrIOjcFRh/teenbz02R0n4ttiRkI5tjcxS1EHlWx1LieyyZkpPykj4vxr2tFY1u DBkg== X-Forwarded-Encrypted: i=1; AJvYcCU8ycjRYr/WHaXZEXekX+HkqtQwU3Rx8oKif9zTV9SE5Fi0xVkpwL9r+KdyS4SE/PufsLE7VPw1ZEdeaj4=@vger.kernel.org X-Gm-Message-State: AOJu0YwsQDllyryoF60DodHC307j92cmTIu6GzvCi896sCTXeydAYzWq zW+YwffYFR+nPVGaXstdcLQLFRG1nVo/5poRpkb20yUSl0N+DxEutu+EoKNsfFs= X-Google-Smtp-Source: AGHT+IGvUn4grmNS8CcRKT+SghKVVzCeokQjz5FYdRiEPm69qPlRzfdRibvODAIWEaDjkmb+3OCRmA== X-Received: by 2002:a5d:4e4d:0:b0:37d:542a:7872 with SMTP id ffacd0b85a97d-37eab7281ecmr455305f8f.49.1729220101751; Thu, 17 Oct 2024 19:55:01 -0700 (PDT) Received: from localhost.localdomain ([2.125.184.148]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ecf0ed599sm596135f8f.69.2024.10.17.19.55.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2024 19:55:01 -0700 (PDT) From: Alexey Klimov To: linux-sound@vger.kernel.org, srinivas.kandagatla@linaro.org, broonie@kernel.org Cc: lgirdwood@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konradybcio@kernel.org, perex@perex.cz, tiwai@suse.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dmitry.baryshkov@linaro.org, krzysztof.kozlowski@linaro.org, caleb.connolly@linaro.org, linux-kernel@vger.kernel.org, a39.skl@gmail.com Subject: [PATCH v3 4/5] arm64: dts: qcom: sm4250: add LPASS LPI pin controller Date: Fri, 18 Oct 2024 03:54:50 +0100 Message-ID: <20241018025452.1362293-5-alexey.klimov@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241018025452.1362293-1-alexey.klimov@linaro.org> References: <20241018025452.1362293-1-alexey.klimov@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 Signed-off-by: Alexey Klimov Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm4250.dtsi | 39 ++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm4250.dtsi b/arch/arm64/boot/dts/qco= m/sm4250.dtsi index c5add8f44fc0..ed5eb5818d5f 100644 --- a/arch/arm64/boot/dts/qcom/sm4250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm4250.dtsi @@ -36,3 +36,42 @@ &CPU6 { &CPU7 { compatible =3D "qcom,kryo240"; }; + +&lpass_tlmm { + compatible =3D "qcom,sm4250-lpass-lpi-pinctrl"; + gpio-ranges =3D <&lpass_tlmm 0 0 26>; + + lpi_i2s2_active: lpi-i2s2-active-state { + sck-pins { + pins =3D "gpio10"; + function =3D "i2s2_clk"; + bias-disable; + drive-strength =3D <8>; + output-high; + }; + + ws-pins { + pins =3D "gpio11"; + function =3D "i2s2_ws"; + bias-disable; + drive-strength =3D <8>; + output-high; + }; + + data-pins { + pins =3D "gpio12"; + function =3D "i2s2_data"; + bias-disable; + drive-strength =3D <8>; + output-high; + }; + + ext-mclk1-pins { + pins =3D "gpio18"; + function =3D "ext_mclk1_a"; + bias-disable; + drive-strength =3D <16>; + output-high; + }; + }; +}; --=20 2.45.2