From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 38E71EB64D9 for ; Tue, 4 Jul 2023 20:44:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231364AbjGDUoV (ORCPT ); Tue, 4 Jul 2023 16:44:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231349AbjGDUoV (ORCPT ); Tue, 4 Jul 2023 16:44:21 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a02:c205:3004:2154::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71D81E5F for ; Tue, 4 Jul 2023 13:44:19 -0700 (PDT) Received: from p5dcc3447.dip0.t-ipconnect.de ([93.204.52.71] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qGmsf-0015de-EP; Tue, 04 Jul 2023 22:44:13 +0200 Date: Tue, 4 Jul 2023 22:44:11 +0200 From: Andreas Kemnade To: Marek Vasut Cc: linux-leds@vger.kernel.org, Conor Dooley , Krzysztof Kozlowski , Lee Jones , Pavel Machek , Rob Herring , devicetree@vger.kernel.org Subject: Re: [PATCH] [RFC] dt-bindings: leds: bd2606mvv: Fix maximum register value Message-ID: <20230704224411.17dbbf7c@aktux> In-Reply-To: <20230704202929.91962-1-marex@denx.de> References: <20230704202929.91962-1-marex@denx.de> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Marek, you are right. Reviewed-by: Andreas Kemnade On Tue, 4 Jul 2023 22:29:29 +0200 Marek Vasut wrote: > Since the chip can drive up to 6 lines, the maximum > register number should be only 5, not 6. > > Signed-off-by: Marek Vasut > --- > Cc: Andreas Kemnade > Cc: Conor Dooley > Cc: Krzysztof Kozlowski > Cc: Lee Jones > Cc: Pavel Machek > Cc: Rob Herring > Cc: devicetree@vger.kernel.org > Cc: linux-leds@vger.kernel.org > --- > Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml b/Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml > index 14700a2e5feaa..44dd91aa239de 100644 > --- a/Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml > +++ b/Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml > @@ -35,7 +35,7 @@ properties: > description: GPIO pin to enable/disable the device. > > patternProperties: > - "^led@[0-6]$": > + "^led@[0-5]$": > type: object > $ref: common.yaml# > unevaluatedProperties: false > @@ -43,7 +43,7 @@ patternProperties: > properties: > reg: > minimum: 0 > - maximum: 6 > + maximum: 5 > > required: > - reg