Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4366195pxt; Wed, 11 Aug 2021 04:31:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRkwHjjLuXMBaCyaTZ7AiqtdZ6Cf8yUW4TGihYkH1l2cdw1Zn5tN2l+rJU5xgjVfKExnb7 X-Received: by 2002:a17:906:5e45:: with SMTP id b5mr3158134eju.301.1628681477792; Wed, 11 Aug 2021 04:31:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628681477; cv=none; d=google.com; s=arc-20160816; b=wzBAiiA8d+bVPB23plyoxrz/4bbkG/r6hSQqM1eGF873M34UDlFBOqT3O0avWDZQiH dJ+I4aBOCmq8D3IaN8BtZnwIVHtsZYPqX8AVEN75nvqvtEErPnpQ1FT7+cSt6C6VVrV3 sdN7E65LZ9EHHqHRNk2PYAvAoLMSWY2DhE4H7dIMSCbkpKRu2JuLXgbtOABS4o9Yurcz zQYL14szeCtyISfZEw+0LyiOiexX3iZZ/+Wx+CD56VMc1TcYmaoLs1E+YBvEUnPI3iwu bX1P1Wrrt+qLWWDtCv6XH74SjCiqo7Mva23bFgJWECTN5ersLkZI+BV7S1j4QryxWTwT 0q3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=K5WOH1Mx0VH0ddf1UJrawIxBFOnHXdpFu7zwK3rKm2s=; b=XjVhPXZrpVgueHhShMB8uBai0bcuuab4gGQOATrywjtiA1ltmc8LvYCkwfWmq7ZKVr fEbCU5aEOw7U+fh8BRlNpi6Xeo1KPfTprpb+029m+xceypIgYRK/5V+biWVtBcuSHsfS ACEEgdJEkEwThJCsbNMLmlyxJmp5GNWf9jMdwwEIRh6TO8XQM4xUYEqcbjHMyE7WwwFL L9y8ceKv0qa6KSOC+KQktrBBy7jJkhRPZY5kx9+6xnQkWOeXcBnZQ8Pzy4DKtP3o+iBA lVVdI/zMe9DrXuLxnhNyon4rdofEREzNmF3HSCzNJ4x3NfgvlTMhIraVF6j8oFnhMFUN 7h0g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bu17si23231688ejb.722.2021.08.11.04.30.52; Wed, 11 Aug 2021 04:31:17 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237344AbhHKL3s convert rfc822-to-8bit (ORCPT + 99 others); Wed, 11 Aug 2021 07:29:48 -0400 Received: from mail-vs1-f45.google.com ([209.85.217.45]:43569 "EHLO mail-vs1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237210AbhHKL3m (ORCPT ); Wed, 11 Aug 2021 07:29:42 -0400 Received: by mail-vs1-f45.google.com with SMTP id s196so1240625vsc.10; Wed, 11 Aug 2021 04:29:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=40wisL4/SKjdMqbDzvwZrkyDfanri5aoKVnQRyWUuY0=; b=SyG6+XczyIGKkdTh4UR41xo5YbZc+ITtlXgZsw+I7R9zWx0YDIqWadUMBjDz1F9WBx 6B++eWQDkkBRTwSNCRJUuVjSdXO6XOv1eixJFAiivX8K7gGA7Q8xzctv9xnHX9UvaiLD o1GNzDsw+mjumXC99nphkWAQpzPWgQZXfJEKlxuIuRpspJTWMfD4HzH+PvPvOv8SwmoD oXGfcXRAYQrdLtGsfUQhemsBfC3a8WAx49scXrEseDo5thDJiyClflda/zuUoqbGU1pL q9BAWKt1GZC3wVxVmwQPItLMCrBZkaMqscsuSaq+/NBOUV7dy2lKLYccCDKxGPr/Puv6 Ge/Q== X-Gm-Message-State: AOAM533G4k4AwlQALJnnZow/MxtR0erk3C6vPZrTVm8XDMdulay5fT05 ZU1zppPlQ8mK5ettEk0Dgeohe88pVSzKTVJ5amg= X-Received: by 2002:a67:e2c7:: with SMTP id i7mr25004885vsm.3.1628681358404; Wed, 11 Aug 2021 04:29:18 -0700 (PDT) MIME-Version: 1.0 References: <20210811095759.1281480-1-geert@linux-m68k.org> <20210811095759.1281480-20-geert@linux-m68k.org> <20210811124755.37b0a0a9@thinkpad> In-Reply-To: <20210811124755.37b0a0a9@thinkpad> From: Geert Uytterhoeven Date: Wed, 11 Aug 2021 13:29:07 +0200 Message-ID: Subject: Re: [PATCH v5 19/19] auxdisplay: ht16k33: Add LED support To: =?UTF-8?B?TWFyZWsgQmVow7pu?= Cc: Robin van der Gracht , Miguel Ojeda , Rob Herring , Paul Burton , Greg Kroah-Hartman , Pavel Machek , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-leds , "open list:BROADCOM NVRAM DRIVER" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marek, On Wed, Aug 11, 2021 at 12:48 PM Marek BehĂșn wrote: > 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::". > > > > 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. > > > > Signed-off-by: Geert Uytterhoeven > > Reviewed-by: Marek BehĂșn Thanks! > 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? Sure, that can be done later, when an ACPI user appears? The dependency on OF was pre-existing, and this series is already at v5. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds