Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1861448/?format=api
{ "id": 1861448, "url": "http://patchwork.ozlabs.org/api/patches/1861448/?format=api", "web_url": "http://patchwork.ozlabs.org/project/rtc-linux/patch/20231108104343.24192-8-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-8-krzysztof.kozlowski@linaro.org>", "list_archive_url": null, "date": "2023-11-08T10:43:33", "name": "[07/17] dt-bindings: serial: samsung: add specific compatibles for existing SoC", "commit_ref": null, "pull_url": null, "state": "handled-elsewhere", "archived": false, "hash": "99f214c2bc1ce88ef891dd8d9b1e279cb280ca9c", "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-8-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/1861448/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1861448/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-rtc+bounces-228-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=EhaNtd0b;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2604:1380:40f1:3f00::1; helo=sy.mirrors.kernel.org;\n envelope-from=linux-rtc+bounces-228-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=\"EhaNtd0b\"" ], "Received": [ "from sy.mirrors.kernel.org (sy.mirrors.kernel.org\n [IPv6:2604:1380:40f1:3f00::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 4SQMCc3VhMz1yRQ\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 8 Nov 2023 21:44:28 +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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 3F9FCB20F58\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 8 Nov 2023 10:44:28 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 0469F12E63;\n\tWed, 8 Nov 2023 10:44:26 +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 65E0A12E58\n\tfor <linux-rtc@vger.kernel.org>; Wed, 8 Nov 2023 10:44:24 +0000 (UTC)", "from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com\n [IPv6:2a00:1450:4864:20::22b])\n\tby lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A4082127\n\tfor <linux-rtc@vger.kernel.org>; Wed, 8 Nov 2023 02:44:23 -0800 (PST)", "by mail-lj1-x22b.google.com with SMTP id\n 38308e7fff4ca-2c72e275d96so25334111fa.2\n for <linux-rtc@vger.kernel.org>; Wed, 08 Nov 2023 02:44:23 -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.44.18\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 08 Nov 2023 02:44:21 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1699440262; x=1700045062;\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=932+POzuiCpVd1FMO8emES7304xq1CZHsFhbsNym7D8=;\n b=EhaNtd0bfrAm6px/3RYUsAwCR4nSvu+SAtQY7zQxmXwMSDX3RxmwPOJxfDWG+rHUtq\n ZR0WGiK5hakg8RqL7b1HXhHvryvlQrjQMmdE7HM9F3hx4jjJpMHfuuD7wbjN4OxPv1JW\n VBxOYeByEVZOUu+DLYfGVEwqXx/Wvx9rEo1SEXNC3xQUlGZfnwfWhI0AsoZJUraZrt0Q\n Q3zTvDhpnSP9qeC27LQ7+8HgM+LBMMjoDpLH7xCbf7x6+NZmboPp5VC6ilUHP7VDlr9h\n bFTWvu7Jh07B5vQBaZ5YrDrLU3OX2QfVKO/K0jOm+uMx3qscz7WuCgoFRGyqWsR/oNyf\n K6lQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1699440262; x=1700045062;\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=932+POzuiCpVd1FMO8emES7304xq1CZHsFhbsNym7D8=;\n b=YYeUf1u2Ze8cMpvNqkH0foupYWG8O3LOsk7QaZNbbR1PkGso658kJRBvLky0fRITmA\n X/BQ36wXSFBHXdw1tUKPQs3WXECscC8U6zLRXbvTwDt/siWbQJj3t5Hhc65UGIqljLBV\n GKH5wkfH7Cuppj8M1JZ/z20v7nbIJoJn/WHTtDSoImcNDth8L6o93FZnXsLU+3lLU2Kq\n 2MYU+f/fgGaJhpxyQfA6R5yPg+OiandggOlILAvLXK+PYL80LfdeEvPdCpDhWWmpiv+B\n yNBtX3TS9mPt+vxoUFqC6n1WWv0G5kEcZtEorY9K30tZDyCChoLyeHfUmBA6DvP/wyLk\n uCwQ==", "X-Gm-Message-State": "AOJu0YyfWFXWy67zH65728amV/jUhM6oznkmEsn0aUntNd8X1/XTXm20\n\tkVOG7WTxzNVyGM7sFlrDCJz/Rw==", "X-Google-Smtp-Source": "\n AGHT+IGCpSGI0CR0667rdoPAw+/9BwGIOQ5vf5WLNiqXBsw+h3xPKE36aRvV/bSi7NnLY3zOJHYzOg==", "X-Received": "by 2002:a05:651c:504:b0:2c5:14e3:f1b8 with SMTP id\n o4-20020a05651c050400b002c514e3f1b8mr1507701ljp.7.1699440261813;\n Wed, 08 Nov 2023 02:44:21 -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 07/17] dt-bindings: serial: samsung: add specific compatibles\n for existing SoC", "Date": "Wed, 8 Nov 2023 11:43:33 +0100", "Message-Id": "<20231108104343.24192-8-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\nRe-shuffle also the entries in compatibles, so the one-compatible-enum\nis the first.\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 .../devicetree/bindings/serial/samsung_uart.yaml | 14 +++++++++++---\n 1 file changed, 11 insertions(+), 3 deletions(-)", "diff": "diff --git a/Documentation/devicetree/bindings/serial/samsung_uart.yaml b/Documentation/devicetree/bindings/serial/samsung_uart.yaml\nindex ac60ab1e35e3..0d0215b23ab7 100644\n--- a/Documentation/devicetree/bindings/serial/samsung_uart.yaml\n+++ b/Documentation/devicetree/bindings/serial/samsung_uart.yaml\n@@ -18,9 +18,6 @@ description: |+\n properties:\n compatible:\n oneOf:\n- - items:\n- - const: samsung,exynosautov9-uart\n- - const: samsung,exynos850-uart\n - enum:\n - apple,s5l-uart\n - axis,artpec8-uart\n@@ -29,6 +26,17 @@ properties:\n - samsung,exynos4210-uart\n - samsung,exynos5433-uart\n - samsung,exynos850-uart\n+ - items:\n+ - enum:\n+ - samsung,exynos7-uart\n+ - const: samsung,exynos4210-uart\n+ - items:\n+ - enum:\n+ - samsung,exynos7885-uart\n+ - const: samsung,exynos5433-uart\n+ - items:\n+ - const: samsung,exynosautov9-uart\n+ - const: samsung,exynos850-uart\n \n reg:\n maxItems: 1\n", "prefixes": [ "07/17" ] }