{"id":2227087,"url":"http://patchwork.ozlabs.org/api/patches/2227087/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-pwm/patch/20260423083731.1226-1-dongxuyang@eswincomputing.com/","project":{"id":38,"url":"http://patchwork.ozlabs.org/api/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":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260423083731.1226-1-dongxuyang@eswincomputing.com>","list_archive_url":null,"date":"2026-04-23T08:37:31","name":"[v5,1/2] dt-bindings: pwm: dwc: add optional reset","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"431a33d6dbf65f374da73488e6e3fdb114ddb008","submitter":{"id":90849,"url":"http://patchwork.ozlabs.org/api/people/90849/?format=json","name":"Xuyang Dong","email":"dongxuyang@eswincomputing.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linux-pwm/patch/20260423083731.1226-1-dongxuyang@eswincomputing.com/mbox/","series":[{"id":501161,"url":"http://patchwork.ozlabs.org/api/series/501161/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-pwm/list/?series=501161","date":"2026-04-23T08:36:44","name":"Update designware pwm driver","version":5,"mbox":"http://patchwork.ozlabs.org/series/501161/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2227087/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2227087/checks/","tags":{},"related":[],"headers":{"Return-Path":"\n <linux-pwm+bounces-8677-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 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-pwm+bounces-8677-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=162.243.161.220","smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=eswincomputing.com","smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=eswincomputing.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 4g1Ty32vTvz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 18:38:19 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 125E9300C9BE\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 08:38:17 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 13E4B3DEFED;\n\tThu, 23 Apr 2026 08:38:14 +0000 (UTC)","from zg8tmtyylji0my4xnjeumjiw.icoremail.net\n (zg8tmtyylji0my4xnjeumjiw.icoremail.net [162.243.161.220])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id CFDCA3DEAD1;\n\tThu, 23 Apr 2026 08:38:05 +0000 (UTC)","from E0005152DT.eswin.cn (unknown [10.12.96.41])\n\tby app2 (Coremail) with SMTP id TQJkCgDX7J9N2ulpE_kTAA--.59404S2;\n\tThu, 23 Apr 2026 16:37:47 +0800 (CST)"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1776933490; cv=none;\n b=nrMu64/W2AeI7C57XYokjc7F69XNxwIBC4cdL6DdJvbKDAWGYFN87Jds9IqlIC/0DlV2+LyB2j2GlmNWTq28y4AIb9Tba9HKTf8G+OFOt/tTGtZbp8SBived1MU9FXUdoybw1u1ti7JBRIbc7VJGvD04fSwSmHhZouacYpmojPE=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1776933490; c=relaxed/simple;\n\tbh=GgThXA9YmoNS0/HPwxOIebiqztP75u9wD1eoK+HpqOg=;\n\th=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:\n\t MIME-Version;\n b=sx8ONrn/4YOEIqKyHdwjuPmi8tjrXNkxgpP4Gyq3LRWS34/SyYQtiNC1gZW+YAoeWtpo6KLXj1WVlWL/ldcyu+8pejUeXuUpr4UF4nj0yhZs0mFgFlpw5Q+Id0vINE1YEo1sPf4Z9pium+GxzwJNCNcf2VUGXe7UiseFD2BCFN0=","ARC-Authentication-Results":"i=1; smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=eswincomputing.com;\n spf=pass smtp.mailfrom=eswincomputing.com;\n arc=none smtp.client-ip=162.243.161.220","From":"dongxuyang@eswincomputing.com","To":"ukleinek@kernel.org,\n\trobh@kernel.org,\n\tkrzk+dt@kernel.org,\n\tconor+dt@kernel.org,\n\tben-linux@fluff.org,\n\tben.dooks@codethink.co.uk,\n\tp.zabel@pengutronix.de,\n\tlinux-pwm@vger.kernel.org,\n\tdevicetree@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org","Cc":"ningyu@eswincomputing.com,\n\tlinmin@eswincomputing.com,\n\txuxiang@eswincomputing.com,\n\twangguosheng@eswincomputing.com,\n\tpinkesh.vaghela@einfochips.com,\n\tXuyang Dong <dongxuyang@eswincomputing.com>","Subject":"[PATCH v5 1/2] dt-bindings: pwm: dwc: add optional reset","Date":"Thu, 23 Apr 2026 16:37:31 +0800","Message-Id":"<20260423083731.1226-1-dongxuyang@eswincomputing.com>","X-Mailer":"git-send-email 2.31.1.windows.1","In-Reply-To":"<20260423083644.1168-1-dongxuyang@eswincomputing.com>","References":"<20260423083644.1168-1-dongxuyang@eswincomputing.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-CM-TRANSID":"TQJkCgDX7J9N2ulpE_kTAA--.59404S2","X-Coremail-Antispam":"1UD129KBjvJXoW7Ww4fAFyUtF4DGFW3try3twb_yoW8CFyDpF\n\t43ZrZ2qr1fXr13Ww4rXF1kC3WaqF1kJr47Kr40qw42kanFqa1jqayakw15Aay5ArZ2vrW3\n\tWa97ur13A3Wjvr7anT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2\n\t9KBjDU0xBIdaVrnRJUUUBv14x267AKxVW8JVW5JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0\n\trVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK02\n\t1l84ACjcxK6xIIjxv20xvE14v26F1j6w1UM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4U\n\tJVWxJr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Gc\n\tCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E\n\t2Ix0cI8IcVAFwI0_Jrv_JF1lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkEbVWUJV\n\tW8JwACjcxG0xvY0x0EwIxGrwACjI8F5VA0II8E6IAqYI8I648v4I1lFIxGxcIEc7CjxVA2\n\tY2ka0xkIwI1lw4CEc2x0rVAKj4xxMxkF7I0En4kS14v26r1q6r43MxkIecxEwVCm-wCF04\n\tk20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18\n\tMI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_GFv_WrylIxkGc2Ij64vIr4\n\t1lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1l\n\tIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4\n\tA2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x0JUHCJQUUUUU=","X-CM-SenderInfo":"pgrqw5xx1d0w46hv4xpqfrz1xxwl0woofrz/"},"content":"From: Xuyang Dong <dongxuyang@eswincomputing.com>\n\nThe DesignWare PWM includes separate reset signals dedicated to each clock\ndomain:\nThe presetn signal resets logic in pclk domain.\nThe timer_N_resetn signal resets logic in the timer_N_clk domain.\nThe resets are active-low.\n\nEIC7700 use DesignWare IP for PWM controllers. Add ESWIN EIC7700 support\n in snps,dw-apb-timers-pwm2.yaml\n\nSigned-off-by: Xuyang Dong <dongxuyang@eswincomputing.com>\n---\n .../bindings/pwm/snps,dw-apb-timers-pwm2.yaml | 29 ++++++++++++++++---\n 1 file changed, 25 insertions(+), 4 deletions(-)","diff":"diff --git a/Documentation/devicetree/bindings/pwm/snps,dw-apb-timers-pwm2.yaml b/Documentation/devicetree/bindings/pwm/snps,dw-apb-timers-pwm2.yaml\nindex 7523a89a1773..d9685fdd72a7 100644\n--- a/Documentation/devicetree/bindings/pwm/snps,dw-apb-timers-pwm2.yaml\n+++ b/Documentation/devicetree/bindings/pwm/snps,dw-apb-timers-pwm2.yaml\n@@ -20,12 +20,11 @@ description:\n   instead of having to encode the IP version number in the device tree\n   compatible.\n \n-allOf:\n-  - $ref: pwm.yaml#\n-\n properties:\n   compatible:\n-    const: snps,dw-apb-timers-pwm2\n+    enum:\n+      - snps,dw-apb-timers-pwm2\n+      - eswin,eic7700-pwm\n \n   reg:\n     maxItems: 1\n@@ -43,6 +42,12 @@ properties:\n       - const: bus\n       - const: timer\n \n+  resets:\n+    minItems: 1\n+    items:\n+      - description: Interface bus reset\n+      - description: PWM timer logic reset\n+\n   snps,pwm-number:\n     $ref: /schemas/types.yaml#/definitions/uint32\n     description: The number of PWM channels configured for this instance\n@@ -54,6 +59,22 @@ required:\n   - clocks\n   - clock-names\n \n+allOf:\n+  - $ref: pwm.yaml#\n+\n+  - if:\n+      properties:\n+        compatible:\n+          contains:\n+            const: eswin,eic7700-pwm\n+    then:\n+      properties:\n+        resets:\n+          items:\n+            - description: Interface bus reset\n+      required:\n+        - resets\n+\n additionalProperties: false\n \n examples:\n","prefixes":["v5","1/2"]}