Show a cover letter.

GET /api/covers/2219780/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2219780,
    "url": "http://patchwork.ozlabs.org/api/covers/2219780/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/cover/a3aaa5dc-b959-4301-8d35-f295a019823a@gmail.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/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,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<a3aaa5dc-b959-4301-8d35-f295a019823a@gmail.com>",
    "list_archive_url": null,
    "date": "2026-04-04T11:20:01",
    "name": "[v2,0/2] Add Rockchip USBPHY DM driver",
    "submitter": {
        "id": 75645,
        "url": "http://patchwork.ozlabs.org/api/people/75645/?format=api",
        "name": "Johan Jonker",
        "email": "jbx6244@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/cover/a3aaa5dc-b959-4301-8d35-f295a019823a@gmail.com/mbox/",
    "series": [
        {
            "id": 498718,
            "url": "http://patchwork.ozlabs.org/api/series/498718/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=498718",
            "date": "2026-04-04T11:20:01",
            "name": "Add Rockchip USBPHY DM driver",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/498718/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/2219780/comments/",
    "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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=FZso0Lna;\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=pass (p=none dis=none) header.from=gmail.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=gmail.com header.i=@gmail.com header.b=\"FZso0Lna\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=jbx6244@gmail.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 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fntRj4SJTz1yCs\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 04 Apr 2026 22:20:17 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 5B10683B48;\n\tSat,  4 Apr 2026 13:20:08 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id EB93583642; Sat,  4 Apr 2026 13:20:06 +0200 (CEST)",
            "from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com\n [IPv6:2a00:1450:4864:20::62a])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 9001283642\n for <u-boot@lists.denx.de>; Sat,  4 Apr 2026 13:20:04 +0200 (CEST)",
            "by mail-ej1-x62a.google.com with SMTP id\n a640c23a62f3a-b97fee3787eso34031366b.0\n for <u-boot@lists.denx.de>; Sat, 04 Apr 2026 04:20:04 -0700 (PDT)",
            "from ?IPV6:2a02:a449:4071:0:32d0:42ff:fe10:6983?\n ([2a02:a449:4071:0:32d0:42ff:fe10:6983])\n by smtp.gmail.com with ESMTPSA id\n a640c23a62f3a-b9c3cec6c11sm292564566b.30.2026.04.04.04.20.02\n (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n Sat, 04 Apr 2026 04:20:02 -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=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_GMAIL_RCVD,\n FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1775301604; x=1775906404; darn=lists.denx.de;\n h=content-transfer-encoding:content-language:cc:to:subject:from\n :user-agent:mime-version:date:message-id:from:to:cc:subject:date\n :message-id:reply-to;\n bh=YSXzAHY4mcZ3emHB4+Af9sJL/rwFmf4HKJh8o9U/rgU=;\n b=FZso0LnaB2RpORe/8UjCaw0PQQv8CKvtwRyGwNbpPDxJHeq3w5ba94SzS/H+/hgQ8l\n CG4kUDWQLqdZqUJE2ztfQF7fiMbMCXYaUWrDA1Q09weyFyCr3DRmW+9p1vjjZqqoXJQM\n 2VCdwA1fTk04/WoCHVVwQtMN52ESkZu66H4zQay09XSG6X1kL5dcTqln4v4aEYJaQ7U2\n pcB6FDuropoJKxd57hCk3f8STMKC3Yk3NFzovNV4hjP0yGCnAzMl4KQoDMwrSDpMSeY5\n 5dUrCiC4J8/Akxs+sP/MwgEeTbI3GzIdLpN/DVNVlxUhomLLiVwNtH/p1MS4InhRNMP1\n S+nQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775301604; x=1775906404;\n h=content-transfer-encoding:content-language:cc:to:subject:from\n :user-agent:mime-version:date:message-id:x-gm-gg:x-gm-message-state\n :from:to:cc:subject:date:message-id:reply-to;\n bh=YSXzAHY4mcZ3emHB4+Af9sJL/rwFmf4HKJh8o9U/rgU=;\n b=DzlKOhiRNv2xwKLIzRl+bNnxN74I7pZc8dauNAzhfSNTRly/CTCjKWNeQxhajXHMUw\n FmwaQWeInE0CmoPJKc+DZH3VIrqyq4ItyS41JzVYhFqSBA1oZ1EJVoaADH9BXcbeiaCy\n hOkMjv77pkl0llNw25xNmy+2awxDRGB5Rz5mRkhpEZCnesTLSGxYm+kUmq1/gxeDDIY+\n 2OzomQftgRcIMvQRBLcOm2k3hdv/OdBVQoPrPZQLZ2Jy3uSF7f6c/HAsa491Y5q61xEq\n 7Qnsx0ELaFLj+zHAElK9ERamcXUItovsqDeTxnhWSkggp5Y7rI9kBvXCqTKTQm8PVPp4\n 5btA==",
        "X-Forwarded-Encrypted": "i=1;\n AJvYcCUlQ1lwNC+4Ga179W8QLlmmTa7GcbFIMei86z1ohQOTnN53S9y9Y8+fgTzENa11Gf13SFKORAY=@lists.denx.de",
        "X-Gm-Message-State": "AOJu0YxhbQFCSLx4GI9k+iz1Z2fEK2PKkxDHYyNEDexfznYe+KrT1RrK\n XgtCxPktEwY35t1eybc6HJy9qYwUPoMfQEtLlcZl1+KPaUGlyZ76a3fh",
        "X-Gm-Gg": "AeBDiet4uZSlMBgsnqAf5mZuByDgqgaM1rnDFlzfqNcb6P1+1TtIES9GaNf+O8hYhaC\n A8edN581e4XXgmWRudlKMhTW8oS6b2+dOB1P1LXgfh1PQAyHDd67eDqN50PALt0V2x0wVD1/N9U\n +uGSKXhUyOhcs+psC5PqgeBK3Cx1UBXGH+D48hN9U1qofuKERPfszKbziWrCjIi13z7PQ9qBdPT\n 4sKICG2DmOznANJTa+hiHBJKgBmZY6yCF2Q1R+z4d7jqZ83mm1yLSEnFLv+GCq1iObEZfnmi5M9\n 18lYJKaXHUdQgcdGlDl1VhTZBef6EfIlOv19uvGGfPS9v7oMUSpW/PDd+4u5TQVilFUDjwhHS5J\n wvxZLRQaqfIl/uPXJOPzAkL6oZ4RiD0bfXdv/33tgeAyz9jw6Jh61sappRSl/g3Qf5mZ8qDIi1E\n TVz8UcgFDvdiOFsb3JEtDF/jw3ObwwAN1hwJ/RDi1F/aJWIlw69e6jCFBUZzxs+g==",
        "X-Received": "by 2002:a17:907:608d:b0:b87:1e1:e562 with SMTP id\n a640c23a62f3a-b9c679b704emr148865766b.8.1775301603597;\n Sat, 04 Apr 2026 04:20:03 -0700 (PDT)",
        "Message-ID": "<a3aaa5dc-b959-4301-8d35-f295a019823a@gmail.com>",
        "Date": "Sat, 4 Apr 2026 13:20:01 +0200",
        "MIME-Version": "1.0",
        "User-Agent": "Mozilla Thunderbird",
        "From": "Johan Jonker <jbx6244@gmail.com>",
        "Subject": "[PATCH v2 0/2] Add Rockchip USBPHY DM driver",
        "To": "kever.yang@rock-chips.com",
        "Cc": "sjg@chromium.org, philipp.tomsich@vrull.eu, trini@konsulko.com,\n hl@rock-chips.com, jernej.skrabec@gmail.com, w.egorov@phytec.de,\n jagan@amarulasolutions.com, heiko@sntech.de, jonas@kwiboo.se,\n michael@amarulasolutions.com, marex@denx.de, u-boot@lists.denx.de,\n upstream@lists.phytec.de",
        "Content-Language": "en-US, ar-EG",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "7bit",
        "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": "The Rockchip SoCs with an USB node and compatible = \"snps,dwc2\" can be\nHOST or OTG while the PHY driver is hard coded and initiated in the\nboard.c file. Above construction is not very U-boot DM alike.\nThis is an attempt to decouple the USBPHY into a DM driver.\n\nOn older Rockchip SOCs an usbphy DT node is placed under a SYSCOM node.\n\ngrf: grf@20008000 {\n\tusbphy: usbphy {\n\n\t\tusbphy0: usb-phy@17c {\n\t\t};\n\n\t\tusbphy1: usb-phy@188 {\n\t\t};\n\t};\n};\n\nThe usbphy node does not show up in the DM tree to be found by the\ngeneric_phy_get_by_index() function. Only by manual transfer to the DT root\nis gets detected.\n\n=> dm tree\n Class     Seq    Probed  Driver                Name\n-----------------------------------------------------------\n root          0  [ + ]   root_driver           root_driver\n nop           1  [ + ]   rockchip_usbphy       |-- usbphy\n phy           0  [ + ]   rockchip_usbphy_port  |   |-- usb-phy@17c\n phy           1  [ + ]   rockchip_usbphy_port  |   `-- usb-phy@188\n\nChanged V2:\n\nAdd grf function that binds the usbphy driver to the grf syscom driver.\n\n=> dm tree\n Class     Seq    Probed  Driver                Name\n-----------------------------------------------------------\n syscon        9  [ + ]   rk3066_syscon         |-- grf@20008000\n nop           0  [ + ]   rockchip_usbphy       |   `-- usbphy\n phy           0  [ + ]   rockchip_usbphy_port  |       |-- usb-phy@17c\n phy           1  [ + ]   rockchip_usbphy_port  |       `-- usb-phy@188\n\nJohan Jonker (2):\n  phy: rockchip: add phy-rockchip-usb2.c\n  usb: phy: remove rockchip_usb2_phy.c\n\n arch/arm/mach-rockchip/board.c                |  28 --\n arch/arm/mach-rockchip/rk3066/syscon_rk3066.c |  26 ++\n arch/arm/mach-rockchip/rk3188/syscon_rk3188.c |  26 ++\n arch/arm/mach-rockchip/rk3288/syscon_rk3288.c |  26 ++\n configs/chromebit_mickey_defconfig            |   2 +-\n configs/chromebook_jerry_defconfig            |   2 +-\n configs/chromebook_minnie_defconfig           |   2 +-\n configs/chromebook_speedy_defconfig           |   2 +-\n configs/evb-rk3288-rk808_defconfig            |   2 +-\n configs/firefly-rk3288_defconfig              |   4 +-\n configs/miqi-rk3288_defconfig                 |   4 +-\n configs/mk808_defconfig                       |   2 +-\n configs/phycore-rk3288_defconfig              |   3 +-\n configs/popmetal-rk3288_defconfig             |   3 +-\n configs/rock-pi-n8-rk3288_defconfig           |   2 +-\n configs/rock2_defconfig                       |   3 +-\n configs/rock_defconfig                        |   3 +-\n configs/tinker-rk3288_defconfig               |   4 +-\n configs/tinker-s-rk3288_defconfig             |   4 +-\n configs/vyasa-rk3288_defconfig                |   2 +-\n drivers/phy/rockchip/Kconfig                  |  28 +-\n drivers/phy/rockchip/Makefile                 |   5 +-\n drivers/phy/rockchip/phy-rockchip-usb2.c      | 371 ++++++++++++++++++\n drivers/usb/phy/Kconfig                       |   3 -\n drivers/usb/phy/Makefile                      |   1 -\n drivers/usb/phy/rockchip_usb2_phy.c           | 113 ------\n include/usb/dwc2_udc.h                        |   1 -\n 27 files changed, 494 insertions(+), 178 deletions(-)\n create mode 100644 drivers/phy/rockchip/phy-rockchip-usb2.c\n delete mode 100644 drivers/usb/phy/rockchip_usb2_phy.c\n\n--\n2.39.5"
}