Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1988505rdb; Sun, 4 Feb 2024 09:36:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IFxzVTgVEyli+qUTVqu+0kBM6J+sZAeAkymAhJMENJ2YSf9GvoX9pcUMpMmppG/i92tP9om X-Received: by 2002:aa7:d3c8:0:b0:560:1621:66ab with SMTP id o8-20020aa7d3c8000000b00560162166abmr3907908edr.17.1707068165026; Sun, 04 Feb 2024 09:36:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707068165; cv=pass; d=google.com; s=arc-20160816; b=TQ4tdN92JadpZyMZJE2CTVv5lYQ/uwfA8UZeXAZ89LxiqOpgs0uvyfOa/nt/sP8r1s IUe5btKhzuyRmpMKM7l8eG53jhZvPbMVuSWCz09eLg3HeHLVKjUujzP2wpVoe305hD6k KkYFfDR/Rx+zs59+CDS0rLylGaUbe0VUNMgxWK8oHlGT0Yx6kXg1Nt6St4YPjkHeaMcB 9hfpSpqYQKA/P3ngHrmw93RnQQl78fcpGRgo4Ax5gt3B6jriilGiQwi7kpUzR83c10TJ 993su/8EaDoinAzHNrORCMWRecIOTqd9rg0ufMcIecshtMFN6chs0n5Q2t8KLkpM6f+b XFOw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from; bh=Hkwg4q7ICYJx7whK9gT2TukKsdB5ob4bpr+RYNwv/wI=; fh=qETPQMETk+NeDeIlPKVheV2sqconk557pi4t796dlNI=; b=FnOrelr/bQZOaBKse+QDtc+vZwmM9kZDsJlQsBFw7co1iBn6A4s/nREaRPyaoyYJYn nfB8CrVpSslIICsRH94q1F99UgDzgCGMyM5nUWEPnY5+zdKamoAI9vB7gMFwTeYwnU0v zSyR+yJ8R+iWWqeCUAZMn5FCfQ8eZsQIUxWZ+QYtl5jGSUnvjKcXdm0xe1Pm1HkCUSvA riVno5/LtGws6eYbRfmgz7Hlrm4hNBLEHSN8Xo+UX6UTzTUWgoJsX1j4pR2iaE5y/eQU 7cusBiKrcYNuEEDY9JDGG3LUZO8nc9wL4LKn22ZDqIG01YYDeGJJohwX9R4LB22W57C2 5jXA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=somainline.org); spf=pass (google.com: domain of linux-kernel+bounces-51831-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51831-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCVfvE6/bWXNa6+vXzVJ2mQqAVluiGtC9zPS0Iw69JfDkwjE+vCUh7rWL5GtCLbwFn7ZCdtFXW8U89oL0Y/DB4J4hI6VYc/J38/ItUlrFw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r2-20020aa7c142000000b0056001f92c29si2487291edp.340.2024.02.04.09.36.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 09:36:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51831-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=somainline.org); spf=pass (google.com: domain of linux-kernel+bounces-51831-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51831-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 9311D1F2303A for ; Sun, 4 Feb 2024 17:36:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F1090249E4; Sun, 4 Feb 2024 17:35:51 +0000 (UTC) Received: from m-r2.th.seeweb.it (m-r2.th.seeweb.it [5.144.164.171]) (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 C20F524211 for ; Sun, 4 Feb 2024 17:35:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=5.144.164.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707068151; cv=none; b=PuI+YwMf5xPRTUgivOzfCRiEilSXU9/RUcOItVjyPGUwWxSxT1R1gVYrNAF84zpfojxa6rr1XqHZRWLEcqDCRLnVXUapkxSgfqvIBGBKvtANndPQovfPpdkHeQkfnAaiuy8o3JDQVZMzLTNZGSKkezvbCDYFZcWENFQE+e9q6EI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707068151; c=relaxed/simple; bh=oYJMOCwPyaX5sr3C8ht02ltCESTYiMyacCQTJL4xgEk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=XXxcCcbyUfeAk+/IEz1ZA9FQz8zmMhGaBiKcDLXIQSmcOcx3dFBdbZCtRKxJnGnUDw1yWrQnlJ/pPhMzM8Mw9grVw/Art0xQ/ibbAoHhVX+ieHkE9gmrM188WmiICwSAv373PoselMcCDa2F2WLwyegcWuBfHgx2w5OCXacOppQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=somainline.org; spf=pass smtp.mailfrom=somainline.org; arc=none smtp.client-ip=5.144.164.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=somainline.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=somainline.org Received: from Marijn-Arch-Book.localdomain (2a02-a420-67-c93f-164f-8aff-fee4-5930.mobile6.kpn.net [IPv6:2a02:a420:67:c93f:164f:8aff:fee4:5930]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 2A7E73F0C8; Sun, 4 Feb 2024 18:35:47 +0100 (CET) From: Marijn Suijten Date: Sun, 04 Feb 2024 18:35:22 +0100 Subject: [PATCH] arm64: dts: qcom: sdm630-nile: Enable and configure PM660L WLED 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: 7bit Message-Id: <20240204-sdm630-nile-wled-v1-1-9f5c4f8147f2@somainline.org> X-B4-Tracking: v=1; b=H4sIANnKv2UC/x3M0QpAQBBG4VfRXJsaS5RXkQuZH1Ms7RZK3t3m8 rs456GIYIjUZg8FnBZt9wlFntG4DH4GmyaTE1eJk4qjbnUp7G0FXyuU4UpthkInGUEpOwImu/9 l17/vB03ahC9iAAAA To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marijn Suijten X-Mailer: b4 0.12.4 The board-specific (electrical) configuration was removed from PM660L in 90ba636e40cb ("arm64: dts: qcom: pm660l: Remove board-specific WLED configuration") as it is platform-dependent. We reintroduce it here in the Nile board configuration (with a slightly lower current limit, as per downstream DT sources) and enable it for use in the dsi0 node. Signed-off-by: Marijn Suijten --- arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi index 87d0293c728d..852aecfba95a 100644 --- a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi @@ -241,6 +241,16 @@ led@3 { }; }; +&pm660l_wled { + status = "okay"; + + qcom,switching-freq = <800>; + qcom,ovp-millivolt = <29600>; + qcom,current-boost-limit = <970>; + qcom,current-limit-microamp = <17500>; + qcom,num-strings = <2>; +}; + &pon_pwrkey { status = "okay"; }; --- base-commit: 01af33cc9894b4489fb68fa35c40e9fe85df63dc change-id: 20240204-sdm630-nile-wled-e23d7a1df0ce Best regards, -- Marijn Suijten