From patchwork Tue Jul 5 21:01:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Renner Berthing X-Patchwork-Id: 587624 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 B134CCCA47B for ; Tue, 5 Jul 2022 21:01:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232213AbiGEVBu (ORCPT ); Tue, 5 Jul 2022 17:01:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229668AbiGEVBt (ORCPT ); Tue, 5 Jul 2022 17:01:49 -0400 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15A8CDC5 for ; Tue, 5 Jul 2022 14:01:48 -0700 (PDT) Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 498B942430 for ; Tue, 5 Jul 2022 21:01:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1657054906; bh=BZ3TTPllU2RNx61rLK2KPq+axv5Y7LrzDROkWqt5HLQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Rls6SjXdQkGc4rLaj7PNxtQH8mOHip+hf3+lfmAtQUkwqXeaJgAz9DUrXmJ+JusTq lVwrxCQ3Js6RxBiBAV3rH2d/hX19Z/L0jZdno/fxvFHjyZXJrE8FH9yTgnRXRO1p9D NxxOUl8invvi/TZFvuhjPE7+0xTxheN01A8JMomX+iufUtLoUVSCrAdnDFps7f+lMy UcLUl1M01KNyuJNF390wnvh56XM71N96cLU0/P8YVHAd+JfSEFY89YawR58rQaX+D4 pm1IISnVFxN4FNYQ9ocn+aufJyJJn7mcf6RNsiKRRIyGWcjHhbVYMmUvRgv5pAfnQ/ hZaGHcP2oEKmA== Received: by mail-wm1-f69.google.com with SMTP id bg6-20020a05600c3c8600b003a03d5d19e4so7300091wmb.1 for ; Tue, 05 Jul 2022 14:01:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BZ3TTPllU2RNx61rLK2KPq+axv5Y7LrzDROkWqt5HLQ=; b=R62aT5xWbeORaqBNk9wLhRpSb5960zGAD7R7YwFTV0tjY17p4uvwsSSxynmkTy0vFN kXxHQxBA10NOCmk0KDs1m2muXzEDzVd6XMEclBgizn3kS63c7IQp1WTQEF+NTMwjAGcq VoKFdKEzrj0F+7nRcJ8HYZXF3bcNTluxkow2VG8nqkArJEQwSFOTHgqinLkaS2dajpOO XWf9Q44aJz8xXw6QqGphNLZbuKno8hZHET3xglWnxTH1UPIyKWQiaZ7tRqNQobvCllIX 1bqD0FYs3c7vSlxdEHyycdVMnVWah6BL/RRVwCeAY5OjvRBze6e/3K4cjuvvAflWyWyu fyzw== X-Gm-Message-State: AJIora9LlfFU5h44qpdY+wMjyIuVjnZ3KpsFCXCS+6IbhHP4pGXT/R/0 6l7w8H0x7rxG0gHn49/AAqfiuspxx7Sj4OTPwkFETTxbXWuggtGtUzKM+S1Ak+TXqEhFNuxMntO v4K7jpetrLlQrnoRRrj6ezAnGGbzIUTgd96oXRZc= X-Received: by 2002:adf:d1e9:0:b0:21d:2154:2bc7 with SMTP id g9-20020adfd1e9000000b0021d21542bc7mr32198655wrd.105.1657054905481; Tue, 05 Jul 2022 14:01:45 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uJ6GR25rmzYj+5MOIYxx8GnVDHsnsL8L8SKcrRNOoJrGmGln63zLuDAwKc99O7ChnLFoDsbg== X-Received: by 2002:adf:d1e9:0:b0:21d:2154:2bc7 with SMTP id g9-20020adfd1e9000000b0021d21542bc7mr32198623wrd.105.1657054905236; Tue, 05 Jul 2022 14:01:45 -0700 (PDT) Received: from stitch.. (80.71.140.73.ipv4.parknet.dk. [80.71.140.73]) by smtp.gmail.com with ESMTPSA id r15-20020a0560001b8f00b0021d74906683sm2517667wru.28.2022.07.05.14.01.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jul 2022 14:01:44 -0700 (PDT) From: Emil Renner Berthing To: linux-kernel@vger.kernel.org Cc: Pavel Machek , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Vincent Pelletier , Bin Meng , Aurelien Jarno , Ron Economos , Qiu Wenbo , Geert Uytterhoeven , Stephen L Arnold , Jianlong Huang , Mark Kettenis , Sven Schwermer , Andy Shevchenko , David Abdurachmanov , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH v1 0/4] Add HiFive Unmatched LEDs Date: Tue, 5 Jul 2022 23:01:39 +0200 Message-Id: <20220705210143.315151-1-emil.renner.berthing@canonical.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org This series adds support for the two LEDs on the HiFive Unmatched RISC-V board. Emil Renner Berthing (4): leds: pwm-multicolor: Don't show -EPROBE_DEFER as errors dt-bindings: leds: pwm-multicolor: Add active-low property leds: pwm-multicolor: Support active-low LEDs riscv: dts: sifive unmatched: Add PWM controlled LEDs .../bindings/leds/leds-pwm-multicolor.yaml | 4 ++ .../boot/dts/sifive/hifive-unmatched-a00.dts | 42 +++++++++++++++++++ drivers/leds/rgb/leds-pwm-multicolor.c | 8 +++- 3 files changed, 52 insertions(+), 2 deletions(-) Reviewed-by: Geert Uytterhoeven Reviewed-by: Rob Herring