From nobody Mon Feb 9 16:01:41 2026 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7BB51381C4; Mon, 26 Jan 2026 00:11:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.135.77 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769386306; cv=none; b=olTxlTx1IPe1paiFaX0Qrt6OftsaRZqygVzahsDi5heLPAk5fgVFIKrZAoBmtQAkBW9kiD+Z9ao5hPViq5Bp7sRv4QTbVJ+JIYWocqWo4pCtSZhSvEkjRHhfBKUsLasDq2Xr2LeC09yF0MCnk3XVkmeYLcLGFVEi+5I1gipLhws= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769386306; c=relaxed/simple; bh=dEn/uvJ0ZqeNpAHolxitPei+fCbz6PDB57nBhmqOlmA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=iXEay5t3fdJYFcPijkRtyP/KORDJSp5Rwtv+EeuKdINhStdEp5k6oCL9j3TXEUO/JST7dFoOyZ2fOi+qfyt3i2yjnXglibZ9IdeV03PfStmAbRz3bxgwrZFG5kIH/F0I1qp96e1T78O6wdm2uI1MN9jSf1hHMNm5gRYNe6/E3Dg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=analog.com; spf=pass smtp.mailfrom=analog.com; dkim=pass (2048-bit key) header.d=analog.com header.i=@analog.com header.b=FMyk+1hH; arc=none smtp.client-ip=148.163.135.77 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=analog.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=analog.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=analog.com header.i=@analog.com header.b="FMyk+1hH" Received: from pps.filterd (m0167089.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60PMX4MX981330; Sun, 25 Jan 2026 19:11:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=DKIM; bh=+2RVn KeCK24NlZidRQtRblsLKqJRZ2qVhhpTMx6kV1o=; b=FMyk+1hHmQPJ2170BkmeX ZbkQSnD9u4o4tyrhxSgco4G8t/iGlUWrNxCCcq/PH0OWZJ+SwVTD7L2TMikVszh5 ie8IGhlEEzhCNyczrUefz0wzZuKTsg4Gp8As8KUt04/9e120N9g2sdwHnXPJesd1 T+KlHDR/yu7klefxqFHQNpXcOocQAiuLf/rCWB0roiDWuPGKlTk7to/qBGshmPID m8hujZ3HblNpQWrgueFrpT9UXPI7SSfQBU0kCmq4XRR2Zpjg9tUveZoV8WVCuf5o IfPNy+NkG2QtsAVH9sSJ5QDobafFLkBxBx8cDtsita+Pucd9PsDGeJmgQosmW6se w== Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 4bvuv2mg98-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 25 Jan 2026 19:11:30 -0500 (EST) Received: from ASHBMBX8.ad.analog.com (ASHBMBX8.ad.analog.com [10.64.17.5]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 60Q0BTlP004293 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 25 Jan 2026 19:11:29 -0500 Received: from ASHBCASHYB4.ad.analog.com (10.64.17.132) by ASHBMBX8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.37; Sun, 25 Jan 2026 19:11:29 -0500 Received: from ASHBMBX9.ad.analog.com (10.64.17.10) by ASHBCASHYB4.ad.analog.com (10.64.17.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.37; Sun, 25 Jan 2026 19:11:28 -0500 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server id 15.2.1748.37 via Frontend Transport; Sun, 25 Jan 2026 19:11:28 -0500 Received: from HYB-7P5GeKnsiiX.ad.analog.com (HYB-7P5GeKnsiiX.ad.analog.com [10.118.4.53]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 60Q0BBnj003036; Sun, 25 Jan 2026 19:11:19 -0500 From: Edelweise Escala Date: Mon, 26 Jan 2026 08:10:43 +0800 Subject: [PATCH v4 1/2] dt-bindings: leds: Add LTC3220 18 channel LED Driver Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID: <20260126-ltc3220-driver-v4-1-c59517206c24@analog.com> References: <20260126-ltc3220-driver-v4-0-c59517206c24@analog.com> In-Reply-To: <20260126-ltc3220-driver-v4-0-c59517206c24@analog.com> To: Lee Jones , Pavel Machek , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Edelweise Escala , Conor Dooley X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1769386271; l=4538; i=edelweise.escala@analog.com; s=20260106; h=from:subject:message-id; bh=dEn/uvJ0ZqeNpAHolxitPei+fCbz6PDB57nBhmqOlmA=; b=lP1t7t6grAKapd9v4kwkPSDWUGhXwIjeH/alJkZLTOex43oYYpxpNbBFvf4arahbGqthG4JjC yZt5+0ThSQvD22IkK6Ui0HRwt2nDFCUdW+gaDSuv/Flg26c2+EWnxEp X-Developer-Key: i=edelweise.escala@analog.com; a=ed25519; pk=lf5HLFe8ZeQjXZgkBkFMK+u9qH5/tqZhCIushTKduNQ= X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-GUID: fWfIHGe3sCx-0tFgbhb9xnzbKm-kBNIK X-Proofpoint-ORIG-GUID: fWfIHGe3sCx-0tFgbhb9xnzbKm-kBNIK X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTI2MDAwMCBTYWx0ZWRfX+IRS8Jz/gQcU ZyGvP7DqmKgC/t6KPyTo50woM/VsYETujKwKhgK9Llv4eWZfYaDutEZdtf5T9/YyTeQVDHTuj0B m65wmTj7Qz0mTSIShvIEU9hOJKFHCZkWYBxdFMtcyDAamn6Ex+tkjSM/htfx0K0J1nHsekYG7pD N7Yq9qSyDRudG5SkydqLnScsSTA27i41eWXnpCzRM37fA/0P5UXSW7c6pKm0M3YRkJ7RSDVBX71 q/u/AI09FN7lPFSgGRtPqzjwhnIQyUyw+j08N1b8CGIs1BP515xmlp8DVhn8g8i69ZFxbsG59qr Rm1VqbgnpXEcOvwV2Li64v8/TTpLmwyXX9dyMJAs8/NegEVKtLxklGRyxglbKlCLAXkE8QhDDrF 9U/EfKdEJMwaRE5D47GUwDKJq0dUJ9lGTV+sqMVrcEZ11n0qGmZhjcxmSjwJFXy8F2ROCMPspvd M2lR+hHIxCs21N8m7tQ== X-Authority-Analysis: v=2.4 cv=e/sLiKp/ c=1 sm=1 tr=0 ts=6976b132 cx=c_pps a=3WNzaoukacrqR9RwcOSAdA==:117 a=3WNzaoukacrqR9RwcOSAdA==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=VkNPw1HP01LnGYTKEx00:22 a=gEfo2CItAAAA:8 a=gAnH3GRIAAAA:8 a=XYAwZIGsAAAA:8 a=VwQbUJbxAAAA:8 a=_3ORjGfkLmd6W5nxMtsA:9 a=QEXdDO2ut3YA:10 a=x-rrmlpudb0A:10 a=V5hIW_BCtU8A:10 a=sptkURWiP4Gy88Gu7hUp:22 a=E8ToXWR_bxluHZ7gmE-Z:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.20,FMLib:17.12.100.49 definitions=2026-01-25_06,2026-01-22_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 impostorscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 phishscore=0 spamscore=0 suspectscore=0 malwarescore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601260000 LTC3220 is a multi-display LED driver with I2C interface. The LTC3220 provides individual brightness control (64-step), blinking, and gradation features for up to 18 LED outputs. Reviewed-by: Conor Dooley Signed-off-by: Edelweise Escala --- .../devicetree/bindings/leds/adi,ltc3220.yaml | 120 +++++++++++++++++= ++++ MAINTAINERS | 7 ++ 2 files changed, 127 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/adi,ltc3220.yaml b/Docu= mentation/devicetree/bindings/leds/adi,ltc3220.yaml new file mode 100644 index 000000000000..62f760d517aa --- /dev/null +++ b/Documentation/devicetree/bindings/leds/adi,ltc3220.yaml @@ -0,0 +1,120 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/adi,ltc3220.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices LTC3220 LED Driver + +maintainers: + - Edelweise Escala + +description: + The LTC3220 is a multi-display LED driver, which contains a high-efficie= ncy, + low-noise charge pump to provide power to up to 18 LED current sources. + The LEDs are individually configurable to 64-step linear brightness cont= rol, + blinking and gradation control via 2-wire I2C interface. + + For more product information please see the link below + https://www.analog.com/en/products/ltc3220.html + +properties: + compatible: + const: adi,ltc3220 + + reg: + maxItems: 1 + + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + + reset-gpios: + maxItems: 1 + +patternProperties: + '^led@([1-9]|1[0-8])$': + type: object + $ref: /schemas/leds/common.yaml# + unevaluatedProperties: false + properties: + reg: + description: + Output channel for the LED (1-18 maps to LED outputs D1-D18). + For aggregated LED control, define only one LED node with reg = =3D <1> + and use led-sources to list all controlled outputs. Only reg 1 s= hould + be present when using led-sources. + minimum: 1 + maximum: 18 + + required: + - reg + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + // Independent LEDs + #include + #include + + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + led-controller@1c { + compatible =3D "adi,ltc3220"; + reg =3D <0x1c>; + #address-cells =3D <1>; + #size-cells =3D <0>; + reset-gpios =3D <&gpio 17 GPIO_ACTIVE_LOW>; + + led@1 { + reg =3D <1>; + function =3D LED_FUNCTION_INDICATOR; + function-enumerator =3D <1>; + }; + + led@2 { + reg =3D <2>; + function =3D LED_FUNCTION_INDICATOR; + function-enumerator =3D <2>; + }; + + led@3 { + reg =3D <3>; + function =3D LED_FUNCTION_INDICATOR; + function-enumerator =3D <3>; + }; + }; + }; + + - | + // Aggregated LED + #include + + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + led-controller@1c { + compatible =3D "adi,ltc3220"; + reg =3D <0x1c>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + led@1 { + reg =3D <1>; + led-sources =3D <1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17= 18>; + function =3D LED_FUNCTION_BACKLIGHT; + }; + }; + }; + +... diff --git a/MAINTAINERS b/MAINTAINERS index 327d74ca7ecb..d640c35d1f93 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14955,6 +14955,13 @@ W: https://ez.analog.com/linux-software-drivers F: Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml F: drivers/iio/temperature/ltc2983.c =20 +LTC3220 LED DRIVER +M: Edelweise Escala +L: linux-leds@vger.kernel.org +S: Maintained +W: https://ez.analog.com/linux-software-drivers +F: Documentation/devicetree/bindings/leds/leds-ltc3220.yaml + LTC4282 HARDWARE MONITOR DRIVER M: Nuno Sa L: linux-hwmon@vger.kernel.org --=20 2.43.0