From patchwork Thu Jun 6 10:49:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 802072 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.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 6F4B6193094 for ; Thu, 6 Jun 2024 10:49:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717670971; cv=none; b=sfEw1GQvEORQ2AZsHBOXL1xN5RGqjEgm1+JYYDdIBF4LmpVVBML+26m5igrVjuOJfhqG4E5jtBYmwJ0xTD7pIUA5N2/WEbwTPLOZZz3nPLnRk830oE3vqtO4qHH2nqR6ovrFkfb+qJeu3ystomZJuxlrOEm5rJdJ8ubCGAP8DiA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717670971; c=relaxed/simple; bh=5sqXMbgp87TUZS+KiEhVpCzUEdrJagyCA7cGsBXyg1E=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=nPsdR36WtXf7OiY6XipnMUjI75t/nz7+d+IB3XgSIAvRDwMljeE4KEcbDHleZN0hQ3A1OOYbZ0Tsq29hteYsAJ8qCmVknVH3OWKhW4yfftvqHlQjzqu5t1uW/glgou2LrMgUjyfx9Cg9Jy8n/zH1zMBgn9KDn/JTxLG5XYV/rEM= 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=Vfh5Pdtk; arc=none smtp.client-ip=209.85.221.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="Vfh5Pdtk" Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-354f3f6c3b1so707220f8f.2 for ; Thu, 06 Jun 2024 03:49:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717670968; x=1718275768; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=mgAcBiI1rApSk5wB4cicRls24AWPm1guQUgQIJo65g4=; b=Vfh5Pdtk/uREhDeUlN2QXG/0kDL4Eft+BXbGQl1FvZxRdHPXPIpmuKEWKeNjFTdK6I 8JuZFSIaHb5S1+RpyxzGScqP+cqwWXzb2lQS9lAaR7GhBUCCWu/cHcYgfo2I1J2Bk292 Qc5JT0v5BNKA8+An0UYqYMIPI9LytMwE7hiMODvuGVC/TjnlZ++5AyrgknAgHtm5Ofs5 6Z96kef2daEkb4mS+r6V9kpF5kxFRMxbiamXhqbFSzEHAA/eC5suEh5sRZ5GvGBQA+ns 3jvQxamxKHrJz0TY6U2Thdn5c/8Ozq2al6IwJLmsnTea9CkwOS9adtPEecVVV6gL1t0Q Wp1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717670968; x=1718275768; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mgAcBiI1rApSk5wB4cicRls24AWPm1guQUgQIJo65g4=; b=jf9sdbaPDIjUvIMHLv0OKNOakaPfZpJvzA5wkLEXMImsIEPRNyjjl/jQYSt29NLTYx YTkXfKRfBzynqROr7Jlx4vhgG98p6UcpR+lWqrcpkPey7XckcijxwZ6ROhzh2ZQ78fp4 ot16uYQRyliqgh6dmKbKg8LVbe0lWBDDe1WGkW8BAAcl65WkQcLqbOleKKiooKRD3c/5 jN7Ku07o9dJ0F3gLUm34Va3yalHbhGm8fpLG/mWN4hxqwytsBdRAGIG6uLXTsUUovxKN +Us8Rm+/4UMJ/JzmutoCKZ3xL9bPDyKlRl6prstajN2BQatUygu9MMsxjPKLNu7GttEB TUGQ== X-Forwarded-Encrypted: i=1; AJvYcCXHsjzXHvaKlQ2yLrB6u9+DvT1/hEO/FS3IeKGqeeJSZ76JcRSuQzPLJr+Qce0VVvlz+/wXZ35hcjlVfolriVT420i0kICK/9FD9LbiQA== X-Gm-Message-State: AOJu0Yx6wHoN/97M1BsnPEnv7bm+UKMXz3OXr/MmsWqdlxXhRt8KJ3QS 3RmTtYeTnSSBcETF4ImVYq87Jpa7o0IWYckbKeAfpFElviGa0PMt3wpe5ns2I0I= X-Google-Smtp-Source: AGHT+IFaryK3mjyXjlJVsWarwsyBufsRG+cV4YXwa/jhBl7EAaSNLS0WI69IAsI5o0+qgRxH3p06Mg== X-Received: by 2002:adf:f1cb:0:b0:354:f489:fb8 with SMTP id ffacd0b85a97d-35e8405dda2mr3428133f8f.14.1717670967744; Thu, 06 Jun 2024 03:49:27 -0700 (PDT) Received: from localhost.localdomain ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35ef5e95bcesm1223185f8f.77.2024.06.06.03.49.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 03:49:27 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: broonie@kernel.org Cc: perex@perex.cz, lgirdwood@gmail.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, krzk+dt@kernel.org, Srinivas Kandagatla Subject: [PATCH v3 0/4] ASoC: qcom: display port changes Date: Thu, 6 Jun 2024 11:49:18 +0100 Message-Id: <20240606104922.114229-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1359; i=srinivas.kandagatla@linaro.org; h=from:subject; bh=V+TPRmmiWc+mre/0sOEkQxm+yPOkfr5f+zVyqVvdeQQ=; b=owEBbQGS/pANAwAKAXqh/VnHNFU3AcsmYgBmYZQxJZ1iKUgJogCV+Vj1OVZWTYbfNSsPZeHqj UbTKjDERryJATMEAAEKAB0WIQQi509axvzi9vce3Y16of1ZxzRVNwUCZmGUMQAKCRB6of1ZxzRV N8LFB/9yID8KvMbyXNOsSi+iTJ0AUSAOp1J0CQrasOSgiS8RxV7/ndoMh2HjiVymFKV89NzNxP3 0tPSoeFHkAX77byYhzBAPOx0MzpDer38eH6ht+fgcNvZB406HnrmuPBhZ2XQ6TSiIYp/s7utpSM VIhMETNIIFFI6SqHJe849vtnPDvMBfqnWVZoMUfcd7JYiahEh2WJBE6C+pABKrvBH1FntSxKvlK S486Pa8FD6vvv+VejeyfFRr7G2vQu8LwCUP4MwuB31uTvjfbFWAwApVlpNgYv4DxMGAnTBfPriV BrSrsAXuBhKePzVIc17Henlt02RrcUOrLRpxn+i5x37CmaTA X-Developer-Key: i=srinivas.kandagatla@linaro.org; a=openpgp; fpr=ED6472765AB36EC43B3EF97AD77E3FC0562560D6 From: Srinivas Kandagatla This patchset adds support for. 1. parse Display Port module tokens from ASoC topology 2. add support to DP/HDMI Jack events. 3. fixes a typo in function name in sm8250 Verified these patches on X13s along with changes to tplg in https://git.codelinaro.org/linaro/qcomlt/audioreach-topology/-/tree/topic/x13s-dp?ref_type=heads and ucm changes from https://github.com/Srinivas-Kandagatla/alsa-ucm-conf/tree/topic/x13s-dp x1e80100 is verified by Krzysztof with his changes in tplg https://git.codelinaro.org/linaro/qcomlt/audioreach-topology/-/merge_requests/7/commits Thanks, Srini Changes since v2: - remove hdmi references. - added more DP jacks - added some comments in code - added x1e80100 patch to this series Krzysztof Kozlowski (1): ASoC: qcom: x1e80100: Add USB DisplayPort plug support Srinivas Kandagatla (3): ASoC: qcom: q6dsp: parse Display port tokens ASoC: qcom: common: add Display port Jack function ASoC: qcom: sc8280xp: add Display port Jack sound/soc/qcom/common.c | 35 +++++++++++++++++++++++++++++++++ sound/soc/qcom/common.h | 3 +++ sound/soc/qcom/qdsp6/topology.c | 26 ++++++++++++++++++++++++ sound/soc/qcom/sc8280xp.c | 15 ++++++++++++++ sound/soc/qcom/x1e80100.c | 20 +++++++++++++++++++ 5 files changed, 99 insertions(+) Tested-by: Krzysztof Kozlowski Reviewed-by: Dmitry Baryshkov Tested-by: Dmitry Baryshkov # X13s