Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4337029pxt; Wed, 11 Aug 2021 03:50:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHMVk4K7HkSxCHrrgjwMLbPwEkUXxQ62YYm38CfyY23JOadkwKqyO2ylufZ2WLP0kGcbra X-Received: by 2002:a17:907:169f:: with SMTP id hc31mr2993736ejc.328.1628679006016; Wed, 11 Aug 2021 03:50:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628679006; cv=none; d=google.com; s=arc-20160816; b=IGConTXyP2KXgRBdAATpK43lvB4rDXaBl6Yy4dwtn8bHCPoEAwr4BbaP4/flsfAuQU yc4vhbfy9YeuRT2wBbkTIJvnaSgE30JVQEjCuIlACO9b+htfBuJvHU/Oc1US5HiWKdFj ClNJ5R+Ctu+4ie1Y7H/2FoHe8tQqtvZSHf7xEAwZkBXhyQMHHVpDcK2JFNhxhmoMcMPv d0f4U4wBI9T6O5szwlzRADrdLUufsULaaSqSESfThMG3CUFAsEPpw/hDwTHW29c388mm m1xh8AOo5bD9M7gaVbsb0s+3qLBO9gH5Wi6VVCuwfjjtvY7qEtAp0Um4vJOmKBeE0PV9 9BgQ== 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=Zc7gWm7fscH2TDqR9ljBeY38HmuYXai+GU7IUyMTebw=; b=bc8NBdRH7twVoGLcJiA08G6IBXwgRRvIKoOadargxx10JDSqlxSu11NtQ6bNnC4Gvm D2DaHndVwwHyMAB94Z7pVziyDVq6GIiaF9qhBn0NgZcqQZOVkfkWxjeMTG17Hifyfilb xS2GmdfEkGsIZl1EmMQ2SwaU5xi3PzCXXRcipO2MrlUKRZUHWbbv/8irUD42dqJ7/OrZ dNvHA45iXl3TTwJayHVwH48IWd6jiQY0HeG549yq8OQEc7oPmm6l//850eHZ0B/JIHGR VYTliLyFtTwuzaoqs0RubQ3se5+JVBivSiP6gnsx6vtxIvDKtCIO9etZ0vR1tz+HNV2A Nevw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QnBiGODF; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g4si8580442ejh.515.2021.08.11.03.49.41; Wed, 11 Aug 2021 03:50:06 -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=@kernel.org header.s=k20201202 header.b=QnBiGODF; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236951AbhHKKs0 (ORCPT + 99 others); Wed, 11 Aug 2021 06:48:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:34876 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232644AbhHKKsZ (ORCPT ); Wed, 11 Aug 2021 06:48:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9053F60E78; Wed, 11 Aug 2021 10:47:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628678881; bh=xYgnW6GKpe7B16PTBfB7hhq82Lr5SW7l3TtN+WaINkM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=QnBiGODFjPOnuHARymzRkOPEO0iuhRXJ8JXcvcS7ggufrsRsUH6gbfTQ4lIY8Jr1b EL+BThFwEaMBXmHBbWPM83WhWER+Jw1OxvDDblbw7GTHn5WXJNEGkDnPOZQss5deyR BE/mtZw2jFotLgkcmLOWnh2njuLQCJ2GcdoNPCV4Ss968C76K2Ku6ur9gT2KFafjVD xe/O1bHPnvI1DJP27wB4ZoQPVghS35tLQ3pIBh0hjun9+0SHyxbmlSrLFCm/ro9BB+ KK8sabJwbEug+PxbMEA0fSsSM7lkrtwktacD0CR5kXaCqsWdGI9E08YUqHujv+fsBq 4cBRnHttYTSjA== Date: Wed, 11 Aug 2021 12:47:55 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: Geert Uytterhoeven Cc: Robin van der Gracht , Miguel Ojeda , Rob Herring , Paul Burton , Greg Kroah-Hartman , Pavel Machek , devicetree@vger.kernel.org, linux-leds@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 19/19] auxdisplay: ht16k33: Add LED support Message-ID: <20210811124755.37b0a0a9@thinkpad> In-Reply-To: <20210811095759.1281480-20-geert@linux-m68k.org> References: <20210811095759.1281480-1-geert@linux-m68k.org> <20210811095759.1281480-20-geert@linux-m68k.org> X-Mailer: Claws Mail 3.17.8 (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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 11 Aug 2021 11:57:59 +0200 Geert Uytterhoeven wrote: > Instantiate a single LED based on the "led" subnode in DT. > This allows the user to control display brightness and blinking (backed > by hardware support) through the LED class API and triggers, and exposes > the display color. The LED will be named > "auxdisplay::". >=20 > When running in dot-matrix mode and if no "led" subnode is found, the > driver falls back to the traditional backlight mode, to preserve > backwards compatibility. >=20 > Signed-off-by: Geert Uytterhoeven Reviewed-by: Marek Beh=C3=BAn BTW, this driver does not need to depend on OF, methinks. The few instances of properties reading can be easily rewritten to device_* functions (from include/linux/property.h). The of_get_child_by_name() can become device_get_named_child_node(). Geert, what do you think? Marek