From patchwork Fri Dec 9 13:54:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13069576 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 A927AC2D0CB for ; Fri, 9 Dec 2022 13:54:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229814AbiLINyN (ORCPT ); Fri, 9 Dec 2022 08:54:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229828AbiLINyL (ORCPT ); Fri, 9 Dec 2022 08:54:11 -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 D30BD750A5 for ; Fri, 9 Dec 2022 05:54:10 -0800 (PST) Received: by mail-ed1-x52a.google.com with SMTP id m19so3157701edj.8 for ; Fri, 09 Dec 2022 05:54:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; 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=f4yh5xgjEQoq90Bl89iS4Grp7fPsFxoV4M+wDWpZgpE=; b=T9AMDcmPce0wGjd2pPpDE2xhD/MhpmqUzUpvmRoOTT+76RP0S+fE/RqkE/j85/pdM4 YiBAFTw4rHHyO40snTvXwUVOXawyZ+3K5I8AqjJ5EEiW9HndRoTV/EOqZYvDvo1WJboV R41ULrSdSW/Md7gdUykVAGDJ13/VqjlrcKmO0HcAmDp74cIwgCvUjFa32w0uAj7n+hN8 BM7ZXBrnOzw12Bjpv8iYeEHmW2yGsDwdBv7mej4QneFqqtZDQnZMx6B7pDJLHHhkMJH1 BkaACbwnnFvUpT4+2tDGT7zD3ZSJ0dgDqheUbN0omCxCC4S+oOtyORuOZCcFFrXx4EQZ MPLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=f4yh5xgjEQoq90Bl89iS4Grp7fPsFxoV4M+wDWpZgpE=; b=OC7tcKbqTBKmc35XhZ/m0at6AqeIw0Hf8yUuKysJD3JzGrSqeREt5c1oVBruWt8Udz LsDaAdr6D+z15d7zw63gNE93PL2UyueW3lI9H/B7VRu3fvd5EVDIBKPW6Jy0EbPg7K1B Tt17C81tBPbQAZ/l+RK8qJpz1uBQCKoZA6Wru6cIPAwDVQqPNNZPi69+ymGGbRMMS6Yt XMhMWMNwVLwVQhyF00RcKAqxyfOFXTJzGVaR+nsSWz+vAhRKcMRW41FpnWh0AKhUqfA2 UUdJb5XmxGVLBJGEBjIZ8I+RfD2MDBKPtWLtjzF0kkHVxrgtN1cWwmL9qFpYI54nYJHd 6r8Q== X-Gm-Message-State: ANoB5plpkakR7KllRbQPkrRak7fU5tUyQ2IIRilijFmcXjBy5ExjGf5r PpU1QgchzpW0B7gbMHOXOzy/Xg== X-Google-Smtp-Source: AA0mqf7X23tw1uk6uJrsTDNddrFALdnj1e042jncHPzXIju6bC/k236aIcNNV+1TT/qimYb9pExEWg== X-Received: by 2002:a05:6402:5483:b0:467:7b2e:8863 with SMTP id fg3-20020a056402548300b004677b2e8863mr3742690edb.12.1670594049274; Fri, 09 Dec 2022 05:54:09 -0800 (PST) Received: from [172.16.240.113] (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id k19-20020aa7c393000000b0045b4b67156fsm656371edq.45.2022.12.09.05.54.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Dec 2022 05:54:08 -0800 (PST) From: Luca Weiss Date: Fri, 09 Dec 2022 14:54:07 +0100 Subject: [PATCH 2/3] arm64: dts: qcom: pm6150l: add spmi-flash-led node MIME-Version: 1.0 Message-Id: <20221209-fp4-pm6150l-flash-v1-2-531521eb2a72@fairphone.com> References: <20221209-fp4-pm6150l-flash-v1-0-531521eb2a72@fairphone.com> In-Reply-To: <20221209-fp4-pm6150l-flash-v1-0-531521eb2a72@fairphone.com> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Pavel Machek , Rob Herring , Krzysztof Kozlowski Cc: Fenglin Wu , linux-arm-msm@vger.kernel.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.11.0-dev-64ef0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add a node describing the flash block found on pm6150l. Signed-off-by: Luca Weiss Reviewed-by: Konrad Dybcio Acked-by: Pavel Machek --- arch/arm64/boot/dts/qcom/pm6150l.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm6150l.dtsi b/arch/arm64/boot/dts/qcom/pm6150l.dtsi index 90aac61ad264..86e659fcbba6 100644 --- a/arch/arm64/boot/dts/qcom/pm6150l.dtsi +++ b/arch/arm64/boot/dts/qcom/pm6150l.dtsi @@ -112,6 +112,12 @@ pm6150l_lsid5: pmic@5 { #address-cells = <1>; #size-cells = <0>; + pm6150l_flash: led-controller@d300 { + compatible = "qcom,pm6150l-flash-led", "qcom,spmi-flash-led"; + reg = <0xd300>; + status = "disabled"; + }; + pm6150l_wled: leds@d800 { compatible = "qcom,pm6150l-wled"; reg = <0xd800>, <0xd900>;