Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1736747pxu; Fri, 16 Oct 2020 22:40:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKuBKK4uaQhZfWq9onnB8rOCb2qYCUW/iaHIQoCAL3JKOr/d2fgKeYtQn8+Us4vOxk/UKe X-Received: by 2002:a17:906:6409:: with SMTP id d9mr7247523ejm.344.1602913241206; Fri, 16 Oct 2020 22:40:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602913241; cv=none; d=google.com; s=arc-20160816; b=lDdSAy72GBDFhqvmLlfGhBC/vhsnzo9uLO2tGKCDNr4A6opJZpZM1rLjUnRY5qDewA Ju+iQ0MLjnSnXkImw4Yf140m2GNy8uc0N2gVj/56UZ7wDEkCMYV/ULvzvh97TcenRC9X atGrz3lmnMMx+FnwDeYqYv17ka7TW8bfGUaTQjY612BdVVDij7Bz3Gxsixh7QtAJbp6V GmFhGzLkA0bQsS9+qnofcvmRu5SI1Cy477RgDZwC6wkMeRAV0VINnM0FKOkssqVAQ7wx FjUBBoHnFCZjGAc4Je417wnRrbnZGqqKI+xPyfxTe70lXL+dZ7IFAO9BWtYtWpWtgCp7 E+EA== 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=yoJyq6OLL3E5x13cNBRugp0CPYddMVHysDILDRGaDnk=; b=cLd6v5MB0QgPN0BpLFboLmRdXIhnsTcO7mYE4eTWdL0uaaGqLi2afZKoIixEGtcvoH No8HgiNS+SInbS/2BZHcUczb+T3w+Qe7ItxGbAySaMe8wFGmO2LAhZxU9bG+kpFnEKYo A+ebA0nnDYQWk/zBtHexg4qcHboyGkMDlHHLb81U+9dArcplS29vRnO7FVSOsvH/HcZ5 6tHxoJB2tXezE13OPr3ppHqP9TlNgbQ8JDi8X6zaYkmHrp4wxeJRW0OW6/x87HyCasKI yJPl7sI4dhUSwv6T9Pl5i0dZ/krwpQOaDnVGyfsOfjAFME7vtef1cvUcA/X62CrNHGrz 9U4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WsQ5NKNW; 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 x15si3197315ejf.349.2020.10.16.22.40.18; Fri, 16 Oct 2020 22:40:41 -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=WsQ5NKNW; 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 S2411702AbgJQFaM (ORCPT + 99 others); Sat, 17 Oct 2020 01:30:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2411639AbgJQF3n (ORCPT ); Sat, 17 Oct 2020 01:29:43 -0400 Received: from mail-ot1-x343.google.com (mail-ot1-x343.google.com [IPv6:2607:f8b0:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71F8CC05BD33 for ; Fri, 16 Oct 2020 22:20:17 -0700 (PDT) Received: by mail-ot1-x343.google.com with SMTP id m11so4512915otk.13 for ; Fri, 16 Oct 2020 22:20:17 -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=yoJyq6OLL3E5x13cNBRugp0CPYddMVHysDILDRGaDnk=; b=WsQ5NKNWEQyp/lNHV86huvvV1ORT8c4bxu11FIMcxzdN+z/DjV9sC7OrCC8H8YX4wr 6CVtKlfUDTKTeGXtV6SRK+rVWrRC6f14KCwaFeE7Add7TS9AUJBsDMwAU47lHrT8kAba xQ+PQBHv8dVCdKn9r4SKcSQvMkRKy9uefLQhwdwu3pvXuiaeYB6q1/9eJo+5G1ipaTH1 YiOWgNg1Dl0z6ISfgO8Y13BIsmIiQ2+vFKl4tsF2zvpmWJBjSXrD8EwgzeAO1wnQYY9i S1Y5Aqm1n15nBdah8hSoPZ+LqZuv8A5pvbIvizzTXuZXNnHvYtfKmdAtykiy/TGtIIOm rBsg== 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=yoJyq6OLL3E5x13cNBRugp0CPYddMVHysDILDRGaDnk=; b=jqo/vMI2WMNuxGc/Tr8P98Ra3N7ZHTdqr+5cy3AwUACCuwWuAPIzDZemuq46YzECoo Ib6r06SXoMZpYg40jqrGtygtWoTXqqCIb22bMLWgAB/8e1LbCOLyzVZ6OmG7lEB0XyaK OvO29BDQ1BV9IYWfBhno7xnr03P6j/QSNQfKEbjgUP2oBsGw3VqDZv4ID3bKYj8y6JVd zfeq1QFlmqT99TPNMjjKsbv1A0wg/rSxvEbLO1iNijeVEj0+pBFarotE+hxJbfO0WSoE E0S9CQ8pShlMtMOCRa3xQKrs5m2lBoV51/MGYy5QX2VNyK+ca4cKUcG1MZvnuFP9qWH8 D5wA== X-Gm-Message-State: AOAM531Q6ArDDswTxEuMyAO2NPCUAP4+EmAfr0b9OZJHtBfU0vbS20A3 DTN4Z6Wv7hWYoVw66eM6nYXg3w== X-Received: by 2002:a9d:34d:: with SMTP id 71mr4689442otv.251.1602912016658; Fri, 16 Oct 2020 22:20:16 -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 f2sm1572769ots.64.2020.10.16.22.20.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Oct 2020 22:20:15 -0700 (PDT) From: Bjorn Andersson To: Pavel Machek , Dan Murphy , Rob Herring , Andy Gross , Bjorn Andersson , Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Lee Jones , Martin Botka 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 Subject: [PATCH v5 0/4] Qualcomm Light Pulse Generator Date: Fri, 16 Oct 2020 22:20:53 -0700 Message-Id: <20201017052057.2698588-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series introduces a generic pattern interface in the LED class and a driver for the Qualcomm Light Pulse Generator. It seems like it's been almost 3 years since I posted v3, which was hung up on the lack of conclusion on the hw_pattern and multicolor support. Now that those are concluded I hope we can make some progress on the LPG support again. The dts patches are included in the series as "examples", ultimately my expectation is that the dt binding and driver patches are picked up through the leds tree, while Andy or myself take the dts patches. Bjorn Andersson (4): dt-bindings: leds: Add Qualcomm Light Pulse Generator binding leds: Add driver for Qualcomm LPG arm64: dts: qcom: pm(i)8994: Add mpp and lpg blocks arm64: dts: qcom: Add user LEDs on db820c .../bindings/leds/leds-qcom-lpg.yaml | 170 +++ arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 49 + arch/arm64/boot/dts/qcom/pm8994.dtsi | 9 + arch/arm64/boot/dts/qcom/pmi8994.dtsi | 20 + drivers/leds/Kconfig | 9 + drivers/leds/Makefile | 1 + drivers/leds/leds-qcom-lpg.c | 1206 +++++++++++++++++ 7 files changed, 1464 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml create mode 100644 drivers/leds/leds-qcom-lpg.c -- 2.28.0