Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2175423/?format=api
{ "id": 2175423, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2175423/?format=api", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.0/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null }, "msgid": "<20251218061557.1999367-3-varadarajan.narayanan@oss.qualcomm.com>", "date": "2025-12-18T06:15:53", "name": "[RESEND,v2,2/6] phy: Add IPQ9574 support to Qualcomm QUSB2 phy", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "32deaac35d10e07f7e4db640525c6b853df13a99", "submitter": { "id": 92283, "url": "http://patchwork.ozlabs.org/api/1.0/people/92283/?format=api", "name": "Varadarajan Narayanan", "email": "varadarajan.narayanan@oss.qualcomm.com" }, "delegate": { "id": 151538, "url": "http://patchwork.ozlabs.org/api/1.0/users/151538/?format=api", "username": "kcxt", "first_name": "Casey", "last_name": "Connolly", "email": "casey.connolly@linaro.org" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20251218061557.1999367-3-varadarajan.narayanan@oss.qualcomm.com/mbox/", "series": [ { "id": 485788, "url": "http://patchwork.ozlabs.org/api/1.0/series/485788/?format=api", "date": "2025-12-18T06:15:51", "name": "Enable fastboot support for IPQ9574 based boards", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/485788/mbox/" } ], "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2175423/checks/", "tags": {}, "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=Jr9fzWoG;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=PmNVPhl1;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)", "phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=oss.qualcomm.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com\n header.b=\"Jr9fzWoG\";\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.b=\"PmNVPhl1\";\n\tdkim-atps=neutral", "phobos.denx.de; dmarc=none (p=none dis=none)\n header.from=oss.qualcomm.com", "phobos.denx.de; spf=pass\n smtp.mailfrom=varadarajan.narayanan@oss.qualcomm.com" ], "Received": [ "from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4dX0mh3Pdlz1y2F\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 18 Dec 2025 17:16:36 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 1B26883C91;\n\tThu, 18 Dec 2025 07:16:22 +0100 (CET)", "by phobos.denx.de (Postfix, from userid 109)\n id 6053283B55; Thu, 18 Dec 2025 07:16:21 +0100 (CET)", "from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com\n [205.220.180.131])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 3C0D183C91\n for <u-boot@lists.denx.de>; Thu, 18 Dec 2025 07:16:19 +0100 (CET)", "from pps.filterd (m0279871.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 5BI1YYhJ680548\n for <u-boot@lists.denx.de>; Thu, 18 Dec 2025 06:16:17 GMT", "from mail-pg1-f198.google.com (mail-pg1-f198.google.com\n [209.85.215.198])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4b45bhh2ph-1\n (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n for <u-boot@lists.denx.de>; Thu, 18 Dec 2025 06:16:17 +0000 (GMT)", "by mail-pg1-f198.google.com with SMTP id\n 41be03b00d2f7-c1d27c65670so343744a12.1\n for <u-boot@lists.denx.de>; Wed, 17 Dec 2025 22:16:17 -0800 (PST)", "from hu-varada-blr.qualcomm.com\n (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19])\n by smtp.gmail.com with ESMTPSA id\n 41be03b00d2f7-c1d2fa228b5sm1198995a12.18.2025.12.17.22.16.12\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 17 Dec 2025 22:16:15 -0800 (PST)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2", "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n content-transfer-encoding:date:from:in-reply-to:message-id\n :mime-version:references:subject:to; s=qcppdkim1; bh=U2YWv8OFU54\n LvuTK0ssI/s6hJMKJB/n1/FZrMtpaFxE=; b=Jr9fzWoG3BMdHNcTpc/R0Y23ksw\n Sw3CQo3IOr5SQsAqFgn5p78yDSSgpruKETDcu9nKUszgHufGhY1S2OWqPTHFJ7B3\n K29wIDDHLPmUKDW1mtZEhb5B5nhx9wv71cJ2JLg38+oiIaVxOVHHJGuXfRzY4zrC\n 4fY0gIhtYbii7rm7lS8RD2UoYqaElrNMLlSTZU9mPARar+SHScNXK/WUlII3gBDI\n 5G9coh4II9YVC+KiFnCblNz2tgYgUsDy0/mp7WphCP5NV6311wZfc4laqF3306F4\n I9VPrvFRT3UEaHPMAOGYRCSRyib+dK6XO/3g/8MZ/mh+kMuIE9KzRbCxKpw==", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1766038577; x=1766643377; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:from:to:cc:subject:date:message-id\n :reply-to; bh=U2YWv8OFU54LvuTK0ssI/s6hJMKJB/n1/FZrMtpaFxE=;\n b=PmNVPhl18y3skCJ60/m7DuTMknLC3nD83YX1ItEIKrywtGUWvS/Ba0XAR0H54s3JTo\n HHAgsnvdeZO8S5TL2V8yGyruPFvOwkWL49a7ItR9HURUZClQGu6OvDXse0VFGRZ8npw7\n thYxvmxNf6SqdZlbGKQ/G8E8LurmXb05vRYYG92nbNIeGowccDql1tezNogdvHQQYTfI\n qxd0AMcKzX3UsfCqc4FKojf+CuJbJtSfUjyeBR66z9yhjWDspYWcTyRw5LmidCuCI7p1\n +7Gi8x9m2ou3cvm5LX82CnyBYOj268lArm7ZnCtkvZvrn8H/vCQXg+o/nTbiHIjr1xT3\n UauQ==" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1766038577; x=1766643377;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=U2YWv8OFU54LvuTK0ssI/s6hJMKJB/n1/FZrMtpaFxE=;\n b=w5YczpEQYYJ2V2I7IfeJDS6Kll0X0p1xPuA0d0Yoz5E4F+G0mDZGICtwhIP7PFCXMi\n 5DcOepmFsbsIaaaUXExvV+CC5+JUU6tCotAb79GNkfBGhK2yTvFQN0dBpPLMlxfdaHsP\n ONG/8FYsqk0vekPlPw/7WYvZTKc35rEaZtIOVKnl8fXyJpuTZulSOG5zO8feMCWhePZc\n 8PISv5BYWQ7v853mRTMVUPZvedGQePEoSwseJ1HnKpK90EtId+0u/yWP4gSzHZlPfPXI\n +zfrlK077cTo9kX4BwOJazS9wgSIZSCymE2ngQSci4aGKkvg5KWzoD1DEi+UEHFjruIE\n PRwg==", "X-Forwarded-Encrypted": "i=1;\n AJvYcCVPghsJQE2Mk344Wk6WtZRgiIVtvcpvCyd/o4n5/IK4sSLmtktSBcM1RCObkqePbFmnCqAe0J0=@lists.denx.de", "X-Gm-Message-State": "AOJu0YyjgKMNe4WTSgqWpqCMlTEO3fahmPHdeCMkrJgCiRINB6GnS/+5\n g6PkSwrCCzJb7wRPjOH1jBJ8X1kc9dn6ouCtp/HsTbxAXSsO9tRLRtl1CMGrNIRJKwOhgIZEcQg\n lFj1NQ1Sw7wB40He9AiLGHyPVXMJrX8+CjRla8vQjZ0eGZinvc3NhttIx", "X-Gm-Gg": "AY/fxX69eS+fX6hnlOjnA6MZLo1XX5Wm1V09n5dMMb+C67lNNUMKm94m1E9hfS1yTAH\n Ztl75EoR1DjqQmO9Xdwcl96Yh5MJM87VTK1/1QQwEjWRz0NHMwccqHV8SwMj4SKTXACUoJftNvx\n gzKNnQMyBG1AKcW3Rbokx0JR/fwK+L7p6N75HpxhVDFtg8aO78O8gGascj006YG9CfEnWeO9HAg\n taRgaQT6GtNbKgcWPSL7BFFvUhwueDdPi9eb1JfCAnTKlutEp7+1AHOYBL2ZaIdA5bYhNWjzLEU\n gx3I1FU1U9b8kOseDY3J7NOvHrsdVHNP0iC1jLhNgVNqZv+kaTvC34NDoGMGqLIO1Q1HlJTD7ZI\n E8hN56g4Hs/AMd/UGUSiIfv1nPIkxo0t+R7h7zdsw8J8WtK20HmsHMLjUHqksJVOA2G3FkrJRGJ\n Oi7h1r4HXOgAhC1LcMDkjO2PRxtEX6EhRNfM+e0UE=", "X-Received": [ "by 2002:a05:6a20:72a2:b0:34f:66ca:60aa with SMTP id\n adf61e73a8af0-375526a80acmr1899519637.6.1766038576636;\n Wed, 17 Dec 2025 22:16:16 -0800 (PST)", "by 2002:a05:6a20:72a2:b0:34f:66ca:60aa with SMTP id\n adf61e73a8af0-375526a80acmr1899495637.6.1766038576132;\n Wed, 17 Dec 2025 22:16:16 -0800 (PST)" ], "X-Google-Smtp-Source": "\n AGHT+IG63k1soPYvPH9NU+4hYfodShrXpnWcQ8x8HZNCaMuwataV5BNmm/LhQ+HPpW6bvlT9gXGrWA==", "From": "Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>", "To": "trini@konsulko.com, casey.connolly@linaro.org, neil.armstrong@linaro.org,\n sumit.garg@kernel.org, peng.fan@nxp.com, jh80.chung@samsung.com,\n lukma@denx.de, varadarajan.narayanan@oss.qualcomm.com,\n marek.vasut+renesas@mailbox.org, michal.simek@amd.com,\n alexeymin@postmarketos.org, u-boot@lists.denx.de, u-boot-qcom@groups.io", "Subject": "[RESEND v2 2/6] phy: Add IPQ9574 support to Qualcomm QUSB2 phy", "Date": "Thu, 18 Dec 2025 11:45:53 +0530", "Message-Id": "<20251218061557.1999367-3-varadarajan.narayanan@oss.qualcomm.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20251218061557.1999367-1-varadarajan.narayanan@oss.qualcomm.com>", "References": "<20251218061557.1999367-1-varadarajan.narayanan@oss.qualcomm.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Proofpoint-GUID": "1nnkcE1MjmhqLHOfxUk_GFtbTifJL8ue", "X-Proofpoint-ORIG-GUID": "1nnkcE1MjmhqLHOfxUk_GFtbTifJL8ue", "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjUxMjE4MDA0OSBTYWx0ZWRfX2cypUZqCbMCr\n 2XSQXeqvb39fl7t7DSSU51Fz8G+XpBoHIHECSA9x+LUfwtBvRZBIBHpwIXq25HmfceA9cywW0yJ\n r+TLhhR246SmFy+x/0kaV7IOFYu+vHonvC2W18mjcWbICX+EHsDnJfQEp4+n7V05MnmHmqMwcTG\n cjZQmpHzomikUzaAWGXE+jsyayQRiKJp6cjB81Jq+c8pEoGy/WpAYWNgLWI68vzz90Thdrqpdbj\n zkdmsmrssZCFYNjEZ4U2eGJJWKmsKrQxUcgjJ2eee4vQQme77S1WDDRUWt28vLdkuPBsaxrdppD\n tyHfk4JX0EEWntT9u5BSsL/TuIhwUAoZwAtrXAriLR75IlQDVaqek9FH6QxIOBeOsyRR5A5Hbdp\n xUQNIDCkagrufamQ4fy0JHwYCsCrfg==", "X-Authority-Analysis": "v=2.4 cv=SZr6t/Ru c=1 sm=1 tr=0 ts=69439c31 cx=c_pps\n a=Qgeoaf8Lrialg5Z894R3/Q==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17\n a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22\n a=EUspDBNiAAAA:8 a=DMCfjGVwcRlt5hAF4XwA:9 a=x9snwWr2DeNwDh03kgHS:22", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49\n definitions=2025-12-18_01,2025-12-17_02,2025-10-01_01", "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n bulkscore=0 malwarescore=0 suspectscore=0 spamscore=0 phishscore=0\n clxscore=1015 adultscore=0 priorityscore=1501 impostorscore=0\n lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc=\n route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001\n definitions=main-2512180049", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.39", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>", "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de", "X-Virus-Status": "Clean" }, "content": "Imported from Linux driver.\n\nSigned-off-by: Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>\n---\n drivers/phy/qcom/phy-qcom-qusb2.c | 42 +++++++++++++++++++++++++++++++\n 1 file changed, 42 insertions(+)", "diff": "diff --git a/drivers/phy/qcom/phy-qcom-qusb2.c b/drivers/phy/qcom/phy-qcom-qusb2.c\nindex d98f6108e69..df82f2a99da 100644\n--- a/drivers/phy/qcom/phy-qcom-qusb2.c\n+++ b/drivers/phy/qcom/phy-qcom-qusb2.c\n@@ -152,6 +152,22 @@ enum qusb2phy_reg_layout {\n \t\t.offset = o, .val = v, .in_layout = 1, \\\n \t}\n \n+static const struct qusb2_phy_init_tbl ipq6018_init_tbl[] = {\n+\tQUSB2_PHY_INIT_CFG(QUSB2PHY_PLL, 0x14),\n+\tQUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE1, 0xF8),\n+\tQUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE2, 0xB3),\n+\tQUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE3, 0x83),\n+\tQUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE4, 0xC0),\n+\tQUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_TUNE, 0x30),\n+\tQUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_USER_CTL1, 0x79),\n+\tQUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_USER_CTL2, 0x21),\n+\tQUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE5, 0x00),\n+\tQUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_PWR_CTRL, 0x00),\n+\tQUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TEST2, 0x14),\n+\tQUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_TEST, 0x80),\n+\tQUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_AUTOPGM_CTL1, 0x9F),\n+};\n+\n static const struct qusb2_phy_init_tbl sm6115_init_tbl[] = {\n \tQUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE1, 0xf8),\n \tQUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE2, 0x53),\n@@ -168,6 +184,19 @@ static const struct qusb2_phy_init_tbl sm6115_init_tbl[] = {\n \tQUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_PWR_CTRL, 0x00),\n };\n \n+static const unsigned int ipq6018_regs_layout[] = {\n+\t[QUSB2PHY_PLL_STATUS]\t\t= 0x38,\n+\t[QUSB2PHY_PORT_TUNE1]\t\t= 0x80,\n+\t[QUSB2PHY_PORT_TUNE2]\t\t= 0x84,\n+\t[QUSB2PHY_PORT_TUNE3]\t\t= 0x88,\n+\t[QUSB2PHY_PORT_TUNE4]\t\t= 0x8C,\n+\t[QUSB2PHY_PORT_TUNE5]\t\t= 0x90,\n+\t[QUSB2PHY_PORT_TEST1]\t\t= 0x98,\n+\t[QUSB2PHY_PORT_TEST2]\t\t= 0x9C,\n+\t[QUSB2PHY_PORT_POWERDOWN]\t= 0xB4,\n+\t[QUSB2PHY_INTR_CTRL]\t\t= 0xBC,\n+};\n+\n static const unsigned int sm6115_regs_layout[] = {\n \t[QUSB2PHY_PLL_STATUS] = 0x38,\t [QUSB2PHY_PORT_TUNE1] = 0x80,\n \t[QUSB2PHY_PORT_TUNE2] = 0x84,\t [QUSB2PHY_PORT_TUNE3] = 0x88,\n@@ -224,6 +253,17 @@ static const unsigned int qusb2_v2_regs_layout[] = {\n \t[QUSB2PHY_INTR_CTRL] = 0x230,\n };\n \n+static const struct qusb2_phy_cfg ipq6018_phy_cfg = {\n+\t.tbl = ipq6018_init_tbl,\n+\t.tbl_num = ARRAY_SIZE(ipq6018_init_tbl),\n+\t.regs = ipq6018_regs_layout,\n+\n+\t.disable_ctrl = POWER_DOWN,\n+\t.mask_core_ready = PLL_LOCKED,\n+\t/* autoresume not used */\n+\t.autoresume_en = BIT(0),\n+};\n+\n static const struct qusb2_phy_cfg sm6115_phy_cfg = {\n \t.tbl = sm6115_init_tbl,\n \t.tbl_num = ARRAY_SIZE(sm6115_init_tbl),\n@@ -455,6 +495,8 @@ static const struct udevice_id qusb2phy_ids[] = {\n \t .data = (ulong)&sm6115_phy_cfg },\n \t{ .compatible = \"qcom,sdm660-qusb2-phy\",\n \t .data = (ulong)&sdm660_phy_cfg },\n+\t{ .compatible = \"qcom,ipq9574-qusb2-phy\",\n+\t .data = (ulong)&ipq6018_phy_cfg },\n \t{ .compatible = \"qcom,sm6115-qusb2-phy\",\n \t .data = (ulong)&sm6115_phy_cfg },\n \t{ .compatible = \"qcom,qusb2-v2-phy\", .data = (ulong)&qusb2_v2_phy_cfg },\n", "prefixes": [ "RESEND", "v2", "2/6" ] }