Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp3044253lqt; Tue, 23 Apr 2024 08:55:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUZ3wVqHmiLrSTYcaziVKca1iqKAIC7P3/etyNBfpS+KoO4iIneQXbKjWWOmNLhOiYf0DrpXpStQF/PwWb4eYwPwrpa4REOpHQ9s9N4lQ== X-Google-Smtp-Source: AGHT+IHjhVs6WQzrva87UQ+ZqXmhXolMPQS9UXXdrupIBIycArRtc2/rYFBm4PsyUFbAtn2zL2t/ X-Received: by 2002:a05:690c:7008:b0:61b:16d9:47cd with SMTP id jf8-20020a05690c700800b0061b16d947cdmr14534914ywb.11.1713887743245; Tue, 23 Apr 2024 08:55:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713887743; cv=pass; d=google.com; s=arc-20160816; b=qknq5cKFdWp6g9ia9BLh2f5F3wZaW0aqhgTBACx/7dP8+3XeufjIctgl0ZSzmAdK7Y KZo+f81JVQsaKAn5x8E7rpUQgGc9lOe7dbCRhM3QaR1yby4zbqo79LqjKuwzJYAojO1E OVef8nkTjJuUYMz66yLjKnUozRJ45H956pfXc9JlelhUMLEe+65zzunh+/GLapV9ug3r lrECRX61eBaYAsZs/1esRH5c589U/vTyjK7uJGze2c5DxEzMK+eQ3Jtp0htrwWgo2ndc Y9GIEdAmzTuwnIZiCHomtWxpG/Eo7dZ199514TYsiQ5ARmzcqEIg6/eJSkzR7fcHvM5Y FJyA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=IW7ZL4jAlMLz9cl+B/4SKCxX48cMreRrpQi5eMp0DZg=; fh=Nn0Yor0TIPI5AQopfEKiCGOwrkTe9WDQMuhTFc+5RzQ=; b=UUW5zYCuJ3EfLqzjUmHkOnuaCWCa1AH3AIDxC7e2JQqIwjx31FyxCQfB8fQEEELsYB 5n6DU/DZm83u6O55DXCS+IZ5Kd6a7hLUBYJyUSIo8udcntj3Xilnjlu+0WFicIsOgZxM //bOvv4qoOPjf9dUd7U1kpQTLdGic2mpoDk7bOObXkoSQQCKCCNmYbZcWvv6SEzhUz9F 8BHzy45h5d/P3RpUyg6ue/jm+gjc7K2nW3zhD0p8jTuxgAzDFH13Hxm0tFTsruGgMn0i vDyZMFESmn2aONeAnafrqLogCh2YXHRpR+2TqlNnPS0cFhu0cN0rrtewgL5Vt0e3O9by UCwQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tEkUoE9y; 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-155505-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155505-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x25-20020ab05799000000b007dbbc96b46esi1831771uaa.50.2024.04.23.08.55.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 08:55:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155505-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tEkUoE9y; 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-155505-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155505-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A7F871C22F22 for ; Tue, 23 Apr 2024 15:55:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 15F0B13C9DB; Tue, 23 Apr 2024 15:55:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tEkUoE9y" Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (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 A79155FDA6 for ; Tue, 23 Apr 2024 15:55:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713887737; cv=none; b=J6lTLTtxsMsuOnZq2hIEoPZG+y7ITURqfoDZxPRt/6kqo9Hl7Hb128tud9//dAMzYH2dr5VbeJsKXA0X4Km194+II78sxnMeRqKPlL8PnDSCqqhcwy+H2yMXzB9CejUfetgOueArUfkqj9WjIoD5XrQE626MsCqKwU8SmoXqtKA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713887737; c=relaxed/simple; bh=Ej8/m7SdFnqgrwQhjVcEPBmt81QzHjxp6CjbBxx+vI0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=SOMCnshCCncNlNCpy2GzPR8KQCcxgqyC7LUnJPYc8eUOZavBUmZjZ0s8lnHpnosUw7ZcX8j2M+2CPU2A/PlqGC/U4mbjBM0Tz9tSVIX2TryFQkRgKw5rF0ZSdB3QIcxEMgoNfkz0DnyRzNMCKDPbrhUGKXTiWF8y594X/3O2tVU= 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=tEkUoE9y; arc=none smtp.client-ip=209.85.221.43 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-f43.google.com with SMTP id ffacd0b85a97d-343d7ff2350so4384807f8f.0 for ; Tue, 23 Apr 2024 08:55:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713887734; x=1714492534; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=IW7ZL4jAlMLz9cl+B/4SKCxX48cMreRrpQi5eMp0DZg=; b=tEkUoE9y3DVtC7F4tWLgm7Zp2XU7lDrqABiC0DIkBdfU/ElB9BYX4H0gqyF3SfzOdr wxzGh861JFoFHkSREsajzT8VPhnGTVC3ZWeba4xdK6YgGT/R1OPr2xA6O7K48LmBaJ2V nrB5azA+as0e1nBQzE4ThSMGZCxg+QNRaFFnHGSuZFd2yF+rl+gUT4GxC7SWM0m0573B X5Z8J9NkAfJBi+cIVpPfRMiObG3FfBg70a069gVywLIxZWt0Y4JXqHwuQgdV8W01wQUy YoovHUrozb5UJ1/mngwIgiXR33GYb+5flzNFEVwzi07OsIG931cvSjupbvAd8EqZOiFz fOnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713887734; x=1714492534; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IW7ZL4jAlMLz9cl+B/4SKCxX48cMreRrpQi5eMp0DZg=; b=nOizdgpYFKCYWdEUZ/qK3CRCEUpVVeEytPLg4wXxUgHwBFr6Zd401XDOEOrg3gl4gy gS7XHLJZv5A9qnpwS8Wl0jkNpX2t8Df52AMhU1A64qYjWOroElJkIYLiAu/TzNAxxirI Z9OhKQ8iO0jm68muiqTc/IAq+HFNRMnXucOjJKcQjfSHfPkN4DfVI1eETgapTFM9YjMn iwzqHNUehMiyFQA7OOtKiGcZzmQmb57qabiTY0nWbLH9zfdBeUIExEImVgFrLDmt7H0y UtFhRtSVxcHSxyOL74RhiLAOO1+I7lz/iKomtDzv4Ft1Y4J44u/ImTKhim757H+GdAej ADMg== X-Forwarded-Encrypted: i=1; AJvYcCWEnyQhGdoN8dvYemUOTSgs8+8TYvKaUvysm1B7xKIFaFpe/VSgMEPF1+xyTuapcmmtXUTzYjBdyrAj0bRvN3+Ywj6pkGXqtWGrNINl X-Gm-Message-State: AOJu0YzX6J6+AWxh8a7bKxafHiu2kUh+KyKdCAQnppTHSMyulhqw805b DiRtReDGROGQrQLXAfIo/Ng7j2zi2LbOB4HEFyDtxgJRNCxtx+wycNOMkyZ40Lado1cp5bqu781 Q X-Received: by 2002:a5d:69c1:0:b0:343:ef1b:9f69 with SMTP id s1-20020a5d69c1000000b00343ef1b9f69mr11023947wrw.43.1713887733821; Tue, 23 Apr 2024 08:55:33 -0700 (PDT) Received: from [192.168.1.195] ([5.133.47.210]) by smtp.googlemail.com with ESMTPSA id a6-20020a05600c348600b0041ab78cb237sm2690632wmq.31.2024.04.23.08.55.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Apr 2024 08:55:33 -0700 (PDT) Message-ID: Date: Tue, 23 Apr 2024 16:55:32 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/4] ASoC: qcom: common: add Display port Jack function To: Johan Hovold Cc: broonie@kernel.org, perex@perex.cz, tiwai@suse.com, lgirdwood@gmail.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org References: <20240422134354.89291-1-srinivas.kandagatla@linaro.org> <20240422134354.89291-3-srinivas.kandagatla@linaro.org> Content-Language: en-US From: Srinivas Kandagatla In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 23/04/2024 13:02, Johan Hovold wrote: > On Mon, Apr 22, 2024 at 02:43:52PM +0100, Srinivas Kandagatla wrote: > >> static const struct snd_soc_dapm_widget qcom_jack_snd_widgets[] = { >> SND_SOC_DAPM_HP("Headphone Jack", NULL), >> SND_SOC_DAPM_MIC("Mic Jack", NULL), >> + SND_SOC_DAPM_SPK("HDMI/DP0 Jack", NULL), >> + SND_SOC_DAPM_SPK("HDMI/DP1 Jack", NULL), >> + SND_SOC_DAPM_SPK("HDMI/DP2 Jack", NULL), > > Shouldn't these be split in dedicated HDMI and DP jacks too? What if you > have a machine with HDMI and DP jacks which would otherwise both claim > "HDMI/DP0"? These map to the Jack's added as part of qcom_snd_dp_jack_setup and belong to DISPLAY_PORT_RX_0, DISPLAY_PORT_RX_1, DISPLAY_PORT_RX_2. If its going via USB-C DP controller it will be either DP or an HDMI ? This is the most common naming for the USB-C DP/HDMI jack events. Qualcomm LPASS in some older SoCs had a dedicated HDMI interface which is different to this one. Usual Other ways to connect HDMI is via external HDMI Bridge using I2S interface which totally different to this DP interface. So none of these will conflict. hope this clarifies. thanks, Srini > > Johan