From patchwork Tue Jul 9 15:15:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tengfei Fan X-Patchwork-Id: 13728228 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4EFC0C2BD09 for ; Tue, 9 Jul 2024 15:16:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:CC:To:In-Reply-To:References:Message-ID :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UU/5kTxOwszmM1NmBSBFmmptIzxgVRUjinCb13E7JzM=; b=fvF1/Ddh9eWKDu Xktzs2ryxSCpXcpVUoey0PkWDmEFZguBcxoCi3Oyv6WUqlgA8A63Uz/hl/ozvOfFum/4x1Sf+MFeG XzTrvE6GgGIzIrvh3Rv5eFKi4FsGm7JGecXxL1RI810Z4oVPz1uE3hpLl60wp5ADBk0PNQT485bXe MHJa6zGVYEPNuRqW/Dqff2hKiopHwLGBVaIGXLccL1ov5NHeIzmGFRKKFZMZ5xfWXhu6ajO6wA8Y8 +Ua1s9YWcefzfItC2Vwbq0QlWOCOQPDd5JnOJAfsOSuDk+A0fKwJCSXQDslMwx8EOxWLMATp17Vml JtUprhj6rDZiGJ7anHig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sRCZY-00000007hlx-0BIt; Tue, 09 Jul 2024 15:16:04 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sRCZU-00000007hkc-2HJ4 for linux-phy@lists.infradead.org; Tue, 09 Jul 2024 15:16:01 +0000 Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4698HARV026708; Tue, 9 Jul 2024 15:15:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 3cXScQVwtdscgzeO2pUgNBYYWBQc+MUbUHi2ZRjPfDs=; b=ckyT9FgbqCYFsKTc LFGUdfpSVDq2zqRes/bUxTNkV+Nw3Ewz6eunjMyQzhfi0Qe05hMHfNuFz8OMSMc1 lwBk3R/jL7qtEE1xBS9RwIjuabeSS7GmlncPu1ma+UgU4ygw2+XOCbStpyJDp8dp XxDH8h8cuDixsNRTexgYwjMXG+FvJuyQULnFz/4Vv+t80LcN6pDOCG8W6tIYJcG8 ZYZWYRNuxwkaA/tsL04ZpGMk1MCKjBPgn4H61mrmD6W9+w5Bow4NrGhWwpiu9o/w SHbvuISJuUeCnXy8sEnY/L+p/xCJlUyFJEgpE9uSJwvPO8roUXJyqt3FupLVI7Hl 5vTLYQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4091jdh314-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Jul 2024 15:15:56 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 469FFu48019837 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 9 Jul 2024 15:15:56 GMT Received: from tengfan-gv.ap.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Tue, 9 Jul 2024 08:15:50 -0700 From: Tengfei Fan Date: Tue, 9 Jul 2024 23:15:36 +0800 Subject: [PATCH v2 1/2] dt-bindings: phy: describe the Qualcomm SGMII PHY for QCS9100 MIME-Version: 1.0 Message-ID: <20240709-add_qcs9100_dwmac_sgmii_hpy_compatible-v2-1-5ffeb16252db@quicinc.com> References: <20240709-add_qcs9100_dwmac_sgmii_hpy_compatible-v2-0-5ffeb16252db@quicinc.com> In-Reply-To: <20240709-add_qcs9100_dwmac_sgmii_hpy_compatible-v2-0-5ffeb16252db@quicinc.com> To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bartosz Golaszewski CC: , , , , , Tengfei Fan X-Mailer: b4 0.15-dev-a66ce X-Developer-Signature: v=1; a=ed25519-sha256; t=1720538147; l=1209; i=quic_tengfan@quicinc.com; s=20240709; h=from:subject:message-id; bh=/lpd/6iGDfY1wQlnOwz3oprrAmCChCkk9BHLv+PSqpk=; b=ZwvHLw5FEy6KcDYPVg0BkkjURR5NdPnJGGItS6ca/n99iNJm/XIEQc0axw69RPPHNwdt/9C6t iLIMTl2blLzCzta2k+MBAFZYLbvkxl01lMx5eTetRvreArKLRCVFCSa X-Developer-Key: i=quic_tengfan@quicinc.com; a=ed25519; pk=4VjoTogHXJhZUM9XlxbCAcZ4zmrLeuep4dfOeKqQD0c= X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: lJEPkqgpidygrUNC3NxGfRI09P_KhegJ X-Proofpoint-ORIG-GUID: lJEPkqgpidygrUNC3NxGfRI09P_KhegJ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-09_04,2024-07-09_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 bulkscore=0 lowpriorityscore=0 adultscore=0 spamscore=0 malwarescore=0 mlxlogscore=886 mlxscore=0 priorityscore=1501 phishscore=0 clxscore=1015 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2407090100 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240709_081600_620784_6C6E0DCD X-CRM114-Status: GOOD ( 11.35 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Document the Qualcomm SGMII PHY for the QCS9100 platforms. QCS9100 is drived from SA8775p. Currently, both the QCS9100 and SA8775p platform use non-SCMI resource. In the future, the SA8775p platform will move to use SCMI resources and it will have new sa8775p-related device tree. Consequently, introduce "qcom,qcs9100-dwmac-sgmii-phy" to describe non-SCMI based the Qualcomm SGMII PHY. Signed-off-by: Tengfei Fan Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml index b9107759b2a5..74ec4579c0d6 100644 --- a/Documentation/devicetree/bindings/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml @@ -15,7 +15,10 @@ description: properties: compatible: - const: qcom,sa8775p-dwmac-sgmii-phy + items: + - enum: + - qcom,qcs9100-dwmac-sgmii-phy + - qcom,sa8775p-dwmac-sgmii-phy reg: items: From patchwork Tue Jul 9 15:15:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tengfei Fan X-Patchwork-Id: 13728229 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C574DC3DA41 for ; Tue, 9 Jul 2024 15:16:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:CC:To:In-Reply-To:References:Message-ID :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ys8UrfTCJ0jPGLeNA5K4vkM6AhyZPg12wSQBduPpYpA=; b=0YpNLfGn+sjfXi a/8mwYz31BzwO3aXChbPeoTFYuiRzf3GrrYvD/Zd1i9pACGEGHelkVsq4UD8qem/1WOYyhEBosYex dhS4Td5yG4LqPN8SWv8/Y1LVXnlJAoUYQoEaQEQFjBkSOaCP/YJvwu2E5/tG/NOAiK0ZWNUK646hq +oizA6QypwkMPg/qfzwJSC+jLRxPdLYYAJd2+xcNF/dBr2PzTVjc7506yQz59DL2K6lGJlOl+uCKG byd5TGMxM2mCpOJYlAK5IlFMYVYaDc7E8Q282HJTX11ESdKYx7X3NX5x3kNEyn1iRkdBdCBvak7bj 4c7xn47amV3Qc4ghf5Kg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sRCZe-00000007hnR-20MP; Tue, 09 Jul 2024 15:16:10 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sRCZc-00000007hmk-1cq3 for linux-phy@lists.infradead.org; Tue, 09 Jul 2024 15:16:09 +0000 Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 469BmCOV012059; Tue, 9 Jul 2024 15:16:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= Y4UOpf1fb8xAy2igHtt2Rjax++7Bydmt+rHWG1+D/ZM=; b=ETlM8L6pVoGe8c2I u6mP1WFWbvC4c096+vjfG75HWggYO1dl5DyzWKHJqAThAojX+FbEgVeQH8qffYml RzRqDMXTriU/mUDzzU1rUJGP7ecbSL1PKzyOn6MCeKKYHmJDKe55yYqn6QftYP9n G/Fla2tF9Aye9IJSEeL4llX7V7TgtrnL4e2EZruLUhkc/jvXq5vxoDykfKzbJyII 10a/MT+rduaAq9DBopdIO6Ch/7+zG661H+gac87Qe3MFswWrSlmVRPMoYBBvGaCd QeUXZR5wL7ekUkNaFdv26ijJMll7ABzEQyNt03t6XRVoGGpPuc4BcVpmlgQsGF4U U8+QPA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 406we8xqeq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Jul 2024 15:16:00 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 469FFwq1017655 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 9 Jul 2024 15:15:58 GMT Received: from tengfan-gv.ap.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Tue, 9 Jul 2024 08:15:53 -0700 From: Tengfei Fan Date: Tue, 9 Jul 2024 23:15:37 +0800 Subject: [PATCH v2 2/2] phy: qcom: add the SGMII SerDes PHY driver support MIME-Version: 1.0 Message-ID: <20240709-add_qcs9100_dwmac_sgmii_hpy_compatible-v2-2-5ffeb16252db@quicinc.com> References: <20240709-add_qcs9100_dwmac_sgmii_hpy_compatible-v2-0-5ffeb16252db@quicinc.com> In-Reply-To: <20240709-add_qcs9100_dwmac_sgmii_hpy_compatible-v2-0-5ffeb16252db@quicinc.com> To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bartosz Golaszewski CC: , , , , , Tengfei Fan X-Mailer: b4 0.15-dev-a66ce X-Developer-Signature: v=1; a=ed25519-sha256; t=1720538147; l=1076; i=quic_tengfan@quicinc.com; s=20240709; h=from:subject:message-id; bh=K637eK91IOSfvOEYp0r4K3v0l8yGWjWgeCjvYsJv2/M=; b=+v9tbB8BnwCW3wf8t1MvjD23K/rVGZBfmpzgAnoSntq4RuG9FH/up2L8S6VAvgsEe0eB+UATS aw9z2v0jZT0CudAbWBHYCCXQyEfDblIs7m0t+Cozpj0LFJ67/qhfA1K X-Developer-Key: i=quic_tengfan@quicinc.com; a=ed25519; pk=4VjoTogHXJhZUM9XlxbCAcZ4zmrLeuep4dfOeKqQD0c= X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: E7O7AIWQlxmKdG6rKVFXmbAwGMku-2BM X-Proofpoint-GUID: E7O7AIWQlxmKdG6rKVFXmbAwGMku-2BM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-09_04,2024-07-09_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 impostorscore=0 bulkscore=0 spamscore=0 suspectscore=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 mlxlogscore=884 malwarescore=0 mlxscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2407090100 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240709_081608_593470_07F39E94 X-CRM114-Status: GOOD ( 12.45 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Add the SGMII SerDes PHY driver support for QCS9100 platform. QCS9100 is drived from SA8775p. Currently, both the QCS9100 and SA8775p platform use non-SCMI resource. In the future, the SA8775p platform will move to use SCMI resources and it will have new sa8775p-related device tree. Consequently, introduce "qcom,qcs9100-dwmac-sgmii-phy" to the SGMII SerDes PHY device match table. Signed-off-by: Tengfei Fan Reviewed-by: Bartosz Golaszewski