Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp711156rdb; Tue, 19 Sep 2023 08:04:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE31+MrdmGw3VfiCT4JyK4zhrCfh5EXRaje5o4h8KNSVMsWxd23WdHn//+rRubpq6UY8Ohp X-Received: by 2002:a17:90b:fd2:b0:274:c637:4b97 with SMTP id gd18-20020a17090b0fd200b00274c6374b97mr6551169pjb.16.1695135898779; Tue, 19 Sep 2023 08:04:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695135898; cv=none; d=google.com; s=arc-20160816; b=YboMOATWhCspJqzNudaI1oKbmyZgnACjEOK+zoGMmeNR0MlUyOy1WzGJJZi32v7kP+ Ey7gGZrL1MFcO7Yb8u9WcE5Vmi8EuuwH8dqDC7v6Sk9EApLYulgY11pQsiug6OFdSWo+ qLHT6Eg3HnQ8F8UahivcMYKSy4qJJ3B3uGQsM7N1dp2MTGrakcoZkHdGCZjruL9FKaMa +EBmcMombHwik/AuMquQd12vf1L108QFrZjxk6p2NgyKCqo48qqDEU/gZhvhduku+YRe Azqb3B4rj0LOI1zGFLbb31iPPrfFVTPCLkoXlirUeK5fzaO1P90YZFUaUOWA3ZDSRyAU 9Glg== 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:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id co24-20020a17090afe9800b00276a9f350casi990662pjb.0.2023.09.19.08.04.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 08:04:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; 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:4 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 howler.vger.email (Postfix) with ESMTP id 25BE68093489; Tue, 19 Sep 2023 05:46:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232148AbjISMq1 (ORCPT + 99 others); Tue, 19 Sep 2023 08:46:27 -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 ); 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 ; Tue, 19 Sep 2023 05:46:08 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-53136a13cd4so2130930a12.1 for ; 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 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 , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla , Linus Walleij , "Rafael J. Wysocki" , Viresh Kumar 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 X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 19 Sep 2023 05:46:40 -0700 (PDT) Add a node for the led controller found on PM8350C, used for flash and torch purposes. Signed-off-by: Luca Weiss --- 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>; -- 2.42.0