From patchwork Sun Oct 9 12:26:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Guido_G=C3=BCnther?= X-Patchwork-Id: 613687 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 636C7C4167B for ; Sun, 9 Oct 2022 12:36:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230042AbiJIMgv (ORCPT ); Sun, 9 Oct 2022 08:36:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229721AbiJIMgr (ORCPT ); Sun, 9 Oct 2022 08:36:47 -0400 X-Greylist: delayed 581 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 09 Oct 2022 05:36:45 PDT Received: from honk.sigxcpu.org (honk.sigxcpu.org [24.134.29.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8507329817; Sun, 9 Oct 2022 05:36:45 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 0AE71FB06; Sun, 9 Oct 2022 14:27:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dtKqRKRmQbxk; Sun, 9 Oct 2022 14:26:58 +0200 (CEST) From: =?utf-8?q?Guido_G=C3=BCnther?= To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Catalin Marinas , Will Deacon , Alexander Stein , =?utf-8?q?Guido_G=C3=BCn?= =?utf-8?q?ther?= , Markus Niebel , Bjorn Andersson , Dmitry Baryshkov , Marcel Ziswiler , Vinod Koul , Arnd Bergmann , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, phone-devel@vger.kernel.org, kernel@puri.sm Subject: [PATCH v1 0/3] librem5-devkit: Let LED use PWM Date: Sun, 9 Oct 2022 14:26:52 +0200 Message-Id: X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org So far it used plain GPIO but we can use PWM for brightness control. While at that use function and color (it's a single color LED) and enable the pattern led trigger to make it more useful. Guido Günther (3): arm64: defconfig: Enable pattern LED trigger arm64: dts: librem5-devkit: Make LED use PWM arm64: dts: librem5-devkit: Use function and color rather than label .../dts/freescale/imx8mq-librem5-devkit.dts | 22 ++++++++++++------- arch/arm64/configs/defconfig | 1 + 2 files changed, 15 insertions(+), 8 deletions(-)