Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp459347lqo; Fri, 10 May 2024 05:27:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUBAsyMIGkjwaxexSbBAyIrIVtHA1KB7bwyobeo3Nmecwq2Lonq+71F4/CRdthHbZb94y/jortNtoFMcHVnnFgmS3RhIBVaSulRud/ewQ== X-Google-Smtp-Source: AGHT+IHtZrgvijILxM1yJIjDC5aGRZ4MpIgdh1LGkB0bXnsoCVTF324MaVFhI6McsAGNTfC8tgPR X-Received: by 2002:aa7:d450:0:b0:572:72ff:da34 with SMTP id 4fb4d7f45d1cf-5735a1c68e9mr728044a12.14.1715344055821; Fri, 10 May 2024 05:27:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715344055; cv=pass; d=google.com; s=arc-20160816; b=qQTDD3MCX41G4qD6S+2oV4PXAnv3MwI8MinZzuEIJZMGWaewcV9X+eO7qGbdRXDvbx ooOPNBXXFeKVukA1og6M4TeG7iLKe8DFWkOP3AWFrP9fRuw9YQJrSIzXhrM9qRqeT7QB yueTjzm0HN7Ze/gZsrfhMQlUzTJRFlu6qYx6L+cGSe4eBeFrt9LSOGB4DjaUxfkylwqu Fizlb+VsBqw6E3bQupxRONidB5ivUO+MmNh6Qm6IhgqHOr7qd4WK6ECFOPLKrj1ktzhF KI+eBGriEu5hWd+dbLadzEx1BIfLb3ahqy+tcdsAaVjH6mo6JzdimLsDBya/VioCrQcq USdA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=7VruMYD1zjQvWIDk80k0vAzVCegGSSlfN6zB8dLNTHQ=; fh=It6v+hRF19vxnGAZwHAI4AO/qs4T6rUxsv0EVtYCjZc=; b=HtkJ+wyDF8oPkL27wbMq+6BV58CKmO07S/DQ7uH4mTZO5HCJ2WZx6ow9ZUCZmo4m3z vP8yyoDKO0nFar+nFxtJAGtWdy4H4j063ltaemI5DJhVNu5PdUGDaT4Vg6ry2GRWqblz 8kdAMqIfRFKXaHwVLg1AtprnG+IWkW81l3/cAibxF+AL0/wNzQYMTVhCzh8x/Y47DLLU Xnqr5xIPkR2AboslQY7EfF7cACUe0Z529MdU2lIHpAWXFgfqKk3etr2+hjmkZ19FzPeb ybnm2Jfy02MlltnjfZHgiquP07sAX2VIKMom6SeKbuXgTEORoj/fzUBE+mywJdP2rktH 0f+w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=azdVPd3C; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-kernel+bounces-175775-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175775-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c327161si2020973a12.353.2024.05.10.05.27.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 05:27:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175775-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=azdVPd3C; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-kernel+bounces-175775-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175775-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7034C1F258E8 for ; Fri, 10 May 2024 12:27:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D162216F82A; Fri, 10 May 2024 12:27:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="azdVPd3C" Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (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 915C53F9D5 for ; Fri, 10 May 2024 12:27:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715344042; cv=none; b=SiJS7eFmToRWiK49uuVM7xgnPETxMSw32sy+7ZTo8RY1DC3gon/woJyljKnUOGxMKn7MMYrDk6cK9OX8U2/9X4v/fQ8bbgnNVVw1OsakXPqhughwZ/sRkcZF6zlQ7/9xVNt+Sc6q3EPrvMr9AnrcZ5SowdbEoEeGTQ7sPhQQo4E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715344042; c=relaxed/simple; bh=zwoUvGtt8bR7O/tm8qgvxWbu42LmxBHM6kDQadbJ/Mk=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=AqnFozV9PDK39x+gYsksCg9s49+RMVxP/RfeHeyZTWkAG0Fm4Nm/bDIDGKBiRuBwyQ7fxTUoAssWy6grGHW0VpOob2XmoMDhoavmDueDuWlPErjNaG0TpMc6bMbRnQQo6OMRrd4TiO1Y4TfHd2dwNHHVf92HRmbm+dtQBd1kWiU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=azdVPd3C; arc=none smtp.client-ip=209.85.218.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-a59c448b44aso509684466b.2 for ; Fri, 10 May 2024 05:27:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1715344038; x=1715948838; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=7VruMYD1zjQvWIDk80k0vAzVCegGSSlfN6zB8dLNTHQ=; b=azdVPd3Cxr806UoTCs2EvDGqDCjlLDEIiqAsugQvmJASePkDxVSLB3V1w8ECL66QAE BQ/JPnugOpEOUga0ncqcoWUQwtVaCYJj8WGQ/FtEXtUrKylfYxTTZNVGSoRew9+VqLGZ kPJSkDKgMwsfExweyIPtbVYhu8QkWw6qw772VSopTYWuGoD3BNv22jdK4NK/gGKwO/vo TnSWkdrUJ6GTG7Z7u04Y5QG2TfU33de3qG3Qvf50lV/97tV9xV97Dy5KKIOutJygTb7X 58jA6pqOVcmIf57trOj/a4pqPXAykHgqtOgw6DcgVhsOKb4LjONThXaTSC+tNprF4yDH xWNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715344038; x=1715948838; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7VruMYD1zjQvWIDk80k0vAzVCegGSSlfN6zB8dLNTHQ=; b=Bp3v6trufY0KG50Pt9AxntyxfZKuCLk85YRfgjoPxh6N+72DebnbEuRJcvyXhT3Ro7 VKn2kQ7liXXOzTGS3j+ashhFwFRZIa1TgeEe3SHLc5919SnAajElFq4cmPgwsKKlYOVD wVmhRLoetC+U6AiXbUnRS6HjV97T1QWgKW9/MMJI+cj7thM6RGlzo5i3SuFyCB895nVZ 0ya91FiqLEMjimVUuls0tewicwKeifRT1govOVbYN3IucFNyaYVtFiqAkviiQBp30yFG J4BDxGjs9uqVy44yTs42WnLs1WZm0N5o36DvZujPdP98aCLPoe5SiGEPKQgs9/WUK3jp 9oow== X-Forwarded-Encrypted: i=1; AJvYcCWKptiPrOusl7HEKCVE+cZ56MHLzTnzD8vnSH7WK2syX7+NndGFWWT5N4Z2TwtNfF9O6TyuI0YcicLgHwSt84X1i4Xhm1HdFlsT4IJl X-Gm-Message-State: AOJu0Yxd7Krg46rScZCKKPA79Q+w4tmDCl+w4fzNqI5y6g/1PZsQQ/O+ brlCH02Eg5rwnVktOeIfIogQm4iVY3ZYs7jQgufr9Ai79C8mB5dYCWQFcZiy9Aw= X-Received: by 2002:a17:906:f809:b0:a59:d063:f5f5 with SMTP id a640c23a62f3a-a5a2d681271mr144749166b.70.1715344037986; Fri, 10 May 2024 05:27:17 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (2a02-a210-20ba-5a00-9ceb-707b-2d57-26f7.cable.dynamic.v6.ziggo.nl. [2a02:a210:20ba:5a00:9ceb:707b:2d57:26f7]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17b017b1sm178043366b.181.2024.05.10.05.27.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 05:27:17 -0700 (PDT) From: Luca Weiss Subject: [PATCH 0/2] Add basic APR sound support for SC7280 SoC Date: Fri, 10 May 2024 14:27:07 +0200 Message-Id: <20240510-sc7280-apr-v1-0-e9eabda05f85@fairphone.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAJsSPmYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDU0MD3eJkcyMLA93EgiLdZLMUQ4PEZKNkY2NDJaCGgqLUtMwKsGHRsbW 1AF5grYRcAAAA To: cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivasa Rao Mandadapu , Mohammad Rafi Shaik Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.13.0 Validated on Fairphone 5 (QCM6490) smartphone by using DisplayPort over USB-C audio, connected to a TV, with a basic UCM to enable 'DISPLAY_PORT_RX Audio Mixer MultiMedia1': https://gitlab.com/postmarketOS/pmaports/-/tree/master/device/testing/device-fairphone-fp5/ucm Unfortunately all the device-specific things can't be enabled yet upstream as detailed in the second patch, but the SoC parts should be good to go. As an extra note, I'm not sure how this will behave on SC7280 devices that seem to use GPR (q6apm + q6prm) / "audioreach" as added in this series from mid 2023 which was never applied: https://lore.kernel.org/linux-arm-msm/20230616103534.4031331-1-quic_mohs@quicinc.com/ Signed-off-by: Luca Weiss --- Luca Weiss (2): arm64: dts: qcom: sc7280: Add APR nodes for sound [DNM] arm64: dts: qcom: qcm6490-fairphone-fp5: Add DisplayPort sound support arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 36 +++++++++++ arch/arm64/boot/dts/qcom/sc7280.dtsi | 73 ++++++++++++++++++++++ 2 files changed, 109 insertions(+) --- base-commit: 940d65ef852b4a58c9115eb82b07844c999b8356 change-id: 20240510-sc7280-apr-c6d10ac2c331 Best regards, -- Luca Weiss