get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2223973/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2223973,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2223973/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260416053928.2834699-3-varadarajan.narayanan@oss.qualcomm.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.1/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": "<20260416053928.2834699-3-varadarajan.narayanan@oss.qualcomm.com>",
    "date": "2026-04-16T05:39:20",
    "name": "[v3,02/10] clk/qcom: add initial clock driver for ipq5210",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "3783cd0d4559d6ccee77856e160905ea31a40421",
    "submitter": {
        "id": 92283,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/92283/?format=api",
        "name": "Varadarajan Narayanan",
        "email": "varadarajan.narayanan@oss.qualcomm.com"
    },
    "delegate": {
        "id": 151538,
        "url": "http://patchwork.ozlabs.org/api/1.1/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/20260416053928.2834699-3-varadarajan.narayanan@oss.qualcomm.com/mbox/",
    "series": [
        {
            "id": 500162,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/500162/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=500162",
            "date": "2026-04-16T05:39:18",
            "name": "Qualcomm IPQ5210 SoC bringup",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/500162/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2223973/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2223973/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=G1mIjVCU;\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=CXg4L2w+;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; 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=\"G1mIjVCU\";\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.b=\"CXg4L2w+\";\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\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\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 4fxJSg49jpz1yG9\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 16 Apr 2026 23:16:51 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 501518421D;\n\tThu, 16 Apr 2026 15:16:29 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 27FD0841D5; Thu, 16 Apr 2026 07:40:14 +0200 (CEST)",
            "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 C1DFE83C2B\n for <u-boot@lists.denx.de>; Thu, 16 Apr 2026 07:40:11 +0200 (CEST)",
            "from pps.filterd (m0279872.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 63G1huMO862148\n for <u-boot@lists.denx.de>; Thu, 16 Apr 2026 05:40:10 GMT",
            "from mail-pl1-f197.google.com (mail-pl1-f197.google.com\n [209.85.214.197])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4djd0eae38-1\n (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n for <u-boot@lists.denx.de>; Thu, 16 Apr 2026 05:40:09 +0000 (GMT)",
            "by mail-pl1-f197.google.com with SMTP id\n d9443c01a7336-2b465bf993cso36383875ad.1\n for <u-boot@lists.denx.de>; Wed, 15 Apr 2026 22:40:08 -0700 (PDT)",
            "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 d2e1a72fcca58-82f673e3824sm3994496b3a.34.2026.04.15.22.39.56\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 15 Apr 2026 22:40:06 -0700 (PDT)"
        ],
        "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_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_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=EeMcpicEVGz\n 26VJ4q6kUTiEUTbBHjltnzjtT0vSHomI=; b=G1mIjVCUHF+jz6jZQ9a3siJDH9i\n F0urvDZTvOiGNgF6rrmS+fQANT58UysZXNArr1PXi3VzVnsavjtI6AN3aDa4q4U8\n rZwjrEeubPRaTHmkuG4sZ5BmGMQbUR0s4MJb7jcSP0lQpyqA2dSeIxvE7b2N8sPE\n XgNiGtqFYAy6mywjXzn/DSCf1KawnVXh3ewFufekkZTxy/sApnZ5GELAtF76bXIC\n +9kdjgMfRnx4TywD5jPGnLRkMlov8LA79whThA4vCkseJ77idN/3pUXHGBg2Kx2q\n q0lm69RNHB9DJyilfS5MVHm+kSUVL+Vytr9W6KbF5e/7eQkCNS+KT7Hpryg==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1776318008; x=1776922808; 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=EeMcpicEVGz26VJ4q6kUTiEUTbBHjltnzjtT0vSHomI=;\n b=CXg4L2w+L02LLuh4o90UFqEwBlivWgIVeENkhP/PfsVBOX5LphYOF6hdNwfDUe4a4O\n yIYdcXlFYCGcEqWuRQ7mMyO0c0nNMfvXEPSPFT8rP1s7Qcy4IrhrxOnPhDUGxF+4G57L\n TG5vG2hv78D3e+1SHOBaJ1ZcHgp2UTC/qGPuAYNQWVnIDA6y6DDws4OoGyfxs96YxxnF\n qDUBtpd7A/W0aOjUC8zyUFvnb4xW7QlbWxuPaUlrJhnGEzGcNGiPoPIK2uTASqZgBS5p\n 9GxV00NBMTUjaVTqivAuP4WKvKorUdSwg1bBCOql+yNoxL0DBwT57gJgSHw1dO7/zzNx\n 72xw=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776318008; x=1776922808;\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=EeMcpicEVGz26VJ4q6kUTiEUTbBHjltnzjtT0vSHomI=;\n b=eQAIyB+Hwer+e0dZUL0ln1xTmIKw26UDCdDCjLA12AywQ2EKg3l2rq/EVjXZkthn46\n piaAvGjGVPU7m/NoK+ymSaEMYdhDtsI5nK9E3E1zt1Re1koRteJLaMfMpktZ38XwlMqu\n GfMwA1zD3nZnEN+2WbbF8NXv57EH2TIL/tI/FijzcSn4XRLkFkqRbPYmSBIuArISxPnm\n 1g5Ar0KWFDegQMoAbjSYnrL8BTYM4HhN9zkz3g0VcvkV+h0+6JCnnM8zl7W0QBbJ1Tkh\n +f29QUAnVoijS6rk/fmzgMMLbA0k588j4rB89eXo0nPaEA5DJtZnBllZ/F2cR2MqTgG8\n pgtQ==",
        "X-Forwarded-Encrypted": "i=1;\n AFNElJ/KJwEc+8ZgoPBBNZ9l9xOFPdd9jntcEJEgTiiOIVKS/gOktBuJIorvnuQZS57IFQynxmEOeKk=@lists.denx.de",
        "X-Gm-Message-State": "AOJu0YwBIpDD+LLcWGfqFZab+A9Ou7Resqp25ks/4e7JDIXSk/dPXjf0\n BlQtndjMbPuwZAaEZGOKsbkx7v4KL0AdVh6tCjfwp196CQe7mAu3Sb3RALAr0or7k2Dt+koUeJa\n 24f42lpCibJ0hEEwNVKG87KDjv2A0iVPnhIf1Ji3EdCh5HRflXmlCsXO2",
        "X-Gm-Gg": "AeBDieuvx+y1lITp0HddhCkwMbQJlyQ12hOawiyZs9W6yWO/RSGYOLiC3wwk2JhNyD5\n B8eCBgDeDkcH2L2Wr7s/bm7113igQe86p2cWCipFFuMAezMIxVGJa5I8uVUVmCn+QzbaHpJBEkh\n 2SZeZoiPliq0Ad0nIbhIbsYECavCcLNmcFo93CPF35yoqy42LQNfNfbzrUTM/OYLq6L7+Ei9iz8\n PSGioe2PN/av7B70k6Rx/UXzASOhTQ7pvQCBhujaP2yiF94bSsDQB37ff/iZ6MHJuPdzhZX4z+1\n lVIK2p27q6ea5L0ycKNfE4WlPYCfPtED6NaCQ5qADUjzdxGRoU/fnkPSYQWTawMExnZdh0326+k\n dXX3x18AMK20FafAi5nTh/XnLdqWVwk59bj2aVzsAq7aJx5fshGNW57vNyfeiA09QTRGbSsFAhy\n ArFebuJNjuxpbdAugEZ/dBJtf/KHhcY7ZXXJ+MNci/wFuxBxjQG5E=",
        "X-Received": [
            "by 2002:a05:6a20:6a1d:b0:39b:98e3:6a30 with SMTP id\n adf61e73a8af0-39fe4052400mr28916963637.51.1776318007570;\n Wed, 15 Apr 2026 22:40:07 -0700 (PDT)",
            "by 2002:a05:6a20:6a1d:b0:39b:98e3:6a30 with SMTP id\n adf61e73a8af0-39fe4052400mr28916925637.51.1776318007026;\n Wed, 15 Apr 2026 22:40:07 -0700 (PDT)"
        ],
        "From": "Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>",
        "To": "rayagonda.kokatanur@broadcom.com, trini@konsulko.com,\n 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, tien.fong.chee@altera.com, tingting.meng@altera.com,\n anshuld@ti.com, alif.zakuan.yuslaimi@altera.com, alice.guo@nxp.com,\n quentin.schulz@cherry.de, ilias.apalodimas@linaro.org,\n varadarajan.narayanan@oss.qualcomm.com, sjg@chromium.org,\n mkorpershoek@kernel.org, h-salunke@ti.com, alchark@gmail.com,\n dario.binacchi@amarulasolutions.com, ye.li@nxp.com,\n andre.przywara@arm.com, dinesh.maniyam@altera.com,\n luca.weiss@fairphone.com, danila@jiaxyga.com,\n aswin.murugan@oss.qualcomm.com, balaji.selvanathan@oss.qualcomm.com,\n adrian@mainlining.org, n-francis@ti.com, wens@kernel.org,\n jamie.gibbons@microchip.com, justin@tidylabs.net,\n ycliang@andestech.com, david.wronek@mainlining.org,\n james.hilliard1@gmail.com, richard.genoud@bootlin.com,\n michael@amarulasolutions.com, philip.molloy@analog.com,\n sughosh.ganu@arm.com, u-boot@lists.denx.de, u-boot-qcom@groups.io",
        "Subject": "[PATCH v3 02/10] clk/qcom: add initial clock driver for ipq5210",
        "Date": "Thu, 16 Apr 2026 11:09:20 +0530",
        "Message-Id": "<20260416053928.2834699-3-varadarajan.narayanan@oss.qualcomm.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20260416053928.2834699-1-varadarajan.narayanan@oss.qualcomm.com>",
        "References": "<20260416053928.2834699-1-varadarajan.narayanan@oss.qualcomm.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Proofpoint-GUID": "P0f_ryAbKrHAF7bEpZaSWQhOKUDu00kr",
        "X-Proofpoint-ORIG-GUID": "P0f_ryAbKrHAF7bEpZaSWQhOKUDu00kr",
        "X-Authority-Analysis": "v=2.4 cv=GP441ONK c=1 sm=1 tr=0 ts=69e07639 cx=c_pps\n a=cmESyDAEBpBGqyK7t0alAg==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17\n a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22\n a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=EUspDBNiAAAA:8\n a=ttnG5VEth79ohM5wMFYA:9 a=tjWZ8NC-rebGB_hs:21 a=1OuFwYUASf3TG4hYMiVC:22",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNDE2MDA1MSBTYWx0ZWRfX6kbUngYQ7zAi\n +NlM8dksBa/KymbKhQqyQhhGxtrEg6zkmotfxIE03hP5NJ/vo5QFArzTmrqICxak5j+rvZS4zzF\n 1JJtem1wRKlWV9/EIgMhjr8NmSe0xgrGUKFlYgtfl49v4r87+mGDyAY9cYCuNRYHSwxWnE9B4A4\n xy41vwgKsgD4wasM55pa15xn0K6yXM6RVLKxJ1y0r5u8n+8PSyWvgIkAuOgjEja/W/9D//8o6KQ\n eVeibp0ZoIrmV7ZgxrbGi65PSHlEmTxXDHo0EL0JNOrRFAMPYBWc9KpchBZst4tQQh+bv+jC/UF\n +Olb1RSXl7gZTxUfhMM7HINgz4D/EukMFdAKhNo0mpc25WgiVNBMDR20Sl7PxYRZaDH1U7v5xMt\n ercmLo6o0XVnQtBEgY+XyVZbEGXO8xYka7RLegmWKJcPXDFdlWaiccK89A8ftUwfLvl7MhsvkII\n P3w2gSO2LxXnxAe4BYg==",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-04-16_01,2026-04-13_04,2025-10-01_01",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n malwarescore=0 spamscore=0 clxscore=1015 adultscore=0 phishscore=0\n lowpriorityscore=0 bulkscore=0 suspectscore=0 priorityscore=1501\n impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc=\n route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604070000\n definitions=main-2604160051",
        "X-Mailman-Approved-At": "Thu, 16 Apr 2026 15:16:28 +0200",
        "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": "Add initial set of clocks and resets for enabling U-Boot on ipq5210\nbased RDP platforms.\n\nSigned-off-by: Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>\n---\n drivers/clk/qcom/Kconfig         |  8 +++\n drivers/clk/qcom/Makefile        |  1 +\n drivers/clk/qcom/clock-ipq5210.c | 97 ++++++++++++++++++++++++++++++++\n 3 files changed, 106 insertions(+)\n create mode 100644 drivers/clk/qcom/clock-ipq5210.c",
    "diff": "diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig\nindex 8504ed5d656..a0a8778d5f0 100644\n--- a/drivers/clk/qcom/Kconfig\n+++ b/drivers/clk/qcom/Kconfig\n@@ -31,6 +31,14 @@ config CLK_QCOM_IPQ4019\n \t  on the Snapdragon IPQ4019 SoC. This driver supports the clocks\n \t  and resets exposed by the GCC hardware block.\n \n+config CLK_QCOM_IPQ5210\n+\tbool \"Qualcomm IPQ5210 GCC\"\n+\tselect CLK_QCOM\n+\thelp\n+\t  Say Y here to enable support for the Global Clock Controller\n+\t  on the Qualcomm IPQ5210 SoC. This driver supports the clocks\n+\t  and resets exposed by the GCC hardware block.\n+\n config CLK_QCOM_IPQ5424\n \tbool \"Qualcomm IPQ5424 GCC\"\n \tselect CLK_QCOM\ndiff --git a/drivers/clk/qcom/Makefile b/drivers/clk/qcom/Makefile\nindex 82a5b166196..7116be963e7 100644\n--- a/drivers/clk/qcom/Makefile\n+++ b/drivers/clk/qcom/Makefile\n@@ -7,6 +7,7 @@ obj-$(CONFIG_CLK_QCOM_SDM845) += clock-sdm845.o\n obj-$(CONFIG_CLK_QCOM_APQ8016) += clock-apq8016.o\n obj-$(CONFIG_CLK_QCOM_APQ8096) += clock-apq8096.o\n obj-$(CONFIG_CLK_QCOM_IPQ4019) += clock-ipq4019.o\n+obj-$(CONFIG_CLK_QCOM_IPQ5210) += clock-ipq5210.o\n obj-$(CONFIG_CLK_QCOM_IPQ5424) += clock-ipq5424.o\n obj-$(CONFIG_CLK_QCOM_IPQ9574) += clock-ipq9574.o\n obj-$(CONFIG_CLK_QCOM_QCM2290) += clock-qcm2290.o\ndiff --git a/drivers/clk/qcom/clock-ipq5210.c b/drivers/clk/qcom/clock-ipq5210.c\nnew file mode 100644\nindex 00000000000..f0a6ee8711d\n--- /dev/null\n+++ b/drivers/clk/qcom/clock-ipq5210.c\n@@ -0,0 +1,97 @@\n+// SPDX-License-Identifier: GPL-2.0\n+/*\n+ * Clock drivers for Qualcomm IPQ5210\n+ *\n+ * (C) Copyright 2024 Linaro Ltd.\n+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n+ */\n+\n+#include <linux/types.h>\n+#include <clk-uclass.h>\n+#include <dm.h>\n+#include <linux/delay.h>\n+#include <asm/io.h>\n+#include <linux/bug.h>\n+#include <linux/bitops.h>\n+#include <dm/device-internal.h>\n+#include <dt-bindings/clock/qcom,ipq5210-gcc.h>\n+#include <dt-bindings/reset/qcom,ipq5210-gcc.h>\n+#include \"clock-qcom.h\"\n+\n+static ulong ipq5210_set_rate(struct clk *clk, ulong rate)\n+{\n+\tstruct msm_clk_priv *priv = dev_get_priv(clk->dev);\n+\n+\tswitch (clk->id) {\n+\tcase GCC_QUPV3_WRAP_SE1_CLK:\n+\t\tclk_rcg_set_rate_mnd(priv->base, priv->data->clks[clk->id].cbcr_reg,\n+\t\t\t\t     0, 2, 217, CFG_CLK_SRC_GPLL0, 16);\n+\t\tbreak;\n+\tcase GCC_SDCC1_AHB_CLK:\n+\t\tbreak;\n+\tcase GCC_SDCC1_APPS_CLK:\n+\t\tclk_rcg_set_rate_mnd(priv->base, priv->data->clks[clk->id].cbcr_reg,\n+\t\t\t\t     0, 6, 25, CFG_CLK_SRC_GPLL0, 16);\n+\t\tbreak;\n+\tdefault:\n+\t\treturn -EINVAL;\n+\t}\n+\n+\treturn rate;\n+}\n+\n+static const struct gate_clk ipq5210_clks[] = {\n+\tGATE_CLK_POLLED(GCC_QUPV3_WRAP_SE1_CLK,\t0x05020, BIT(0),\t0x05004),\n+\tGATE_CLK_POLLED(GCC_SDCC1_AHB_CLK,\t0x3303c, BIT(0),\t0x3303c),\n+\tGATE_CLK_POLLED(GCC_SDCC1_APPS_CLK,\t0x3302c, BIT(0),\t0x33004),\n+\tGATE_CLK_POLLED(GCC_IM_SLEEP_CLK,\t0x34020, BIT(0),\t0x34020),\n+};\n+\n+static int ipq5210_enable(struct clk *clk)\n+{\n+\tstruct msm_clk_priv *priv = dev_get_priv(clk->dev);\n+\n+\tif (priv->data->num_clks <= clk->id) {\n+\t\tdebug(\"%s: unknown clk id %lu\\n\", __func__, clk->id);\n+\t\treturn 0;\n+\t}\n+\n+\tdebug(\"%s: clk %s\\n\", __func__, ipq5210_clks[clk->id].name);\n+\n+\tqcom_gate_clk_en(priv, clk->id);\n+\n+\treturn 0;\n+}\n+\n+static const struct qcom_reset_map ipq5210_gcc_resets[] = {\n+\t[GCC_SDCC_BCR]\t\t\t= {0x33000, 0},\n+\t[GCC_USB0_PHY_BCR]\t\t= {0x2c06c, 0},\n+\t[GCC_USB3PHY_0_PHY_BCR]\t\t= {0x2c070, 0},\n+\t[GCC_QUSB2_0_PHY_BCR]\t\t= {0x2c068, 0},\n+\t[GCC_USB_BCR]\t\t\t= {0x2c000, 0},\n+};\n+\n+static struct msm_clk_data ipq5210_gcc_data = {\n+\t.resets = ipq5210_gcc_resets,\n+\t.num_resets = ARRAY_SIZE(ipq5210_gcc_resets),\n+\t.clks = ipq5210_clks,\n+\t.num_clks = ARRAY_SIZE(ipq5210_clks),\n+\t.enable = ipq5210_enable,\n+\t.set_rate = ipq5210_set_rate,\n+};\n+\n+static const struct udevice_id gcc_ipq5210_of_match[] = {\n+\t{\n+\t\t.compatible = \"qcom,ipq5210-gcc\",\n+\t\t.data = (ulong)&ipq5210_gcc_data,\n+\t},\n+\t{ }\n+};\n+\n+U_BOOT_DRIVER(gcc_ipq5210) = {\n+\t.name\t\t= \"gcc_ipq5210\",\n+\t.id\t\t= UCLASS_NOP,\n+\t.of_match\t= gcc_ipq5210_of_match,\n+\t.bind\t\t= qcom_cc_bind,\n+\t.flags\t\t= DM_FLAG_PRE_RELOC | DM_FLAG_DEFAULT_PD_CTRL_OFF,\n+};\n",
    "prefixes": [
        "v3",
        "02/10"
    ]
}