Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1237357rdb; Wed, 24 Jan 2024 08:45:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+ru4MVfoNb5s7cls3QhQ56czysU7nbvIG1H5KKpl2v3gPNLs03XqcZRRtuMvOvjowAFtF X-Received: by 2002:a17:902:e84e:b0:1d7:2b84:c1e6 with SMTP id t14-20020a170902e84e00b001d72b84c1e6mr1367623plg.101.1706114750081; Wed, 24 Jan 2024 08:45:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706114750; cv=pass; d=google.com; s=arc-20160816; b=xdC4oDmKXyDEkrCCDaoZZYKxXO4kkyGR7dSNpRDqubvodGwRR3Dzrfev/TXShuaO/u 26t9351ZR/5my6HdXwiVLMoFF4M1l1Ynd5w24p22JwvR2p0Jucoz/paySTJFLIZfDlxM wiG0bkg3P6O7dmJt+AbkCkMxFqijL2ydM4PUg+R4ZND5Uap/c7mCwbEIWYatlYxwviRt wXlDIhsSGVJ5gvsH5N3r3ypc5nMZ1A8NjnI/hOBqamzv7xRy5up0hbap066SgTZnpX+S bEmz/OyLehjdYGBFR5gcU1uoD4KWPLhgRVwRx3Nso8Y+Llx/FUSDMxkPIAlug/b0t52R 0cDQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=oPfitwNDeh5IgnqcpIOPgmDXuTM9ZGL9gpaSrx5A5EI=; fh=v1lwT2l/jVFCCowwT16E18rgIv0CDQo4TohtFL5maCY=; b=rjWc/+lwZWBs5rY0xz0rt0DjR35jhtVoziWpntdTsuJ/iVsDlVzIhH8gfDqmSE1n13 xYfYzLKbMLCorR9qfCCoO2+oQhLn2rmtSzP+LbYRewzVn3QEkOM0KoRGHpEh055nLGBq AHgMfJtJUKeGX9WImAe36+vFGIqaCMnF14PYBPCHCum/5YsM+Z81xaqYF/dq8qJlGMO3 NS/zqWcdEDSL1JHV0OjEr3eGDgZ3vu/ElIht5qfp6gkYbSfdzBaH7Chgm2wwLzewVWOF rs1i6noU4ct4sBWcBFZw5M9Y1kl1JN+dpPrw/heli0w5IAC43zYlA6sNICBREX3EO1Ei l+dQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q0bT4Blz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-37351-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37351-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s7-20020a6550c7000000b005c680fbab19si11804880pgp.513.2024.01.24.08.45.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 08:45:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37351-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q0bT4Blz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-37351-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37351-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B8C8328294C for ; Wed, 24 Jan 2024 16:45:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 864D37E785; Wed, 24 Jan 2024 16:45:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Q0bT4Blz" Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (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 CF1407E57D for ; Wed, 24 Jan 2024 16:45:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706114714; cv=none; b=I+QHxFtLW3y++dsoHVkRf8Cz4J/FI/h33SCH1YFt7b2c/1xI+EaUKk0P/8Qi2X9eD6W0dFXajx6IiYwo9goiLnWr3iY06cKiM6EqgBNCh9inBdpHsIyA0FjtCEb+HHp143y6OOHXT6/L3evkkus6n2gIAqLYMZ0VWO2n9nWiXCw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706114714; c=relaxed/simple; bh=QoOGnO9l48+0iK2zIq/3QM25tfKdYuavsbe3FmMLGCo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=S9v0xEqEgEz2PHmZjSGQ9BW5kCtBnLHcqdrN7tOjmnZpx43InMrqjgnYnw0Y0rEUKSBqnK9PGHzjQ5tDm+iU8Bx/CTRN4+GCOolPm0CB+lU3cPvcdVHG1dtRtKETHCEV6PYNi6Ma2+Ak/jlJ6sjKRqmBKg6jzZ9wDO4M1V7masY= 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=Q0bT4Blz; arc=none smtp.client-ip=209.85.221.48 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 Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-3394b892691so732035f8f.1 for ; Wed, 24 Jan 2024 08:45:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706114711; x=1706719511; 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=oPfitwNDeh5IgnqcpIOPgmDXuTM9ZGL9gpaSrx5A5EI=; b=Q0bT4Blzca3gzvOquclKRUMXcovCgJ3rbjkEdaC6IiCS6146aCpprC7vxsqn6BmZwp 0Inw3gzFJ0DL+/unlqNpbrYrt1yUiLymcTmL15WXsDXlVdf+MhnTKquCTdzGykTPMn1q TNP0hpsims2RBYMT0+Ge3TFVCfaoWnNe0jUsPVVvAJJ6afMTX6NentK5MgWyNeH9jaVs rjdOLUOkHKnavccCdJgpRKIGXGIeplV7KnXE7uJnFVslag5prIst/BiLUAor4xjrBbXw JrvmJBckWF9NLrJqu+pWTC91RW23g4vDy5+oxp1Ksxp9y1I5B86bZjF9qHhKVI8fPTtS 2/Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706114711; x=1706719511; 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=oPfitwNDeh5IgnqcpIOPgmDXuTM9ZGL9gpaSrx5A5EI=; b=jzF01Zw/9EOsyOOZBKed0nRAFJZx62ROV1BTyEzuvHr1qN1nTOU4o1pxq8FhB8B6L2 VQ5Qnj0S6U9cgaAgqs9yrz2tOwCdDNf9Zk6KBPs4CaqSMBGYXYAhBUvI+Pdg5jL6wxBp cOyETSE8dlzQy1/WhVVP3Ir2OAsO7xPtVmiCjHsfmhDNrI6NtW+88d7nDAuc5eawgMGu 0judjF5ZQq8lbqmje04VpgHtrY/jlmsrVzJaiIwGdZkVe7WB8PmmpOZm8UoDTuGB46vn oWK3pMy4rr+rLyOdcYSPodhIpo+fD2Xd3Tu37jgdAtUCU4zDXzpovwi/TYrlqdfWbeDs F9hw== X-Gm-Message-State: AOJu0YyYyj6nnvzM8S6qTZVD3v/BhKRnyG1JX+6pmGYH3/tzWmBxFFsq TWXV+gkBa58qxlrPh/cAFs+suFOMAp2NCseZ111L+sAFOJRGi7nVEObgokD6pgs= X-Received: by 2002:a5d:4703:0:b0:338:5dfa:5080 with SMTP id y3-20020a5d4703000000b003385dfa5080mr595282wrq.24.1706114711106; Wed, 24 Jan 2024 08:45:11 -0800 (PST) Received: from krzk-bin.. ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id v9-20020a5d5909000000b0033936c34713sm8137883wrd.78.2024.01.24.08.45.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 08:45:10 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/4] arm64: dts: qcom: sm8550-qrd: add correct analogue microphones Date: Wed, 24 Jan 2024 17:45:04 +0100 Message-Id: <20240124164505.293202-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240124164505.293202-1-krzysztof.kozlowski@linaro.org> References: <20240124164505.293202-1-krzysztof.kozlowski@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: 8bit Add proper audio routes for onboard analogue microphones AMIC[1345] - MIC biases and route from TX macro codec to WCD9385 audio codec. This finally brings AMIC1, AMIC3, AMIC4 and AMIC5 onboard microphones to work. AMIC2 (headphones) should be fine well, however it didn't work during tests, probably because of incomplete USB switch. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts index 76e9ca954093..79ec673f9f7c 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts @@ -123,14 +123,21 @@ sound { "SpkrRight IN", "WSA_SPK2 OUT", "IN1_HPHL", "HPHL_OUT", "IN2_HPHR", "HPHR_OUT", + "AMIC1", "MIC BIAS1", "AMIC2", "MIC BIAS2", + "AMIC3", "MIC BIAS3", + "AMIC4", "MIC BIAS3", + "AMIC5", "MIC BIAS4", "VA DMIC0", "MIC BIAS1", "VA DMIC1", "MIC BIAS1", "VA DMIC2", "MIC BIAS3", "TX DMIC0", "MIC BIAS1", "TX DMIC1", "MIC BIAS2", "TX DMIC2", "MIC BIAS3", - "TX SWR_ADC1", "ADC2_OUTPUT"; + "TX SWR_INPUT0", "ADC1_OUTPUT", + "TX SWR_INPUT1", "ADC2_OUTPUT", + "TX SWR_INPUT0", "ADC3_OUTPUT", + "TX SWR_INPUT1", "ADC4_OUTPUT"; wcd-playback-dai-link { link-name = "WCD Playback"; -- 2.34.1