From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f177.google.com (mail-oi1-f177.google.com [209.85.167.177]) (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 6A4C036404D for ; Wed, 20 May 2026 13:34:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779284047; cv=none; b=uWXWaDXEOI+TobqTeUtzSJfqL3k4ktqxYnGqwAAPpFMRjnaV4WS98Q8LELhADaoCK73I5A0LCzS/ix8lizpjYUuoJDr/3ZK7Z3weabXlEvthW4ngi6gnamEneM7sLdtNYeq98sU3tc3t+jjmuOkHjN2MXIEXltK8s3Q4wOhuoO4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779284047; c=relaxed/simple; bh=tqRyoaZBs1tvjQrY9z9TFd/uxGf92frpQLPL1VyfqU8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZDjEm0Ue4gSXnrRAY5uCdj/fD7/MIOgHVnXnI5DhPdpuNEwvmqnQp6MUL7VAx7A7SGjLD4tFMB/nv26t8cHKQYzAb/bjW8ZrJXZ3mbnRhWqjgLGBPE36LsGwtgT0yBvfxmX+klQt506ZNyqsDUtrlADMt8ighbeWukKGFnUeYQg= 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=PPo4tzNs; arc=none smtp.client-ip=209.85.167.177 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="PPo4tzNs" Received: by mail-oi1-f177.google.com with SMTP id 5614622812f47-479d85152c9so1823509b6e.2 for ; Wed, 20 May 2026 06:34:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779284045; x=1779888845; 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=qC2QIpvU6HmG8jsTK89YMedFfyyJiHf9gc9ctAYYQYk=; b=PPo4tzNsDul5DO7pRhIw1LxQf5+92zFVX//XoPor7PVXP2doiPEZUNUQwxM8hQrueP K8RQiV5XJ+skTuwndn1Qw302UjxGDCwI56HoIVAntgAGpzK1P3mpoI44qo7EAH4IBkMI sGw/u3M7j+luDuO0fGC2Ls6YwUUl7e2pSiQ0tcTJIWXUhFBsZxKIYRrg9th4CwKAk2DT +Vzk7pgGBigZ9rxmYQP4ge45SgbRKSErRZQAgcOI8PxcWPWTzbeI4Fd8LRVHtBc3ZFJ+ ACx2hi018O+xnbgbeCn3Ts21yPUWYYs6jTx2y9kRrT3bUX47ofZa5PYV3tzch7x2TYmB pfxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779284045; x=1779888845; 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=qC2QIpvU6HmG8jsTK89YMedFfyyJiHf9gc9ctAYYQYk=; b=BiXo2CHfbULzHjlTRmu+YIVLUi94pbbmLxmZHX7Qe4mld7eHkT6ZOMlUXdVOlM609y FYqtGWYmpZ3Pkljsw6IjaeB/88WfJ7VVWyzcLg2iXCWi8IxeQMJOM2cPGpvEPvzFXk0Q YB+W1ycWCBU4jd8rXO/VQUizbrLVRGBe4/vev4FPh9Tuvg0g8ODYHlo/xW9Q1XOuvO4A Rp5DKTzl9FfvUDIASc+eabbzP7S/x1JWEajW3r4GuyHcSM0n1U63v91jeGg1YGiV10ul QB+8hAICtStMo1bRO3GmI8MpoMqElaUQVF9hmWvMpYlgmq43SIvg+Oy4OC4aBjOteE+T gbmA== X-Gm-Message-State: AOJu0YyKIYCgO+Bj04SK9swMQd3+caoqQnhZJOgkvF+hjLuiJGCrk3B+ prdUl9KsM41cLJzDBu+ZDjSD/euxyb4thjf19zsRnxri1MCUUsYL9piOhIic1zHH X-Gm-Gg: Acq92OElfEhbEpMOBp+tGlo04dlDMZlzd1TSqv2jBPfLrsynswBLS8+tWqfrgrGfHGF hkZm2aJC865BCnw413ixujeTA2vNUOWuelOE/7yHtHGE1vfc09SG52ylacl8zTcKmT0Zj4XGjzu GG2ftX7wrmSLxtimVk3Er+qWTwOKXfaaKMNMohRKPOG/8UBDCiSJ7h4jsLqHTXsB5OvGMhFNzCh JRf+Pa1D39QtMcUI5KbbPJYw29Ky815ozdWdELxVIbV1EcSw7GZMt3UfykMgcX1lxImfoPPL4Ov kkBVHRqIipZIiFZm8OgLCqho6W56VmS4p+Yusr1ARfUPNFiEBdSu3DJmZP9wcka0jptMRA/4HuI Fvo3BzSsmdpQy1ygYT/ioZmyJFkNl27dKvkELO4NnTtx6RMLPK3esJ77NxrV1+iVWnH92KHGt1+ LCC+G5MD5jQ7zx6nGo8izdPHJwPigAIhoVBBKevCmw2nNTb5THGw== X-Received: by 2002:a05:6820:20e:b0:67c:1e60:3e90 with SMTP id 006d021491bc7-69c94331f33mr15734192eaf.6.1779284045276; Wed, 20 May 2026 06:34:05 -0700 (PDT) Received: from arch.localdomain ([2409:8a28:a52:5b11:a58f:5208:2fa7:bba5]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-43a956fa075sm10253951fac.10.2026.05.20.06.34.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 May 2026 06:34:05 -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 v6 2/6] dt-bindings: leds: issi,is31fl32xx: add support for is31fl3236a Date: Wed, 20 May 2026 21:33:39 +0800 Message-ID: <20260520133343.1423946-3-jerrysteve1101@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260520133343.1423946-1-jerrysteve1101@gmail.com> References: <20260520133343.1423946-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 Reviewed-by: Rob Herring (Arm) --- .../bindings/leds/issi,is31fl32xx.yaml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/issi,is31fl32xx.yaml b/Documentation/devicetree/bindings/leds/issi,is31fl32xx.yaml index 81f1e30e493d..5f22d8b77edd 100644 --- a/Documentation/devicetree/bindings/leds/issi,is31fl32xx.yaml +++ b/Documentation/devicetree/bindings/leds/issi,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: -- 2.54.0