Message ID | 20230919-fp5-initial-v2-4-14bb7cedadf5@fairphone.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp3455265vqi; Tue, 19 Sep 2023 08:03:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFLWK39bzJX3GRNnc61vK2EKdv3huitInegVa2lql2YqffwKqUs+y5aQY5S5v+jZPuObs0v X-Received: by 2002:a05:6e02:10c6:b0:34a:c4ae:1937 with SMTP id s6-20020a056e0210c600b0034ac4ae1937mr74703ilj.13.1695135798067; Tue, 19 Sep 2023 08:03:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695135798; cv=none; d=google.com; s=arc-20160816; b=EuOqYwftrlQsm7rr3uCBmVykcAoqF/2M2RfUrQz+VKyBOwcdQ31RtsgssQ6A+cV2Ih Zu5+8ZbBxK7UtmXfBUS18y8iSZ9q45J8+5b+opKCgJic236heMsovBVswmPRa1BuPlsV Vsn5VT9vPTarROW7Wi/RU81Dq5SBZlGCt1V63nD9Ld2m5FGxeqmSxW4jEVCVMSlpNljZ MtXtyK+qmpFznzLX9adsjH4b+mlarnZigE9MVmKiGEdTzQc04f/Bp5Yei1RTyWx/GspK JayfNuTTivtTJGqDwOJOui3ApTR6yjCAnYhaB2c48TA7qH0yxSC8gTGGwxizTT1mR+RB TZhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=WMuJsymgFdsKAjrQm0VavHQLfVQtcng3/FrcyEkfn3s=; fh=57Ku0CTLA12Md3K6sQXAemFuM2rYfMcgUlRGEKAlkzM=; b=uKghKsfD/QVd2Pi1WGZ1ljUTQGTHdOd/7CCcvR2CM1wEvMDhKGuRzREvsXy5YFZcDX lMdrRD/MrKccEnuah9dmhlLdNjSD4RYJDI9eTW1IWgiXfhbTW0MLY0nLpzHgdddsCCfl J0v0skZoPQ6M1jKl5+435aRqxAZHt1FcdZU4n3LRZa+x158Ov6AcCtUSSX6EYnslOQRI TTfYO3ski55u+8SRBAEC5WceEJxbTGO9qx2LOH3hwlQiGm7RMhk4I1iCii1hLjINx1hA Ur4MmVtO7IZKcycunOpuMpVR7Qzq+phpBSQEbjT0of5CPMU4h/Ulg2AO+gTN74Zlew9W eLuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=QthGcJwZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id b15-20020a63e70f000000b00578889362a2si3505778pgi.663.2023.09.19.08.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 08:03:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=QthGcJwZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id BF7DA827718F; Tue, 19 Sep 2023 05:47:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232180AbjISMq2 (ORCPT <rfc822;toshivichauhan@gmail.com> + 26 others); Tue, 19 Sep 2023 08:46:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232158AbjISMqS (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 19 Sep 2023 08:46:18 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68BF5137 for <linux-kernel@vger.kernel.org>; Tue, 19 Sep 2023 05:46:08 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-53136a13cd4so2130930a12.1 for <linux-kernel@vger.kernel.org>; Tue, 19 Sep 2023 05:46:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1695127567; x=1695732367; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=WMuJsymgFdsKAjrQm0VavHQLfVQtcng3/FrcyEkfn3s=; b=QthGcJwZLcU4Owdd9tmIeYu+cw4+qDAmK8Dkn+KhTbAeTDfawtgh4Pd6fTFbIAjxMw UvzcvQ2+y3vy3JjNcOBKl9q4oIy8wzUCu5E22mtX1XOcEKVC1QYlRScxlYsJdT9aTdeH kxvWdKIXcoqI6be1m27GvgUKN4SprlGSAATCfdfDSNmu6IQk2qgpnbPqcTBXa2YK1WCE eOfkrVsg/G7X1ZdmsfxyN28/S8q0n6mloPBmp8WuqhsqiwZjlhKYw3LG4/HDkl0BOCkR qjrlZs6MvafszOlZ/U0Ntsfi3sFzehz4cpE3kA2Cu1hAcVTx10dZ+YseolZ4hHc6kZvE MjZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695127567; x=1695732367; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WMuJsymgFdsKAjrQm0VavHQLfVQtcng3/FrcyEkfn3s=; b=tFiBQcbJSFPjsArbaURA4bJTWyHjpX2hu/OS3apQr2ibpznvcqzNONps16hsWu+VWm nuv1JEekRvSH6Xc0aYLsr/rEmApDpA+8IFzahnbX2DTFguyeFO579qj5q9vszG7+G7L4 gB6CUPYICh135eg/2sogJx2RAzB9GZXoijlieWVkFH3QGsD81tiXbq1BCBg5xcuYV4d3 leZl5ngGaTq6+VruBOaVALdMjfOSMCyI9KZ2E1dqS+PI60jukdehuUlSbqnO7qHOuRH3 +E1lbHZPBSDZSrpPAn8y8rlLzt3X1O1OCgWecWhbu66heNwPCBy9c7GbHvSlhXgGKpuN xkCw== X-Gm-Message-State: AOJu0YyXbIoyR48bb/pYklMg92omy1OehF2sPyFr7l8Mo4ghwZYSbM0a cEspK8j2Sceg52JpHcbhCmxT1fCQb+mp2IPsh6Sq0XH4 X-Received: by 2002:a05:6402:5165:b0:530:8a59:a01d with SMTP id d5-20020a056402516500b005308a59a01dmr9886341ede.27.1695127567136; Tue, 19 Sep 2023 05:46:07 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (static-212-193-78-212.thenetworkfactory.nl. [212.78.193.212]) by smtp.gmail.com with ESMTPSA id dn22-20020a05640222f600b00532c1dfe8ecsm635878edb.66.2023.09.19.05.46.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 05:46:06 -0700 (PDT) From: Luca Weiss <luca.weiss@fairphone.com> Date: Tue, 19 Sep 2023 14:45:58 +0200 Subject: [PATCH v2 4/7] arm64: dts: qcom: pm8350c: Add flash led node MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230919-fp5-initial-v2-4-14bb7cedadf5@fairphone.com> References: <20230919-fp5-initial-v2-0-14bb7cedadf5@fairphone.com> In-Reply-To: <20230919-fp5-initial-v2-0-14bb7cedadf5@fairphone.com> To: cros-qcom-dts-watchers@chromium.org, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Linus Walleij <linus.walleij@linaro.org>, "Rafael J. Wysocki" <rafael@kernel.org>, Viresh Kumar <viresh.kumar@linaro.org> Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org, Luca Weiss <luca.weiss@fairphone.com> X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 19 Sep 2023 05:47:48 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777478714578584003 X-GMAIL-MSGID: 1777478714578584003 |
Series |
Initial support for the Fairphone 5 smartphone
|
|
Commit Message
Luca Weiss
Sept. 19, 2023, 12:45 p.m. UTC
Add a node for the led controller found on PM8350C, used for flash and
torch purposes.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
arch/arm64/boot/dts/qcom/pm8350c.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/pm8350c.dtsi b/arch/arm64/boot/dts/qcom/pm8350c.dtsi index f28e71487d5c..aa74e21fe0dc 100644 --- a/arch/arm64/boot/dts/qcom/pm8350c.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8350c.dtsi @@ -30,6 +30,12 @@ pm8350c_gpios: gpio@8800 { #interrupt-cells = <2>; }; + pm8350c_flash: led-controller@ee00 { + compatible = "qcom,pm8350c-flash-led", "qcom,spmi-flash-led"; + reg = <0xee00>; + status = "disabled"; + }; + pm8350c_pwm: pwm { compatible = "qcom,pm8350c-pwm"; #pwm-cells = <2>;