Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp1215245rdb; Fri, 19 Jan 2024 11:38:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IHghSbydBjrkvK3HUSE+0f192R9qvmfsfWaySi6wNCD2zhPdWpRRD3Xu7Tlcw9jE+W2+MZC X-Received: by 2002:a05:620a:22a:b0:783:8d56:72a7 with SMTP id u10-20020a05620a022a00b007838d5672a7mr601080qkm.53.1705693121255; Fri, 19 Jan 2024 11:38:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705693121; cv=pass; d=google.com; s=arc-20160816; b=kLDU7dmynghnpO1eX3uaGlUMsalmecYvBAcyxMaC/k98wIeLFUa4E4lpToUefKYVNm puBqaqLdkS0yF2gcW0VUKYNGqkwrqmKE/5YvY/dG2KLEEu5STF+Z5qm3vYoeYLglosi9 Iqsl7dOQvqPSH+Wahi5NSxS3wDtEzBhAxQ3D0yH7aTnscvjTsU4audaU0GTdyAhhDE62 HGUK7j1iZHYNO1vgLj5+uRwLWHCGzZGRz//NC92rwiNbV8HynExF6Ht6Cqm7pA8F7bT2 tfZA1SNPqHmpSKVFWrSZmv+Np/7r/2E3amEmz0ICFiSQtwR69y6rYEZ8qF/X3fSLOh0x bD4Q== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=keFCO4hoM76L5wz0BkUaJj/kzaEtjsIG9bDOF2Gcw20=; fh=Urcef8n7zd40M+rUinLIxs/24e11jrUIqPRzjykypx8=; b=Xf9hQK0sNZt6ycvdBHThhJgLV/453+BYHgNWHUvxm4YfigL6lrLGgbDah0BfVCO8Jb 2oULiokAa1t8sMdK0Uk7XbacLzPI1sh5sf+4/hkx6dg070iM6A0yWGgns3B1XBqHrrKN QfZTQjKVgyaCh0cD5XwBNxS9XRFMlw8fqv5R+U81su8GtrNhA+3bOUaDgTCsDmGsUg1g WmtroV7phHNlENSX81ypYSRtyYJ8Tvqf/Wlh7yqv7c8vjabCB10KiFXFb1ISJh5gOQyX 3hUSquooTzkvIH3jRIo2H3kB98U86P4XsIYaIZL1Z1HKPM/qAuePz556wI1g8TIrmJdB Bwdw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Rxgl3i8Z; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-31520-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31520-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v18-20020a05620a091200b0078331c54b68si16942081qkv.448.2024.01.19.11.38.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 11:38:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31520-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=@collabora.com header.s=mail header.b=Rxgl3i8Z; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-31520-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31520-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 077041C23852 for ; Fri, 19 Jan 2024 19:38:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 539B756B7E; Fri, 19 Jan 2024 19:38:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="Rxgl3i8Z" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 E06E61E480; Fri, 19 Jan 2024 19:38:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705693094; cv=none; b=iYlj4gCV8tsFqvthbScyJcirrcqAZhnma6NX3TpmcXbXYdpJIdhzD+GWgdYPWnmPm8tn7jqTFkR4SOtEXBYyJJeeMDB54s4fu9y7OGu7a9FAXZAcJuDklb6HKazP7PFLZcJ+mAzBZSlWQm8TVXwf4RkErAFQEUlGhEGA2xK4DGc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705693094; c=relaxed/simple; bh=MSkJacugMshatNwZ3mm7fqSw/GZZCUd/n7oLLvxCAvs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=V/14jxrzlX9J/grTz933y0HY4nyQ0dI1bRfTT4B1aJx4pOgPfwLy8t+zWemi86DZthK04BzCwdd9dmMG/vkeNu+UW/Z2XIzJtR6KjLqaYqw5xskao9cjBBLykksP2HFpPUIwXeilIUV0AwkaVBEkVk956VtnuvHo3NK42udVG3s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=Rxgl3i8Z; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1705693089; bh=MSkJacugMshatNwZ3mm7fqSw/GZZCUd/n7oLLvxCAvs=; h=From:To:Cc:Subject:Date:From; b=Rxgl3i8ZC+YWiCP+rPTZ2QDTXukFQrh1bPTN/H/BfTmKLhgU6mtTkKt8M9ewAtG2D v9bHvVKanfq7euV1l5e5F7hgbHIsoyYmUYgr6O9zyVcmalzptdw+irJ1OZ8LDYPe4w +LsczR86kyGUquu21EjkMK0/NvSzblrPC8Z9/Y+gML0e4thm0IsqRv9BSqgRUqJPAB PJZ1BP4kmAcvYp801UIHTQr5vSjW4XLzeyvCxGv/+ju/iiZga4KLPFdqi7pYDHs+kq G6ugB+C1lFT2wWgprRXLvfKh0SwUUFTbyjJ9hdSX9d81zGN4Z9yHrkAfMPTvkxN21j dOVpZAOHWO9Vg== Received: from localhost (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madrid.collaboradmins.com (Postfix) with ESMTPSA id DB8A03781FF2; Fri, 19 Jan 2024 19:38:08 +0000 (UTC) From: Cristian Ciocaltea To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Philipp Zabel , Johan Jonker , Sebastian Reichel , Sascha Hauer , Andy Yan , Algea Cao Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: [PATCH 0/3] Add support for RK3588 HDMI/DP Combo PHY Date: Fri, 19 Jan 2024 21:38:00 +0200 Message-ID: <20240119193806.1030214-1-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.43.0 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 driver and bindings to support the Rockchip HDMI/eDP TX Combo PHY found on RK3588 SoC. The PHY is based on a Samsung IP block and supports HDMI 2.1 TMDS, FRL and eDP links. The HDMI link has been tested on Rock 5B and EVB1 boards. Cristian Ciocaltea (3): dt-bindings: soc: rockchip: Add rk3588 hdptxphy syscon dt-bindings: phy: Add Rockchip HDMI/DP Combo PHY schema phy: rockchip: Add Samsung HDMI/DP Combo PHY driver .../phy/rockchip,rk3588-hdptx-phy.yaml | 96 + .../devicetree/bindings/soc/rockchip/grf.yaml | 1 + drivers/phy/rockchip/Kconfig | 8 + drivers/phy/rockchip/Makefile | 1 + .../phy/rockchip/phy-rockchip-samsung-hdptx.c | 2045 +++++++++++++++++ 5 files changed, 2151 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/rockchip,rk3588-hdptx-phy.yaml create mode 100644 drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c -- 2.43.0