{"id":2175065,"url":"http://patchwork.ozlabs.org/api/1.0/patches/2175065/?format=json","project":{"id":38,"url":"http://patchwork.ozlabs.org/api/1.0/projects/38/?format=json","name":"Linux PWM development","link_name":"linux-pwm","list_id":"linux-pwm.vger.kernel.org","list_email":"linux-pwm@vger.kernel.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20251217082504.80226-2-richard.genoud@bootlin.com>","date":"2025-12-17T08:25:01","name":"[v2,1/4] dt-bindings: pwm: allwinner: add h616 pwm compatible","commit_ref":null,"pull_url":null,"state":"changes-requested","archived":false,"hash":"47fda5ba3f608a5f5d6cf65726144cc9d89e543c","submitter":{"id":88519,"url":"http://patchwork.ozlabs.org/api/1.0/people/88519/?format=json","name":"Richard Genoud","email":"richard.genoud@bootlin.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linux-pwm/patch/20251217082504.80226-2-richard.genoud@bootlin.com/mbox/","series":[{"id":485644,"url":"http://patchwork.ozlabs.org/api/1.0/series/485644/?format=json","date":"2025-12-17T08:25:01","name":"Introduce Allwinner H616 PWM controller","version":2,"mbox":"http://patchwork.ozlabs.org/series/485644/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2175065/checks/","tags":{},"headers":{"Return-Path":"\n <linux-pwm+bounces-7803-incoming=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linux-pwm@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=bootlin.com header.i=@bootlin.com header.a=rsa-sha256\n header.s=dkim header.b=h+gdosi9;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c09:e001:a7::12fc:5321; helo=sto.lore.kernel.org;\n envelope-from=linux-pwm+bounces-7803-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com\n header.b=\"h+gdosi9\"","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=185.246.84.56","smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=bootlin.com","smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=bootlin.com"],"Received":["from sto.lore.kernel.org (sto.lore.kernel.org\n [IPv6:2600:3c09:e001:a7::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 4dWRgw4Fkbz1y2F\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 17 Dec 2025 19:25:32 +1100 (AEDT)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id 484D43017C95\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 17 Dec 2025 08:25:29 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id BCCD42D9782;\n\tWed, 17 Dec 2025 08:25:28 +0000 (UTC)","from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56])\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 31F6B336EE8\n\tfor <linux-pwm@vger.kernel.org>; Wed, 17 Dec 2025 08:25:24 +0000 (UTC)","from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233])\n\tby smtpout-02.galae.net (Postfix) with ESMTPS id C1E731A2275;\n\tWed, 17 Dec 2025 08:25:22 +0000 (UTC)","from mail.galae.net (mail.galae.net [212.83.136.155])\n\tby smtpout-01.galae.net (Postfix) with ESMTPS id 9698E6072F;\n\tWed, 17 Dec 2025 08:25:22 +0000 (UTC)","from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon)\n with ESMTPSA id BEF33119502E7;\n\tWed, 17 Dec 2025 09:25:16 +0100 (CET)"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1765959928; cv=none;\n b=j2wTYVSxZ95PnfvA5HWOmbFNvhFGJ9ZYFmYtfBTjK2ib1ZrEza+ASNUM08K0ONw47xosrm5PtCr85aXHqSDrWVYvWDX/QRhj2A2m1gBGmwM1Ot4Y1afos3nveHAGzniIbLHk+lQMOetnovgKBgOw6MI2TpGLUeomfS4OfGCLo/U=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1765959928; c=relaxed/simple;\n\tbh=AOtlkmYcFf4N1NoTUtXQQ8B8TY+AgJ+8WpzwyZyEyzs=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=FqoKU6ER23JQ3JfWwFrzioSgdr3qx1/mkUsfJKZdoiNGCk8nse1sSPAzrAsRmcP894Z/FDMYABnLAZm1yCisaO1E6+IyeTyJ0WP1wBYfBRCQ8zwWzrJuWUB8O/x+gVE+mRxQ/EWXT4SBGQtryOX8VCdwEwXfg83thxDhnI5CJqU=","ARC-Authentication-Results":"i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=bootlin.com;\n spf=pass smtp.mailfrom=bootlin.com;\n dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com\n header.b=h+gdosi9; arc=none smtp.client-ip=185.246.84.56","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim;\n\tt=1765959918; h=from:subject:date:message-id:to:cc:mime-version:\n\t content-transfer-encoding:in-reply-to:references;\n\tbh=x3b+xMraFqoaM2Sw2nhC5gdOxqmlP8rsrzs6PW+Y/W8=;\n\tb=h+gdosi9m1kVDsbEQmxRUF/LDE/F1BxtfsDtAw1/OhIJh3SNytZDMXwZhUuV4VrQpuQ8li\n\tV2PrC75hkRITRlQIcC/e+iP+tvtHvuW+keg/hwxf+qZKAgbr6cRfmb49D15Et07m3b74N2\n\tc5gfjDE5Z/VPi1L2bRhalQyzh0WcL0qQmBH7Dy3XftiTr+B+TUc0r9t73V2uJug/EMrPOS\n\t82Ej4aJtQ5qBjfse/gBxo5YHMla0qYrf5Hz1rBe++zH/XV38A/rug/JYn4kYPZW1dzAw9f\n\tBzD28FjX7Mn0LMRRXjwtUN5Znpw15I+xWgLcpaaOLYjt+KUXROrwJfB2Iq3qYQ==","From":"Richard Genoud <richard.genoud@bootlin.com>","To":"=?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <u.kleine-koenig@baylibre.com>,\n Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>,\n Conor Dooley <conor+dt@kernel.org>, Chen-Yu Tsai <wens@csie.org>,\n Jernej Skrabec <jernej.skrabec@gmail.com>,\n Samuel Holland <samuel@sholland.org>, Philipp Zabel <p.zabel@pengutronix.de>","Cc":"Thomas Petazzoni <thomas.petazzoni@bootlin.com>,\n\tlinux-pwm@vger.kernel.org,\n\tdevicetree@vger.kernel.org,\n\tlinux-arm-kernel@lists.infradead.org,\n\tlinux-sunxi@lists.linux.dev,\n\tlinux-kernel@vger.kernel.org,\n\tRichard Genoud <richard.genoud@bootlin.com>,\n\tKrzysztof Kozlowski <krzk@kernel.org>","Subject":"[PATCH v2 1/4] dt-bindings: pwm: allwinner: add h616 pwm compatible","Date":"Wed, 17 Dec 2025 09:25:01 +0100","Message-ID":"<20251217082504.80226-2-richard.genoud@bootlin.com>","X-Mailer":"git-send-email 2.47.3","In-Reply-To":"<20251217082504.80226-1-richard.genoud@bootlin.com>","References":"<20251217082504.80226-1-richard.genoud@bootlin.com>","Precedence":"bulk","X-Mailing-List":"linux-pwm@vger.kernel.org","List-Id":"<linux-pwm.vger.kernel.org>","List-Subscribe":"<mailto:linux-pwm+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:linux-pwm+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-Last-TLS-Session-Version":"TLSv1.3"},"content":"Allwinner H616 PWM block is quite different from the A10 or H6, but at\nthe end, it uses the same clocks as the H6; so the sun4i pwm binding can\nbe used.\nIt has 6 channels than can generate PWM waveforms or clocks if bypass is\nenabled.\n\nSuggested-by: Krzysztof Kozlowski <krzk@kernel.org>\nSigned-off-by: Richard Genoud <richard.genoud@bootlin.com>\n---\n .../bindings/pwm/allwinner,sun4i-a10-pwm.yaml | 19 ++++++++++++++++++-\n 1 file changed, 18 insertions(+), 1 deletion(-)","diff":"diff --git a/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml b/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml\nindex 1197858e431f..4f58110ec98f 100644\n--- a/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml\n+++ b/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml\n@@ -14,6 +14,9 @@ properties:\n   \"#pwm-cells\":\n     const: 3\n \n+  \"#clock-cells\":\n+    const: 1\n+\n   compatible:\n     oneOf:\n       - const: allwinner,sun4i-a10-pwm\n@@ -36,6 +39,7 @@ properties:\n           - const: allwinner,sun50i-h5-pwm\n           - const: allwinner,sun5i-a13-pwm\n       - const: allwinner,sun50i-h6-pwm\n+      - const: allwinner,sun50i-h616-pwm\n \n   reg:\n     maxItems: 1\n@@ -62,7 +66,9 @@ allOf:\n       properties:\n         compatible:\n           contains:\n-            const: allwinner,sun50i-h6-pwm\n+            enum:\n+              - allwinner,sun50i-h6-pwm\n+              - allwinner,sun50i-h616-pwm\n \n     then:\n       properties:\n@@ -83,6 +89,17 @@ allOf:\n         clocks:\n           maxItems: 1\n \n+  - if:\n+      not:\n+        properties:\n+          compatible:\n+            contains:\n+              const: allwinner,sun50i-h616-pwm\n+\n+    then:\n+      properties:\n+        \"#clock-cells\": false\n+\n required:\n   - compatible\n   - reg\n","prefixes":["v2","1/4"]}