From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dl1-f46.google.com (mail-dl1-f46.google.com [74.125.82.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7EF1B38228F for ; Wed, 29 Apr 2026 15:45:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777477506; cv=none; b=uOlOVZ49CEAJAncengw3HJ0a6SV+CDM126P6aDC3n9lrwsyZMCM+IOdHgreuT9kUsPyLx8rd2nXpOQvHhKFpoixY/k+zRTTByXAVsufB4/TehwHnGl5lfd1NRuWKOZahylO7r+8fnV1mjoQRlGFjndeQ1Q4f1qroA/cGaYzBCZ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777477506; c=relaxed/simple; bh=8FIj2vwHaCPknQp78twOz1Zth9N9Ie6U66NEqjKkem0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pU39aNKiNEld50swGVoxDD9q9UqPgwDONws933nLKVL/1bpFxZpZc9r9OC1hUZwkYZebfLaXN3JQHhIXT/OPzdsHhF1v5dsqIl4bkaQGZ5E9yURrr9XvJNlzG678V6QNbovxYsOX9yWGcwHW1QvgD3pGy4P3qxsJeur2wq4Coag= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=EpJBBv7t; arc=none smtp.client-ip=74.125.82.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="EpJBBv7t" Received: by mail-dl1-f46.google.com with SMTP id a92af1059eb24-12dbd0f8063so3018302c88.0 for ; Wed, 29 Apr 2026 08:45:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1777477504; x=1778082304; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=M8TztFWsmlUN+/A2WKJC3c5pIrurPNUURxJ+wMTWoKs=; b=EpJBBv7toHW1Z6aPJkgTsDwNCvWuXEc3mFPVdhMAtuin4ce+nePSMFs8hSSklp54j5 LhlMcs8RMKxcQM3ah+G3Oyvr41spYsCOYx5cHs/hFEwHhXybPjC1cF5u8InVsVPeHIzo PIGbWh4ofYRV71FL0C2G99WH7AE3vYe5Kb2VDDuPBPaTidsu6Kp6IYaxiFSJbOfxqp9X D4KOq+xeJFwOBz0y0P1+cGJxCLLstv6EHG4jSIwbexxN8EZh98d9lmFS88BcF2qNrPtt ZaZLf8dFON6uom17/K2vHB3ZD5Y4WggTV0JbYbt4na4bgCt5w9jBOlQdmshp6DvgCV14 Bq3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777477504; x=1778082304; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=M8TztFWsmlUN+/A2WKJC3c5pIrurPNUURxJ+wMTWoKs=; b=IBeaUkxh1+KAuvFEedhkMkDHmeQUUPrLTaP//oClDG3aJzgfbvgNa2MkvFALDVw0ei LSc7jP5OFuuVeyKFIBYY1FsVkqJBOrnhsVtIZLM/Ghoa7TMp8Mi3YSKy8d0k6/0zGSSh Gmw9C5FfE7Xt/s2eU57L4XmJYndAksyR3VPYTNvaroVVoWPOrSafiJq3+3DXMvkgSxef 670dvtNtAO3xqRi7IBiHQE+3XQr3wWxhV6q6O7DBP+QJwMU/yvFPLsLDExGH65KsF+if /og7r3coaJqWj50goG/2Di/Dw7oMTPknyIqnybFLFtAq8lnk+beiuq5qetk7Iy2pP20b nsmg== X-Gm-Message-State: AOJu0YydBiGjn9l9Mjojm++KXUWkgXEI7abqKn8h9vmDbtPQR4bnYv3Z p8iYrIYpyFZi48Xw1ZWE0/96VdxqfV5UEwveXP+LRFDiQO0nsRqeMU7o0VlQzCQg X-Gm-Gg: AeBDietXQyyT6zIqYC24pFQMCr0c2oQ7rQSiKRdYeMIJPA3vdi7hgy8eh7sQkWBHIgZ 4A3hHQR0EBf+/iCdoJuybXVlKusPBIhkT3GnIJykxeuMZiujr+OFtQ9sFKov4Ql5vGEqWutSFNS GqgZBrUy9kd/cqLssP34zQavIXkWRhE6JbZgX70eJKioMWm89l+MYF8sYce+D7kKHtGz2LN5+E5 vbuRwIqosOaG3Nz/kKFH44AyRPsKXd6AA8gdqYbHzsd2164mfrzH7qi45//ERtqZIxdDw3n/867 S1ESNnZLieMsVsnP09xJve0GJywwe93pphBmvIWGWuQ5pVMaUqnLpbsAECzhmrgEJ6zcn73f0ev c3EaB1GUwwUEJ83XTsUZEaYecNinLDOgnQSgr8HU4mxuij5bfBvwE02xCU+B4bhyakoXNhpcPlF 9U40X+Uh7zq+SauJ7au6YLkWCrVOPNo5M= X-Received: by 2002:a05:701b:2214:b0:12d:de3e:52c6 with SMTP id a92af1059eb24-12dde3e533fmr1978504c88.42.1777477504171; Wed, 29 Apr 2026 08:45:04 -0700 (PDT) Received: from arch.localdomain ([2409:8a28:a59:55d1::1002]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-12de320ecf9sm3610166c88.2.2026.04.29.08.45.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Apr 2026 08:45:03 -0700 (PDT) From: Jun Yan To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-leds@vger.kernel.org Cc: lee@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, luccafachinetti@gmail.com, pzalewski@thegoodpenguin.co.uk, daniel@zonque.org, Jun Yan Subject: [PATCH v3 2/5] dt-bindings: leds: leds-is31fl32xx: add support for is31fl3236a Date: Wed, 29 Apr 2026 23:44:46 +0800 Message-ID: <20260429154449.730880-3-jerrysteve1101@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260429154449.730880-1-jerrysteve1101@gmail.com> References: <20260429154449.730880-1-jerrysteve1101@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add an additional and optional control property for setting the output PWM frequency to 22kHz that exists on is31fl3236a. The default is 3kHz and this option puts the operational frequency outside of the audible range. Co-developed-by: Pawel Zalewski Signed-off-by: Pawel Zalewski Signed-off-by: Jun Yan --- .../bindings/leds/issl,is31fl32xx.yaml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/issl,is31fl32xx.yaml b/Documentation/devicetree/bindings/leds/issl,is31fl32xx.yaml index cb4741dee12e..25ce67940c88 100644 --- a/Documentation/devicetree/bindings/leds/issl,is31fl32xx.yaml +++ b/Documentation/devicetree/bindings/leds/issl,is31fl32xx.yaml @@ -21,6 +21,7 @@ description: | https://www.lumissil.com/assets/pdf/core/IS31FL3218_DS.pdf https://www.lumissil.com/assets/pdf/core/IS31FL3235_DS.pdf https://www.lumissil.com/assets/pdf/core/IS31FL3236_DS.pdf + https://www.lumissil.com/assets/pdf/core/IS31FL3236A_DS.pdf https://www.lumissil.com/assets/pdf/core/IS31FL3293_DS.pdf properties: @@ -30,6 +31,7 @@ properties: - issi,is31fl3218 - issi,is31fl3235 - issi,is31fl3236 + - issi,is31fl3236a - issi,is31fl3293 - si-en,sn3216 - si-en,sn3218 @@ -37,6 +39,12 @@ properties: reg: maxItems: 1 + issi,22khz-pwm: + type: boolean + description: + When present, the chip's PWM will operate at ~22kHz as opposed + to ~3kHz to move the operating frequency out of the audible range. + "#address-cells": const: 1 @@ -60,6 +68,22 @@ patternProperties: - reg allOf: + - if: + properties: + compatible: + contains: + enum: + - issi,is31fl3216 + - issi,is31fl3218 + - issi,is31fl3235 + - issi,is31fl3236 + - issi,is31fl3293 + - si-en,sn3216 + - si-en,sn3218 + then: + properties: + issi,22khz-pwm: false + - if: properties: compatible: @@ -116,6 +140,7 @@ allOf: contains: enum: - issi,is31fl3236 + - issi,is31fl3236a then: patternProperties: "^led@([1-9])+$": -- 2.53.0