From patchwork Mon Apr 25 03:28:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dang Huynh X-Patchwork-Id: 12825217 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9401C433F5 for ; Mon, 25 Apr 2022 03:28:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240614AbiDYDbo (ORCPT ); Sun, 24 Apr 2022 23:31:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240624AbiDYDbm (ORCPT ); Sun, 24 Apr 2022 23:31:42 -0400 Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 920EE7670; Sun, 24 Apr 2022 20:28:39 -0700 (PDT) Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (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 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4Kmr864kxYzDsBT; Sun, 24 Apr 2022 20:28:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1650857318; bh=J+EuToFStwQYsaImeqhXLTcurckLsomJchnIecq5Fno=; h=From:To:Cc:Subject:Date:From; b=b7AJq7GbAN356D+WnL1TxqFfIwn2bAjZUM4NdCMkoG7FH8j8IkhxUgNhsru7AEtKn IriCERZ31/ZD0NMRMawX/n506OWG3ThdDZ923SeVziN1qYXaDdbG+IR1IkSdRHphwY ijPJGraM0GXPvzuOqdccA9r6TmWnxyUgfy/TC4l4= X-Riseup-User-ID: 577A01DE89EE81C1397BDDC451FEDDA874471FF9635140DD193F048E1C2F3BD3 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4Kmr841hPpz5vXY; Sun, 24 Apr 2022 20:28:36 -0700 (PDT) From: Dang Huynh To: Dang Huynh Cc: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: sdm660-xiaomi-lavender: Configure WLED Date: Mon, 25 Apr 2022 10:28:24 +0700 Message-Id: <20220425032824.211975-1-danct12@riseup.net> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org WLED is used for controlling display backlight on this phone. Signed-off-by: Dang Huynh --- arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts index dcbaacf18f66..7a30008ee0dd 100644 --- a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts +++ b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts @@ -363,6 +363,14 @@ vreg_l19a_3p3: l19 { }; }; +&pm660l_wled { + status = "okay"; + + qcom,switching-freq = <800>; + qcom,current-limit-microamp = <20000>; + qcom,num-strings = <2>; +}; + &sdhc_1 { status = "okay"; supports-cqe;