From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) (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 0C263237180 for ; Sun, 2 Aug 2026 15:46:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785685591; cv=none; b=tynFqJkeFSgjDcoZibuFmi3Z30miNQX5Xxz+hOP4elxd6XMDcHvRFXl3tW5C2Q0s8s0akIpJHOI4vLLDgpkqWZ4Z0vkTQIIBCLKYomJws1uI8ON3dXIWHbMY8ylYdHmQIxJW0Qeu7WRGPJsgwS7u0Ew5N0AQZSEoXkdNtkq2o84= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785685591; c=relaxed/simple; bh=cLrS7qXp57cQ0CJ93Ue4JPXTnXTOGbW99vQlMqWVd/Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lqND8Xd3uwSXjhGgYOvvqxAhSjvpISzYqeuErBKjtEEDz0hOYx9t16tF0kcB6XZ/Ynr14sZ6t/C63ZBfI46esQuv3YWhjCAIvDjHoETqqxeIbrhifpXoMVOErhkAfbT7n7oi7oX6dzhW8K56mxsvFVSO9dXvcDgb3gvqtt/LQCI= 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=F1fj5dKF; arc=none smtp.client-ip=209.85.214.172 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="F1fj5dKF" Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-2cc61541f8cso37485735ad.0 for ; Sun, 02 Aug 2026 08:46:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785685589; x=1786290389; 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:content-type; bh=+VgJgsAsYz6ZQBu8o6pNRg8dz6ngWsg0lMioHUZEeJs=; b=F1fj5dKF9rGHy+T2vqrkIdEjgW3Fv6h3GgYVFy3ikHKrEASciEZMSsw2sOYW2KyiQy POETdTKSgxfywMF6Z4/iHs9VUVoLDng7MBOCI6YJsPbt1DaM7kWl+/ux0TqFJLNMEeYp LWfNei2B+TXcv5U//WhlXh5Q7mYjZhkDurpv5GSCLnv4aWaupdFpG6mx92CgRyIJVrA6 W7JumN0UzmPcKjBstPdnMyLyjI4OITirdMyhNy+oM3NnnnNzeoBkiN4dr3B9z/Kh2x2D 0/girRARsqUxgEZ6E/8JsCwqJgKXyNKbw+lZ6MuIXLNOmambq7LZftvyELAhNiKtKhhI Oe3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785685589; x=1786290389; 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:content-type; bh=+VgJgsAsYz6ZQBu8o6pNRg8dz6ngWsg0lMioHUZEeJs=; b=YQsfNY50djOslxJuB6ogwY8mNlfJBC/Mt8bdXUQnD8tKgreMSNobsVhgH+2+8kukit izK+d8fSYEMBIsuQYiKQ5jN7MADD/CzGCEpjL72F70bpN56tWWKcqCBfTBVLC7RGD+pP jA+qghUXH2SSxdg8DkgQBGNJVfPDGdYZ3s/1pqdYLpT5pPJJ/sbQDidvRUJCTgKp/pXp ugOU9MsBWLlYONMUwEkACbNuWXxTNS0sOznbv9LWvAQvn/gbDvEWNxmt4qScp02CjDZ0 PbPq4qAnT8FjjYqpNPVWFuCYinoxo7M+OzbRKqitZlb8Kd1q54lc8x72aOSmkGD4clWy ik0g== X-Forwarded-Encrypted: i=1; AHgh+RoxBSK34CwHuwT3vgqRtZe4VVY/f8SEZnqvsHhM820JmciZ4jJUSCTuizya1FGSMa5S29ohtso=@vger.kernel.org X-Gm-Message-State: AOJu0YziD5LQBuBeEZMVScOeTRI++3TcM3gDz+3NLKmHULSmmZLswIqQ VnCiqooSdoVFM5Tb3fxLH8/7veDAbUMXduF9gBP6oO03EdWRcp8Th0oo X-Gm-Gg: AR+sD11EsHKVU9ixk3rVPDGCxkJ2mXAx/3XMR0qGErfZWTnksbRWo+Rorr8iDi4tV6W XNj+tm+HJ4Uu7Pu+1qu9FMfStUlLQS/Xh8zQnWNLAK666fStRL7ZRgAjUOkQhDoxtp39L1plnWY aBiTOynTesDHsBpoIT/ck0w8hmiad8RRalPoBJhDxiObS4uSrLuQh1sB0Cpjr6sWolYygSiOj4X PgUd4gf0yeiCOtsWj1SVTofBt9hHm/+xdVzzxcWM6/xAl9YK83TJRbisjohbf/alzK7VnrxFPoP IOk7Ohjxyqhq38lq5E2HYjBaNrplxAmMc5Bwz58NZSCjaxx2JAalZBWdyE67f3LyjVLH8LSRQmp 3nFNcCyBuixVlGFul2qhAkdHX3ZfVm9BusBtu7lVzFS1+/1KS6RkU8oiaKL/kCKO3Wo/N5CzQos h21YAWBXxWn11kogJGL/TIJVFJTF/zHhzf9WrD1Wn9cTCDnE7qGdoxvTNMLbi0HOVC8RsYGGAJ+ ccAzryU49jmj5/MzINeiNOF4a9OIGD7e9w5gJo= X-Received: by 2002:a05:6300:6186:b0:3bf:b7e8:68ab with SMTP id adf61e73a8af0-3c91a7131eemr9627291637.2.1785685589201; Sun, 02 Aug 2026 08:46:29 -0700 (PDT) Received: from Mac.net (198-27-228-154.fiber.dynamic.sonic.net. [198.27.228.154]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3153e29a126sm30602192eec.31.2026.08.02.08.46.27 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 02 Aug 2026 08:46:28 -0700 (PDT) From: Ahmad Byagowi To: Lee Jones , Pavel Machek , Richard Cochran , Vadim Fedorenko , Andi Shyti , Peter Rosin Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Lunn , davem@davemloft.net, Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-i2c@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Ahmad Byagowi Subject: [RFC net-next 1/4] dt-bindings: leds: Add IS32FL3207 controller Date: Sun, 2 Aug 2026 08:46:17 -0700 Message-ID: X-Mailer: git-send-email 2.50.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The IS32FL3207 is an 18-channel constant-current LED controller with per-output PWM and current scaling. Describe I2C addressing, power and shutdown controls, RISET, and individual or multicolor output groupings. Require board current limits for each output. Signed-off-by: Ahmad Byagowi --- .../bindings/leds/issi,is32fl3207.yaml | 204 ++++++++++++++++++ MAINTAINERS | 6 + 2 files changed, 210 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/issi,is32fl3207.yaml diff --git a/Documentation/devicetree/bindings/leds/issi,is32fl3207.yaml b/Documentation/devicetree/bindings/leds/issi,is32fl3207.yaml new file mode 100644 index 000000000..06a12cfb1 --- /dev/null +++ b/Documentation/devicetree/bindings/leds/issi,is32fl3207.yaml @@ -0,0 +1,204 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/issi,is32fl3207.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Lumissil IS32FL3207 18-channel LED controller + +maintainers: + - Ahmad Byagowi + +description: | + The IS32FL3207 is an I2C LED controller with 18 individually controlled + constant-current outputs. Each output has 8-bit current scaling and up to + 16-bit PWM control. Outputs may be exposed as individual LEDs or grouped as + multicolor LEDs. + + The data sheet is available at: + https://www.lumissil.com/assets/pdf/core/IS32FL3207_DS.pdf + +properties: + compatible: + const: issi,is32fl3207 + + reg: + enum: [0x34, 0x35, 0x36, 0x37] + + vcc-supply: + description: Regulator providing power to the VCC pin. + + enable-gpios: + maxItems: 1 + description: GPIO connected to SDB, asserted to enable the controller. + + issi,riset-ohms: + minimum: 2000 + maximum: 76500000 + description: | + Resistance in ohms of the external RISET resistor. The resistor sets the + maximum output current according to IOUT(MAX) = 76.5 / RISET amperes. + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^led@[0-9a-f]+$": + type: object + $ref: common.yaml# + unevaluatedProperties: false + + properties: + reg: + minimum: 0 + maximum: 17 + description: LED output number. + + led-max-microamp: + minimum: 1 + maximum: 38250 + + color: + not: + enum: [8, 9] + + max-brightness: + minimum: 1 + maximum: 255 + + default-state: + const: "off" + + default-brightness: false + + retain-state-shutdown: false + + required: + - reg + - led-max-microamp + + "^multi-led@[0-9a-f]+$": + type: object + $ref: leds-class-multicolor.yaml# + unevaluatedProperties: false + + properties: + reg: + minimum: 0 + maximum: 17 + description: Lowest-numbered LED output used by the group. + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + max-brightness: + minimum: 1 + maximum: 255 + + default-state: + const: "off" + + default-brightness: false + + retain-state-shutdown: false + + patternProperties: + "^led@[0-9a-f]+$": + type: object + $ref: common.yaml# + unevaluatedProperties: false + + properties: + reg: + minimum: 0 + maximum: 17 + description: LED output number. + + led-max-microamp: + minimum: 1 + maximum: 38250 + + color: + not: + enum: [8, 9] + + max-brightness: false + + default-state: false + + default-brightness: false + + retain-state-shutdown: false + + required: + - reg + - color + - led-max-microamp + + required: + - reg + - "#address-cells" + - "#size-cells" + +required: + - compatible + - reg + - issi,riset-ohms + - "#address-cells" + - "#size-cells" + +additionalProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + led-controller@34 { + compatible = "issi,is32fl3207"; + reg = <0x34>; + #address-cells = <1>; + #size-cells = <0>; + + vcc-supply = <&led_3v3>; + enable-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; + issi,riset-ohms = <4700>; + + multi-led@0 { + reg = <0>; + color = ; + function = LED_FUNCTION_STATUS; + #address-cells = <1>; + #size-cells = <0>; + + led@0 { + reg = <0>; + color = ; + led-max-microamp = <8100>; + }; + + led@1 { + reg = <1>; + color = ; + led-max-microamp = <8100>; + }; + + led@2 { + reg = <2>; + color = ; + led-max-microamp = <8100>; + }; + }; + }; + }; +... diff --git a/MAINTAINERS b/MAINTAINERS index 932ea1db0..ff3a93474 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13821,6 +13821,12 @@ F: Documentation/devicetree/bindings/hwmon/renesas,isl28022.yaml F: Documentation/hwmon/isl28022.rst F: drivers/hwmon/isl28022.c +ISSI IS32FL3207 LED DRIVER +M: Ahmad Byagowi +L: linux-leds@vger.kernel.org +S: Maintained +F: Documentation/devicetree/bindings/leds/issi,is32fl3207.yaml + ISOFS FILESYSTEM M: Jan Kara L: linux-fsdevel@vger.kernel.org -- 2.50.1 (Apple Git-155)