From patchwork Wed Oct 2 02:20:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 13819260 Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (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 C19D72BAF9 for ; Wed, 2 Oct 2024 02:20:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727835632; cv=none; b=E0dKFxTj4yNwfv4HiouaplCSQueGQ2mz95jEhTmjKGq75O4FJoQh2wwVm5cusoKP/oPDVpKIzmz9pIibVDhKJJTK920Z3luvDdZhrZpXSVwmw5cUJ0FVDew/qEckg6bWO64IEI1nQRqB+pzLPHYh1XeApOaTF8H+VoULHHTqNAs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727835632; c=relaxed/simple; bh=ric+SLdIOtDdMn/bjY4ZV6JUUhcdjPFI79OUCHUnDgs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OYIIvxh1C9GGopFLklaA5DCK5+U1iXI1G3oaxrMynZkMsplWY3z89M2f+xMdrttT5expofmck2ts+yTSVxdoXGGq4uoVutenoeJ1oUq9GX2WmHaqYO3Qb8nnkGX6/K0sKSXh0j17BmDQPhMMcN4zV2EzoD1jc7/bjC0fdjRTWII= 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=APLaMqT7; arc=none smtp.client-ip=209.85.218.52 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="APLaMqT7" Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a86e9db75b9so1140355466b.1 for ; Tue, 01 Oct 2024 19:20:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727835629; x=1728440429; 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=LIw3pjujevMfYCBuBjwX4+AVabirKPTZ9D57CaVG3PI=; b=APLaMqT7Xyt2MCqDDHtsTtlsgCf9enskEkDfoAg5FzR8xc2u6EBx4M1URNYHisfTDC fgqr8RMmZ1ah2DUX2RSxS9JFJglIaenOwx0zqIIyQMkF8ZiG578TV9uslsXV6+aUOg+v 9cr0I3nhPsUN977J9flCMYQDjzuY6E9BV+fRQHiJ8rQBV8wBJxs3wm+rpmCitdMrTzl5 OCpje7f6ftb+VxtRjImv5Ade7XKjg68sML7RWBXOoK6ksFxgaXNH9y80rSbBmCNiwQzt joi7fqsh0Uw3hz6/A8MS0OShnQIgCyw0LC6UZYdyrYn6Cm4twqCD/5/A4PZLqsevsnmD Lesg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727835629; x=1728440429; 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=LIw3pjujevMfYCBuBjwX4+AVabirKPTZ9D57CaVG3PI=; b=F2fHF6JD1tiiQNvaNrxe9RqPjAVeVkYgaN8iiBqTa3OjMV9hrJTyRgGF4RI6SjSYt4 Sawx32via6YpU7Q1T/MUTzXumT7EeTHvKg2CmSmYXw0cARBgiB6oQgGuPUBXvHsNnjRW mNBf1ShJesopA6Y0pJeIXBzxm2Fm87KolbyimRLlJ1F01QIGQrQsmdKO9SRRKFXaY5qP ehlgyqDkLQwfO/XuSt8IUurGuJIJm0T8hppcLcAQqYPgm9gB6KvjYh2PbKD9gbaxKgZm MDvbRlaMmdcA1BiNRaaMdxa3XJNmIEn+ekgwz4R8xWPEQ3fREhigYix7nIKQ9VDqw4s8 FaIg== X-Forwarded-Encrypted: i=1; AJvYcCVN/DF9mtpsThMj/oKpgUSN3yhDx2Dana9XP/eaM7SxrIwkJobifd84aZDg5p9CbOog1cXv9ZD6GBNVxbge@vger.kernel.org X-Gm-Message-State: AOJu0Yzd7wo1DbMd2lruHoZNQprGN9sAskzVWE5uN3jASS5EicV8xdPu uAynNVrPJxNCciktovo2SnoYBTKy6wlZEk0b3VCnUh/en6LGorOOQgD3qFI9rU8= X-Google-Smtp-Source: AGHT+IEVv1yZPyk7AlihJhG5VqeeKRdBXm8rwVDjskcD7VkJNBZU1ibp+Au9f/NNatFh5EVKsuyquQ== X-Received: by 2002:a17:907:7da0:b0:a80:f358:5d55 with SMTP id a640c23a62f3a-a98f824f579mr132293266b.33.1727835629204; Tue, 01 Oct 2024 19:20:29 -0700 (PDT) Received: from localhost.localdomain ([2.125.184.148]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c2945f2esm787518866b.117.2024.10.01.19.20.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2024 19:20:28 -0700 (PDT) From: Alexey Klimov To: linux-sound@vger.kernel.org, srinivas.kandagatla@linaro.org, bgoswami@quicinc.com, lgirdwood@gmail.com, broonie@kernel.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, perex@perex.cz, tiwai@suse.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, elder@linaro.org, dmitry.baryshkov@linaro.org, krzysztof.kozlowski@linaro.org, caleb.connolly@linaro.org, linux-kernel@vger.kernel.org, a39.skl@gmail.com, alexey.klimov@linaro.org Subject: [PATCH v2 5/7] arm64: dts: qcom: sm4250: add LPASS LPI pin controller Date: Wed, 2 Oct 2024 03:20:13 +0100 Message-ID: <20241002022015.867031-6-alexey.klimov@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241002022015.867031-1-alexey.klimov@linaro.org> References: <20241002022015.867031-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. Signed-off-by: Alexey Klimov --- arch/arm64/boot/dts/qcom/sm4250.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm4250.dtsi b/arch/arm64/boot/dts/qcom/sm4250.dtsi index c5add8f44fc0..37c0e963e739 100644 --- a/arch/arm64/boot/dts/qcom/sm4250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm4250.dtsi @@ -3,6 +3,7 @@ * Copyright (c) 2021, Iskren Chernev */ +#include #include "sm6115.dtsi" &CPU0 { @@ -36,3 +37,18 @@ &CPU6 { &CPU7 { compatible = "qcom,kryo240"; }; + +&soc { + lpass_tlmm: pinctrl@a7c0000 { + compatible = "qcom,sm4250-lpass-lpi-pinctrl"; + reg = <0x0 0xa7c0000 0x0 0x20000>, + <0x0 0xa950000 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 26>; + }; +};