From patchwork Wed May 17 18:21:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dylan Van Assche X-Patchwork-Id: 9482 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1342310vqo; Wed, 17 May 2023 11:34:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Urfye2aZiq63t+PuYNMaTsUtQhvlW8WrmahfkIdfmlNmfO5GQc4G/Xl0Akcv1GOtJoD4f X-Received: by 2002:a05:6a20:7352:b0:f0:b6e3:90c9 with SMTP id v18-20020a056a20735200b000f0b6e390c9mr46899149pzc.4.1684348493109; Wed, 17 May 2023 11:34:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684348493; cv=none; d=google.com; s=arc-20160816; b=eg6H/4f8S8v6J1tvfBGU6rQpqAIWN+LQwhmmvejjyAGD5KElgw4kr9ZEjqvZII53xh 5Bt7iDmkb5MX6DvriY8c7lssaOdnX3/eZpXgxqgch4VEXzTt9zNAja1A9tjzgT/fwHx9 mPT2H7YomW27SgTz6qXZO3mCkjjAkHNwe5hf7TF9Flskq318xon4UrRiFMnQ7c5qqQne XLW4QGC50+V1rotM1gh0n9U7q05creydzM/+nQcJJY/A+Leyd5b+KEL6W/1H4DYUX36L yGbonszd6oRW2iGlECCWvq4+uZn6kcJOAiW20A1Q+SfAyelxXrVRUhKSu69eJWm6HREe azig== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=JZFA1fokFB4103V8XqAdq7PRJrsJa9ZW4IaScwv4dpM=; b=K/xHrSjtEBCVQY8JXi6XeOonQ4kQkScRiqk+5LR9OqNyBmbj31W3oXXb6jxaHbvihL CZfYSEu4pVSE1TqRmTbFrDh1kDEj7zrYiLGQhHP4Bbci6IJUTfCKjA4s9V5lCztdHQ6P t05VUZmB7ZkqZOcn/7xCjg3eK443JveQI5WrvpMUiFQxWm2khR1ibsByi1OJzW9ir62U aGihpbzwRs7lMHzKIhA6UuQUMn7ZZaxHGnJPXY4R5eUTqKsYBTByt+sylbkJbvYavYEZ 3MnISJu2DjCQ9LDgZtmclcFYOU7BgbACKEWZ3w5lB0zpXSNRQSn1VC3POg7THDO55V8c mRKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=i5afpNj+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dylanvanassche.be Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t22-20020a63b256000000b0053440fe0817si3676797pgo.611.2023.05.17.11.34.39; Wed, 17 May 2023 11:34:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=i5afpNj+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dylanvanassche.be Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229477AbjEQSVy (ORCPT + 99 others); Wed, 17 May 2023 14:21:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbjEQSVw (ORCPT ); Wed, 17 May 2023 14:21:52 -0400 Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [IPv6:2001:67c:2050:0:465::101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E20691739; Wed, 17 May 2023 11:21:48 -0700 (PDT) Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4QM1dz0p6hz9sm8; Wed, 17 May 2023 20:21:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1684347703; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=JZFA1fokFB4103V8XqAdq7PRJrsJa9ZW4IaScwv4dpM=; b=i5afpNj+4tAaMSY8vlNVHk+zeq6oDydbw0sned08JSk0QG2ULlRKKZJE2Lfw1Nc8hku5RW QEHTWDL/cXPZstB7f8ffijGwCBi8oHdKaGhLc7yuukO/3YUT3xf9LcNqMab80kew57vjOM Ng+q4WLNmZXazxiZ7gMaMsXFkcd3ZavPNT2NO8HOCj+VHbDRcE10Efhx0RsyqzC+5PNEbN jQWyVA92TPb8aevE2DqqR86SkqFAz+f5AAbckMMWHPfZC9yken4oCxIhPRTj7ARrsm4YDy nJtW6LwIh3sMuFP5j4aC+xSRYvaqdXYWdE/Kw/YoSYj0cj9/4+gPiO84qUDvlw== From: Dylan Van Assche To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, amartinz@shiftphones.com, Dylan Van Assche Subject: [PATCH 0/2] arm64: dts: qcom: pmi8998: add and enable flash LED Date: Wed, 17 May 2023 20:21:31 +0200 Message-Id: <20230517182133.72590-1-me@dylanvanassche.be> MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766167405482107100?= X-GMAIL-MSGID: =?utf-8?q?1766167405482107100?= Qualcomm PMI8998 has support for 3 flash LEDs which got support in [1]. Add this driver to the PMI8998 DTS and enable 2 flash LEDs in the SHIFTPHONES SHIFT6mq smartphone. This smartphone has a white and yellow flash LED. [1] https://lore.kernel.org/all/20230507172941.364852-1-me@dylanvanassche.be Kind regards, Dylan Van Assche Dylan Van Assche (2): arm64: dts: qcom: pmi8998: add flash LED arm64: dts: qcom: sdm845-shift-axolotl: enable flash LED arch/arm64/boot/dts/qcom/pmi8998.dtsi | 6 +++++ .../boot/dts/qcom/sdm845-shift-axolotl.dts | 22 +++++++++++++++++++ 2 files changed, 28 insertions(+)