From patchwork Wed Dec 29 17:03:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 12701051 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 77246C4167E for ; Wed, 29 Dec 2021 17:04:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241059AbhL2REg (ORCPT ); Wed, 29 Dec 2021 12:04:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237577AbhL2REf (ORCPT ); Wed, 29 Dec 2021 12:04:35 -0500 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 314F9C061751 for ; Wed, 29 Dec 2021 09:04:34 -0800 (PST) Received: by mail-ed1-x52a.google.com with SMTP id z29so88517657edl.7 for ; Wed, 29 Dec 2021 09:04:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tRa41Q7YmcA2jiHokzQD85AZtD/jes1qyk4BowEUlZs=; b=4Kb5/y5pLN+ryu5bSVC8Ndy3/d2PIad+2guuviQIYuJUuvp+znx9xO1R1OZaoIKVWi ZFWRd+/lfmDC9lERmavU3s5XkILb+b/XK67O8VQwn1AwKc3w05VVpsHJuOWUg6mKkrrD /JD0Wap1jUlZy87MWPjv7/bpVJ/v+V4c5dpluhLXM7nfTAP17g/l3+eNH38sH+FtaB9s zoNi+x4AWVsJZ8QvaoAD9FF0chiRXERBCh/Jp+S23wIeaMRH62oPFnLFYQ3U4wKJetsm XRfEDYdWr67UJx3YMmjToZzqMkFV+0B0u1Iclc9uoO08+Js0+NffwGj8B0EP71zzZat1 /PNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tRa41Q7YmcA2jiHokzQD85AZtD/jes1qyk4BowEUlZs=; b=nR9VSFIrEFsQbmWXip4P7I/9oTt4MZOy/3daBz2j8qQUE6WNHodDqdTuB61wJCCKzU DNKWgMYeOXWwWkjgtZG42ZGRrVecQGxRjgz/xlCnn7twn/5nfNTl30APW2EF6AJ/QNup zUcsP7Yq+Qc5geFqMM9ORwAs6GxB3Z8H4NBdWGZjxPCxPw1vQdc3J83W5xI0iBFAcegJ Qah2nsT/M3PFIwfPQbn7ebXjpKeTrDWSUkYvFFbOYlbxJcWII5L+dIOqZuy8qFevNcoO kxtOfHLaRxQDAnqRuGZq5ge714jJzKYeLl1XjRMfMEkabFZrBtZDE+UTEMRPVr/tXdXL gjEw== X-Gm-Message-State: AOAM531CYQFov7nJ3eqMEnbChUrHMyFeqS4Kv6FaIR4lG8zRPDpSojuw ZAK+PZXEPyBGQwBd3MzLo7TyfCB4fIxhZ8fk X-Google-Smtp-Source: ABdhPJx2nYgUSU+x3h23MRcMcRC1dXlEaTzi9l4EqBY+DCAX7wN++gN2yZhEl6nn2gce9PmI5GFSyQ== X-Received: by 2002:a05:6402:35c2:: with SMTP id z2mr27185785edc.43.1640797472546; Wed, 29 Dec 2021 09:04:32 -0800 (PST) Received: from localhost.localdomain ([2a02:a210:20c5:8c80:7d0a:cd68:c339:f426]) by smtp.gmail.com with ESMTPSA id w11sm8546153edv.65.2021.12.29.09.04.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Dec 2021 09:04:32 -0800 (PST) From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Luca Weiss , Andy Gross , Bjorn Andersson , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] arm64: dts: qcom: pm6150l: Add wled node Date: Wed, 29 Dec 2021 18:03:57 +0100 Message-Id: <20211229170358.2457006-4-luca.weiss@fairphone.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211229170358.2457006-1-luca.weiss@fairphone.com> References: <20211229170358.2457006-1-luca.weiss@fairphone.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org WLED is used for controlling the backlight on some boards, add the node for it. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/pm6150l.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm6150l.dtsi b/arch/arm64/boot/dts/qcom/pm6150l.dtsi index 3ca2860bb0cf..7aa2ef90cb6a 100644 --- a/arch/arm64/boot/dts/qcom/pm6150l.dtsi +++ b/arch/arm64/boot/dts/qcom/pm6150l.dtsi @@ -52,5 +52,15 @@ pm6150l_lsid5: pmic@5 { reg = <0x5 SPMI_USID>; #address-cells = <1>; #size-cells = <0>; + + pm6150l_wled: leds@d800 { + compatible = "qcom,pm6150l-wled"; + reg = <0xd800>, <0xd900>; + interrupts = <0x5 0xd8 0x1 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "ovp"; + label = "backlight"; + + status = "disabled"; + }; }; };