Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3387960pxv; Mon, 28 Jun 2021 03:32:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy563R31vm5a3BZPU0QweIq/ZCi9925PAWbYPdJXsm1v+i3e8b9NHorRHMPZ4nAAq/fKn9C X-Received: by 2002:a17:907:c20:: with SMTP id ga32mr23953041ejc.7.1624876332884; Mon, 28 Jun 2021 03:32:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624876332; cv=none; d=google.com; s=arc-20160816; b=wQxktCprpPSdlv0vT9qX4pcBaUXXQO5cZ8LREOtYClRD9Ry+js3xp9i7w6lMybSn6s Y8Kv5F9242PUm5xZ9t1PXiNn4BbrRlJXY3miRwO1QE/IM/8yEfVwaUObNSuBPFfBa1XG 4SygMN8F51x1HLSuycxvWdulipD6+u9yi/VJiS4QxhbovaKORnkdSF1vfENFH+icpIh+ mrDRHDBeSqvJ6h/ojiX6pzapbCkQYJQz3c6t4aYz0ZyWT2t0v6O6Pea7HYm+ZOGId0Wv 3bjPpOCO5DvfkW3tC5CRyb12769Avv/bnZ7n8ootEibh0/LY2OQ+nEY6F4CB7HDAAfE3 cqXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=dXsC1+zSEMlM+supXspj2457/hPp3B45hOkYONeY4Is=; b=uWfLhEgbMYvhy6HM7Fu8sE+UOQMrfQ8FWx2PAfEbrd3s0N4G54DZuC/PgPRI1D7Mzk 3O1PEuK+hRENHaAKCwXCV7EyoaCi/NZihq1SFXSWW/eLMvVa2fbr6F2i7ZKCfE/nOiVF WWgV24lUHNUlSVRvMsq0er184qTV2c0qdaBLxT8D0lGexUcEGhXmkTJ1Bmn16aaPhyLo OIZZh8Sot14cF95KCzJzXRDvEuf8HtFtvnF2s7bdCdJXnVmETr4JlD/HcYp50KbeDP7t +mXSn7kK1BR4tnm9UkJbs/in0SkyHclco2NyOxX0RwbMilp8OaZjB4anLLFmPFogCo/K Um9Q== 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 jz19si16478734ejb.37.2021.06.28.03.31.47; Mon, 28 Jun 2021 03:32:12 -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 S232526AbhF1JXs (ORCPT + 99 others); Mon, 28 Jun 2021 05:23:48 -0400 Received: from mail-ua1-f43.google.com ([209.85.222.43]:45947 "EHLO mail-ua1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230256AbhF1JXp (ORCPT ); Mon, 28 Jun 2021 05:23:45 -0400 Received: by mail-ua1-f43.google.com with SMTP id c20so6697964uar.12; Mon, 28 Jun 2021 02:21:20 -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; bh=dXsC1+zSEMlM+supXspj2457/hPp3B45hOkYONeY4Is=; b=qrlxOug0ayMiXxP6fNYsRw65CzLYZE8opNHhx7tkFdA51EV6N6HyfE8IkQHSkEAZQL bITGs/iWMSMCHrBwO6Wwg5SVbCwWId5CzRNu/BJi4k3hvKwzREMRIv5jOl53cwk3OW5x O7UKkK4yjG7pgmXBoX5PrIiu075Mg26prnd8aCnJRzZMZxTT/yyq8IDztatQ8x390mf4 EEZUiuX848HVIs8cyhIqfc4jQBtpJQdyYljyboDMee36LHbaY2WZnTh86VS9rXn0jMHT jHkurXLyOC8XexUSwohP71bQdpzjVHwlgZvyxD2FQQrNCCmIxckqtwwU9JvSEDJ2HmqP kUhg== X-Gm-Message-State: AOAM53198+mg2uEDO/vr35w8jdkveYFyBSqslywTVN6p+XL9+DkDljNF ig7ZychkP9WC3VRNSSlsYQZqI+GzXGQTL+Fvt0M= X-Received: by 2002:ab0:647:: with SMTP id f65mr19373178uaf.4.1624872079635; Mon, 28 Jun 2021 02:21:19 -0700 (PDT) MIME-Version: 1.0 References: <20210625125902.1162428-1-geert@linux-m68k.org> <20210625125902.1162428-19-geert@linux-m68k.org> <20210625223916.7e00e710@thinkpad> <20210625224001.115c938a@thinkpad> In-Reply-To: <20210625224001.115c938a@thinkpad> From: Geert Uytterhoeven Date: Mon, 28 Jun 2021 11:21:08 +0200 Message-ID: Subject: Re: [PATCH v2 18/18] auxdisplay: ht16k33: Add segment display LED support To: Marek Behun Cc: Robin van der Gracht , Rob Herring , Miguel Ojeda , 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" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marek, On Fri, Jun 25, 2021 at 10:40 PM Marek Behun wrote: > On Fri, 25 Jun 2021 22:39:16 +0200 > Marek Behun wrote: > > On Fri, 25 Jun 2021 14:59:02 +0200 > > Geert Uytterhoeven wrote: > > > Instantiate a single LED for a segment display. This allows the user to > > > control display brightness and blinking through the LED class API and > > > triggers, and exposes the display color. > > > The LED will be named "auxdisplay::backlight". > > > > What if there are multiple "auxdisplay"s ? > > Doesn't this subsystem have IDs? So that you can use auxdisplayN for > > device name, for example? > > Or if this driver creates a fbdev, maybe "fb" for devicename? This LED device is only registered when using the HT16K33 to drive segment displays. When driving a dot matrix display, the driver still use fbdev and devm_backlight_device_register(), for backwards compatibility. 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