Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2553135pxb; Sun, 28 Feb 2021 05:12:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJwTYQqYgo9pUWkUuKQ64euqIHDa9+zVRYsrvqHy6Zu711Nnkqn3pteFaF+muT4HqEphrKo9 X-Received: by 2002:a50:cbc7:: with SMTP id l7mr11816928edi.134.1614517971090; Sun, 28 Feb 2021 05:12:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614517971; cv=none; d=google.com; s=arc-20160816; b=PoQFxwDBZIuMZK2Zd0Srd5RjmGobuN/uT+eLE7d7GHMNq016x6fos4/n6kfsCulkle mAVhCkwg8qaxuEwG/Q+86S7pImajs2XGjztlg4dO/Mp4/fSmdjYxU6xQvxgd6eZf4uPg BhoC5/P3Te+LTcKMGINDoUPOtokDuxqPkh3sX3Bh4AUeSji3wMaIVOQVAIxPBPENkaRE tMxj40HOQpHa1fpv+n5hbT1osEKZgAmKenHt5JVCs2hCkZyzI+MSyS4ui4K8etmvcXCb 3YW+DC8klrIOFpZ5uAgYS4/Ylu1xpjYL6xDRuiAY37rJ8PhMOQivAS+soqMSlMd/8IUw vJIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=ncYPyJIBcp9M+aN4lp/G2xCsFIE7lIXFsMgxWASlDwg=; b=eaqJLW+EYZaSWfmp4DXTEPzpfLKIr5stmGgwe/K31QEeGbfclAOdmTuP3/pPABAhIE Bh37Llj8Zv9mEzqJyhqPPe+cCpK82He38IM8QA9dNj5u61xZ84qI6g988D6RUrhzOi6t zOd4ecgcDYXBqJ35Do9JOEl8J97plW4eLuyL5BQgfyFEGlinYgio/VEwim/HWDFtrA2p nL2Xj05e0BfMqHxeSwJ0tENZJX4GQqMI4iZHJAH1X2X0uKxd3YpprGhZafnqQxCZcx+v 1wUldAz+6qFEpUdc9U/+Ugqx1xw44xZubZL9DfnE0zzZ+bzsUiD8br6ix9YIWh9auOEx RMmA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s20si9722070eji.387.2021.02.28.05.12.29; Sun, 28 Feb 2021 05:12:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230507AbhB1NLG (ORCPT + 99 others); Sun, 28 Feb 2021 08:11:06 -0500 Received: from relay04.th.seeweb.it ([5.144.164.165]:46039 "EHLO relay04.th.seeweb.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230420AbhB1NKF (ORCPT ); Sun, 28 Feb 2021 08:10:05 -0500 Received: from localhost.localdomain (abab236.neoplus.adsl.tpnet.pl [83.6.165.236]) by m-r1.th.seeweb.it (Postfix) with ESMTPA id C044C1F578; Sun, 28 Feb 2021 14:09:02 +0100 (CET) From: Konrad Dybcio To: phone-devel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, martin.botka@somainline.org, angelogioacchino.delregno@somainline.org, marijn.suijten@somainline.org, Konrad Dybcio , Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/11] arm64: dts: qcom: pmi8994: Add WLED node Date: Sun, 28 Feb 2021 14:08:28 +0100 Message-Id: <20210228130831.203765-10-konrad.dybcio@somainline.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210228130831.203765-1-konrad.dybcio@somainline.org> References: <20210228130831.203765-1-konrad.dybcio@somainline.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add and configure WLED node to enable backlight control on WLED-enabled devices. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/pmi8994.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pmi8994.dtsi b/arch/arm64/boot/dts/qcom/pmi8994.dtsi index e5ed28ab9b2d..b21c01fea37a 100644 --- a/arch/arm64/boot/dts/qcom/pmi8994.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi8994.dtsi @@ -32,5 +32,18 @@ pmi8994_spmi_regulators: regulators { #address-cells = <1>; #size-cells = <1>; }; + + pmi8994_wled: wled@d800 { + compatible = "qcom,pmi8994-wled"; + reg = <0xd800 0xd900>; + interrupts = <3 0xd8 0x02 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "short"; + qcom,num-strings = <3>; + /* Yes, all four strings *have to* be defined or things won't work. */ + qcom,enabled-strings = <0 1 2 3>; + qcom,cabc; + qcom,eternal-pfet; + status = "disabled"; + }; }; }; -- 2.30.1