Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1769679pxy; Thu, 29 Apr 2021 14:16:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzL62f2GnNTNPlb6RrBoPnpYS/TtdxuYpE4/WJ7SQKUIZcOroAQ5rrEmRtMx77y5sW/RHlO X-Received: by 2002:a50:f395:: with SMTP id g21mr2033720edm.238.1619731007990; Thu, 29 Apr 2021 14:16:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619731007; cv=none; d=google.com; s=arc-20160816; b=AftTdg9DWucOuTtEDsy7dZU9xB5MOHw9S/hpSn/nDwA8pXZnCiGzF4VIF7dmVkKW6o iUzDabyDMhTNqxoAQ43p/FRTyGFS5wuI/H+kwhJXQIaF4bHcnHOZLHlBMnl8OzEXsdOP akfML8VOKn9WoYtlH/gozWh2p0Xku+zxPPdk2hT6i6r7LYhLOtspnWJpjUHzFvYeZJ2n IvQJFUr4tiZMa6hylPsBD8oOGMnY+YeQAOeFkS+N1nBIOayto1ZWhVMWZuUwgvr4wN8h G/WKb/exVnzTvTgwlovBE6Y3Sx3tbUS5DdfFmCiYi7f45yHhmaDc8ejr6+pMjFsksFLB uogQ== 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=kTyxnJ1yi531R5AZDzagRwpZVx/RNSIurfNN65budp8=; b=opOEajGjntWtk370gGWqsWwJg+Rw6G1hVIfLQFCgF9brUGhf66aveBtBjwOkk1Wcpf C0Thx7RkNnyuSKARiojZUjpvm+Eu81nJDE6fPxAe+s0V5kE5uj68bIZD2WUWiYV4z+xx KhiQqc0U2/4xeUiDROREXD4zQ0M9eYfA86x5V9aiMCckG/ixRyrgGBkh/WW8Vlz+9o+B 3WLSLP+GJ5XLC/DzihEOm2N2T2z5cJWb3m8wiUkjqyHsl9Juo2Nk/efOJFnoJyx8o3bi PBwSc4UK3jstAwOiHsROjAExPhkK5GkwrljJoNHmyqLigtC1zZ9m6UPNIBuKxpROPkWq p/Kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S6rFyfWZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b6si1518796ejb.398.2021.04.29.14.16.23; Thu, 29 Apr 2021 14:16:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S6rFyfWZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235228AbhD2VQH (ORCPT + 99 others); Thu, 29 Apr 2021 17:16:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236953AbhD2VQD (ORCPT ); Thu, 29 Apr 2021 17:16:03 -0400 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A60C9C061343 for ; Thu, 29 Apr 2021 14:15:14 -0700 (PDT) Received: by mail-ot1-x32d.google.com with SMTP id d3-20020a9d29030000b029027e8019067fso60772086otb.13 for ; Thu, 29 Apr 2021 14:15:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kTyxnJ1yi531R5AZDzagRwpZVx/RNSIurfNN65budp8=; b=S6rFyfWZAPendWMKR6bwGEcvDFTkl7QZLv//CsPWs+gx5rzHkpv+sGP88ks6qDSNaH yHN6ZqScV5txpDI8SwAvPcaUDwIEgzHVsJBkGLgTb/4qwU28wKmqTdyUhxmMAnKd+ytL /18rCLhTWe8cX6f9HkzQLxy18ftGaLtCNZ7iq7juIYFOhmpM0o13hevqD7lhXRSMf+PU Bs03VQ+W355RD1yv/iSyz6EyealoMwz++a7c7AT5JTXnzZGfO75KsFhPvyqUxugGhreQ O00JjuuTaEmpw0pk+dRuuOVGwpnPVvQIUAE51vIpaL34lv+ia+ehFbCmiOdZ1s9qkZFS uySA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kTyxnJ1yi531R5AZDzagRwpZVx/RNSIurfNN65budp8=; b=UTRgzTkQsi22zqw/Kak+hCqAaddZzJdScWK7t/3dLzT/sK1L1hpBGXpFKJ/Tx1xcKG ct5X8MF8MlH5Ho593iT0iJ3zepbkO/91DRt+nC9Kxt7zsR+DLIhzXg9c1FZlGwtLnfNC VCuF6rp81iUAOiYxVnOYi2K+lrRjJuaGvuAbc/oZ00sDj/msPrzxo76B/BXI9NHdiA/b sj3uFK0O9v+UO1jzWYCakgbsEqJdPUCUo777gk91sXOCGdX6GgmqkgH6gsEkAYKuloq6 LqHI1FcK2gwjdR6dPj58R5odSFKISQ149FQSh7zWDPzhEQC+x7i4se5CXlkwknYFXSxL C7ng== X-Gm-Message-State: AOAM532u9Ktg7RQhtWxqUt/57sUiGhxhNCl3vCWZyauRcWnV4kjUtqd6 +bumHhnHEJKM+Gh7ct8sKKlEpw== X-Received: by 2002:a9d:74c6:: with SMTP id a6mr1053267otl.290.1619730914250; Thu, 29 Apr 2021 14:15:14 -0700 (PDT) Received: from localhost.localdomain (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id y67sm242707otb.1.2021.04.29.14.15.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Apr 2021 14:15:13 -0700 (PDT) From: Bjorn Andersson To: Pavel Machek , Rob Herring , Andy Gross , Bjorn Andersson , Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Lee Jones Cc: linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-pwm@vger.kernel.org, Marijn Suijten , Yassine Oudjana , Luca Weiss , Subbaraman Narayanamurthy Subject: [PATCH v7 0/6] Qualcomm Light Pulse Generator Date: Thu, 29 Apr 2021 14:15:11 -0700 Message-Id: <20210429211517.312792-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This introduces support for the Qualcomm Light Pulse Generator block found in a wide range of Qualcomm PMICs. Bjorn Andersson (6): dt-bindings: leds: Add Qualcomm Light Pulse Generator binding leds: Add driver for Qualcomm LPG arm64: dts: qcom: Add LPG to pm8916, pm8994, pmi8994 and pmi8998 arm64: dts: qcom: sdm845: Enable user LEDs on DB845c arm64: dts: qcom: pmi8994: Define MPP block arm64: dts: qcom: db820c: Add user LEDs .../bindings/leds/leds-qcom-lpg.yaml | 158 ++ arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 49 + arch/arm64/boot/dts/qcom/pm8916.dtsi | 8 + arch/arm64/boot/dts/qcom/pm8994.dtsi | 10 + arch/arm64/boot/dts/qcom/pmi8994.dtsi | 22 + arch/arm64/boot/dts/qcom/pmi8998.dtsi | 10 + arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 24 + drivers/leds/Kconfig | 3 + drivers/leds/Makefile | 3 + drivers/leds/rgb/leds-qcom-lpg.c | 1286 +++++++++++++++++ 10 files changed, 1573 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml create mode 100644 drivers/leds/rgb/leds-qcom-lpg.c -- 2.29.2