From patchwork Wed Jul 24 15:01:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Gonzalez X-Patchwork-Id: 814634 Received: from ns.iliad.fr (ns.iliad.fr [212.27.33.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D47AD158DA3; Wed, 24 Jul 2024 15:11:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.27.33.1 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721833884; cv=none; b=tTkt2d6GgzY1+PJ0A7GJILQ+iUXRCJQ8uG1+Z7FdEy9bHqKuiLOOZtkwMlEea1Cg5NTfQagp9V9ZcBiGu5ndL5t4OfNya+KPLPYfHvwAiftezpUHpW4+wHfudmU48dHxUMSwPqBZLcU5uITXZdGEKTInHf0bjvm5i4Mm8OAKFuA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721833884; c=relaxed/simple; bh=sZslxdYLhx91kwe4g4vGXLPIM1zoRiv3jYW4qEjwx28=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=EskYW6k0k7VmtJWTmAyb7vlDb6OBmEj/XGUYFDuh9YPvzL5INFsMa7tbWM+WWhxvWs6gFtCwUofLKKhKCQS/HXjH0Aqm1yV1+MPtMHfEp/jAYjpsRyofZQsH6nkJ+1UfMcPB+vRawQFB1yQBIlSyQhJO2ezMjC64bE4kTJCpHDU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=freebox.fr; spf=pass smtp.mailfrom=srs.iliad.fr; arc=none smtp.client-ip=212.27.33.1 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=freebox.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=srs.iliad.fr Received: from ns.iliad.fr (localhost [127.0.0.1]) by ns.iliad.fr (Postfix) with ESMTP id E615020732; Wed, 24 Jul 2024 17:01:54 +0200 (CEST) Received: from [127.0.1.1] (freebox.vlq16.iliad.fr [213.36.7.13]) by ns.iliad.fr (Postfix) with ESMTP id CD69D20572; Wed, 24 Jul 2024 17:01:54 +0200 (CEST) From: Marc Gonzalez Subject: [PATCH v7 0/6] HDMI TX support in msm8998 Date: Wed, 24 Jul 2024 17:01:33 +0200 Message-Id: <20240724-hdmi-tx-v7-0-e44a20553464@freebox.fr> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAE0XoWYC/2XOy26DMBCF4VeJvO5Uvo7jrvoeVRa+jIsXCZFBi Cri3WPYQMXySPP9mhcbqBYa2NflxSpNZSj9ow37cWGx849fgpLaZpJLzZEjdOleYJyBc6Ir2ZS Cj6xdPyvlMm+ln1vbufZ3GLtKfvNexiCk4+CIC9BCITjjJETSygXBHQb8zpUo9PNnrmuxK8PY1 7/ttUmt3fMXk4KWTDZTwKRQ22NjfWPSByjUDnWD2mdhSeMVnTtBc4DS7tA0qIxJJoocoooniDu 0wuwQG0zSZi5dC/r0Dy7L8gaZahOLjAEAAA== To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Arnaud Vrac , Pierre-Hugues Husson , Jeffrey Hugo , Marc Gonzalez , Conor Dooley X-Mailer: b4 0.13.0 DT bits required for HDMI TX support in qcom APQ8098 (MSM8998 cousin) --- Changes in v7: - prefix the labels hdmi: and hdmi_phy: with mdss_ (Konrad) - DID NOT MODIFY patch 3, based on conversation between Conor & Dmitry - tested 40+40 boots with/without maxcpus=1 => no iommu panic witnessed - Collect tags from Konrad & Dmitry (hopefully b4 did the right thing) - Link to v6: https://lore.kernel.org/r/20240715-hdmi-tx-v6-0-d27f029627ad@freebox.fr Changes in v6: - Fold HDMI PHY driver submission into this series => [PATCH v2] drm/msm: add msm8998 hdmi phy/pll support => Link to v2: https://lore.kernel.org/all/20240704-hdmi-phy-v2-1-a7f5af202cb5@freebox.fr/ - Rebase onto v6.10 - Move drivers/gpu/drm/msm/hdmi/hdmi.xml.h to drivers/gpu/drm/msm/registers/display/hdmi.xml - Add copyright attribution - Remove all dead/debug/temporary code => Link to v1: https://lore.kernel.org/all/63337d63-67ef-4499-8a24-5f6e9285c36b@freebox.fr/ - split HDMI PHY driver patch in 2 parts (PHY & TX) - Use same regulator names as msm8996 (Dmitry) - Remove printk statements - Add Vinod's Ack on patch 1 - Expand commit message on patch 4 = HDMI PHY driver - Link to v5: https://lore.kernel.org/r/20240627-hdmi-tx-v5-0-355d5c1fbc3c@freebox.fr Changes in v5: - Fix property & property-names for TX pinctrl in DTSI (Konrad) - NOT CHANGED: clock trees for TX & PHY based on Dmitry & Jeffrey's remarks - Link to v4: https://lore.kernel.org/r/20240613-hdmi-tx-v4-0-4af17e468699@freebox.fr Changes in v4: - Collect tags since v3 - Reword patch 1 subject (Vinod) - Link to v3: https://lore.kernel.org/r/20240606-hdmi-tx-v3-0-9d7feb6d3647@freebox.fr Changes in v3 - Address Rob's comments on patch 2: - 'maxItems: 5' for clocks in the 8996 if/then schema - match the order of 8996 for the clock-names in common --- Arnaud Vrac (2): drm/msm: add msm8998 hdmi phy/pll support arm64: dts: qcom: add HDMI nodes for msm8998 Marc Gonzalez (4): dt-bindings: phy: add qcom,hdmi-phy-8998 dt-bindings: display/msm: hdmi: add qcom,hdmi-tx-8998 drm/msm/hdmi: add "qcom,hdmi-tx-8998" compatible arm64: dts: qcom: msm8998: add HDMI GPIOs .../devicetree/bindings/display/msm/hdmi.yaml | 28 +- .../devicetree/bindings/phy/qcom,hdmi-phy-qmp.yaml | 1 + arch/arm64/boot/dts/qcom/msm8998.dtsi | 128 +++- drivers/gpu/drm/msm/Makefile | 1 + drivers/gpu/drm/msm/hdmi/hdmi.c | 1 + drivers/gpu/drm/msm/hdmi/hdmi.h | 8 + drivers/gpu/drm/msm/hdmi/hdmi_phy.c | 5 + drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c | 779 +++++++++++++++++++++ drivers/gpu/drm/msm/registers/display/hdmi.xml | 89 +++ 9 files changed, 1037 insertions(+), 3 deletions(-) --- base-commit: 003a26f5074bfe024603cf76f8fd486a5344f307 change-id: 20240606-hdmi-tx-00ee8e7ddbac Best regards,