From mboxrd@z Thu Jan 1 00:00:00 1970 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 96A77C7EE31 for ; Tue, 28 Feb 2023 21:47:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229516AbjB1VrQ (ORCPT ); Tue, 28 Feb 2023 16:47:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229524AbjB1VrL (ORCPT ); Tue, 28 Feb 2023 16:47:11 -0500 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6DE1F1; Tue, 28 Feb 2023 13:46:55 -0800 (PST) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 172871C0AAC; Tue, 28 Feb 2023 22:40:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1677620405; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zqOoqxAGPYyAfPZSQwIAbK0Pu/uIpu/fhL/ijqWx87s=; b=dmk+ElYHIxWewmkSlGPShEF7n2ouLRoxTMUZuJtl5apj5AodSn1w6Fdth+Evv5kuAvnLCx xHiE/2s0n62GJHLW4GqzpxYglHXCQzQqPVFH/lKAdNtAAgjn/PO8VN3HM04tXGTfod67cq xelHHDL7aY41VWAgH6PBnJGu6TReOF0= Date: Tue, 28 Feb 2023 22:40:04 +0100 From: Pavel Machek To: Martin Kurbanov , ojeda@kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Lee Jones , Andy Shevchenko , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@sberdevices.ru, dri-devel@lists.freedesktop.org Subject: AUXdisplay for LED arrays, keyboards with per-key LEDs -- was Re: [PATCH v2 2/2] leds: add aw20xx driver Message-ID: References: <20230228211046.109693-1-mmkurbanov@sberdevices.ru> <20230228211046.109693-3-mmkurbanov@sberdevices.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Lf/YZ9BrM6XcCIJb" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Lf/YZ9BrM6XcCIJb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > +config LEDS_AW200XX > > + tristate "LED support for Awinic AW20036/AW20054/AW20072" > > + depends on LEDS_CLASS > > + depends on I2C > > + help > > + This option enables support for the AW20036/AW20054/AW20072 LED dri= ver. > > + It is a 3x12/6x9/6x12 matrix LED driver programmed via > > + an I2C interface, up to 36/54/72 LEDs or 12/18/24 RGBs, > > + 3 pattern controllers for auto breathing or group dimming control. >=20 > I'm afraid this should be handled as a display, not as an array of > individual LEDs. You probably want to see AUXILIARY DISPLAY DRIVERS M: Miguel Ojeda S: Maintained F: Documentation/devicetree/bindings/auxdisplay/ F: drivers/auxdisplay/ F: include/linux/cfag12864b.h And this brings another question... =2E..sooner or later we'll see LED displays with around 100 pixels in almost rectangular grid. Minority of the pixels will have funny shapes. How will we handle those? Pretend it is regular display with some pixels missing? How do we handle cellphone displays with rounded corners and holes for front camera? And yes, such crazy displays are being manufactured -- it is called keyboard with per-key backlight...=20 https://www.reddit.com/r/MechanicalKeyboards/comments/8dtvgo/keyboard_with_= individually_programmable_leds/ Best regards, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --Lf/YZ9BrM6XcCIJb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCY/50tAAKCRAw5/Bqldv6 8p38AKC6zleFfBQhWzpHoEUJaT9vyIFVLwCaA+GnS49YUrJhe1ZsoXnIFJOi3cQ= =DMLD -----END PGP SIGNATURE----- --Lf/YZ9BrM6XcCIJb--