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 E20B31FBEBC; Thu, 16 Apr 2026 02:39:35 +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=1776307177; cv=none; b=R+U35WI/mQ6b2hU57eEAkl8LSQnf6jEJyAvq2ig9LRyavNwizR6t48GAiHAJX84EPr931pZ3tdwJjdRRgI27AjHH3uTQTa08mcHq2GLvxo448r0a8rcFBtAUfwv1WlWWpzbWhw613ZDtw1wqNipFntaCtmsNG/CdeEvfDobG6UE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776307177; c=relaxed/simple; bh=1BxqYw52VDzUPG47msNFUgDn4u6NghUZKu/Nba0i2Fo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=EnUQBadYb2R2WD42pW3XvKM8Dlo8aUlBDq3/8Pd42HADhf4zOnSpGF480uV0e5aOFqRvOLJW5OLPgAoCAFw3mxh5izsFN5DXU/TlqCX9dsGCvBPGX93jZxS9UX6+L6ZUIxURzMLjjpmkgEJU6qkNa5Uj35oH5+Qgnvo5VHk1Ms0= 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=lJGcmhAt; 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="lJGcmhAt" Received: from pps.filterd (m0516787.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 63G20q7e3360118; Wed, 15 Apr 2026 22:39: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=0i1ZP nvRyH45QjHGYrMUgQrsaxAVrGXFYv5WbQDpAsg=; b=lJGcmhAtzEeYr71enbn73 JswL1uxQ6lZfxm0ntDANu8Ge5VoarfL9nE7ZvMz4OpimEYYCS7A6jCO7QPqpcRSX XYDzc/DDLjJYrxYgj+NjgCPBgFlTm+8xJlOxs8R54J6lm5ZY1J/Iu/72jI6ACNdQ 6zPh8vQQqksX+Bz0IHTkivas3cIMEhAXrKWtGJmBy4j4dmbOwru0PX6PTIPSOfS0 6YHe6ZPmTneMKrs1kHvrJQErFSXEitMSWZ0rwWftzHbStO+GgQfx4+tVQQ6yW9ev guOBGSRULypusi1hlkL7vUCY+M1aAXa7HS02/VvyjPcLjembGPvnYNmgirvm9FPc g== Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 4dh859avq6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 Apr 2026 22:39:33 -0400 (EDT) Received: from ASHBMBX9.ad.analog.com (ASHBMBX9.ad.analog.com [10.64.17.10]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 63G2dWCS001035 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 15 Apr 2026 22:39:32 -0400 Received: from ASHBMBX9.ad.analog.com (10.64.17.10) by ASHBMBX9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.37; Wed, 15 Apr 2026 22:39:32 -0400 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; Wed, 15 Apr 2026 22:39:32 -0400 Received: from HYB-VFz9h4bIQxi.ad.analog.com (HYB-VFz9h4bIQxi.ad.analog.com [10.118.4.30]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 63G2dJpO001886; Wed, 15 Apr 2026 22:39:27 -0400 From: Jan Carlo Roleda Date: Thu, 16 Apr 2026 10:39:06 +0800 Subject: [PATCH v4 1/2] dt-bindings: leds: Document LTC3208 Multidisplay 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: <20260416-upstream-ltc3208-v4-1-3884ed3e49f5@analog.com> References: <20260416-upstream-ltc3208-v4-0-3884ed3e49f5@analog.com> In-Reply-To: <20260416-upstream-ltc3208-v4-0-3884ed3e49f5@analog.com> To: Lee Jones , Pavel Machek , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Jan Carlo Roleda X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1776307159; l=6320; i=jancarlo.roleda@analog.com; s=20260317; h=from:subject:message-id; bh=1BxqYw52VDzUPG47msNFUgDn4u6NghUZKu/Nba0i2Fo=; b=0RJTAaBbF9EhkKO7ZN9kQWNORVlVSVgWIQn16/gTLoIU/IFIFAA/ChjRlSe06V38kkJ6yz3Hf X5VsV72bKgKD58jEUdqnN2XUVr6bR7suFd48BwaWFZmh4QVkgddT3iY X-Developer-Key: i=jancarlo.roleda@analog.com; a=ed25519; pk=zPMh+eO6/Mj6tqaie75BLiTLQvE3f9pck0UejKLmLMc= X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-ORIG-GUID: dyFaqii2cJ3dvr9NPdi09UlRcN2odAxt X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNDE2MDAyMiBTYWx0ZWRfX742uxqJF2LEm 8Kevj7XueGVk7rD0o7Lym2ySSsBvGkh1k5NJUZyA+hAUvODYUu7hA0V5jVkeryWKFBb4Vg/P4hw qc3fC6Ea2xQXfGPAoBX0538KT/zbI3giplANAaBjtLv1mCqh2+cP7bUKfxsiF9cU5OVRISj0LAY oNsCj9HW7Ti8wR2gEsOONFiDq5mbSpR7IFFXCFSYNhbkDm7k2EYj8a58H5KN2hQiITxLj2JH4pE f2/fbtZ5XnI8NK/3J/9luiQuaT/BMEx4S/HkQYXl+ejRiANK/ODVbA+XGCRNdYviZVWRiQ/z0nH kyGIkP7isDAVjeq0ZwJIZ9O+TvA8BAKzKKWVIrN8lCIRP65jiXM/HVziMB7fNKRV/vuoXLnZN90 AaQlJ74ZPMo6CScXGtBoJiV6qPHw+DaJ5qIgJzqLcgFc1sp5/rMr7pTZUd/3yjeHzCJ795cyh/p c7uHcvKsj1KvezThdDw== X-Authority-Analysis: v=2.4 cv=Ivkutr/g c=1 sm=1 tr=0 ts=69e04be5 cx=c_pps a=3WNzaoukacrqR9RwcOSAdA==:117 a=3WNzaoukacrqR9RwcOSAdA==:17 a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10 a=VkNPw1HP01LnGYTKEx00:22 a=0sLvza09kfJOxVLZPwjg:22 a=OmVn7CZJonkx5R5zMQLL:22 a=gEfo2CItAAAA:8 a=gAnH3GRIAAAA:8 a=VwQbUJbxAAAA:8 a=v2smZY1xhbZLdnYpqY8A:9 a=QEXdDO2ut3YA:10 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-GUID: dyFaqii2cJ3dvr9NPdi09UlRcN2odAxt X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-04-16_01,2026-04-13_04,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 malwarescore=0 impostorscore=0 suspectscore=0 lowpriorityscore=0 clxscore=1015 bulkscore=0 spamscore=0 adultscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604070000 definitions=main-2604160022 Add Devicetree Documentation for LTC3208 Multidisplay LED Driver. Signed-off-by: Jan Carlo Roleda --- .../devicetree/bindings/leds/adi,ltc3208.yaml | 181 +++++++++++++++++++++ MAINTAINERS | 7 + 2 files changed, 188 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/adi,ltc3208.yaml b/Documentation/devicetree/bindings/leds/adi,ltc3208.yaml new file mode 100644 index 000000000000..0a01e07e0ab7 --- /dev/null +++ b/Documentation/devicetree/bindings/leds/adi,ltc3208.yaml @@ -0,0 +1,181 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (c) 2026 Analog Devices, Inc. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/adi,ltc3208.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LTC3208 Multidisplay LED Controller from Linear Technologies (Now Analog Devices) + +maintainers: + - Jan Carlo Roleda + +description: + The LTC3208 is a multidisplay LED controller that can support up to 1A to all + connected LEDs. + + The datasheet for this device can be found in + https://www.analog.com/en/products/ltc3208.html + +properties: + compatible: + const: adi,ltc3208 + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + adi,disable-camhl-pin: + type: boolean + description: + Configures whether the external CAMHL pin is disabled. + If disabled then the output pins associated with CAM will always select + the CAM register's high half-byte brightness. + + adi,cfg-enrgbs-pin: + type: boolean + description: + Configures which channel the ENRGBS pin toggles when it receives a signal. + ENRGBS pin controls the SUB channel's output pins if this is set, + or RGB channel's output pins if this is unset. + + adi,disable-rgb-aux4-dropout: + type: boolean + description: + Configures the RGB and AUX4 dropout signals to be disabled. + + adi,aux1-channel: + $ref: /schemas/types.yaml#/definitions/string + description: + LED Channel that the AUX1 output pin mirrors its brightness level from. + enum: [aux, main, sub, cam] + default: aux + + adi,aux2-channel: + $ref: /schemas/types.yaml#/definitions/string + description: + LED Channel that the AUX2 output pin mirrors its brightness level from. + enum: [aux, main, sub, cam] + default: aux + + adi,aux3-channel: + $ref: /schemas/types.yaml#/definitions/string + description: + LED Channel that the AUX3 output pin mirrors its brightness level from. + enum: [aux, main, sub, cam] + default: aux + + adi,aux4-channel: + $ref: /schemas/types.yaml#/definitions/string + description: + LED Channel that the AUX4 output pin mirrors its brightness level from. + enum: [aux, main, sub, cam] + default: aux + +patternProperties: + "^led@[0-7]$": + type: object + $ref: /schemas/leds/common.yaml# + unevaluatedProperties: false + properties: + reg: + description: + LED Channel Number. each channel maps to a specific channel group used + to configure the brightness level of the output pins corresponding to + the channel. + enum: + - 0 # Main Channel (8-bit brightness) + - 1 # Sub Channel (8-bit brightness) + - 2 # AUX Channel (4-bit brightness) + - 3 # Camera Channel, Low-side byte (4-bit brightness) + - 4 # Camera Channel, High-side byte (4-bit brightness) + - 5 # Red Channel (4-bit brightness) + - 6 # Blue Channel (4-bit brightness) + - 7 # Green Channel (4-bit brightness) + required: + - reg + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + led-controller@1b { + compatible = "adi,ltc3208"; + reg = <0x1b>; + #address-cells = <1>; + #size-cells = <0>; + adi,disable-camhl-pin; + adi,cfg-enrgbs-pin; + adi,disable-rgb-aux4-dropout; + + /* MAIN */ + led@0 { + reg = <0>; + function = LED_FUNCTION_ACTIVITY; + color = ; + }; + + /* SUB */ + led@1 { + reg = <1>; + function = LED_FUNCTION_ACTIVITY; + color = ; + }; + + /* AUX */ + led@2 { + reg = <2>; + function = LED_FUNCTION_ACTIVITY; + color = ; + }; + + /* CAMLO */ + led@3 { + reg = <3>; + function = LED_FUNCTION_FLASH; + color = ; + }; + + /* CAMHI */ + led@4 { + reg = <4>; + function = LED_FUNCTION_FLASH; + color = ; + }; + + /* RED */ + led@5 { + reg = <5>; + function = LED_FUNCTION_INDICATOR; + color = ; + }; + + /* BLUE */ + led@6 { + reg = <6>; + function = LED_FUNCTION_INDICATOR; + color = ; + }; + + /* GREEN */ + led@7 { + reg = <7>; + function = LED_FUNCTION_INDICATOR; + color = ; + }; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 55af015174a5..19b0b84e934d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -15126,6 +15126,13 @@ W: https://ez.analog.com/linux-software-drivers F: Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml F: drivers/iio/temperature/ltc2983.c +LTC3208 LED DRIVER +M: Jan Carlo Roleda +L: linux-leds@vger.kernel.org +S: Maintained +W: https://ez.analog.com/linux-software-drivers +F: Documentation/devicetree/bindings/leds/adi,ltc3208.yaml + LTC4282 HARDWARE MONITOR DRIVER M: Nuno Sa L: linux-hwmon@vger.kernel.org -- 2.43.0