get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1861426,
    "url": "http://patchwork.ozlabs.org/api/patches/1861426/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/rtc-linux/patch/20231108104343.24192-2-krzysztof.kozlowski@linaro.org/",
    "project": {
        "id": 9,
        "url": "http://patchwork.ozlabs.org/api/projects/9/?format=api",
        "name": "Linux RTC development",
        "link_name": "rtc-linux",
        "list_id": "linux-rtc.vger.kernel.org",
        "list_email": "linux-rtc@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20231108104343.24192-2-krzysztof.kozlowski@linaro.org>",
    "list_archive_url": null,
    "date": "2023-11-08T10:43:27",
    "name": "[01/17] dt-bindings: hwinfo: samsung,exynos-chipid: add specific compatibles for existing SoC",
    "commit_ref": null,
    "pull_url": null,
    "state": "handled-elsewhere",
    "archived": false,
    "hash": "87c24aea7d436b75d0684fc0441c24b269bc0def",
    "submitter": {
        "id": 83726,
        "url": "http://patchwork.ozlabs.org/api/people/83726/?format=api",
        "name": "Krzysztof Kozlowski",
        "email": "krzysztof.kozlowski@linaro.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/rtc-linux/patch/20231108104343.24192-2-krzysztof.kozlowski@linaro.org/mbox/",
    "series": [
        {
            "id": 381299,
            "url": "http://patchwork.ozlabs.org/api/series/381299/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/rtc-linux/list/?series=381299",
            "date": "2023-11-08T10:43:27",
            "name": "dt-bindings: samsung: add specific compatibles for existing SoC",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/381299/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1861426/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1861426/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-rtc+bounces-222-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-rtc@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=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=hY5KIDh5;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2604:1380:45e3:2400::1; helo=sv.mirrors.kernel.org;\n envelope-from=linux-rtc+bounces-222-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org\n header.b=\"hY5KIDh5\""
        ],
        "Received": [
            "from sv.mirrors.kernel.org (sv.mirrors.kernel.org\n [IPv6:2604:1380:45e3:2400::1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4SQMC85gCMz1yQK\n\tfor <incoming@patchwork.ozlabs.org>; Wed,  8 Nov 2023 21:44:04 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (wormhole.subspace.kernel.org\n [52.25.139.140])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby sv.mirrors.kernel.org (Postfix) with ESMTPS id 5EE972813C1\n\tfor <incoming@patchwork.ozlabs.org>; Wed,  8 Nov 2023 10:44:03 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id BAE4A12E54;\n\tWed,  8 Nov 2023 10:44:02 +0000 (UTC)",
            "from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net\n [23.128.96.19])\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 4651411C93\n\tfor <linux-rtc@vger.kernel.org>; Wed,  8 Nov 2023 10:44:01 +0000 (UTC)",
            "from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com\n [IPv6:2a00:1450:4864:20::32f])\n\tby lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6975C1BE1\n\tfor <linux-rtc@vger.kernel.org>; Wed,  8 Nov 2023 02:44:00 -0800 (PST)",
            "by mail-wm1-x32f.google.com with SMTP id\n 5b1f17b1804b1-4084b0223ccso48496395e9.2\n        for <linux-rtc@vger.kernel.org>; Wed, 08 Nov 2023 02:44:00 -0800 (PST)",
            "from krzk-bin.. ([178.197.218.126])\n        by smtp.gmail.com with ESMTPSA id\n fj12-20020a05600c0c8c00b004094c5d92bdsm19377377wmb.31.2023.11.08.02.43.55\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Wed, 08 Nov 2023 02:43:58 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=linaro.org; s=google; t=1699440239; x=1700045039;\n darn=vger.kernel.org;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=yAjfTJh92uvbCJqXeCi670gcjaUuY+h2OqROwS33rLc=;\n        b=hY5KIDh5hsZxVwhLfTKBUVrVz5npia1F21b068Tw9AAURGCX1u2TucQihDQyEphwKq\n         6vowusYI3F+q704E+HkI2qSiF/C7Ky6UDmQ3G4BsFMN5YxySiQLixsz2Oa3LMqP0H5tl\n         kDNboMWeFGBl6YPByRE/aNR7U2s6Fsz3SVxb/r7ZRugVlhUHjEcmTynBagwLFvMnjofc\n         5hFMHeOMRNnbIDcuMMEI4iB/y2DyynOl72Eku3KNTht8vXj36o2akDp49SCYe8jp0kfi\n         24kG+NIhCsuaVDRZtNI8lo3UQAypL72itK0eqJc0UTpUXEfJPLTKsTH9/dIC0uYlMDmX\n         DPTA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20230601; t=1699440239; x=1700045039;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n         :subject:date:message-id:reply-to;\n        bh=yAjfTJh92uvbCJqXeCi670gcjaUuY+h2OqROwS33rLc=;\n        b=qXtPSqaV70KgBHTGsrigewk0uBF095XFNUifPOojAFUDgME+OPL3Co4bVNaq2udEJQ\n         P4FQQkEdfcCT39W4LYvsuMlGoLOWtfKoCb718EmURMmPcU25sgv5tOY9zVrGT7NO5M3+\n         qaq4iET4tsnO7JbA8UCOljX8ND9OJPv217At+tJ6pvaJV8v0Rzd7JsoXQOMTqnUeVpxW\n         qWkMuVHnRQKzBIP7eEeszdIggSXdseBs0hmQfZj02qDw7Tp2NUtcDf/mhk+YcrdmHyMw\n         kUbkM18zmXLT5XHbtwXjfRc8jpwM7Q1XZpyJD7Mp9UN57XCOc9DE6u0AIIVWbb/i5JRD\n         n1WQ==",
        "X-Gm-Message-State": "AOJu0YzOvci7e2WTetOfheKR87NDN2VQruw9A/KdIe9xIBV86k8SjafZ\n\tm3t7wMhb/evjBKy3VwL7zIrAtA==",
        "X-Google-Smtp-Source": "\n AGHT+IHIdIU7uiCUR0CHcHyVefUtJ+PHqY1ijnjV387qyUxWKGaH50797907TE+JsncllGcRuZSEtA==",
        "X-Received": "by 2002:a05:600c:3104:b0:406:3fda:962c with SMTP id\n g4-20020a05600c310400b004063fda962cmr1471144wmo.31.1699440238661;\n        Wed, 08 Nov 2023 02:43:58 -0800 (PST)",
        "From": "Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>",
        "To": "David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,\n Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,\n Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>,\n Rob Herring <robh+dt@kernel.org>,\n Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,\n Conor Dooley <conor+dt@kernel.org>, Alim Akhtar <alim.akhtar@samsung.com>,\n Andi Shyti <andi.shyti@kernel.org>, Jonathan Cameron <jic23@kernel.org>,\n Lars-Peter Clausen <lars@metafoo.de>, Lee Jones <lee@kernel.org>,\n Ulf Hansson <ulf.hansson@linaro.org>, Tomasz Figa <tomasz.figa@gmail.com>,\n Sylwester Nawrocki <s.nawrocki@samsung.com>,\n Linus Walleij <linus.walleij@linaro.org>,\n Thierry Reding <thierry.reding@gmail.com>,\n =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <u.kleine-koenig@pengutronix.de>,\n Alessandro Zummo <a.zummo@towertech.it>,\n Alexandre Belloni <alexandre.belloni@bootlin.com>,\n Greg Kroah-Hartman <gregkh@linuxfoundation.org>,\n Jiri Slaby <jirislaby@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>,\n Mark Brown <broonie@kernel.org>, Jaehoon Chung <jh80.chung@samsung.com>,\n Sam Protsenko <semen.protsenko@linaro.org>, dri-devel@lists.freedesktop.org,\n devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,\n linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org,\n linux-i2c@vger.kernel.org, linux-iio@vger.kernel.org,\n linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org,\n linux-pwm@vger.kernel.org, linux-rtc@vger.kernel.org,\n linux-serial@vger.kernel.org, alsa-devel@alsa-project.org,\n linux-sound@vger.kernel.org",
        "Cc": "Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>",
        "Subject": "[PATCH 01/17] dt-bindings: hwinfo: samsung,exynos-chipid: add\n specific compatibles for existing SoC",
        "Date": "Wed,  8 Nov 2023 11:43:27 +0100",
        "Message-Id": "<20231108104343.24192-2-krzysztof.kozlowski@linaro.org>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20231108104343.24192-1-krzysztof.kozlowski@linaro.org>",
        "References": "<20231108104343.24192-1-krzysztof.kozlowski@linaro.org>",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-rtc@vger.kernel.org",
        "List-Id": "<linux-rtc.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-rtc+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-rtc+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit"
    },
    "content": "Samsung Exynos SoC reuses several devices from older designs, thus\nhistorically we kept the old (block's) compatible only.  This works fine\nand there is no bug here, however guidelines expressed in\nDocumentation/devicetree/bindings/writing-bindings.rst state that:\n1. Compatibles should be specific.\n2. We should add new compatibles in case of bugs or features.\n\nAdd compatibles specific to each SoC in front of all old-SoC-like\ncompatibles.\n\nSigned-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>\n\n---\n\nI propose to take the patch through Samsung SoC (me). See cover letter\nfor explanation.\n---\n .../bindings/hwinfo/samsung,exynos-chipid.yaml  | 17 ++++++++++++++---\n 1 file changed, 14 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml b/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml\nindex 95cbdcb56efe..45f3d468db7c 100644\n--- a/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml\n+++ b/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml\n@@ -11,9 +11,20 @@ maintainers:\n \n properties:\n   compatible:\n-    enum:\n-      - samsung,exynos4210-chipid\n-      - samsung,exynos850-chipid\n+    oneOf:\n+      - enum:\n+          - samsung,exynos4210-chipid\n+          - samsung,exynos850-chipid\n+      - items:\n+          - enum:\n+              - samsung,exynos5433-chipid\n+              - samsung,exynos7-chipid\n+          - const: samsung,exynos4210-chipid\n+      - items:\n+          - enum:\n+              - samsung,exynos7885-chipid\n+              - samsung,exynosautov9-chipid\n+          - const: samsung,exynos850-chipid\n \n   reg:\n     maxItems: 1\n",
    "prefixes": [
        "01/17"
    ]
}