From patchwork Thu May 18 06:13:25 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: 9503 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp276208vqo; Wed, 17 May 2023 23:26:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5QM9uMVntsU1O3rL3FNMsIzlw0AW8VO0mVIXy4viUlU8nIwkAtfxTXZgK3NChsYD5JizeV X-Received: by 2002:a17:90a:51a4:b0:247:2874:a6a6 with SMTP id u33-20020a17090a51a400b002472874a6a6mr1588462pjh.2.1684391161315; Wed, 17 May 2023 23:26:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684391161; cv=none; d=google.com; s=arc-20160816; b=b3TVCej0QvqYpWWiLV69lucq/kOZFUq2cC8ycVX+V5SEk/lw8sED7/traPntDo5lOw qeCQVyH3SvkVZ8OuDXAMy/Kj8yZZxSYKO0YF/HrX5sp+BN3v6Ay3z/iT54WaHHhymCeY nsf6YcZDpssAtnF2M9D4Cdw+S4OWITSKwc3mc+U9V8BsdOQuwUhhU9qqrSnetfw8rw4B ADKtEjQw1E8oELnDDUiMQovpNkDkT53dka1T9CELlK/DVqLjWLYPHh3n9iB/cj8BbT7p 7VJEF0J4olaGwgv6VhPEEtKMD99BD38UZsRxJR0CgQMtMctX9Ajv5S+LrTa/AUgQGqUn HC6A== 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=Qj2hNQs6e7b9/J4YVNaFwfq4+eID2dfYLuBUt5E1CTQ=; b=xX5U+B8l9cq8Lhx5PqO5uf7mab5mp4lN2w0AbiMV0Wgzd892uQOLoI67rvQvNbyHbo m0U+w1HlQCV3LCEFkLcwDrCiqKqkkVb6zHKqTMult82GuAiAy7YLdVL8bvqxCnDAUsho J7+t/eFJzcTF8l0yC3d21Msrd7i3PzDKWY0wMt0aP9Z6VdtAnBiJ0lKjHqD2NUA9JklI 56q7raXTI8uoaNKnkRPeiSVhCKeavcRd3EpoWhtMrEZ6W7FFAgOFGz+RSG8PC9oSHKv4 /BUH+w/UqWS1kmRyWqgOXbAxWmawUwFkeV998qpNRYFlZibzltunCCbOEpmXV69yrxLm MXeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=u5tpKkEM; 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 j1-20020a17090adc8100b0024be8553ec8si3375370pjv.183.2023.05.17.23.25.43; Wed, 17 May 2023 23:26:01 -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=u5tpKkEM; 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 S230044AbjERGON (ORCPT + 99 others); Thu, 18 May 2023 02:14:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229557AbjERGOM (ORCPT ); Thu, 18 May 2023 02:14:12 -0400 X-Greylist: delayed 42739 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 17 May 2023 23:14:08 PDT Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [IPv6:2001:67c:2050:0:465::102]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 514B4E52; Wed, 17 May 2023 23:14:08 -0700 (PDT) Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (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-102.mailbox.org (Postfix) with ESMTPS id 4QMKRv56gYz9sqc; Thu, 18 May 2023 08:14:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1684390443; 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=Qj2hNQs6e7b9/J4YVNaFwfq4+eID2dfYLuBUt5E1CTQ=; b=u5tpKkEM9Ko03m5ukA/ywrnNrNAPDQE+a1ees3WzNC9tuAIDpBok8xWUGMIEJIYmjG6091 1paXPVNfgR3m9eBjBi5jn4WnHWqhlPgEPHG9F/xdCV/Gc5nAt+lNdSaUBbFECSTdHTwsLt CEvmuaKin2cAMA3qtFopZ5Lx1d9IY6VMrWN+p/wznugPeRpRvxhOL71bRoLrJdhI+S82BB ABr15kzOHc2GIPLixU0/l4bPiQD4X+CKPz2x3TYUhUM6C6jSFnOCo5KzWPryqTiDNiYqLI 2U40TcLXMBRDB+7N8qga8C+LcnEcl44B4xv962/nliK/u9NEFAWBVuGgu9v3CQ== 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 v2 0/3] arm64: dts: qcom: pmi8998: add and enable flash LED controller Date: Thu, 18 May 2023 08:13:25 +0200 Message-Id: <20230518061328.146847-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 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?1766212146304624519?= X-GMAIL-MSGID: =?utf-8?q?1766212146304624519?= 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. * Changelog * Changes in v2: - Document compatible for PMI8998 to fix missing compatible in DTS. - Improved commit messages, following [2] [1] https://lore.kernel.org/all/20230507172941.364852-1-me@dylanvanassche.be [2] https://lore.kernel.org/all/20230516150202.188655-1-krzysztof.kozlowski@linaro.org/ Kind regards, Dylan Van Assche Dylan Van Assche (3): dt-bindings: leds: qcom,spmi-flash-led: add PMI8998 arm64: dts: qcom: pmi8998: add flash LED controller arm64: dts: qcom: sdm845-shift-axolotl: enable flash LEDs .../bindings/leds/qcom,spmi-flash-led.yaml | 1 + arch/arm64/boot/dts/qcom/pmi8998.dtsi | 6 +++++ .../boot/dts/qcom/sdm845-shift-axolotl.dts | 22 +++++++++++++++++++ 3 files changed, 29 insertions(+)