Received: by 2002:a05:6520:4211:b029:f4:110d:56bc with SMTP id o17csp1548358lkv; Wed, 19 May 2021 12:30:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXHKFPFOSmy8KGhsP52xUv0vNV6bIWKClUF4v11+1k3xkKiqI1nG6Sq6AqekMhEdjBezpj X-Received: by 2002:aa7:c1c9:: with SMTP id d9mr713880edp.308.1621452625207; Wed, 19 May 2021 12:30:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621452625; cv=none; d=google.com; s=arc-20160816; b=lQPWVch+Aga6TwMWF83p69IrcGP36uA+qA7QH0HNdo93dOuFZtv+rbLG1rEh90hOed TL4kJ/x47tCdFA0LUhwJcAM+2ilotVAM5PNsHnzyVcIfrvbyeCvDbrTbUNxxwVaDdRK1 tbtbPaXQNCsIrcghunh0dB5/uc96KmJltq7OPRVIaoVPrxBFYJZlKA2l3+pXVA0cCnHr L+2LKCjKH4i3Y+XsF1VGaMk2ydONcD+yk1dbhuaTko5KXYH1yKkA2sNUXpn/vDV03KXr hFSzIQ9mdoye0xgVknN8d7eOhE/KbD4wuS5s0C0+QHu7LSTuH4v7fJO/jJSOl1LOR7MB m80Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:organization :message-id:user-agent:references:in-reply-to:reply-to:subject:cc:to :from:date:mime-version; bh=/iJTgX8xkaA88UVlIypF7FqieBMnp57SXUNu2M2Jkzs=; b=1DwJsrIUfFMi/i24uCLrDY1ej9bqI9x94ZWY/1xYCYQI3ePNPk7EYf6cHCRPpBa/ME 5o17G2wCJDA0kFab2gRk9SMB7l1EXfhmw+MItYhaU86QQeZ7w2Dda+P0NeA7HhZnE4mw O9ylR/nFG1nc4FXGB/8tj5KlQnj/+1BEsBt2Dgaw02uohXkgORhfpp+IGMDdAe8PoTbZ 048MYcPkd6Efz95VqUBX1+QrEnzE3JsW4ZpiQeFEzObTcaQou2a3N0tLhtQOMsMzpV8/ EhYf/Z/AQzRLbp/E056WxNZCh+MZ82Ty1ZM02NbaR16bLSJ8q1gqLzGnBtaWX4+ZQQzm TlPQ== 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 nb17si683627ejc.226.2021.05.19.12.30.00; Wed, 19 May 2021 12:30:25 -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 S237984AbhESKrq (ORCPT + 99 others); Wed, 19 May 2021 06:47:46 -0400 Received: from protonic.xs4all.nl ([83.163.252.89]:35202 "EHLO protonic.xs4all.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230033AbhESKrp (ORCPT ); Wed, 19 May 2021 06:47:45 -0400 X-Greylist: delayed 561 seconds by postgrey-1.27 at vger.kernel.org; Wed, 19 May 2021 06:47:44 EDT Received: from fiber.protonic.nl (edge2.prtnl [192.168.1.170]) by sparta.prtnl (Postfix) with ESMTP id 02EA444A024D; Wed, 19 May 2021 12:37:03 +0200 (CEST) MIME-Version: 1.0 Date: Wed, 19 May 2021 12:37:02 +0200 From: Robin van der Gracht To: Rob Herring Cc: Miguel Ojeda , Paul Burton , Greg Kroah-Hartman , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "open list:BROADCOM NVRAM DRIVER" , Linux Kernel Mailing List , Geert Uytterhoeven Subject: Re: [PATCH 02/17] dt-bindings: auxdisplay: ht16k33: Document Adafruit segment displays Reply-To: robin@protonic.nl In-Reply-To: References: <20210322144848.1065067-1-geert@linux-m68k.org> <20210322144848.1065067-3-geert@linux-m68k.org> User-Agent: Roundcube Webmail/1.4.11 Message-ID: X-Sender: robin@protonic.nl Organization: Protonic Holland Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On 2021-05-18 16:35, Geert Uytterhoeven wrote: > Hoi Robin, > > On Tue, Mar 23, 2021 at 10:12 AM robin wrote: >> On 2021-03-22 15:48, 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 >> > + >> > + - const: holtek,ht16k33 # Generic 16*8 LED controller with >> > dot-matrix display >> > >> > reg: >> > maxItems: 1 >> > >> > refresh-rate-hz: >> > maxItems: 1 >> > - description: Display update interval in Hertz >> > + description: Display update interval in Hertz for dot-matrix >> > displays >> >> The above should be included in patch 16 > > I disagree: bindings are independent from the driver implementation. > >> > interrupts: >> > maxItems: 1 >> > @@ -41,10 +50,17 @@ properties: >> > default: 16 >> > description: Initial brightness level >> > >> > + color: true >> > + description: >> > + Color of the display. Use one of the LED_COLOR_ID_* prefixed >> > definitions >> > + from the header include/dt-bindings/leds/common.h. The default >> > is red. >> > + minimum: 0 >> > + maximum: 9 >> > + default: 1 >> > + >> >> The above should be included in patch 17 > > Same here. My thought was that one without the other makes no sense. But if it's common practice to create a separate patch for device tree bindings (it's a patch-set after all) than that's fine with me. @Rob what do you think? Best regards, Met vriendelijke groet, Robin van der Gracht