Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1503137imw; Tue, 5 Jul 2022 10:34:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uT54Y1+WEvfvCmSlC+br48MBb6GW17tUIBpRO0axFv7uG01bA33iseUaxujzwoaEsO/cHQ X-Received: by 2002:a17:907:3e94:b0:726:3b46:ba20 with SMTP id hs20-20020a1709073e9400b007263b46ba20mr35240308ejc.314.1657042444121; Tue, 05 Jul 2022 10:34:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657042444; cv=none; d=google.com; s=arc-20160816; b=J5EUXCupHACfXsed1kVORtyQ1GI1nRYa50tGuCEI4jRqLXAOxzbOlNTLlBZ7zCCBFv NGVsfQYODRz2khAVC9Q/ZWT6v3s5DhzkNRidcoaDD4K7IJIJbNUxcCrzvKq5bKhknbY4 EDH45Gg5cIsYhPo5n8nfsx+Pa76VmQizJraEWaaSB1sDffWEcucWsbgxyEpk83tYwFra xDezcKTd+nR+50NJrnmYRBg6kEGFj2Ag65G12IV+3h0T8gyAN9lx0YnyCgTkBw4oJ4hl BnDC9Wh4NXyAH30jtP4HUUmv3J4jMq9mu3EUhwYS1LGUegKmqO8ola7o7ZDCOcEHmIL7 LDyA== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=Obok57pF/Dc2SFrW4WaE5sFrD6kw9c+RT/qR1+u0rWg=; b=wxRixgpLbmeUnYMqvZW0YLJbLK3Jh4PaenSfgClHdEhkNk/b2ciTZqDyUrT9XGvrwT tsdF+FWvGz34oRbqpmZLrH9UBV7cUWY3R4oZbZQ65S2VggElEs5Hjkkh4PLTeNdXVy5T 001P0YTrUnGDU4r2ctFensFExATpKjwX4+X8K1hHBXXknfpLRyuAeQ6nP6a7H96shZJl 8x8tZ3wCo98i19wnC5j9mkHiTqSHz7ma6c/s+i5oEkHBxShPpTqLOWVXiIqmymTSr5po m+Ng9JDWbCKGSNhheDAIb5Go9WCNu2P3ps+nSwPYXd50gXW0zSY4mO5udw5ZHKZ1EfmR 6OxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sfUVQLg6; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ka3-20020a170907990300b007048e19020esi17357396ejc.30.2022.07.05.10.33.39; Tue, 05 Jul 2022 10:34:04 -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=@kernel.org header.s=k20201202 header.b=sfUVQLg6; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232954AbiGERbG (ORCPT + 99 others); Tue, 5 Jul 2022 13:31:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233416AbiGERav (ORCPT ); Tue, 5 Jul 2022 13:30:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DDB31164; Tue, 5 Jul 2022 10:30:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2926661835; Tue, 5 Jul 2022 17:30:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7965C341CA; Tue, 5 Jul 2022 17:30:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657042237; bh=Xm6gyl8dLz3HwAyqze5mcVqlYQ5A+TfaMjczrDNH/m8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=sfUVQLg6qApxRQd+TRROC+RGtI4lAvneBvQI9tBSHDWmi1GuVoJ6GEPBFXYm+Ft5S b2hxgqwn/phfwX1jH/dKR/Pe43C2Mkt+MJ16OmHHUCa1qHnEtaz9pZLK4z1z6ofqSu rMZFz9j9EELh4MVwldr2hCWSWuw9IX6Rd7IQ3foMbW1+8FkyWx2CqChtKI5UzOJn36 jteZ4vpTQ1IIDbsasttq5iOSAdhN49NE8M5ciVdVUZ2mlO82Eu5/VUp18PG/VuiwNP 4jjLaAEoI9v1pqWyWyBYouHaGkFx3GkYhYGIas26QLFcXXQhvBXwwR8w9TVk+2G8cW wEyV1UWdXqO/A== Date: Tue, 5 Jul 2022 19:30:31 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: Pali =?UTF-8?B?Um9ow6Fy?= Cc: Pavel Machek , Rob Herring , Krzysztof Kozlowski , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] leds: Add support for Turris 1.x LEDs Message-ID: <20220705193031.5130142e@thinkpad> In-Reply-To: <20220705155929.25565-2-pali@kernel.org> References: <20220705000448.14337-1-pali@kernel.org> <20220705155929.25565-1-pali@kernel.org> <20220705155929.25565-2-pali@kernel.org> X-Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Tue, 5 Jul 2022 17:59:29 +0200 Pali Roh=C3=A1r wrote: > This adds support for the RGB LEDs found on the front panel of the > Turris 1.x routers. There are 8 RGB LEDs that are controlled by > CZ.NIC CPLD firmware running on Lattice FPGA. >=20 > CPLD firmware provides HW triggering mode for all LEDs except WiFi LED > which is automatically enabled after power on reset. LAN LEDs share HW > registers for RGB colors settings, so it is not possible to set different > colors for individual LAN LEDs. >=20 > CZ.NIC CPLD firmware is open source and available at: > https://gitlab.nic.cz/turris/hw/turris_cpld/-/blob/master/CZ_NIC_Router_C= PLD.v >=20 > This driver uses the multicolor LED framework and HW led triggers. >=20 > Signed-off-by: Pali Roh=C3=A1r Reviewed-by: Marek Beh=C3=BAn