{"id":2220304,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2220304/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-gpio/patch/20260406-gmsl2-3_serdes-v10-6-645560fedca5@analog.com/","project":{"id":42,"url":"http://patchwork.ozlabs.org/api/1.1/projects/42/?format=json","name":"Linux GPIO development","link_name":"linux-gpio","list_id":"linux-gpio.vger.kernel.org","list_email":"linux-gpio@vger.kernel.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260406-gmsl2-3_serdes-v10-6-645560fedca5@analog.com>","date":"2026-04-06T20:14:45","name":"[v10,06/22] dt-bindings: media: i2c: max96712: use pattern properties for ports","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"1ff962f1e8bb1cd48f59ed38a57c2313e9cc8156","submitter":{"id":88270,"url":"http://patchwork.ozlabs.org/api/1.1/people/88270/?format=json","name":"Dumitru Ceclan via B4 Relay","email":"devnull+dumitru.ceclan.analog.com@kernel.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linux-gpio/patch/20260406-gmsl2-3_serdes-v10-6-645560fedca5@analog.com/mbox/","series":[{"id":498894,"url":"http://patchwork.ozlabs.org/api/1.1/series/498894/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-gpio/list/?series=498894","date":"2026-04-06T20:14:42","name":"media: i2c: add Maxim GMSL2/3 serializer and deserializer drivers","version":10,"mbox":"http://patchwork.ozlabs.org/series/498894/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2220304/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2220304/checks/","tags":{},"headers":{"Return-Path":"\n <linux-gpio+bounces-34728-incoming=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linux-gpio@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=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=c5Dn8HPb;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-gpio+bounces-34728-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=\"c5Dn8HPb\"","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"],"Received":["from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::12fc:5321])\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 4fqLLM3G3Lz1yFt\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 07 Apr 2026 06:20:43 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 2ACBE304E507\n\tfor <incoming@patchwork.ozlabs.org>; Mon,  6 Apr 2026 20:15:44 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 2BCBD39EF25;\n\tMon,  6 Apr 2026 20:15:22 +0000 (UTC)","from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\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 A6EE839D6E1;\n\tMon,  6 Apr 2026 20:15:21 +0000 (UTC)","by smtp.kernel.org (Postfix) with ESMTPS id 875B7C2BCB1;\n\tMon,  6 Apr 2026 20:15:21 +0000 (UTC)","from aws-us-west-2-korg-lkml-1.web.codeaurora.org\n (localhost.localdomain [127.0.0.1])\n\tby smtp.lore.kernel.org (Postfix) with ESMTP id 7B473F46C7C;\n\tMon,  6 Apr 2026 20:15:21 +0000 (UTC)"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775506521; cv=none;\n b=FzJLVhV1pLf72n2GOovV6vEdK/URx8CfaXIXV0GrSqiEozwVl8vGCU8ie77NhaNL0xjCCRdQUz4cYKPy0Egdj8c5CHKZRrITtMiJE7qG+gX3Wy4eEzSbeIw1EZfNP1zaEen/7btlurFM9XVqAn4MKLFx9EFzGtNm1RDeUM73Hr0=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775506521; c=relaxed/simple;\n\tbh=IQBwMweUNw6Rt0TiIjy8p83MEuUtBZbfZ7258tl1oDQ=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:\n\t In-Reply-To:To:Cc;\n b=CndtLUpLibzTw6L5l9Y09l5WmnmmC29iKI0jcUvWnKq8eBwUGcuziFeGADl+xQY1/dmvzyaPrXeSErndsGJZ4dL0KHnJq+ANQr1AciMaOoVO6XPx60GL5jrL+1f5KCHTxorRV2W0u+HqJSlArxD3Mv9bnGDJ9hes/UiUYv0qYjU=","ARC-Authentication-Results":"i=1; smtp.subspace.kernel.org;\n dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=c5Dn8HPb; arc=none smtp.client-ip=10.30.226.201","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1775506521;\n\tbh=IQBwMweUNw6Rt0TiIjy8p83MEuUtBZbfZ7258tl1oDQ=;\n\th=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From;\n\tb=c5Dn8HPbJR6i75U0y4N1Do8FclnV036KKGC6/NAUEaMdgoX0a4YxeiOGwNVYdBD4i\n\t 0oBzS+DD7C0lyy72S1seROKLQDFfKwWHexOu3lbJIL9colfXGglpbaN5XHvq0yD3N+\n\t qX+GI7vu4+88SPV9QxbNuQGqYhtm0LzS33AAKaNDMUfWM8r8qiQ+QZBOqZuvxU+dCm\n\t SoYHaB2qA43dLiTb/eCdVKlOvAJrcBFZuivVMltS14T+vrxSpTRUreKFAonrytgukj\n\t zSunhJBaSNRiFgmPAlohE6KF/8/7p9kk6ZFQdknahFpr9fHX3HQxYLaeg3KR4cvRS4\n\t YWw3mGUApRf1g==","From":"Dumitru Ceclan via B4 Relay\n <devnull+dumitru.ceclan.analog.com@kernel.org>","Date":"Mon, 06 Apr 2026 23:14:45 +0300","Subject":"[PATCH v10 06/22] dt-bindings: media: i2c: max96712: use pattern\n properties for ports","Precedence":"bulk","X-Mailing-List":"linux-gpio@vger.kernel.org","List-Id":"<linux-gpio.vger.kernel.org>","List-Subscribe":"<mailto:linux-gpio+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:linux-gpio+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"8bit","Message-Id":"<20260406-gmsl2-3_serdes-v10-6-645560fedca5@analog.com>","References":"<20260406-gmsl2-3_serdes-v10-0-645560fedca5@analog.com>","In-Reply-To":"<20260406-gmsl2-3_serdes-v10-0-645560fedca5@analog.com>","To":"Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>,\n  Mauro Carvalho Chehab <mchehab@kernel.org>,\n  Sakari Ailus <sakari.ailus@linux.intel.com>,\n  Laurent Pinchart <laurent.pinchart@ideasonboard.com>,\n  Julien Massot <julien.massot@collabora.com>, Rob Herring <robh@kernel.org>,\n\t=?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>,\n  Greg Kroah-Hartman <gregkh@linuxfoundation.org>,\n  Cosmin Tanislav <cosmin.tanislav@analog.com>","Cc":"mitrutzceclan@gmail.com, linux-media@vger.kernel.org,\n  linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,\n  linux-staging@lists.linux.dev, linux-gpio@vger.kernel.org, =?utf-8?q?Nikla?=\n\t=?utf-8?q?s_S=C3=B6derlund?= <niklas.soderlund+renesas@ragnatech.se>,\n  Martin Hecht <Martin.Hecht@avnet.eu>,\n  Cosmin Tanislav <demonsingur@gmail.com>","X-Mailer":"b4 0.14.3","X-Developer-Signature":"v=1; a=ed25519-sha256; t=1775506518; l=2057;\n i=dumitru.ceclan@analog.com; s=20240313; h=from:subject:message-id;\n bh=jS3B9xKEhVOSCEaka8S3gGwbqQ79uBc4o5geNrA6dpY=;\n b=bhkun5Y+Ph3DTaCcRhX8gK937XWKDeZ0E1ZzyGLf8Ls2Q4htReucSvwI/WWOqeSsOqs+Q/DG7\n 7q62zOndlcvBzLcTZoEPCpRLE2e0IMcNBl1cPRlXzxz9MDpIfzLbx1g","X-Developer-Key":"i=dumitru.ceclan@analog.com; a=ed25519;\n pk=HdqMlVyrcazwoiai7oN6ghU+Bj1pusGUFRl30jhS7Bo=","X-Endpoint-Received":"by B4 Relay for dumitru.ceclan@analog.com/20240313\n with auth_id=140","X-Original-From":"Dumitru Ceclan <dumitru.ceclan@analog.com>","Reply-To":"dumitru.ceclan@analog.com"},"content":"From: Cosmin Tanislav <demonsingur@gmail.com>\n\nThe MAX96712 and MAX96724 support up to 4 separate PHYs, depending on\nthe selected PHY configuration. Use patternProperties to document this.\n\nThe input ports are all the same, use patternProperties for them.\n\nSigned-off-by: Cosmin Tanislav <demonsingur@gmail.com>\nAcked-by: Rob Herring (Arm) <robh@kernel.org>\nReviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>\n---\n .../bindings/media/i2c/maxim,max96712.yaml         | 29 ++++++++--------------\n 1 file changed, 10 insertions(+), 19 deletions(-)","diff":"diff --git a/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml b/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml\nindex 26f85151afbd..583bbd60157c 100644\n--- a/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml\n+++ b/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml\n@@ -39,27 +39,15 @@ properties:\n   ports:\n     $ref: /schemas/graph.yaml#/properties/ports\n \n-    properties:\n-      port@0:\n+    patternProperties:\n+      '^port@[0-3]$':\n         $ref: /schemas/graph.yaml#/properties/port\n-        description: GMSL Input 0\n+        description: GMSL Input ports 0-3\n \n-      port@1:\n-        $ref: /schemas/graph.yaml#/properties/port\n-        description: GMSL Input 1\n-\n-      port@2:\n-        $ref: /schemas/graph.yaml#/properties/port\n-        description: GMSL Input 2\n-\n-      port@3:\n-        $ref: /schemas/graph.yaml#/properties/port\n-        description: GMSL Input 3\n-\n-      port@4:\n+      '^port@[4-7]$':\n         $ref: /schemas/graph.yaml#/$defs/port-base\n         unevaluatedProperties: false\n-        description: CSI-2 Output\n+        description: CSI-2 Output port 0-3\n \n         properties:\n           endpoint:\n@@ -77,8 +65,11 @@ properties:\n               - data-lanes\n               - bus-type\n \n-    required:\n-      - port@4\n+    anyOf:\n+      - required: [port@4]\n+      - required: [port@5]\n+      - required: [port@6]\n+      - required: [port@7]\n \n required:\n   - compatible\n","prefixes":["v10","06/22"]}