From patchwork Fri Nov 1 00:59:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 13858561 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 52C08381BA for ; Fri, 1 Nov 2024 00:59:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730422781; cv=none; b=sdLEzOrRBUoH/NmZiEtiKluB2u5aj78/8X8RCApt/TqpFJULJ0IJ6eNHMl0Ty8dqmflq7vbHDEBVvm7U7nZ9LYr2ob0r6kiJBx0vaqRDjQ1me5yRqI6fXCH3B1Jg5UaIenY1kOeouP/Q4IKbSUwyBEiFTqWWj89tvdCx7ni14X4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730422781; c=relaxed/simple; bh=8jzi7goouC0F0vMAMEG36fTCcOdTha50V0ZwGgyacJ8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=LFMTJ4wOpxa7TIwMcM4vawyDHJm3zQWV8TV0DMezLBEX7QaIJEfbMVRZo2iLGGA/E1AbrYQ19I9tb3OsxtPqPJD6iL5BbxN+Xy2sTxd0S05fHxHVnUcwOQYk7hB80Xs7P6tL6VDv4h7znqD63fJxooQ6trLxd/fFfSfUAUvldeM= 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=MEff+MXH; arc=none smtp.client-ip=209.85.128.49 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="MEff+MXH" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-43161c0068bso12555975e9.1 for ; Thu, 31 Oct 2024 17:59:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730422770; x=1731027570; 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=8czlapoIlZ5pdYEMSWJZvbQIt9HlIJv6TxurfVEny9k=; b=MEff+MXHez4WvfbrRzIiwBFAiw4gQTwflNxPJUKhASZTwNDKsXZ0SNl9SFV30Ld1vi Ntdt6rcsZQQcKwoDjZowz8jaednZnTc3DzucIiKes9DIR7UitLGHVk3FESGvlE3xEuPq mt1QhVO2icz17NNysHBaF+6ulwUAUiKW7++B6Xc1RU+L5GdTK3Dp9SJ2m41fYqUSypdB inYKrjqJATE/F3JHPgLd1dibAii0at84qP5uQnbsOx55YzygzTQbhA9nwid9DG2Gu6oz oex0jr3TDy9jxQRdJLXjKb7OTppRVMzKKM9btE8tZnhaDNcCjD18Ekmdoj/LOVuJhCMF dtyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730422770; x=1731027570; 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=8czlapoIlZ5pdYEMSWJZvbQIt9HlIJv6TxurfVEny9k=; b=hsj+bpWc+2dB3B8oYcBmr4SCckVnk9RrKZ8bupGd6vSydCCY3y6ws7OKg+WNySSow7 JY2sHLzJU7Tac8LPJM56hsJiYxa/mpWE68yo/yHXo6IfBUGIlohVN/fqgcS9+ZbRS0IV s8twbmpLA+R5Pa9UUfpLItYAK6FLOqT+nLgvDpZfZm3hyafGwvlB9hO5xznBgZKNvPAe SjYhkiu9W//2KMrLKuiubYcbeVBrrB/dXhzEnS+XwaAayhOD+I7EUX/qp+DeqXZGdrna xKEsvQY6cch0nSv9cd1VV+Ut9lhkePTI68ROFZB66/fjRmJuBwl63P3D14eyfZiXuYx0 XfRQ== X-Forwarded-Encrypted: i=1; AJvYcCXOiQMY2JHuuO/HwUN+Ow5A5b3H4LuTHYagR+ygfcn18mF8TAQao1E9/I75IVEePRi9muWdVD2GQK5m71yc@vger.kernel.org X-Gm-Message-State: AOJu0YzHhm3crJUfJ6w20Z28j2CVHq/bnivubaDL+6xp3Xof7+d/jNvw wOyDRUxb9ICwEJn/4cTlzdXQDLMZbFpDrG0+hrtPjzSlKmPLmF1ozpkQTA6fpcQ= X-Google-Smtp-Source: AGHT+IHNmbGczY/yMUPeVNxztuRCdAbNfOSvimTFvs+b/4euVT3yqHIhW9/gkTLGqGhtJcb5Kw6Qkg== X-Received: by 2002:a05:600c:1987:b0:431:6083:cd2a with SMTP id 5b1f17b1804b1-4328324d6bfmr13211975e9.15.1730422770399; Thu, 31 Oct 2024 17:59:30 -0700 (PDT) Received: from localhost.localdomain ([2.222.231.247]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-431bd947a9fsm74208035e9.22.2024.10.31.17.59.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Oct 2024 17:59:30 -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 v4 3/5] arm64: dts: qcom: sm6115: add LPASS LPI pin controller Date: Fri, 1 Nov 2024 00:59:23 +0000 Message-ID: <20241101005925.186696-4-alexey.klimov@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241101005925.186696-1-alexey.klimov@linaro.org> References: <20241101005925.186696-1-alexey.klimov@linaro.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add the Low Power Audio SubSystem Low Power Island (LPASS LPI) pin controller device node required for audio subsystem on Qualcomm QRB4210 RB2. Cc: Srinivas Kandagatla Signed-off-by: Alexey Klimov --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 816b8331933d..df2241237b26 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -16,6 +16,7 @@ #include #include #include +#include #include / { @@ -810,6 +811,20 @@ data-pins { }; }; + lpass_tlmm: pinctrl@a7c0000 { + compatible = "qcom,sm6115-lpass-lpi-pinctrl"; + reg = <0x0 0x0a7c0000 0x0 0x20000>, + <0x0 0x0a950000 0x0 0x10000>; + + clocks = <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names = "audio"; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&lpass_tlmm 0 0 19>; + + }; + gcc: clock-controller@1400000 { compatible = "qcom,gcc-sm6115"; reg = <0x0 0x01400000 0x0 0x1f0000>;