Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) (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 23B7023E342 for ; Wed, 20 May 2026 13:57:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779285436; cv=none; b=DIfWv8/8UlVi49+I6IFVvEa8Shinm7b4noFYm3WAPgLtN0ftI3ZhD/LEabS0yza4LDRumMQwTzt65MPYgP7glK7hxo6Hoj+xIEoo0rbGGiRM4DiXaw6JnVr3JbxF5VbdsKCDuOSfqGotMAsZtiQNJGSUWnYcAKBM2v0LBVKF+eM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779285436; c=relaxed/simple; bh=iX2stDNllGNaXxAzEr63ZeU6DW2vQE8l99f4osHDVWY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WQTNK2sjf9bjK3pVtXbTomkQ0b+O4PBjRm0d7yJECcj9XursSsA4FVXEWR4bsyWfdq1V024PyW11ccCDyGeX252VT0gehK3S01iJNjP0XmpBKKGk09EAxDSjmj59ALdG7zgwkULY4w/2xORl/zGKtUsHlcx5sdAqyF4Ck0qfmPY= 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=sts3xeCk; arc=none smtp.client-ip=209.85.216.47 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="sts3xeCk" Received: by mail-pj1-f47.google.com with SMTP id 98e67ed59e1d1-3695bf7d082so4448746a91.0 for ; Wed, 20 May 2026 06:57:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779285434; x=1779890234; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=QzdqydfWAhcJI2PZ9QXniGvgDCA4JHzzz5KjR3IaDoQ=; b=sts3xeCk9Q59HWjeE+4PPKPLKvlhkJHjRo/wcuT8wtqvnnGejSWesrh+dwb+PzlJVI gScY2O+cvxfK44c/sp2WqrNg3GNBbrp88/RdaSDAyQGL9mmYJlKa4zfYBd1Si2rR0Bb0 jD5msd+/JF4GvWG7XS/3OjuGwU8R5CGtP4b4xX9wYxxrPC+UtVH73FnHYqGAOO+c5Ayr MSzHwZEES5I3BG7rIqgylK2saxgD//4eMglx/kFFZPSfXlfRdJwqv1zUYumx2nvVnyXi Bb7VCHFkpdr7tZiw2IzqDz4dV2+f6/NI7LHliuS3fwnbNDtJVlUFPzvtJKsLo36uvF2J 4IJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779285434; x=1779890234; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QzdqydfWAhcJI2PZ9QXniGvgDCA4JHzzz5KjR3IaDoQ=; b=YLB5/1dqT0AgC500klhWvQKAoC9xubI32EmbaBSQrCb6/pTOyBBK3irZx+EV+ScMio KmVIQZVyH36P8G8RoiuRkaoVzlu/ZDLGWd97Nd9mS+MCAhIkn8TRZfbhn1l3mwJ9Xn5B rPXHvC5qaM630BHtrvXBd4GPRF4By+puFEoCBPxnmMLBGRBXQF5qReiwOb3aoY5Liu40 VBP13s0REzmajRFoN72Wl0SH3J2fuqdLIlxLO0Ni6zWv84Xhuhyk2/fB2rPBOTEDBLrN SjtJcdMZUiT4jTCvsot22+gvnteklIytfW7BscrKiZuVEu+WUpdQ6i7qvIHoZQWQZzqZ v4iQ== X-Forwarded-Encrypted: i=1; AFNElJ/9kZR1mZYhS1HUp5IWqH7IO0VBJ35q/pAKpfJWmw//fPmkwPlHHitvyNxCEJtSShRjD+lVN11sUpn5@vger.kernel.org X-Gm-Message-State: AOJu0YwJtZ/kVhOyhVDEseSIxotjDHTn07wRMmuqYfUzg5j3lo19JkNF CO+HMyxdynwbKyAb8oKXyOWZdBEzUvKOBshS3tNeFsAoItUcqUH4GtPv X-Gm-Gg: Acq92OGHpcj0zFSdxzL15fNVhFCOaccNqA6EbDlGXoy6FziVwwpT4cZJ5lIv476ugXF BRnZig8lRq5A5MqSbL7HmsItg6/c83ocbR4DzQ/JryBntX/2itEMXYRvovx8WBWqnevC6z0aEkq 7l8uoIhfhjYV+7C2oI5Ld27W6EmZK7uRWR8HGMCQhCfP5OQqaqFqbxsPmOx5mcbJMXoGFA8P89Q I3gB0cFRhbXFQtBGyoQkDCpE4bbQoqINblGRsstBcJOE938Yg3hFBLOjiY7dsJ0r5qptzAKQYSW mH3cVns3B2sQsJz1qXaICdm6dx30GLuRJXiLExLe/lsY1ruBM2L9Nc+SzA+Z8QTa4dC3pj3A6CK Y/xosDFhy6cQdOEbUph7/0rMnRYzxp4sjjDeXUJyIYJqyjS/P75VzTZImoQjmxls2lmt6STW2Ff aul+AL/BmoQxkvsP1zOJEZZ0OG/mFKG0Oz7PmV6MA= X-Received: by 2002:a17:90a:1c16:b0:369:a15c:1053 with SMTP id 98e67ed59e1d1-369a15c12ecmr9317722a91.15.1779285434367; Wed, 20 May 2026 06:57:14 -0700 (PDT) Received: from arch.localdomain ([2409:8a28:a52:5b11:a58f:5208:2fa7:bba5]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-369572e1007sm7480867a91.6.2026.05.20.06.57.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 May 2026 06:57:13 -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 v7 0/6] leds: Add powerdown gpio for is31fl32xx Date: Wed, 20 May 2026 21:56:53 +0800 Message-ID: <20260520135659.1430008-1-jerrysteve1101@gmail.com> X-Mailer: git-send-email 2.54.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This patch series primarily adds the powerdown-gpios support for the IS31FL32xx controller.It also includes a fix and dt-bindings updates derived from previous attempts [1]. Patch 1 and patch 2 are based on a previous attempt [1]. The driver-related updates in patch 2 have already been merged. Patch 3 and Patch 4 add support for the powerdown-gpios property, which corresponds to the SDB pin of the IS31FL32xx series chips. This pin is used to enter and exit the hardware powerdown mode. Patch 5 fixes errors introduced by previous changes. It impacts the brightness control function of the IS31FL3236. Patch 6 resolves regression caused by prior changes, and fixes the 22kHz PWM output functionality for IS31FL3236A. [1] https://lore.kernel.org/all/20250723-leds-is31fl3236a-v6-0-210328058625@thegoodpenguin.co.uk/ Changes in v7: - Fix code style (spaces/tabs) and commit messages per checkpatch.pl outputs - Link to v6: https://lore.kernel.org/al/20260520133343.1423946-1-jerrysteve1101@gmail.com/ Changes in v6: - Add fix for 22kHz PWM output regression on IS31FL3236A - Correct typo in vendor prefix for Integrated Silicon Solution - Restore hardware shutdown state upon driver removal - Link to v5: https://lore.kernel.org/all/20260508131139.1523597-1-jerrysteve1101@gmail.com/ Changes in v5: - Adjust the unit-address in dt-binding to hex addresses, and remove unnecessary if/then constraints. - Link to v4: https://lore.kernel.org/all/20260505145354.1267095-1-jerrysteve1101@gmail.com/ Changes in v4: - Fixed compilation build errors due to missing header files - Link to v3: https://lore.kernel.org/all/20260429154449.730880-1-jerrysteve1101@gmail.com/ Changes in v3: - Replace shutdown-gpios with powerdown-gpios, follow gpio-consumer-common binding. - Link to v2: https://lore.kernel.org/all/20260428023401.330308-1-jerrysteve1101@gmail.com/ Changes in v2: - Fix $id mismatch with file name in dt-binding. - Link to v1: https://lore.kernel.org/all/20260428003412.322032-1-jerrysteve1101@gmail.com/ Jun Yan (6): dt-bindings: leds: issi,is31fl32xx: convert the binding to yaml dt-bindings: leds: issi,is31fl32xx: add support for is31fl3236a dt-bindings: leds: issi,is31fl32xx: Add powerdown-gpios property leds: is31fl32xx: Add powerdown pin for hardware shutdown mode leds: is31fl32xx: Fix missing brightness_steps for is31fl3236 leds: is31fl32xx: Move pwm frequency setting to init_regs() .../bindings/leds/issi,is31fl32xx.yaml | 187 ++++++++++++++++++ .../bindings/leds/leds-is31fl32xx.txt | 53 ----- drivers/leds/leds-is31fl32xx.c | 34 ++-- 3 files changed, 210 insertions(+), 64 deletions(-) create mode 100644 Documentation/devicetree/bindings/leds/issi,is31fl32xx.yaml delete mode 100644 Documentation/devicetree/bindings/leds/leds-is31fl32xx.txt -- 2.54.0