Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2196630/?format=api
{ "id": 2196630, "url": "http://patchwork.ozlabs.org/api/patches/2196630/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openbmc/patch/20260215163553.1334475-1-tmaimon77@gmail.com/", "project": { "id": 56, "url": "http://patchwork.ozlabs.org/api/projects/56/?format=api", "name": "OpenBMC development", "link_name": "openbmc", "list_id": "openbmc.lists.ozlabs.org", "list_email": "openbmc@lists.ozlabs.org", "web_url": "http://github.com/openbmc/", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260215163553.1334475-1-tmaimon77@gmail.com>", "list_archive_url": null, "date": "2026-02-15T16:35:53", "name": "[v2] dt-bindings: hwmon: convert npcm750-pwm-fan to DT schema", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "5f9c4d832aabab9cdb4701f0d8d95d3508832c4c", "submitter": { "id": 72291, "url": "http://patchwork.ozlabs.org/api/people/72291/?format=api", "name": "Tomer Maimon", "email": "tmaimon77@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/openbmc/patch/20260215163553.1334475-1-tmaimon77@gmail.com/mbox/", "series": [ { "id": 492227, "url": "http://patchwork.ozlabs.org/api/series/492227/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openbmc/list/?series=492227", "date": "2026-02-15T16:35:53", "name": "[v2] dt-bindings: hwmon: convert npcm750-pwm-fan to DT schema", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/492227/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2196630/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2196630/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <openbmc+bounces-1366-incoming=patchwork.ozlabs.org@lists.ozlabs.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "openbmc@lists.ozlabs.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20230601 header.b=NL/aBeaY;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=2404:9400:21b9:f100::1; helo=lists.ozlabs.org;\n envelope-from=openbmc+bounces-1366-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)", "lists.ozlabs.org;\n arc=none smtp.remote-ip=\"2a00:1450:4864:20::436\"", "lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com", "lists.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20230601 header.b=NL/aBeaY;\n\tdkim-atps=neutral", "lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com\n (client-ip=2a00:1450:4864:20::436; helo=mail-wr1-x436.google.com;\n envelope-from=tmaimon77@gmail.com; receiver=lists.ozlabs.org)" ], "Received": [ "from lists.ozlabs.org (lists.ozlabs.org\n [IPv6:2404:9400:21b9:f100::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 raw public key)\n server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fDWkN2Z0sz1xpl\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 16 Feb 2026 03:36:11 +1100 (AEDT)", "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4fDWkK6fqpz2xlw;\n\tMon, 16 Feb 2026 03:36:09 +1100 (AEDT)", "from mail-wr1-x436.google.com (mail-wr1-x436.google.com\n [IPv6:2a00:1450:4864:20::436])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4fDWkH4Yhvz2xlm\n\tfor <openbmc@lists.ozlabs.org>; Mon, 16 Feb 2026 03:36:06 +1100 (AEDT)", "by mail-wr1-x436.google.com with SMTP id\n ffacd0b85a97d-436309f1ad7so1975746f8f.3\n for <openbmc@lists.ozlabs.org>; Sun, 15 Feb 2026 08:36:06 -0800 (PST)", "from taln60.nuvoton.co.il ([212.199.177.18])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-43796ac8209sm22085970f8f.30.2026.02.15.08.35.55\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sun, 15 Feb 2026 08:35:57 -0800 (PST)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1771173369;\n\tcv=none;\n b=eKwnR4YSj3j5AVK+TaNjxUDM7xrxj54wI6F8NJEXaTOGCGfcBxg5lQnE3b0TOuRBwQE3yC1MjctnuaUGsHWZx2D+TPCOP56e+F6/ZtLqUlKBY9zr+1kEV8knFwALsaHg8mV0m4ZiMSk1Zhd/Lj2BUKl3JW/I885jzHobUxA7pxDh9DFLswATln4PODfXubPENv7RanYkiHwbIa4r24RvQAyeoYCqGCPWKLyayQjbCV7TroIo0x3WoO5f4uxlTbwepAws0eHqn1Z0nLVbhABIu68xnnZPzhBzTBOEGxQ15DTNb3gw2tegs2eWtG0iDLOh10rZQFqXHzWR0Jq7Mdv7/g==", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1771173369; c=relaxed/relaxed;\n\tbh=Rkgk08i2VDNmIlHOtwetmTzX3cu5OCSN90qqnNHKmCo=;\n\th=From:To:Cc:Subject:Date:Message-Id:MIME-Version;\n b=XbX6gD0pHaxBxMvdc8eBmhnrdaHV8qdRQUIA9mbhuSt6krD9p1g5w0aUBB3vYHsTkf3oDqqOoFoQLLHiQ2tBp0MXZQ8W+nM6AUEYrX6ICWrR4Z52JrnqOtZ0AGKrWzgGrxVWALpqfUvbJLJs5+8MR44DTFHK0YCrcNbEvYaQvURWfRFdpFmPAn5af9WBdGxZ8mJTBCyL6/ZtHD80jD0Bu5XEScpcVd1FnonvGVaMJESXY9+lJkQs+ZxCFQVARWG4LRVcqaMRkxkoUPf/VPJDfeZlMCLvQKfeYzIufuT4WzsU/FTTQvkdCAdcFNavWDFWawdP3HqU+upoyfsZfxde2A==", "ARC-Authentication-Results": "i=1; lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com; dkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20230601 header.b=NL/aBeaY; dkim-atps=neutral;\n spf=pass (client-ip=2a00:1450:4864:20::436; helo=mail-wr1-x436.google.com;\n envelope-from=tmaimon77@gmail.com;\n receiver=lists.ozlabs.org) smtp.mailfrom=gmail.com", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20230601; t=1771173358; x=1771778158;\n darn=lists.ozlabs.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=Rkgk08i2VDNmIlHOtwetmTzX3cu5OCSN90qqnNHKmCo=;\n b=NL/aBeaYYSziAD2k0SYTYpAhpy2v8pOjb9ZkitovZbmuJ7Pmrw7/zBfQdswGQ0WLjz\n 1wNJ6HlYOYZt4K/vmJ6Or4X7a+IeeSl8amzvY/A6AyFdaKAlINxprJlHCFwqnKxyug9h\n bwuJPR3g/OGmxgSkwVlqZau67KQSHhonLOqS3ZJEgaYnXC6jOlATVwIQaXvU7K5WW7Qd\n HNDEVqKKv7KJUK1NvPggz03NowzopttSa+QM6+/EeU9ttKD0Cw24yJCXebOrO+VF4Z75\n GOr0e9xlkp+bxmyFaW7qVkhmjDgFrdclRXR22bB2X6pRm4f2RKuthSG1nSWmHQH0kjhQ\n 3opw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1771173358; x=1771778158;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=Rkgk08i2VDNmIlHOtwetmTzX3cu5OCSN90qqnNHKmCo=;\n b=Z/Efowireja6o6FEuqqTYAXLZ8U+kQ3cVC3A/jFfwuuU0b4IOPku7AVDr+To5nrBSI\n ziDdjbo/Se7Fi5QmIrnpXW6jFXysbkQxRb9HOlcf+Ql+CL4XLXHhUGIAH/oG5XTrwwPs\n FqCn/zAmlr6dvcDybWJlQTBrgDMmuwM42ewVC+gpBS5/+TTzeW4KZU622cULoM4G8i/g\n zsTKE+9nYM92JEFsdKpVvZIOq8Jcwur8+Dk+9Mn5+4oMtxfH6ayjfb7HB/ARnk/DpWks\n 31iGS5dIAcVlgRdkIFPMp8OnYQVm6Uk/5taOyvzspOk/SGCoAqVyoBMtU9GBU/4dZCIN\n 7fvg==", "X-Forwarded-Encrypted": "i=1;\n AJvYcCUBjIoRdNxVAwzbc9AfWdy+8hcEoEc2/NrnacnheEwj6+qz595bu3Eti8oUR0xN9aigpgRROhsm@lists.ozlabs.org", "X-Gm-Message-State": "AOJu0Yx1y3HzSOcEuAnbF29Sx3NzSzpt7DzO6vX+3NnaDxmSv3Wfr7z1\n\tEgwVCPDcw2wgym+CbShcO/njHan+HPzKaVRwB1TrqTySQA3VssIU3sQc", "X-Gm-Gg": "AZuq6aIV3I7DVXCo1L8kaF1JRTWAFSVEu44F16RzgMzOfjoiYugWhd3jmDW0r6JSCxy\n\t5X9sNNJySkJwErk3wxS+hLeZF9FGvojDY8I0g1F35JbOif5Ez9oh2NJvW+NwyRy/FRI5Zo+1Izd\n\tkmvzNH5RuNL2ycbWl5fJtQNvXX/eql2Sbp7bne8LgCTSiHP8D5TP/BMURpcfmJrBykPEtd8Jfmh\n\tB3M2+crQMfWrIypq0JUfFDrq9BczCRwUcXGleI+AXDV8VF2z7RfVEuc+XdfRhgdF18fObwAXqmL\n\tz4mGde8MCvjZwDygdVjjQsjjUTOjpy3jRvSZCMD35yeSp22RtL/FQ+x0hC/re3f+BwLr047ByZN\n\t2YlOAkssBI4jSKqCDyGbkgO5RboPflMwOdnf13iHta4bP3/2ik48vvL3Z6+9JvEr0OZ6ISOOW7n\n\t4DUT6Hbe/uxB1Ay2d2ciIorlvq9Y1KuBCHeQ==", "X-Received": "by 2002:a05:6000:2901:b0:435:7154:2a7 with SMTP id\n ffacd0b85a97d-4379db3411emr7986116f8f.6.1771173357710;\n Sun, 15 Feb 2026 08:35:57 -0800 (PST)", "From": "Tomer Maimon <tmaimon77@gmail.com>", "To": "andrew@codeconstruct.com.au,\n\tavifishman70@gmail.com,\n\ttali.perry1@gmail.com,\n\tlinux@roeck-us.net,\n\trobh@kernel.org,\n\tkrzk+dt@kernel.org,\n\tconor+dt@kernel.org", "Cc": "venture@google.com,\n\tyuenn@google.com,\n\tbenjaminfair@google.com,\n\topenbmc@lists.ozlabs.org,\n\tlinux-hwmon@vger.kernel.org,\n\tdevicetree@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org,\n\tTomer Maimon <tmaimon77@gmail.com>", "Subject": "[PATCH v2] dt-bindings: hwmon: convert npcm750-pwm-fan to DT schema", "Date": "Sun, 15 Feb 2026 18:35:53 +0200", "Message-Id": "<20260215163553.1334475-1-tmaimon77@gmail.com>", "X-Mailer": "git-send-email 2.34.1", "X-Mailing-List": "openbmc@lists.ozlabs.org", "List-Id": "<openbmc.lists.ozlabs.org>", "List-Help": "<mailto:openbmc+help@lists.ozlabs.org>", "List-Owner": "<mailto:openbmc+owner@lists.ozlabs.org>", "List-Post": "<mailto:openbmc@lists.ozlabs.org>", "List-Subscribe": "<mailto:openbmc+subscribe@lists.ozlabs.org>,\n <mailto:openbmc+subscribe-digest@lists.ozlabs.org>,\n <mailto:openbmc+subscribe-nomail@lists.ozlabs.org>", "List-Unsubscribe": "<mailto:openbmc+unsubscribe@lists.ozlabs.org>", "Precedence": "list", "MIME-Version": "1.0", "Content-Transfer-Encoding": "quoted-printable", "X-Spam-Status": "No, score=0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,\n\tDKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=disabled\n\tversion=4.0.1", "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org" }, "content": "Convert the Nuvoton HWMON PWM and FAN controllers binding to schema\nformat.\n\nSigned-off-by: Tomer Maimon <tmaimon77@gmail.com>\n---\nAddressed comments from:\n - Rob Herring : https://www.spinics.net/lists/kernel/msg6047623.html\n\nChanges since version 1:\n - Modify yaml file.\n - Remove unnecessary symbols.\n - Add items.\n\n .../bindings/hwmon/npcm750-pwm-fan.txt | 88 -----------\n .../hwmon/nuvoton,npcm750-pwm-fan.yaml | 139 ++++++++++++++++++\n 2 files changed, 139 insertions(+), 88 deletions(-)\n delete mode 100644 Documentation/devicetree/bindings/hwmon/npcm750-pwm-fan.txt\n create mode 100644 Documentation/devicetree/bindings/hwmon/nuvoton,npcm750-pwm-fan.yaml", "diff": "diff --git a/Documentation/devicetree/bindings/hwmon/npcm750-pwm-fan.txt b/Documentation/devicetree/bindings/hwmon/npcm750-pwm-fan.txt\ndeleted file mode 100644\nindex 18095ba87a5a..000000000000\n--- a/Documentation/devicetree/bindings/hwmon/npcm750-pwm-fan.txt\n+++ /dev/null\n@@ -1,88 +0,0 @@\n-Nuvoton NPCM PWM and Fan Tacho controller device\n-\n-The Nuvoton BMC NPCM7XX supports 8 Pulse-width modulation (PWM)\n-controller outputs and 16 Fan tachometer controller inputs.\n-\n-The Nuvoton BMC NPCM8XX supports 12 Pulse-width modulation (PWM)\n-controller outputs and 16 Fan tachometer controller inputs.\n-\n-Required properties for pwm-fan node\n-- #address-cells : should be 1.\n-- #size-cells\t: should be 0.\n-- compatible\t: \"nuvoton,npcm750-pwm-fan\" for Poleg NPCM7XX.\n-\t\t\t\t: \"nuvoton,npcm845-pwm-fan\" for Arbel NPCM8XX.\n-- reg\t\t\t: specifies physical base address and size of the registers.\n-- reg-names\t: must contain:\n-\t\t\t\t\t* \"pwm\" for the PWM registers.\n-\t\t\t\t\t* \"fan\" for the Fan registers.\n-- clocks\t\t: phandle of reference clocks.\n-- clock-names\t: must contain\n-\t\t\t\t\t* \"pwm\" for PWM controller operating clock.\n-\t\t\t\t\t* \"fan\" for Fan controller operating clock.\n-- interrupts\t: contain the Fan interrupts with flags for falling edge.\n-- pinctrl-names\t: a pinctrl state named \"default\" must be defined.\n-- pinctrl-0\t: phandle referencing pin configuration of the PWM and Fan\n-\t\t\t\t\tcontroller ports.\n-\n-fan subnode format:\n-===================\n-Under fan subnode can be upto 8 child nodes, each child node representing a fan.\n-Each fan subnode must have one PWM channel and at least one Fan tach channel.\n-\n-For PWM channel can be configured cooling-levels to create cooling device.\n-Cooling device could be bound to a thermal zone for the thermal control.\n-\n-Required properties for each child node:\n-- reg : specify the PWM output channel.\n-\tinteger value in the range 0 through 7, that represent\n-\tthe PWM channel number that used.\n-\n-- fan-tach-ch : specify the Fan tach input channel.\n-\t\tinteger value in the range 0 through 15, that represent\n-\t\tthe fan tach channel number that used.\n-\n-\t\tAt least one Fan tach input channel is required\n-\n-Optional property for each child node:\n-- cooling-levels: PWM duty cycle values in a range from 0 to 255\n- which correspond to thermal cooling states.\n-\n-Examples:\n-\n-pwm_fan:pwm-fan-controller@103000 {\n-\t#address-cells = <1>;\n-\t#size-cells = <0>;\n-\tcompatible = \"nuvoton,npcm750-pwm-fan\";\n-\treg = <0x103000 0x2000>,\n-\t\t<0x180000 0x8000>;\n-\treg-names = \"pwm\", \"fan\";\n-\tclocks = <&clk NPCM7XX_CLK_APB3>,\n-\t\t<&clk NPCM7XX_CLK_APB4>;\n-\tclock-names = \"pwm\",\"fan\";\n-\tinterrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,\n-\t\t\t<GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,\n-\t\t\t<GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,\n-\t\t\t<GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,\n-\t\t\t<GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,\n-\t\t\t<GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,\n-\t\t\t<GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,\n-\t\t\t<GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;\n-\tpinctrl-names = \"default\";\n-\tpinctrl-0 = <&pwm0_pins &pwm1_pins &pwm2_pins\n-\t\t\t&fanin0_pins &fanin1_pins &fanin2_pins\n-\t\t\t&fanin3_pins &fanin4_pins>;\n-\tfan@0 {\n-\t\treg = <0x00>;\n-\t\tfan-tach-ch = /bits/ 8 <0x00 0x01>;\n-\t\tcooling-levels = <127 255>;\n-\t};\n-\tfan@1 {\n-\t\treg = <0x01>;\n-\t\tfan-tach-ch = /bits/ 8 <0x02 0x03>;\n-\t};\n-\tfan@2 {\n-\t\treg = <0x02>;\n-\t\tfan-tach-ch = /bits/ 8 <0x04>;\n-\t};\n-\n-};\ndiff --git a/Documentation/devicetree/bindings/hwmon/nuvoton,npcm750-pwm-fan.yaml b/Documentation/devicetree/bindings/hwmon/nuvoton,npcm750-pwm-fan.yaml\nnew file mode 100644\nindex 000000000000..73464af3078e\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/hwmon/nuvoton,npcm750-pwm-fan.yaml\n@@ -0,0 +1,139 @@\n+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)\n+%YAML 1.2\n+---\n+$id: http://devicetree.org/schemas/hwmon/nuvoton,npcm750-pwm-fan.yaml#\n+$schema: http://devicetree.org/meta-schemas/core.yaml#\n+\n+title: Nuvoton NPCM7xx/NPCM8xx PWM and Fan Tach Controller\n+\n+maintainers:\n+ - Tomer Maimon <tmaimon77@gmail.com>\n+\n+description:\n+ The NPCM7xx/NPCM8xx family includes a PWM and Fan Tachometer controller.\n+ The controller provides up to 8 (NPCM7xx) or 12 (NPCM8xx) PWM channels and up\n+ to 16 tachometer inputs. It is used for fan speed control and monitoring.\n+\n+properties:\n+ compatible:\n+ enum:\n+ - nuvoton,npcm750-pwm-fan\n+ - nuvoton,npcm845-pwm-fan\n+\n+ reg:\n+ maxItems: 2\n+ description: Register addresses for PWM and Fan Tach units.\n+\n+ reg-names:\n+ items:\n+ - const: pwm\n+ - const: fan\n+\n+ clocks:\n+ maxItems: 2\n+ description: Clocks for the PWM and Fan Tach modules.\n+\n+ clock-names:\n+ items:\n+ - const: pwm\n+ - const: fan\n+\n+ interrupts:\n+ description:\n+ Contains the Fan interrupts with flags for falling edge.\n+ For NPCM7XX, 8 interrupt lines are expected (one per PWM channel).\n+ For NPCM8XX, 12 interrupt lines are expected (one per PWM channel).\n+\n+ minItems: 8\n+ maxItems: 12\n+\n+ \"#address-cells\":\n+ const: 1\n+\n+ \"#size-cells\":\n+ const: 0\n+\n+patternProperties:\n+ \"^fan@[0-9a-f]+$\":\n+ type: object\n+ $ref: fan-common.yaml#\n+ unevaluatedProperties: false\n+\n+ properties:\n+ reg:\n+ description:\n+ Specify the PWM output channel. Integer value in the range 0-7 for\n+ NPCM7XX or 0-11 for NPCM8XX, representing the PWM channel number.\n+\n+ maximum: 11\n+\n+ fan-tach-ch:\n+ $ref: /schemas/types.yaml#/definitions/uint8-array\n+ description:\n+ The tach channel(s) used for the fan.\n+ Integer values in the range 0-15.\n+\n+ items:\n+ maximum: 15\n+\n+ cooling-levels:\n+ description:\n+ PWM duty cycle values in a range from 0 to 255 which\n+ correspond to thermal cooling states. This property enables\n+ thermal zone integration for automatic fan speed control\n+ based on temperature.\n+\n+ items:\n+ maximum: 255\n+\n+ required:\n+ - reg\n+ - fan-tach-ch\n+\n+required:\n+ - compatible\n+ - reg\n+ - reg-names\n+ - clocks\n+ - clock-names\n+ - interrupts\n+\n+additionalProperties: false\n+\n+examples:\n+ - |\n+ #include <dt-bindings/clock/nuvoton,npcm7xx-clock.h>\n+ #include <dt-bindings/interrupt-controller/arm-gic.h>\n+ pwm_fan: pwm-fan@103000 {\n+ compatible = \"nuvoton,npcm750-pwm-fan\";\n+ #address-cells = <1>;\n+ #size-cells = <0>;\n+\n+ reg = <0x103000 0x2000>, <0x180000 0x8000>;\n+ reg-names = \"pwm\", \"fan\";\n+\n+ clocks = <&clk NPCM7XX_CLK_APB3>, <&clk NPCM7XX_CLK_APB4>;\n+ clock-names = \"pwm\", \"fan\";\n+\n+ interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,\n+ <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,\n+ <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,\n+ <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,\n+ <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,\n+ <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,\n+ <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,\n+ <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;\n+ pinctrl-names = \"default\";\n+ pinctrl-0 = <&pwm0_pins &fanin0_pins>;\n+\n+ fan@0 {\n+ reg = <0>;\n+ fan-tach-ch = <0 1>;\n+ cooling-levels = <64 128 192 255>;\n+ };\n+\n+ fan@1 {\n+ reg = <1>;\n+ fan-tach-ch = <2>;\n+ };\n+ };\n", "prefixes": [ "v2" ] }