From mboxrd@z Thu Jan 1 00:00:00 1970 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 A4EEE320CCC; Fri, 3 Jul 2026 04:11:37 +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=1783051911; cv=none; b=ZhEHST/uHO3wGpRcVh9HkVsIuvnW0dXGG4m+xvGsQKY4mm1wT5xQmDkTtdZ2gWbPTh5BpyZwtTTS7wig0DJlgAExaQjcq22iUl9ilwnFBX3xO9eFvhEDpenvoP2smu31mZ0RvOkahQEFQ0n3LgnqlaSDANJ/s2l1RmX5i95/PqA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783051911; c=relaxed/simple; bh=HcbCtTzydwxQRz4o8JQhLDSKSZfqA+CLNmXR4MjOXmE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=UVyDXQF/4Qb3Gh0kBdcTxQUPqKvZ1OAz5bUp8NttGfu+xEFFD3R9FV2yKGwCq4bFum5R/15Ix8Au8k72wIyrFyYyvrWdHVh5MDFwEQatp2ICkXwN3LEnRe4oWowCgbCzc20gOvzyG6NInGIHI2MnZ1v3M4l51jvdzBhvkRSlM3w= 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=q/XSGxO8; 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="q/XSGxO8" 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 6633RjXa4185412; Fri, 3 Jul 2026 00:11:33 -0400 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=g9b5r ME6bJV8jhCfKAXNDmWZR8uGAnWo5RC+fUE+9Ps=; b=q/XSGxO8cEzWYCIh3U3GQ oolHwCI8CYsLRcQ0RuVL1wE75LYiqCXQdpnZVtgC4wGfQMZ9yO0dkKyNkgl6CFQk FVPiXHImwBkRzSCBHvBOuCFND2DDGf9RFuzj4g4OpMdqA3o6bcfnitLBd/qwJ/F5 9kT7I3F9VALDv1KJ7y1LSWBOx2Rg555IRMx7C4zExqeF2tcbR4kIiIPQpHXOzY3M QWdlC1fjC+e4mGeiGhZUYyPw9tSCL8Umr9OLbAK+oJ+JHnM1ScYSha057+xO4XMp xB+FDuRXc5gBJzjIvPxbUFseQyPcW+sCOtnwnoNprCUv9aA6qF0an7l0o2Odwp8R Q== Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 4f656u8528-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 03 Jul 2026 00:11:33 -0400 (EDT) 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 6634BW6c048650 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 3 Jul 2026 00:11:32 -0400 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) 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; Fri, 3 Jul 2026 00:11:32 -0400 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server id 15.2.1748.37 via Frontend Transport; Fri, 3 Jul 2026 00:11:32 -0400 Received: from HYB-7P5GeKnsiiX.ad.analog.com (HYB-7P5GeKnsiiX.ad.analog.com [10.118.4.70]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 6634BGVe028664; Fri, 3 Jul 2026 00:11:25 -0400 From: Edelweise Escala Date: Fri, 3 Jul 2026 12:10:50 +0800 Subject: [PATCH v12 1/2] dt-bindings: leds: Add LTC3220 18 channel LED Driver Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20260703-ltc3220-driver-v12-1-d4f0da2985e2@analog.com> References: <20260703-ltc3220-driver-v12-0-d4f0da2985e2@analog.com> In-Reply-To: <20260703-ltc3220-driver-v12-0-d4f0da2985e2@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=1783051877; l=4823; i=edelweise.escala@analog.com; s=20260106; h=from:subject:message-id; bh=HcbCtTzydwxQRz4o8JQhLDSKSZfqA+CLNmXR4MjOXmE=; b=6/6/FRgxnPiWYwjMudTsgNwzwXIcUbbCrP3ueSftam/RHGD+tqh8qI2vIbT0ZixQoDKDjOd3F JBsAlCpUbEUANdszf7MaGC7yuySkL3RfBpPQ8uR2toCLB8eHvuB+3Nd X-Developer-Key: i=edelweise.escala@analog.com; a=ed25519; pk=lf5HLFe8ZeQjXZgkBkFMK+u9qH5/tqZhCIushTKduNQ= X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzAzMDAzNyBTYWx0ZWRfX+2xfYXYc/OT7 qbta++zroXwuQbwNAThbtbLwLbw5ErHcu2Xi9LUJvAgK7WwNgSEFFOrleMqmWwTEZa2Oh9NFYiD Mk8ZYbMX0Ys4aM0I5LV2y2bz1D/25vmX6TFsdKG5P94h8vUDIsW5kNOSABsBKgLnfaBW+uJ+4fb 2t/VxBNYmTVAWU7mE1eHfG1V6fC4bpnqEgbTH3LTTQtxaaFbaYgVm0pl/ThE+wd2mzfl4V1XIkF 8J3eX2+SZG4dLls8hlGTw/uqH94bd+AZlplCH+5loza+hoYHkl8djHGwft4ExV2WywYnHs7q5IS lGnQCYdm1Av7xyjpBMmjgdmFw1JHfNP1AyKdvUvba4KfPZWylW0BfmL6XjPCtV8v+ypfd2h+uA7 ZQhYYC/CA/frSg7SOTgx7AtzOqaF3ytotRLnhHBMDAiZX+JqI67n5BcrBSa2mNyOpn3tiTrrm4V Gx6NAAW3Z2gfuZYDhwA== X-Proofpoint-Spam-Info: AW1haW4tMjYwNzAzMDAzNyBTYWx0ZWRfX+MyR3SgP5u73 8sTSHbvPmRowZMKiIOjn5fN2D5oNUH1TUA1PofDVl2Ixa1fs62pyZMahwV/xTg3fLVMVTAyQtNH EvuX+HsYQ9VR944wBIwQTVcd0EB5ZexxvTjZ7boaX1w4asTnVq1z X-Proofpoint-ORIG-GUID: b8HaYJty4w1mN-o9nnY7f04rx5UtsPs6 X-Proofpoint-GUID: b8HaYJty4w1mN-o9nnY7f04rx5UtsPs6 X-Authority-Analysis: v=2.4 cv=O4IJeh9W c=1 sm=1 tr=0 ts=6a473675 cx=c_pps a=3WNzaoukacrqR9RwcOSAdA==:117 a=3WNzaoukacrqR9RwcOSAdA==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=0sLvza09kfJOxVLZPwjg:22 a=Z0pTeXoby7EwIRygza74:22 a=gEfo2CItAAAA:8 a=gAnH3GRIAAAA:8 a=XYAwZIGsAAAA:8 a=VwQbUJbxAAAA:8 a=_3ORjGfkLmd6W5nxMtsA:9 a=QEXdDO2ut3YA:10 a=sptkURWiP4Gy88Gu7hUp:22 a=E8ToXWR_bxluHZ7gmE-Z:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-07-03_01,2026-06-26_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 adultscore=0 priorityscore=1501 spamscore=0 suspectscore=0 lowpriorityscore=0 malwarescore=0 phishscore=0 impostorscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607030037 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 | 131 +++++++++++++++++++++ MAINTAINERS | 7 ++ 2 files changed, 138 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/adi,ltc3220.yaml b/Documentation/devicetree/bindings/leds/adi,ltc3220.yaml new file mode 100644 index 000000000000..c859490e9108 --- /dev/null +++ b/Documentation/devicetree/bindings/leds/adi,ltc3220.yaml @@ -0,0 +1,131 @@ +# 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-efficiency, + low-noise charge pump to provide power to up to 18 LED current sources. + The LEDs are individually configurable to 64-step linear brightness control, + 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-9a-f]|1[0-2])$': + 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). + Unit-address must be in hexadecimal (1-12 hex = 1-18 decimal). + For aggregated LED control, define only one LED node with reg = <0x1> + and use led-sources to list all controlled outputs. Only reg 1 should + be present when using led-sources. + minimum: 1 + maximum: 18 + + required: + - reg + + if: + required: + - led-sources + then: + properties: + reg: + const: 1 + +required: + - compatible + - reg + - '#address-cells' + - '#size-cells' + +additionalProperties: false + +examples: + - | + // Independent LEDs + #include + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + led-controller@1c { + compatible = "adi,ltc3220"; + reg = <0x1c>; + #address-cells = <1>; + #size-cells = <0>; + reset-gpios = <&gpio 17 GPIO_ACTIVE_LOW>; + + led@1 { + reg = <0x1>; + function = LED_FUNCTION_INDICATOR; + function-enumerator = <1>; + }; + + led@2 { + reg = <0x2>; + function = LED_FUNCTION_INDICATOR; + function-enumerator = <2>; + }; + + led@3 { + reg = <0x3>; + function = LED_FUNCTION_INDICATOR; + function-enumerator = <3>; + }; + }; + }; + + - | + // Aggregated LED + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + led-controller@1c { + compatible = "adi,ltc3220"; + reg = <0x1c>; + #address-cells = <1>; + #size-cells = <0>; + + led@1 { + reg = <0x1>; + led-sources = <0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf 0x10 0x11 0x12>; + function = LED_FUNCTION_BACKLIGHT; + }; + }; + }; + +... diff --git a/MAINTAINERS b/MAINTAINERS index 2fb1c75afd16..c8a242577d2f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -15223,6 +15223,13 @@ W: https://ez.analog.com/linux-software-drivers F: Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml F: drivers/iio/temperature/ltc2983.c +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/adi,ltc3220.yaml + LTC4282 HARDWARE MONITOR DRIVER M: Nuno Sa L: linux-hwmon@vger.kernel.org -- 2.43.0