From patchwork Tue Nov 12 02:40:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 13871676 Received: from mail-qv1-f53.google.com (mail-qv1-f53.google.com [209.85.219.53]) (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 2E53E4206E; Tue, 12 Nov 2024 02:41:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731379275; cv=none; b=G2n0/o6QULdk8qOnQwNdgkxtcakVibFbnTaQeMJueXqx/A8uTh4DLZxIxioV6rmUw+NgMpNJLc6kVLBKth5+4GwSEUl61p8fmhHt7Q4kPL2xjxssu6tg03vDmZbNgkFai0iIAxVzzxefsAkvqGUglg6584WQ3ZtA8S8yazc3aOw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731379275; c=relaxed/simple; bh=jl6088SbsfXaW9MfUE9nm15VLjSxMoeK4y1C4WyPoWA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sy4HijmWBgDyyw8Vz1Xy7rZw4XtgGPJAAdcNpXibLXOcBffZbywZDuqpWAyNB78EPXFRTgBIw+EMyKG8u2VNaOdlYwlSG5/6JEMFGVuJZGS2bl8ahWrQU8+lzWmsg23TduFv7YHmEr/lkw7p8mIuDvOEdPWjXCwQy8zkkyOOAMI= 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=c/vUqAWA; arc=none smtp.client-ip=209.85.219.53 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="c/vUqAWA" Received: by mail-qv1-f53.google.com with SMTP id 6a1803df08f44-6ce3fc4e58bso30090186d6.0; Mon, 11 Nov 2024 18:41:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731379273; x=1731984073; 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; bh=3v4c0zVwDO/ANV8imc9i8efR9gG0vcKpmvgynk89r4A=; b=c/vUqAWACNlJTFmaHSF+2khdRs0o9RrClBRZXC6qJXxSH00iAlgLL2JgzrKXCq4XZ2 pXE4t59GX1u34T7IeKd537efIu0sIYgTo74cPhsBy3Poymo7mgVAguJLo9LWUMk1sKRo mqnYAC0gfJ1oSJY8ufJgrQBRwhnr11941rFVh5jCEjTBHm46RbT0cv5YDklnwE9Zjs8j X7TtuK6rizXHbXwxSm6Hz3R6GdXgAzrfkEXjjL4fJUjsoZ2IeLh2o52xC4bH9k/JSnY+ eifc1+Xi1ZsMSayyK9rQbXNLgceDMIBNf5/BvE08QEEeyxe2uMHGaOkm9dcOH0eEDNrt XRsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731379273; x=1731984073; h=content-transfer-encoding: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=3v4c0zVwDO/ANV8imc9i8efR9gG0vcKpmvgynk89r4A=; b=TJxNaxEd/8MsoekBPH9t8Y4NDTAtmfEUQLbWzSenwfpq7zeJY/Q8taFWjCOUI1Ce+1 HzUOH82MTzgDa9xji88wEAZUo1GqO9S6wgfPJwFk3XOebXJd4dpAr34isnJ170ZPqf6P N0lO3NBeu4RS1WQYm2XJIB/ECyRzTSTzApYeYI9Qp4+4MlE1oikYt/jRAMq/loXxkMHN Co3MB0hKQagSf5CicxAfBLsiq8qFQ7d/BpeRqJ/7M/UWwHdu+qbqcu+/Wb6NDTlXZ6jJ XTgKaObwQQYiNzJjBedRp9oMQmtdlObYOydyWOI4gkh8Q9tc1A+2QiW5jG1vGwZB2A1p 0qFQ== X-Forwarded-Encrypted: i=1; AJvYcCUrWdUJFD2H+1GxHyyleFCef8xDKwql8kWEH/jt3f5gjKsENbhWWYaWpYXxoawBXHXkioh0GIP1M4Y2QQ==@vger.kernel.org, AJvYcCUv8NxD5qkC+VCloRwAqlMqJel10X/jdM4F2WiOhO6R+w2GlLNvw7dPL6KU4YLcAktbv2DEa5K0IIMl@vger.kernel.org, AJvYcCXQ7w5gMVcGp16wHfArrz+RdoOAaipIUtCXUsqYtM727tFmdNCt8YN0iyMH551gAkZ+/cCeiyGLGCyVZ+XFyw==@vger.kernel.org X-Gm-Message-State: AOJu0YyIKRDoBltYCub3d0Zq17S7SH+hxctdY0rV8QwZVNFLQUq4+46E 3FL9EMUkLHzIQmrgcgHcs1Hq0wK/2B640xxooNTfxgnrXNgx5bOa X-Google-Smtp-Source: AGHT+IFCQ58KKXKUpst2SbH+kU4dpZM+zMjooOk5Hq6hMCmenGuC+lWAArOCKyq1xd+nFmFOonomLQ== X-Received: by 2002:a05:6214:3389:b0:6d1:9f29:2e3b with SMTP id 6a1803df08f44-6d39e12534fmr186574896d6.13.1731379272861; Mon, 11 Nov 2024 18:41:12 -0800 (PST) Received: from localhost ([2607:fea8:52a3:d200::ea7f]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6d396204b2csm66196616d6.60.2024.11.11.18.41.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2024 18:41:12 -0800 (PST) From: Richard Acayan To: Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Fenglin Wu , linux-arm-msm@vger.kernel.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org Cc: Richard Acayan Subject: [PATCH 1/3] dt-bindings: leds: qcom,spmi-flash-led: add pm660l compatible Date: Mon, 11 Nov 2024 21:40:52 -0500 Message-ID: <20241112024050.669578-7-mailingradian@gmail.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241112024050.669578-6-mailingradian@gmail.com> References: <20241112024050.669578-6-mailingradian@gmail.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add the compatible for the flash LED controller on the PM660L PMIC. Signed-off-by: Richard Acayan Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml b/Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml index 1ba607685f5f..bcf0ad4ea57e 100644 --- a/Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml +++ b/Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml @@ -23,6 +23,7 @@ properties: items: - enum: - qcom,pm6150l-flash-led + - qcom,pm660l-flash-led - qcom,pm8150c-flash-led - qcom,pm8150l-flash-led - qcom,pm8350c-flash-led From patchwork Tue Nov 12 02:40:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 13871677 Received: from mail-qv1-f43.google.com (mail-qv1-f43.google.com [209.85.219.43]) (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 00CD74206E; Tue, 12 Nov 2024 02:41:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731379278; cv=none; b=syP+YBTGRE/Q4K4hk05xfZvZdfOzwBg7BVrUMEoGcjVLXS0IPNhvIEeDfeOeIO10xu4XdbWx9SyOHaKU1eDws+h7MgU61NNNietfs7QxVZl4r/a9Icd+pD/+oVDR5+8WUqWPGg4ye8+t1rEDznz2oWta5H1UEEEHk0hlDZ+i+kU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731379278; c=relaxed/simple; bh=V5vwGXQSOqlKHor9QPKQeOp/guRxpMu2AFdh9qH8knk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Tld+IJpTNb4FhxGNAjP3Bl6SYvZhb/Yl8/b+XDREMZFS3b48TcdrCDU9FtEWR7InkDCLmxlKY/ZpPMnBaRA7LET2T/JvxUmMDehCxZOtTfsqxo3ol8M/UEQr2zPb49ZHh7VPihw8OzI4Jg//vBjB3cP+hg+0Z5vkoVmDvPGnaB0= 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=S1q048LS; arc=none smtp.client-ip=209.85.219.43 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="S1q048LS" Received: by mail-qv1-f43.google.com with SMTP id 6a1803df08f44-6cbd12b38b4so34190156d6.2; Mon, 11 Nov 2024 18:41:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731379276; x=1731984076; 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; bh=/fTCWKcQDfMBnJLbE85DJwjJzGhPAmUIYQ+EBhwUivc=; b=S1q048LSOjDhj04UihhaklbupVGQ0PykKgv7EKT8RJJCmx+QT4gyTumntwDz7YvxjQ 2dFfRwnowseLjW7hkdFRNQL2m8yaUjSb9L6GGcjMv094nPwQxEroo3V/YetZWpfF3ir9 cETs43KtncRDMZS+NZug+K2PnZkXl4jW0Pj4arqRmMCIM08Sx2bw8Ww337T9bpIS0lSx BZ2x//NX0pn/5hmYIBUiG9/gz3t2Xn8Q5JJ4rcu3LiBAEY7Bns42H/rmxbOXnagUC78Q m2nL17wpUbM2/tade7loAdd9ACJXIOe18nkpYQr0ruQTEQ8NhWjtGd9ZVZ2cr5lXfppd LIsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731379276; x=1731984076; h=content-transfer-encoding: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=/fTCWKcQDfMBnJLbE85DJwjJzGhPAmUIYQ+EBhwUivc=; b=uRRcPliADJlouKYm/63igSQcG+/DHOB9G6Ktx429lmKN9JLY9uFeDvODJcijkB6otD DIkYMoHz/o2V6EBjyil7kNjXg41TZRatWluhMjp0rxTatRzGXJ3v+I10lftjza1vA3yS OUY8QzPbZAZK48SVjEjx61FWMXlHbY3t/KOgxCnq/iiP4TLA4ahnUcZ8Jd8uW5cgt4qW MupSoqYM+C1ty12BVqbmYuqeyH163BEgaLt/CSbO1h6iOH0fs6Cc4UVdRS9+urP+/s9g Orw7D2MQRqEpxcqu/m8YsrAoZ1Q8LZcZiZwHTnStIQ1wtOtqZ4q2Sb8W9VlW8tBjLwQi mI4w== X-Forwarded-Encrypted: i=1; AJvYcCWC2ditht83udxpQi8xlKft2Zg0xj+QflZ0U0qAjQNV9BrPSHEWCW6g+2SBnHzum1d/Dg0+WpC4t7lo4hDWEw==@vger.kernel.org, AJvYcCXf4UMsB9KSQvw2De/X1WcLvBEFOW2xeVoVEvgjfXUE6G26OirmZmthXZl43DYA7/PTBTKLTPmIu+3Y@vger.kernel.org, AJvYcCXmqGwEEL1eKl4CwlgrKAKE0ly7Rgh+JdNS2mI16XnVcSpUI+Vn9RbsylFUIvkAtjbhGLfLai3YOd97bg==@vger.kernel.org X-Gm-Message-State: AOJu0YxaMZAg3DX41kwswqt23rINC2eChpiUBKkoeAr+wM6OG++cd2tg mQv6IR5cmBF7hLj2RdGZthGUHMwcnye3vlAp8BF89bfd+8nSW/L/ X-Google-Smtp-Source: AGHT+IFhkImVyedpIPs/d7A+Jc9I6MAHP+B/rf0r1T+kw/i4mSdsbNyLCY4GeNd2fkeLgFZqNTqQPQ== X-Received: by 2002:a05:6214:2d44:b0:6d3:4553:49ac with SMTP id 6a1803df08f44-6d39e1cf0b6mr219340096d6.30.1731379275858; Mon, 11 Nov 2024 18:41:15 -0800 (PST) Received: from localhost ([2607:fea8:52a3:d200::ea7f]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6d3cf934d85sm3618496d6.33.2024.11.11.18.41.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2024 18:41:14 -0800 (PST) From: Richard Acayan To: Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Fenglin Wu , linux-arm-msm@vger.kernel.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org Cc: Richard Acayan Subject: [PATCH 2/3] arm64: dts: qcom: pm660l: add flash leds Date: Mon, 11 Nov 2024 21:40:53 -0500 Message-ID: <20241112024050.669578-8-mailingradian@gmail.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241112024050.669578-6-mailingradian@gmail.com> References: <20241112024050.669578-6-mailingradian@gmail.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The PM660L has support for QPNP flash LEDs. Add them to the device tree. Signed-off-by: Richard Acayan --- arch/arm64/boot/dts/qcom/pm660l.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm660l.dtsi b/arch/arm64/boot/dts/qcom/pm660l.dtsi index 0094e0ef058b..3f8b9eafe164 100644 --- a/arch/arm64/boot/dts/qcom/pm660l.dtsi +++ b/arch/arm64/boot/dts/qcom/pm660l.dtsi @@ -70,6 +70,12 @@ pm660l_lpg: pwm { status = "disabled"; }; + pm660l_flash: led-controller@d300 { + compatible = "qcom,pm660l-flash-led", "qcom,spmi-flash-led"; + reg = <0xd300>; + status = "disabled"; + }; + pm660l_wled: leds@d800 { compatible = "qcom,pm660l-wled"; reg = <0xd800>, <0xd900>; From patchwork Tue Nov 12 02:40:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 13871678 Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) (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 F3030204953; Tue, 12 Nov 2024 02:41:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731379282; cv=none; b=fQiBfADpjgTVrgCpYCNRc5XExrnJtSjg8XCvia2Ml/v3TD6ZoYyoJ47NlqneYgmeHOkSOne3AU3I6dfWRRCjmveLBbogsKWWtDjKne53CNRPE/WvKztz+0ECBMomr/jdtrLyOusYiyeB7VpGpi0YG9CfiDaq3ZY0LLHTi6dwdZo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731379282; c=relaxed/simple; bh=IpZydYlHdxh/qFTl2PNa2xzz/UVdkEWmO3oPwcHl8g8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sa1RnKSwiEemA6hAePY4cZYp0ejBn4T/X586sCICJW8Sw3CJBLyD0LoqhWiNKfY53dyvw14F30yKDESQg9YfJHHvtZI0bCG8ExttFhdCCis6drD220HWDMjm36PsM8ofnSZxgjdOMc/WCxYoAieo+rjkZbSvdlvr8SFalLYXETE= 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=Lhj4T7RH; arc=none smtp.client-ip=209.85.222.181 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="Lhj4T7RH" Received: by mail-qk1-f181.google.com with SMTP id af79cd13be357-7b14df8f821so478537585a.2; Mon, 11 Nov 2024 18:41:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731379280; x=1731984080; 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; bh=7ug7n6yxxaOQrSjkaUQ4R0ZKOErDPDxqYqa7dlrKjLQ=; b=Lhj4T7RHNpgD29xFmQaDlVLIo2UBoI9EarVAcfnHl2qP3PJs7fovxKgSDBias2/eJX sUfgOldzAGJkMcfKvFCzoAINPLGiisWM+Q3uju7Dzu+yQ5R1NuVhDbw5EPPhYpIiqR54 SyrTElhoQ5364tW5qkZFxI65OyYne+CKaWlNuE/S9fUueQMZrbV6b3ezp6OzEMRM+FlZ 4BouKOPmb1oLNvd7Y8MPfr3GavjByy+JULQy3pM+KvjcwTNemM8T/LsoopCMilg7RhFO iudWst4WQBJaXkqzdYe5mf+BzZ9AKbfXPIZS7IEFX9bin7y8ghwy9qjIEoKyudUXN/N8 GNPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731379280; x=1731984080; h=content-transfer-encoding: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=7ug7n6yxxaOQrSjkaUQ4R0ZKOErDPDxqYqa7dlrKjLQ=; b=f9h/3NPsCLiHvr/L+9gwo/mgWHA0uxgfWBQdmkzNb5KzN3xpEKt2iaiHgpI8nF3vci rd9b7shvQbp1lR04F7N+QSNg+6yhrE0wTBBfN/MAx6DZaMGeXx68Krc03F+14KkwHqcI Vt4ABQundoxsDX1LBOhdZCxaUifLSKt7XcTxr05wB6tjlr3TSLzuPDWgOVnuUfuIZNg7 fS6Mlwq9W67SNNQAZ3ddEvacpRgaEqFzGWZFkqwgpVFacB6by9tKz91stkvMdTa7IbcC TTLRQsm/q7NVcVloKPNQ3VhdlcYv1pzfnxi4ZiBklp1nlI3J+DNNRX4g9JsTVQngk7MY JWYA== X-Forwarded-Encrypted: i=1; AJvYcCVdu7+GyVK2D6GzLNRyOA4HjxywcsOnj02qDrFOKsDq1x5UWvjQMvKOutD6zb5f+BmvZuWKdMGJ6LFJ0Q==@vger.kernel.org, AJvYcCVt874CeyhGd13uxwbZS8a6Umnk/voOnGtFfGPZ+DuZPmgUgkQpS0CBsj32T6FZ2UKcKMe4tAllob9GGHh9lw==@vger.kernel.org, AJvYcCW2Qpam0caHCAvHTN4v7q70G65aaw3u9orpXnRDSh7QA5zxigHWherNDzTkhYGotYZrOFKfIatmkbYR@vger.kernel.org X-Gm-Message-State: AOJu0YxMpLNzU8Q13hyazfCzCvYXFYkkd5XSGPb9TzmV0vzjQmB/6468 JcUbHUeZhPaxwM0n90oso0w18CfxpAR5Bb/uB0IrAvLoSWOlIP397cgvP9C3 X-Google-Smtp-Source: AGHT+IEZLQmBLPlCMkGicHqpc5EwF+VqAhoWrKJafZogRF3mvoiv4B1zv1uWeW9gfuIKLxieb4hzYw== X-Received: by 2002:a05:620a:4495:b0:7b1:5143:8da1 with SMTP id af79cd13be357-7b331f20600mr2031990585a.43.1731379279849; Mon, 11 Nov 2024 18:41:19 -0800 (PST) Received: from localhost ([2607:fea8:52a3:d200::ea7f]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b32ac2dc1esm550438385a.18.2024.11.11.18.41.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2024 18:41:18 -0800 (PST) From: Richard Acayan To: Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Fenglin Wu , linux-arm-msm@vger.kernel.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org Cc: Richard Acayan Subject: [PATCH 3/3] arm64: dts: qcom: sdm670-google-sargo: add flash leds Date: Mon, 11 Nov 2024 21:40:54 -0500 Message-ID: <20241112024050.669578-9-mailingradian@gmail.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241112024050.669578-6-mailingradian@gmail.com> References: <20241112024050.669578-6-mailingradian@gmail.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The Pixel 3a has two identical flash LEDs. Add them together. Signed-off-by: Richard Acayan Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts b/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts index 176b0119fe6d..800773a676c0 100644 --- a/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts +++ b/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts @@ -10,6 +10,7 @@ #include #include +#include #include #include #include "sdm670.dtsi" @@ -482,6 +483,19 @@ &mdss_mdp { status = "okay"; }; +&pm660l_flash { + status = "okay"; + + led-0 { + function = LED_FUNCTION_FLASH; + color = ; + led-sources = <1>, <2>; + led-max-microamp = <500000>; + flash-max-microamp = <1500000>; + flash-max-timeout-us = <1280000>; + }; +}; + &pm660l_gpios { vol_up_pin: vol-up-state { pins = "gpio7";