From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 771D6239E6F for ; Tue, 21 Oct 2025 06:31:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761028263; cv=none; b=Br1bqozSNPwxrydH6EM6i5Iu/+CO0Y4lI3i3qtJijb3Cgl+zJWEbOBUIz1Jv/DXcF+1934U60mJuOTdvg7TaVceWryqPHbxOxdMTZQiMkI+as6w615aCDVu9IORyfBZxo32PRoPnkLjXhBPs/278QOaKDpChUreDoXEVrt3RfY8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761028263; c=relaxed/simple; bh=Xn2v/XixXomU1lq1IhOn0xRQ39dUnTMlBPJKpTbUd7s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=XiENJjUuM/V+mD/AH+LDcSYJQ3DY3rkVgSC8dtiuI8x9VoULnh3EnWvSYzPvmu41hAcQ0rOfxfpEwzPKkF7bpeX2s1S3FJ4fyaaZ4B7QYVIH/7dy0kaAv19DS/+JkbLZLL8kxQ+js3P7IKhlrg9pQDIla6iBpmyqhKJnhINuWq0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=A9mGP4MH; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="A9mGP4MH" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 59KL0qTr020187 for ; Tue, 21 Oct 2025 06:31:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= Xn2v/XixXomU1lq1IhOn0xRQ39dUnTMlBPJKpTbUd7s=; b=A9mGP4MHhL32d08h 6ZCxyXxoc/9UoSFbMim5VGrXcG0BGM5NxOgdGxHkMjcbHW5NByK2NcOm57Uc9krg xmBdb4tCkMCb1ZNVh5ridNHUfZ8b/PjgTjkTqo/P40KE7LyCR3vAVl5VHfbqtVFz n8tDAclmgL5+qUx5dybRFFQTDU9iTIxSmkeIyS3Ck/96goIJxATRmUnouTB3koPE cSOFmp1pDZlRk0yeraXhBgPW91bzMMnrop6/PvzrWjfy0nesjjcYlMPxBRehSOkA GJp5wnF/ZVpDMd48O/80Gk6TanZMp5icMpY9Ija6DJ925sjKM4cQ8/I6cMFOZzxk SZCuqA== Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 49v343yc1m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Tue, 21 Oct 2025 06:31:01 +0000 (GMT) Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-2697410e7f9so133566935ad.2 for ; Mon, 20 Oct 2025 23:31:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761028261; x=1761633061; h=content-transfer-encoding:fcc:content-language:user-agent :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Xn2v/XixXomU1lq1IhOn0xRQ39dUnTMlBPJKpTbUd7s=; b=NGAM1rL6/EPt2sPBonf+dC/sK5WrYw1UB4t7+ABxC2H1gj/CyRZu9s17NDPDGD3smV Xh4VREheOxt7SkwldqbIVO1rAh2j08AvbTarc+I9PqoV0tOISQSrJZNcZzAlyTbA4ekg uO6HJHs/7svxfsyfvGGMN5x6zKzFLwBfglc0QPLmRrJexeR4FI86DEN6EjGyHdOCrlwK i+1XHkrfsIRGcCD6ndOeEgMEkjchQz2iotpkjMdbmJG10WGq7a2ODMqrgYxoPVQvnORq x0NjG1xTYEz3vPvpNjiUuFCxp2w40JAzMcZXdNPqk7jF55nwzutXIAkQJlOko0iPdQZS VI5A== X-Forwarded-Encrypted: i=1; AJvYcCUHMHWEVP5D/rpyxwCcTlsaOIQAgAFHZicS0jxKwpRp0otABGUO8L2g0QKAV4X+QSoocDUdTzL6Shmt55Q=@vger.kernel.org X-Gm-Message-State: AOJu0YxN4CSCeOddGvIUDMlk+/ApLrXI/vB5mK2W9I6wTTGIokcyKZvK KiRCC4+Cvl//D01HvzTU4ma6fLZFXh++eyJ5WtDaE2CoHyDTY/lvOTUGEWwnmYmog/Zl50mzLdV NdPpljio07Nz/TCeDEVTwudol6+r/sgw0MWppRjDOw7XlUmw2GKTE1vI6s+KTTTybwmQ= X-Gm-Gg: ASbGncuc/2zR7cwaJB595ANXvrK1hG32FUdbRXN5t84aVWx8iEdrC9nBv6p2+3lnLvq OoXVsNr69sgG/IFnqKp9yACyyslIHcoNpXn5Km09reTL/7jEOL05WV4SRFjJB57iPW31dta039u 14KsDPAh6kt/ZKAMghZpi/KnCoxsfqyXXYFrmn6C5SZJAgGgULUNkG84kJrPoj+JxvWbCXzj5F5 bYgBMg+djCtGpJ4A04Hj74qhSnBJw+ZqWViLvolfp4gbCSbDAJinUdUJQDOV6R26BZvDgNqwX+3 ouEo3UL99YNV/D6uZqr//miI5h/CJzHkXidkEkp5dB2/G5ZxcpVT3N4mG4Va8Vi9i6RQ+vnf8VH gsy+IIgEqYg8OnEnetpEEyaiRrQY1 X-Received: by 2002:a17:902:ec87:b0:269:82a5:fa19 with SMTP id d9443c01a7336-290cb07cbbbmr180399025ad.45.1761028260970; Mon, 20 Oct 2025 23:31:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE7d1oD/icwL9tXF2A+vZkz2krk4s2ylMycm0mskHgpzBPJz6Z8WKXs/AtbHkwBz835xZyBMA== X-Received: by 2002:a17:902:ec87:b0:269:82a5:fa19 with SMTP id d9443c01a7336-290cb07cbbbmr180398585ad.45.1761028260502; Mon, 20 Oct 2025 23:31:00 -0700 (PDT) Received: from cbsp-sz01-lnx.qualcomm.com ([114.94.8.21]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-33dfb573f97sm731028a91.1.2025.10.20.23.30.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Oct 2025 23:30:59 -0700 (PDT) From: Tingguo Cheng To: Konrad Dybcio , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Tingguo Cheng , kernel@oss.qualcomm.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kamal Wadhwa , Rakesh Kota , Fenglin Wu Subject: Re: [PATCH] arm64: dts: qcom: hamoa-iot-evk: enable pwm rgb leds Date: Tue, 21 Oct 2025 14:29:22 +0800 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: <20251017-add-rgb-led-for-hamoa-iot-evk-v1-1-6df8c109da57@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0; attachmentreminder=0; deliveryformat=0 X-Identity-Key: id1 Fcc: imap://tingguo.cheng%40oss.qualcomm.com@imap.gmail.com/[Gmail]/Sent Mail Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: ooOPPIK86ePnGFy1pSotdM5pUf8GKIKg X-Proofpoint-ORIG-GUID: ooOPPIK86ePnGFy1pSotdM5pUf8GKIKg X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDE4MDAyMyBTYWx0ZWRfX5UlIFVWFIwiw Bm3Z87DKgRYd0xWVfu1Y6UqmH8KUmvqywF9seYWrIjUuelYUQCDCYnXblwtE84+p3FKClwmAiVq 2dkR6pduBZM6YH8cpR1irru5uSOhEwNyXdmz2K1mTvrfy1uO0h0FT66vlyXGtqhtngJO+JP0BgW B6+h5E6V8c/zEfwVkR48RIPgj98f98CPAv+42ZRZgzHQ20zICpz3W/l0p5S7GzygY+4ZktsqT/e muaHjJjDPAgsHlXScttCrkCllYM4KQy8IkKOX7fPsIt548Mdo3R/wVel5YJ96sorMN/D37OSm/R jZXs8TWQbaej8n5agc1D4XBfbZms/stsHdq7Ypc948+oIqJXjHaxIAhojyI5gw3LkiVYP7wp7W+ Xoeq8oxvLhG1TvHLnQoNzcPJaIwp9g== X-Authority-Analysis: v=2.4 cv=E/vAZKdl c=1 sm=1 tr=0 ts=68f728a5 cx=c_pps a=IZJwPbhc+fLeJZngyXXI0A==:117 a=Uz3yg00KUFJ2y2WijEJ4bw==:17 a=IkcTkHD0fZMA:10 a=x6icFKpwvdMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=tLeiS6LLZF2fRYzC2IMA:9 a=QEXdDO2ut3YA:10 a=uG9DUKGECoFWVXl0Dc02:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-10-20_07,2025-10-13_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 priorityscore=1501 bulkscore=0 suspectscore=0 lowpriorityscore=0 clxscore=1015 adultscore=0 phishscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2510020000 definitions=main-2510180023 =0D On 10/17/2025 4:09 PM, Konrad Dybcio wrote:=0D > On 10/17/25 10:06 AM, Tingguo Cheng wrote:=0D >> Add red, green and blue LED channels for the RGB device connected to=0D >> PMC8380C PWM-LED pins.=0D >>=0D >> Signed-off-by: Tingguo Cheng=0D >> ---=0D > Just to make sure, is this a "multicolor LED" consisting of 3 ones,=0D > and *not* three LEDs that are supposed to communicate different=0D > functions (i.e. network, power, disk i/o)?=0D Yes, it's a multicolor LED composed of three individual LEDs within a =0D single package=E2=80=94not three separate LEDs for different functions like= =0D network, power, or disk I/O.=0D However, there's one exception worth mentioning:=0D The blue channel is connected to two sourcing signals=E2=80=94the EDL indic= ator =0D and the PMIC PWM-RGB blue LED=E2=80=94via two resistors. These resistors al= low =0D selection between the two sources.=0D By default, the board is configured with the resistor soldered to =0D connect the blue LED to the EDL indicator.=0D To support software control, I=E2=80=99ve added the blue channel in the DTS= , =0D enabling the capability to light the blue LED from the software side.=0D Some developers may choose to re-solder the resistor to connect the blue =0D LED to the PMIC PWM-RGB output instead, depending on their hardware setup.= =0D > Konrad=0D