Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp539749pxv; Thu, 15 Jul 2021 09:48:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsjsHKR2dSDpU+Eyb8+yk2rbg+e6S7R+9HScgd5tWsN+n1jM865DI+dh9MxGHTOTHnFQbh X-Received: by 2002:aa7:d143:: with SMTP id r3mr8396400edo.110.1626367689300; Thu, 15 Jul 2021 09:48:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626367689; cv=none; d=google.com; s=arc-20160816; b=SwEqVetNhe8J/qBzvaRKU3y1NAiYZ+b9OsYs/ZzDYjJflfQvnQfQxImUFb2tqR4Y8A Q/BD6UQeV2nDbMnBfo/kZqAG0o5TlOyQ1eFba8i1LF8TOhVaOPWFKQCJ78GBuF4z2Pnf 8ohgV4zdyjIqUmiXoFNX8TKn2pSHo/OX4wlL2IV+F2jhmT0NyIrAYWT78k5NrKlVdkVH g88T8l4Vwl2nuTY2loN677qYoF1rVXgVSTCIEBpGvhfSaDsAx8+YK02aBMkINaFhJl3f mnCbHRDN+KXl8XjaY6ipg7CtlBvT/JCzOO7X16jD3LWeq5oLcelh0a1V9DjIP4Vd3DmI hB8Q== 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=spa2fSuHOZDVb4Y0JrFsA4UPYD9gWGf/Hi9IWPMD4tk=; b=g186mqDIxo3YC1KuMYRCS6Qu/NNSylMzCsSTqHHGit7OyFhloAckbYafmMb4Ywbmrb 2VKaPC0llWIIdBTl0dZOvpUs5oMnpdkTP9K7itRF1HX7djwyYP37oXsIqEddD49djLRV 8jP2t/RMqXHerd9tf0RozLJNenkEtWfhdhMMPgYKRlTCJ4SaQAmEJuzxnmyn8qEZAoyc Y7RADIjZTQRCN9ff2z90uhQ0bJt3Sc/Ys9gXldP07py93Er1+VPSZ8eS1GiNjs9P7TgL GoQJIvCicRDCyjpDzEi8n4I8tOiKXT19iFSIgTiToTcZoQyn0Ri6J9igq9Ecow63fHjp OYYQ== 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 n22si5899979eje.429.2021.07.15.09.47.45; Thu, 15 Jul 2021 09:48:09 -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 S237474AbhGOPJP (ORCPT + 99 others); Thu, 15 Jul 2021 11:09:15 -0400 Received: from mail-vs1-f49.google.com ([209.85.217.49]:45660 "EHLO mail-vs1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231771AbhGOPJP (ORCPT ); Thu, 15 Jul 2021 11:09:15 -0400 Received: by mail-vs1-f49.google.com with SMTP id h5so3135091vsg.12; Thu, 15 Jul 2021 08:06:21 -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=spa2fSuHOZDVb4Y0JrFsA4UPYD9gWGf/Hi9IWPMD4tk=; b=hBcQsUpqwfYeocR43lIxMlJRgjv6lwn7Iv8hna3S+Ht4sR+800y2QqG36zMI1LxuGP QslVsVxixu1RAi4NgoFFUyIemfsGYKhCEI18Ky6SUVWtdLy7VNnMJ087gi+l7Z8c20tK iAqqVFrDCpt3W712wMgJaNz1k5C7ErELBVHfaZwAQkYmbJVf3gOvySym1/f7EorWLFt6 6x4f0LwuYTUqZj0J0DmFMyt5i9uW4DRdiVhkd3gSFsDN6lZQIYZDU+ylMJPnYbYFvLQx xRy/SRqw5IyVJTLa0an0Bdwb8r+TgbelfERIu1mpVqOk5/WQ3cjpxUgx5szpgB/svWt7 wXZQ== X-Gm-Message-State: AOAM531NrCTC5kxhod0uevch2UnryzF//VmdVlOHbheMGUivGs+UWg+5 6ZNKOSzCaTqyFCvjhod8AQegbmb3zYUK4gV1waI= X-Received: by 2002:a67:3c2:: with SMTP id 185mr7082017vsd.42.1626361581240; Thu, 15 Jul 2021 08:06:21 -0700 (PDT) MIME-Version: 1.0 References: <20210625125902.1162428-1-geert@linux-m68k.org> <20210625125902.1162428-3-geert@linux-m68k.org> <20210714203624.GA3466861@robh.at.kernel.org> In-Reply-To: From: Geert Uytterhoeven Date: Thu, 15 Jul 2021 17:06:10 +0200 Message-ID: Subject: Re: [PATCH v2 02/18] dt-bindings: auxdisplay: ht16k33: Document Adafruit segment displays To: Rob Herring Cc: Robin van der Gracht , 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 Rob, On Thu, Jul 15, 2021 at 4:32 PM Rob Herring wrote: > On Thu, Jul 15, 2021 at 1:12 AM Geert Uytterhoeven wrote: > > On Wed, Jul 14, 2021 at 10:36 PM Rob Herring wrote: > > > On Fri, Jun 25, 2021 at 02:58:46PM +0200, Geert Uytterhoeven wrote: > > > > The Holtek HT16K33 LED controller is not only used for driving > > > > dot-matrix displays, but also for driving segment displays. > > > > > > > > Document compatible values for the Adafruit 7-segment[1] and > > > > 14-segment[2] FeatherWing expansion boards with red displays. According > > > > to the schematics, all other Adafruit 7-segment and 14-segment display > > > > backpack and FeatherWing expansion boards (including bare boards and > > > > boards fitted with displays) are compatible with these two boards. > > > > Add a "color" property to support the different color variants. > > > > > > > > [1] https://www.adafruit.com/product/3108 > > > > [2] https://www.adafruit.com/product/3130 > > > > > > > > Signed-off-by: Geert Uytterhoeven > > > > > > --- a/Documentation/devicetree/bindings/auxdisplay/holtek,ht16k33.yaml > > > > +++ b/Documentation/devicetree/bindings/auxdisplay/holtek,ht16k33.yaml > > > > @@ -14,14 +14,23 @@ allOf: > > > > > > > > properties: > > > > compatible: > > > > - const: holtek,ht16k33 > > > > + oneOf: > > > > + - items: > > > > + - const: adafruit,3108 # 0.56" 4-Digit 7-Segment FeatherWing Display (Red) > > > > + - const: holtek,ht16k33 > > > > + > > > > + - items: > > > > + - const: adafruit,3130 # 0.54" Quad Alphanumeric FeatherWing Display (Red) > > > > + - const: holtek,ht16k33 > > > > > > These 2 entries can be combined. > > > > Right. This split dates back from when I considered adding all > > possible compatible values. It can indeed be simplified to: > > > > - enum: > > - adafruit,3108 # 0.56" 4-Digit 7-Segment FeatherWing > > Display (Red) > > - adafruit,3130 # 0.54" Quad Alphanumeric FeatherWing > > Display (Red) > > - const: holtek,ht16k33 > > > > > Or make the comment a 'description'. > > > > What do you mean? > > Adding this: > > description: '0.54" Quad Alphanumeric FeatherWing Display (Red)' Sorry, I still don't get it. Note that there are two different adafruit,NNNN compatible values. 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