From patchwork Mon Sep 18 20:50:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nitin Rawat X-Patchwork-Id: 14168 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp2947083vqi; Mon, 18 Sep 2023 13:56:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEJRf1/px1hsTK9YPiiGtwAiDUyH1fuMPHPY2ICjacR0CQYwVblY4amZ7fUatJVTEfsemx/ X-Received: by 2002:a05:6a20:320d:b0:13d:d5bd:7593 with SMTP id hl13-20020a056a20320d00b0013dd5bd7593mr8238309pzc.12.1695070585577; Mon, 18 Sep 2023 13:56:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695070585; cv=none; d=google.com; s=arc-20160816; b=ooDs+eQZcX3ao+iBuU75xyeYNoicilfn8Tccu0hA8ZS1oaOlDit4RO4pYAUbF5xS04 8HmRaVzbpT3WuLSHccrYFQ43GeRmmEDVTiFtage/VK3e9nsoEovgPZOD6ZxQz0PfMeLP e43dLSy87bu0gMmkl6z4Ny7V5Ct3roflvVCWjRLYdiswXX30fimG5dF/iAw0iSVJoxG3 5wZnCZ1dyYOC32Od9OuXiRzERcAHV7ZElW+P5838Iq8/Vi0OrzOgpKDtqAtwXSt8O1pW UjMk3YHyiL1H/o0U+U2i6D/uhgj1WoBcte6k70KJiUTacRqCvcwvoxB7EiFx2waXuqKx QNZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=oEIAMM1vhMyerGGFGqE3kN4Eje2cLiFbKrP5ol9AMAw=; fh=QEG52f38sEW/86pnNba3IA050bla+Rm/caYYEle6RLg=; b=DLEceDXFrePSF9CDojlsS6xDzED3D90he88+Z35HlfhEh9vo9Ge1uLkt/MHthwKQbf 3wvsPb76y/mr3REyq4XJiaBg36oNLeYzQ+HuH4PpMDFuyppkgiSX5MeSo5+BQKPFll4C oEfMpQSphttqXt5wlglG9pr8ViKQ26h06GYxfof4pxIG7qyGitfKd/LjQL8r6RmfYGYV kznizVg216JUo6BHwvsP1zQBXLYM3AxzMIzI68yeq1hqrMcDrv0mRiFlrUKJV6qGxvl+ bgGIO4YE751VpG9rUEDl+qUh7C9k58W6KpzZUzcKVcvtIeOf1xAJBhaS5odFlJWhS3Ry oO7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=T0PYj55v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id p31-20020a056a000a1f00b0068a53e61fdcsi8760267pfh.26.2023.09.18.13.56.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 13:56:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=T0PYj55v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id A835880436B0; Mon, 18 Sep 2023 13:51:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229803AbjIRUvG (ORCPT + 25 others); Mon, 18 Sep 2023 16:51:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbjIRUvB (ORCPT ); Mon, 18 Sep 2023 16:51:01 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AF42111; Mon, 18 Sep 2023 13:50:55 -0700 (PDT) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38IJTj3W021179; Mon, 18 Sep 2023 20:50:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id; s=qcppdkim1; bh=oEIAMM1vhMyerGGFGqE3kN4Eje2cLiFbKrP5ol9AMAw=; b=T0PYj55v/rSdpNBkIfP3i+qSL9WxpeHQuy9CP+5fmy0O+kqOEGOHARZSx1XmZsTeYW1i 5dIraaTDtKt8mRAlq2G1YANkgJ6lliYGIbPU/Z9vDJqadztn9Tlq6tTHWBO7sr4qTUYM D3PHFH7/fNcGce4e4OdXOIHsLkf2uL9zETds69x5W0V6VnQE0sOageyvQ5Ab+nPLvdy9 DK9kLUjF9MOcRnCFwbZDJTdxm6Y1Yprw01g87URFZ/f4C0eQSUI/3ETtso9oRTQlXO8J 8Wn6DHwp7iuYB5FIuGPuHvm/PiHvkYE3//aur3VYAi1q/eX0j659bgsxGEMPMFTN9ROU Lw== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t6v2dg6ra-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Sep 2023 20:50:43 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 38IKoeaQ001944; Mon, 18 Sep 2023 20:50:40 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3t55ekpd8y-1; Mon, 18 Sep 2023 20:50:40 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 38IKlYgL031553; Mon, 18 Sep 2023 20:50:40 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-nitirawa-hyd.qualcomm.com [10.213.109.152]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 38IKoes9001938; Mon, 18 Sep 2023 20:50:40 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2342877) id 4EC1B5000AA; Tue, 19 Sep 2023 02:20:39 +0530 (+0530) From: Nitin Rawat To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, vkoul@kernel.org, kishon@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Nitin Rawat Subject: [PATCH V4 0/2] Add Phy Configuration support for SC7280 Date: Tue, 19 Sep 2023 02:20:35 +0530 Message-Id: <20230918205037.25658-1-quic_nitirawa@quicinc.com> X-Mailer: git-send-email 2.17.1 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: NMx9hQPki2i5HUqg3n8S7GOo_SHqPTZ- X-Proofpoint-GUID: NMx9hQPki2i5HUqg3n8S7GOo_SHqPTZ- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-18_09,2023-09-18_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=950 spamscore=0 suspectscore=0 priorityscore=1501 bulkscore=0 malwarescore=0 phishscore=0 impostorscore=0 clxscore=1015 mlxscore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309180180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 18 Sep 2023 13:51:22 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777410334151403406 X-GMAIL-MSGID: 1777410334151403406 This patch adds Phy configuration support for Qualcomm SC7280 SOC. Changes from v3: - Addressed dmitry comment to update correct binding for clk entry Changes from V2: - Addressed Vinod comment to replace upper case character with lower case Changes from V1: - Addressed dmitry's comment to align sc7280 register arrays in sorted order - Addressed konrad & vinod's comment to align phy compatible in sorted order Nitin Rawat (2): dt-bindings: phy: Add QMP UFS PHY comptible for SC7280 phy: qcom-qmp-ufs: Add Phy Configuration support for SC7280 .../phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 2 + drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 142 ++++++++++++++++++ 2 files changed, 144 insertions(+) --- 2.17.1