From patchwork Thu Jan 18 17:08:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 189305 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp491631dyb; Thu, 18 Jan 2024 09:15:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IElWVa23qCohcnlYB8iEaGk7tyJNgMV18s0Bm6N15oDbEAVrD+0KRh3FEcaCmydJMVswBNW X-Received: by 2002:a05:6a00:2e12:b0:6db:957:d241 with SMTP id fc18-20020a056a002e1200b006db0957d241mr3825510pfb.1.1705598102359; Thu, 18 Jan 2024 09:15:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705598102; cv=pass; d=google.com; s=arc-20160816; b=ZeIMzRk8FVTyS0q/Xw7mE7x7bR0yLYeCgwa36bxxv0Ydo6n4Z94VaqURkItVHRvqB1 q8F0Ipdvut9R5OtRXRI+nOodNw3u7LCUtlj+a3Lx6Q+W4/2iGuI/ddYBrjZedVHIjF3n 9GLvWEd2jRmb8rsWzpd2fV7fAoR3+M2Qvl9Bu1+JaXWvrEM2IpGl4GpVRX7EL+66Tzzc 1AG82nYSDFYv9eE0SiBcC4MOqRgDRApqkmb3x/1iK67/Eowz6mAjHRnhwrG7CaNdTMKn JYQB68OWB1ldhpM8JkfsUCiiSW33foKzvN5tdRlTHW96ITtnI7Qem3HwDrWgZIBp2lIx cwFw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=CO+5uLl3M++sR7CEawNHGKhzpzwhqn+pRZVJvVN6kYA=; fh=adaMKi1fQT8R7CiUc1tvfEVPRl2AoVvM543xoSePOvI=; b=BVOWVGDGesqBetN+4biPA4eBKgJ6WdGtmSZ49ShWZUTYKV3LhBssT0dXRCOA5nNtxn p147o4oF+t0EiHUnv2kT7gDfXbTT8Yt1sOoqtb6XgB8V0ELtaKBV7cMaXh5fSbkAOqQo qBZVlQT1Z7P7Rq14fhFsHASICvcrlAF3Td0kAd3X8n0SRCQAHUGSbcQgH7iLq7p3NA/m YGAryAjl7t847OlbGs6tFsu1WVO5ISKMXGs9iCzgoOXxr/WaYrXD+KfZyOUBdNLr8S5d uvPRJokd1TVI3Asxolc/D5H7n2/VpQagjIwKSFeXJn3EXkQ8iZ5i63pUwCuR9SN0a49G XnwA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TM3sI8z0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-30395-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30395-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id s1-20020a056a0008c100b006d8ec0156ebsi4075816pfu.3.2024.01.18.09.15.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 09:15:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30395-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TM3sI8z0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-30395-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30395-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 78BA9B20F33 for ; Thu, 18 Jan 2024 17:09:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 29F0D2CCB8; Thu, 18 Jan 2024 17:08:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TM3sI8z0" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E5C272C6AA for ; Thu, 18 Jan 2024 17:08:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705597728; cv=none; b=Vo7KkeOwVL750vhkB8HiVHE9GBiU6gkB6riKOkM/5Wd5fSy7zIk4nPRO0ReUqDHre0yTC3x3crSYAGJlKiCNuAd4OFdzs+Zs/EZwDh105kSTKXIDFt7Md/YFzEq9+KW5ZMOhZEBPUrGxHPgSJSNrWulvNw/9fGsBTH+UeB5rrQI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705597728; c=relaxed/simple; bh=BqHMQ6YFIEXyylSMaRcciYAELO9Rvlk6sWFPcaGy7lY=; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: MIME-Version:Content-Type:Content-Disposition; b=KrqLXb9oiEKLSTad8q8swXwYE+E1COvaFZmeacJUtCewgEOlBF6CAYYPP97f0THwCC2+zUE6I8A0xIbj3Km2fL+KMWAaBnurcjVAZ9TIx9EHRptKuvV/RVibBVV2ncUPats+aMHqlk/MrZRmWNyLUCgECHd2BdZ4Cz4sMKyb4q0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TM3sI8z0; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D522EC433F1; Thu, 18 Jan 2024 17:08:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705597727; bh=BqHMQ6YFIEXyylSMaRcciYAELO9Rvlk6sWFPcaGy7lY=; h=Date:From:To:Cc:Subject:From; b=TM3sI8z0/fLbaBsVARuM0qfPzLel71oCvcuLvOpc1FwFWRpPlQej5E6zDU2UP54mO 8BSchZRU5yCGfeP6gb7WY92/yhnS02D8MYlOb8vwPD4K43WDVJ1z+fMdo4x0v8LbBo ap51aUNozhn5FABjiyzxLbwDcUWesRJ+UVcKSa0Q3RZo2GhgVe8rhs7Z4gCOZR1GuC 3+7EV95euytlzKQM8cyrfriWgM+6H328wVPNEdD8nNuS7bMdaRqtRuAj7R/eAv+FjR mkUoN0uWvOUMB6jalDgYTDkHYYlyGlJP7pXVJIawVCcau2t831FRnHWcr+Cn9YwWEP lCPKMF7UFg88Q== Date: Thu, 18 Jan 2024 22:38:43 +0530 From: Vinod Koul To: Linus Torvalds Cc: LKML Subject: [GIT PULL]: Generic phy updates for 6.8 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788449235435505910 X-GMAIL-MSGID: 1788449235435505910 Hello Linus, Please pull to receive Generic phy subsystem updates for v6.8-rc1. This primarily includes bunch of new device support for Qualcomm, mediatek and TI soc The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86: Linux 6.7-rc1 (2023-11-12 16:19:07 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git tags/phy-for-6.8 for you to fetch changes up to 2029e71482fcd94dcc7df2c66c7fa635479748bf: phy: ti: j721e-wiz: Add SGMII support in WIZ driver for J784S4 (2023-12-22 21:20:08 +0530) ---------------------------------------------------------------- phy-for-6.8 - New Support - Qualcomm SM8650 UFS, PCIe and USB/DP Combo PHY, eUSB2 PHY, SDX75 USB3, X1E80100 USB3 support - Mediatek MT8195 support - Rockchip RK3128 usb2 support - TI SGMII mode for J784S4 - Updates - Qualcomm v7 register offsets updates - Mediatek tphy support for force phy mode switch ---------------------------------------------------------------- Abel Vesa (12): phy: qcom-qmp: qserdes-com: Add some more v6 register offsets phy: qcom-qmp: qserdes-txrx: Add some more v6.20 register offsets phy: qcom-qmp: pcs: Add v7 register offsets phy: qcom-qmp: pcs-usb: Add v7 register offsets phy: qcom-qmp: qserdes-com: Add v7 register offsets phy: qcom-qmp: qserdes-txrx: Add V6 N4 register offsets phy: qcom-qmp: qserdes-txrx: Add v7 register offsets dt-bindings: phy: qcom: snps-eusb2: Document the X1E80100 compatible dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: Document X1E80100 compatible phy: qcom-qmp-combo: Add x1e80100 USB/DP combo phys dt-bindings: phy: qcom,sc8280xp-qmp-usb3-uni: Add X1E80100 USB PHY binding phy: qcom-qmp-usb: Add Qualcomm X1E80100 USB3 PHY support Alex Bee (2): phy: rockchip-inno-usb2: Split ID interrupt phy registers phy: phy-rockchip-inno-usb2: Add RK3128 support Can Guo (1): phy: qualcomm: phy-qcom-qmp-ufs: Rectify SM8550 UFS HS-G4 PHY Settings Chintan Vankar (2): phy: ti: gmii-sel: Enable SGMII mode for J784S4 phy: ti: j721e-wiz: Add SGMII support in WIZ driver for J784S4 Christophe JAILLET (1): phy: core: Remove usage of the deprecated ida_simple_xx() API Chunfeng Yun (2): dt-bindings: phy: mediatek: tphy: add a property for force-mode switch phy: mediatek: tphy: add support force phy mode switch Krzysztof Kozlowski (1): dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: fix path to header Michael Walle (1): dt-bindings: phy: add compatible for Mediatek MT8195 Neil Armstrong (9): dt-bindings: phy: qcom,sc8280xp-qmp-ufs-phy: document the SM8650 QMP UFS PHY dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: document the SM8650 QMP PCIe PHYs dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: document the SM8650 QMP USB/DP Combo PHY dt-bindings: phy: qcom,snps-eusb2: document the SM8650 Synopsys eUSB2 PHY phy: qcom: qmp-ufs: add QMP UFS PHY tables for SM8650 phy: qcom: qmp-pcie: add QMP PCIe PHY tables for SM8650 phy: qcom: qmp-combo: add QMP USB3/DP PHY tables for SM8650 dt-bindings: phy: amlogic,meson-axg-mipi-pcie-analog: drop text about parent syscon and drop example dt-bindings: phy: amlogic,g12a-mipi-dphy-analog: drop unneeded reg property and example Randy Dunlap (1): phy: renesas: phy-rcar-gen2: use select for GENERIC_PHY Rohit Agarwal (1): phy: qcom-qmp-usb: Add Qualcomm SDX75 USB3 PHY support Wang Jinchao (1): phy: phy-can-transceiver: insert space after include .../phy/amlogic,g12a-mipi-dphy-analog.yaml | 12 - .../phy/amlogic,meson-axg-mipi-pcie-analog.yaml | 17 - .../devicetree/bindings/phy/mediatek,dsi-phy.yaml | 1 + .../devicetree/bindings/phy/mediatek,tphy.yaml | 9 + .../bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml | 5 + .../bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 2 + .../phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml | 3 + .../phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml | 8 +- .../bindings/phy/qcom,snps-eusb2-phy.yaml | 2 + drivers/phy/mediatek/phy-mtk-tphy.c | 25 ++ drivers/phy/phy-can-transceiver.c | 10 +- drivers/phy/phy-core.c | 4 +- drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 174 +++++++++++ drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 65 ++++ drivers/phy/qualcomm/phy-qcom-qmp-pcs-ufs-v6.h | 1 + drivers/phy/qualcomm/phy-qcom-qmp-pcs-usb-v7.h | 17 + drivers/phy/qualcomm/phy-qcom-qmp-pcs-v7.h | 32 ++ drivers/phy/qualcomm/phy-qcom-qmp-qserdes-com-v6.h | 5 + drivers/phy/qualcomm/phy-qcom-qmp-qserdes-com-v7.h | 87 ++++++ .../qualcomm/phy-qcom-qmp-qserdes-txrx-ufs-v6.h | 8 + .../phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v6.h | 1 + .../phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v6_20.h | 4 + .../phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v6_n4.h | 51 +++ .../phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v7.h | 78 +++++ drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 114 ++++++- drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 344 +++++++++++++++++++++ drivers/phy/qualcomm/phy-qcom-qmp.h | 6 + drivers/phy/renesas/Kconfig | 2 +- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 156 ++++++++-- drivers/phy/ti/phy-gmii-sel.c | 2 +- drivers/phy/ti/phy-j721e-wiz.c | 1 + 31 files changed, 1168 insertions(+), 78 deletions(-) create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-usb-v7.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-v7.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-com-v7.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v6_n4.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v7.h