get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2219678,
    "url": "http://patchwork.ozlabs.org/api/1.0/patches/2219678/?format=api",
    "project": {
        "id": 28,
        "url": "http://patchwork.ozlabs.org/api/1.0/projects/28/?format=api",
        "name": "Linux PCI development",
        "link_name": "linux-pci",
        "list_id": "linux-pci.vger.kernel.org",
        "list_email": "linux-pci@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null
    },
    "msgid": "<20260403-wakeirq_support-v9-2-1cbecf3b58d7@oss.qualcomm.com>",
    "date": "2026-04-03T17:33:34",
    "name": "[v9,2/3] gpio: Add fwnode_gpiod_get() helper",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f238af41713bc40d452556e410e90df0341aae51",
    "submitter": {
        "id": 89908,
        "url": "http://patchwork.ozlabs.org/api/1.0/people/89908/?format=api",
        "name": "Krishna Chaitanya Chundru",
        "email": "krishna.chundru@oss.qualcomm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260403-wakeirq_support-v9-2-1cbecf3b58d7@oss.qualcomm.com/mbox/",
    "series": [
        {
            "id": 498658,
            "url": "http://patchwork.ozlabs.org/api/1.0/series/498658/?format=api",
            "date": "2026-04-03T17:33:32",
            "name": "PCI: Add support for PCIe WAKE# interrupt",
            "version": 9,
            "mbox": "http://patchwork.ozlabs.org/series/498658/mbox/"
        }
    ],
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2219678/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linux-pci+bounces-51833-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-pci@vger.kernel.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=aZEfTlaj;\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=gEnyTl98;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org;\n envelope-from=linux-pci+bounces-51833-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com\n header.b=\"aZEfTlaj\";\n\tdkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.b=\"gEnyTl98\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=205.220.168.131",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=oss.qualcomm.com"
        ],
        "Received": [
            "from tor.lore.kernel.org (tor.lore.kernel.org\n [IPv6:2600:3c04:e001:36c::12fc:5321])\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 4fnQns5vLsz1yCs\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 04 Apr 2026 04:34:25 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 385FF301373A\n\tfor <incoming@patchwork.ozlabs.org>; Fri,  3 Apr 2026 17:34:03 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 25AEB3D47AC;\n\tFri,  3 Apr 2026 17:34:02 +0000 (UTC)",
            "from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com\n [205.220.168.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id DC1453CEBBF\n\tfor <linux-pci@vger.kernel.org>; Fri,  3 Apr 2026 17:33:59 +0000 (UTC)",
            "from pps.filterd (m0279864.ppops.net [127.0.0.1])\n\tby mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 633EY5ZR141947\n\tfor <linux-pci@vger.kernel.org>; Fri, 3 Apr 2026 17:33:59 GMT",
            "from mail-pf1-f197.google.com (mail-pf1-f197.google.com\n [209.85.210.197])\n\tby mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4da83y1uex-1\n\t(version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n\tfor <linux-pci@vger.kernel.org>; Fri, 03 Apr 2026 17:33:59 +0000 (GMT)",
            "by mail-pf1-f197.google.com with SMTP id\n d2e1a72fcca58-82c1e1a6cfbso1392669b3a.0\n        for <linux-pci@vger.kernel.org>; Fri, 03 Apr 2026 10:33:58 -0700 (PDT)",
            "from hu-krichai-hyd.qualcomm.com ([202.46.23.25])\n        by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-82cf9b3e169sm6359125b3a.18.2026.04.03.10.33.51\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Fri, 03 Apr 2026 10:33:57 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775237642; cv=none;\n b=UVpuh3f2v/TIukW6S+F1AO3OesdrgmqSwEF0opdemgbJhpWqJOxg4MssxvIKcWRJN65vwFUXQeXwYagpHkQ2InUI5ew6ce2OXLQzuSu5Y2mfC0rCzbozaHUCBNS27+uUTPM8sxqQgJ+xmGzhccqIguw44eo40Tvw45z2IsR5Mzk=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775237642; c=relaxed/simple;\n\tbh=4QSi4U79nO6Kuv75iJWSSw33Z4grlzD3UTlYLg1qQkk=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:\n\t In-Reply-To:To:Cc;\n b=X/5KMo8hRXzjRROcXAcE63ExAJ35RHzdyHY/i8DosSqKe0jUE7bWaImqFVNwVlolWRnv2WAOFOs+TAeLzualrkwnVWtDzSl6fUlxFkwPMMPVyb10d4X8OziQc8kPGkeiVwpEwimbwewKcGpoprt73ZCo6DI2LdXWawWiTc5uNms=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com;\n spf=pass smtp.mailfrom=oss.qualcomm.com;\n dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com\n header.b=aZEfTlaj;\n dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.b=gEnyTl98; arc=none smtp.client-ip=205.220.168.131",
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n\tcc:content-transfer-encoding:content-type:date:from:in-reply-to\n\t:message-id:mime-version:references:subject:to; s=qcppdkim1; bh=\n\tt6NWwp7xMQI5NgRMH63RnyN3vLoPe8JewDZUaKKorxg=; b=aZEfTlaj1hsn+O3u\n\t8NFaxgxBssSSIgfmJGXdkmcSIP1+0WYi6Hi3fL0KK5W1FKpdXtnbc3KIAPaueurW\n\tHcbQys6NSgfYA7VSBSLS5qb90tfIiNbnJW5eBeLZYD7ZU5LZo+/ytXIAZZC24ZlV\n\tPDLPQlw5WLq7zjy2ZBitWZzQE4DTCQV1+MogRJRgsR1S2vMH+ycjDgqh5Sh2OlMa\n\tvH3btz4KuBwSb701RJitz66s+EyyGbWimjJ4Fu9YQU44sFUFYHVP1lTfIgOiVefg\n\tzOZzlAkA2jQi/yAU9BXflXTHSmNqNuC/qLzitcKGPl5K7ZmTmF1KiaQJhrZEG7la\n\tESju+Q==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=oss.qualcomm.com; s=google; t=1775237638; x=1775842438;\n darn=vger.kernel.org;\n        h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n         :mime-version:subject:date:from:from:to:cc:subject:date:message-id\n         :reply-to;\n        bh=t6NWwp7xMQI5NgRMH63RnyN3vLoPe8JewDZUaKKorxg=;\n        b=gEnyTl98ScjVTXoPMln7o5DU28DSHB2OCjUeogAcL2/MbJzH/zFd05UDYOHTbB31ZM\n         nL1ZrYy4V7mr+p2uKWWCw6nFXhLGQQX/T/GYmC7RhhT9iT9pDJrYVAEby8Csnjukn+oN\n         Qi53hbo7lj2UgZkZLbs/Y2AVufh4zP3ACd2loujcBPBeIRuvRDw2UTP/YHoxJzbhTn3M\n         +9IoAyDG1zmSXjDSidUT4nGT69WE4M/RRRy/Crsc2+ONVtRQTQsoLpJLbJMZvWTI21MW\n         q0TQ4gzb3TISVW5sQsltz2RzrW3VzuNObtvvoi3MMq/kxCe+Im/rT0pAvI/vEDh3ewBe\n         47KA=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1775237638; x=1775842438;\n        h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n         :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to\n         :cc:subject:date:message-id:reply-to;\n        bh=t6NWwp7xMQI5NgRMH63RnyN3vLoPe8JewDZUaKKorxg=;\n        b=fZBuzUqWL2BPHa02r04SaJkTTQla90hyrgv0r5b3QkDXnGB8l4HhWFONXUbRPS47dt\n         PHp6dvIHddG04G5NvGiEmMYsh0uVJ0PRxDwdmWW2laq/fV6fMTH8KN3ejne1KQv/Bxtj\n         FXhyeBo2CE3SPKq7IMMjtC36/mER4vtEAYsYKQMpEcLRZLZmvfSlEOjvLVKF9u2K8wnK\n         FkAtEQ3EnyS/So8w/3cXwgZ/MuQRzu4+n+CtBFkdfhVHF7QFV/WTibPO8t7+E0v6cneg\n         /Zq+tp+w0qQ5mTbJVMSOy2srC2i9iceM3pf5aIWtY2KTU2pl5VaYqMTn9a8bUA+R0dUp\n         kDnA==",
        "X-Forwarded-Encrypted": "i=1;\n AJvYcCUJbO4WN1DtZnvVbgkjKGxPEXL7lhIH7sKpaRt0sjgq5Ol2jhmpVCdDU5dTh1C/sNeDEG+Gwd0TypM=@vger.kernel.org",
        "X-Gm-Message-State": "AOJu0YxhDNjKC5I0NSFRCutRx+R39/l8nW23ZtFoOy16gZO+5bgx0Mqh\n\tjuMV1AH2L9E5eE/AdAuiBbidVC0hr2mSQqbnVZ4UMDbbZIavZqqq3BRymz+EX0G5qek7xB+ZEnp\n\td2bM7VWr5HMBpa6hCxrr6ScKOFarG/Lu4EgCnxm9TsfK65xjntSF7TPVzo8y+vjM=",
        "X-Gm-Gg": "ATEYQzw9mglI0kZtSfdWtjnb5EBhv/frK5ClAoqGmD8jweSpOJ1b+vtl+dVY2EY0rQl\n\tTccvtUX7NxMqUJzBttJonPU1po3hagbeTEqqZ8HhO1q4ZpwzxXDDLGjv8CH6eG81mHT+8I7G1+H\n\tYloN0O3KN2+veEn9Yg1Pq6fK9B/23jgLkp8E0ewt7+czNOgqZ3J2RRZZUhHN5Xfx1r+RqKWq442\n\ttozzm33ZVMU6Y/K7ouy+Ns6Fk/U50XAZ8jCAcncdkmLRh7i9Shfolc+lqvbplZVqSkRlJQ3/7Mp\n\tO0JmKBubjlCvrvJKrCkiusZQcrRoJRsNdg3YqAqAwPeeYelDqc0XRRaDAhkm0CrPg5xH+hkfjfk\n\tvKtIzR8BglzmYA8lby+dNf7TUGbuHBG7wXaYqzJwz6PmbcFK9WA1EMpYb",
        "X-Received": [
            "by 2002:a05:6a00:3d4f:b0:82c:dc9c:e765 with SMTP id\n d2e1a72fcca58-82d0d749427mr3930139b3a.0.1775237638442;\n        Fri, 03 Apr 2026 10:33:58 -0700 (PDT)",
            "by 2002:a05:6a00:3d4f:b0:82c:dc9c:e765 with SMTP id\n d2e1a72fcca58-82d0d749427mr3930115b3a.0.1775237637915;\n        Fri, 03 Apr 2026 10:33:57 -0700 (PDT)"
        ],
        "From": "Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>",
        "Date": "Fri, 03 Apr 2026 23:03:34 +0530",
        "Subject": "[PATCH v9 2/3] gpio: Add fwnode_gpiod_get() helper",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-pci@vger.kernel.org",
        "List-Id": "<linux-pci.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-pci+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-pci+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Message-Id": "<20260403-wakeirq_support-v9-2-1cbecf3b58d7@oss.qualcomm.com>",
        "References": "<20260403-wakeirq_support-v9-0-1cbecf3b58d7@oss.qualcomm.com>",
        "In-Reply-To": "<20260403-wakeirq_support-v9-0-1cbecf3b58d7@oss.qualcomm.com>",
        "To": "\"Rafael J. Wysocki\" <rafael@kernel.org>, Len Brown <lenb@kernel.org>,\n        Pavel Machek <pavel@kernel.org>,\n        Greg Kroah-Hartman <gregkh@linuxfoundation.org>,\n        Danilo Krummrich <dakr@kernel.org>,\n        Bjorn Helgaas <bhelgaas@google.com>,\n        Bartosz Golaszewski <brgl@bgdev.pl>,\n Linus Walleij <linusw@kernel.org>,\n        Bartosz Golaszewski <brgl@kernel.org>, Rob Herring <robh@kernel.org>,\n        Saravana Kannan <saravanak@kernel.org>,\n        Linus Walleij <linusw@kernel.org>",
        "Cc": "linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,\n        linux-pci@vger.kernel.org, linux-gpio@vger.kernel.org,\n        quic_vbadigan@quicinc.com, sherry.sun@nxp.com,\n        driver-core@lists.linux.dev, devicetree@vger.kernel.org,\n        Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>,\n        Manivannan Sadhasivam <mani@kernel.org>,\n        Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>",
        "X-Mailer": "b4 0.14.2",
        "X-Developer-Signature": "v=1; a=ed25519-sha256; t=1775237619; l=1418;\n i=krishna.chundru@oss.qualcomm.com; s=20230907; h=from:subject:message-id;\n bh=4QSi4U79nO6Kuv75iJWSSw33Z4grlzD3UTlYLg1qQkk=;\n b=S3BBZnE3MjxvBLw9tw9ecCrgVVwynC/kNl/NBJTEmrlZVZtP/c6mx9OmMyhsxVYd5XSpcq4h8\n ahd7a5OtAF8CGyTIaMGUzdN/cOHXYeBoxs6bvGKrSadbndkpQ7xGY2r",
        "X-Developer-Key": "i=krishna.chundru@oss.qualcomm.com; a=ed25519;\n pk=10CL2pdAKFyzyOHbfSWHCD0X0my7CXxj8gJScmn1FAg=",
        "X-Authority-Analysis": "v=2.4 cv=ar6/yCZV c=1 sm=1 tr=0 ts=69cffa07 cx=c_pps\n a=rEQLjTOiSrHUhVqRoksmgQ==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17\n a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10\n a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22\n a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=Ocqi7cVID08-S0eeb-IA:9 a=QEXdDO2ut3YA:10\n a=2VI0MkxyNR6bbpdq8BZq:22",
        "X-Proofpoint-ORIG-GUID": "NvLYihhHKONtjOQX4ngdCgFZYeG51mFO",
        "X-Proofpoint-GUID": "NvLYihhHKONtjOQX4ngdCgFZYeG51mFO",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNDAzMDE1NiBTYWx0ZWRfX/CVkJknVCYXa\n H9GeJ3BMg8/GxcrrYBk9zTe+Zax+S+PvQZDpfXq21tHSWHzc0A34wI5QR0dIbYtYpRVZsAXLieZ\n LTXQ2jD8oCAbrcftWIOk/B0el5M1+hbfOXvYL0YqSkIvi3msw1HxOaMul+eTEH5FGDZ4V0wkY4V\n lcCTrT6i7JcA4rJk0GZGHE5rdnGLAMjPq4fHLQwsGDqZSNY8wheN35Zg+4QFFdTIytf6YRM4jJ0\n erP1L5aRCapqBH+YuTIn27qHRVJ5oLEOcWtENd2xQcRL4VvEkctA/F/CZVAvnEACo5xdjyiFB3V\n O1wdwqZLWJziawrAAISfLLqj0wmyJtiqpyqEIeWOQY1PMPqGuK9xGe+PqYRVQsa4MgUzRiIgZVD\n rNmJV7hemI2qGbac2Q2KLUUhiQ39heIAqKAHrHsPmqXL+kqV5+o/FJT+/5JpDxHbiLgrUwjttsC\n joRMQsYE160vyXFfVOA==",
        "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-03_05,2026-04-03_01,2025-10-01_01",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n priorityscore=1501 suspectscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0\n malwarescore=0 phishscore=0 spamscore=0 clxscore=1015 impostorscore=0\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2604030156"
    },
    "content": "Add fwnode_gpiod_get() as a convenience wrapper around\nfwnode_gpiod_get_index() for the common case where only the\nfirst GPIO is required.\n\nThis mirrors existing gpiod_get() and devm_gpiod_get() helpers\nand avoids open-coding index 0 at call sites.\n\nSuggested-by: Manivannan Sadhasivam <mani@kernel.org>\nAcked-by: Manivannan Sadhasivam <mani@kernel.org>\nReviewed-by: Linus Walleij <linusw@kernel.org>\nAcked-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>\nSigned-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>\n---\n include/linux/gpio/consumer.h | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/include/linux/gpio/consumer.h b/include/linux/gpio/consumer.h\nindex 0d8408582918680bfea6a04ccedfc0c75211907a..fee926c0262ce9dc4b9a3c151e74f2cf37470a49 100644\n--- a/include/linux/gpio/consumer.h\n+++ b/include/linux/gpio/consumer.h\n@@ -596,6 +596,15 @@ static inline int gpiod_disable_hw_timestamp_ns(struct gpio_desc *desc,\n }\n #endif /* CONFIG_GPIOLIB && CONFIG_HTE */\n \n+static inline\n+struct gpio_desc *fwnode_gpiod_get(struct fwnode_handle *fwnode,\n+\t\t\t\t   const char *con_id,\n+\t\t\t\t   enum gpiod_flags flags,\n+\t\t\t\t   const char *label)\n+{\n+\treturn fwnode_gpiod_get_index(fwnode, con_id, 0, flags, label);\n+}\n+\n static inline\n struct gpio_desc *devm_fwnode_gpiod_get(struct device *dev,\n \t\t\t\t\tstruct fwnode_handle *fwnode,\n",
    "prefixes": [
        "v9",
        "2/3"
    ]
}