Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2786319rwd; Mon, 29 May 2023 00:21:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7vS06ak/5SBS6H+NgqUFtRw2LhaUx8kxh49u5SWuOcQAiRoxCq8nH1sOQDegJr9OwGnn/H X-Received: by 2002:a05:6a20:100a:b0:10d:8f40:6469 with SMTP id gs10-20020a056a20100a00b0010d8f406469mr7431902pzc.48.1685344881477; Mon, 29 May 2023 00:21:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685344881; cv=none; d=google.com; s=arc-20160816; b=MkVoNezf4miDaj2tFcvX/V6rWfS7dG870MJBz6Ip3xzMD61tz+vX26CLWCZNbHRIwh W3VeqEc9ng4/6M9zgXrS3Ndm8n8lYQPQgkp0/AM6ttw0a0hLVeKEh9PuSyqdJPImlWkt WzQDjxAJk6+Gnl0aqEbiA05j8dGG26L2vfAPy9YidngMz7PEfBVumi9VijDGk4oZ7uZ5 c8ZwMxDTwQvKqFBPX8SFBi80xJgh1gz5tTrvau5rthqDreBhLhWZKGKlrFVgzCEOeCCW rhYY1xOjdi505L9AjGYMQC7l7oD/QR0fZvA7ZIffXHatHtaa9kxIIYBTPkhn2R9lGnTe dJsA== 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 :dkim-signature; bh=Ktk43I3ESCcl+4luTfcpacoXkK0rOIgacSkU1dOgQfA=; b=kswMdALmJHfGM89GMqqsLrsh0fSRt/IYe4nQlKSvHH3F5keGucA1VLRP6VQCuFSVMR ZdA9VHtLDrmyiyxwNmTzjwqW3o2IF4GFj5193RHRVjKcdLyQuoqNlzkFWb+2G+KSiPFW lppZnNobDoksY3BFMLurI9hHzgGgIPNy/W8RSxBFP8P2b58yUsJub5zxCXCBbJmllQpf reUYSXV0PTH93/9bqYDbtLZMryQd4O1Qs+V8PNp3GobWXhuZ+4SUubY8gsSsbj1k5v7v o7OdlXEAiwC3BQtsaEVEVcWeI2y/EgoCqRKznHxuU0D51qjhVXHv4+O/SmPc5HqbB1y9 +QKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@shruggie-ro.20221208.gappssmtp.com header.s=20221208 header.b=EzVaURV3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i25-20020a633c59000000b0051f74e18927si2345520pgn.184.2023.05.29.00.21.08; Mon, 29 May 2023 00:21:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@shruggie-ro.20221208.gappssmtp.com header.s=20221208 header.b=EzVaURV3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229513AbjE2HEr (ORCPT + 99 others); Mon, 29 May 2023 03:04:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229572AbjE2HEp (ORCPT ); Mon, 29 May 2023 03:04:45 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A0DEF1 for ; Mon, 29 May 2023 00:03:40 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-4f3b9755961so3163102e87.0 for ; Mon, 29 May 2023 00:03:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shruggie-ro.20221208.gappssmtp.com; s=20221208; t=1685343818; x=1687935818; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Ktk43I3ESCcl+4luTfcpacoXkK0rOIgacSkU1dOgQfA=; b=EzVaURV3PRKZ1IXRJ20SKWyI2R3+cbBKjkEDiWxGuhXDEs4tYnYXxcmcG5TWdUw+q1 JlEeNlM+mHBU7+DOoZqm+tBjhkOifHP1AsCo1tDsqPHHr/XlHBr9QoOqORH4P+lZw+5O dmHKET4mthkLuOTwi0yJJ+Mcz4uyXC4TIvQaAlE7AD0k5LaBcXXifSf8/pbPE7aUh26Z ZA3c8gDgyVhDf24nQQyh8Bf99q1L0NtrjfeBqJT+FQHgJO6VGJrqIFrJMCMnnVBA1KjI 1HfSoT34FV/E0bjV7QblXJA1taCMNKAHRREduGMGSHwxb7KqkhCubTTC6w6jYdNcnJxf Erzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685343818; x=1687935818; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ktk43I3ESCcl+4luTfcpacoXkK0rOIgacSkU1dOgQfA=; b=HeDKG92tSHkjG9YlJ3+9t5uJmbMQfg6polfLp9o48ZR/NE63yAbnVdDGihEIhQe3xU A57sb8wGO7TTXbZkDDfRSf0VxHq1xUySD4yb61ZR4t+drvNuzSbqPYQP8sllD9aMCJW6 tXAxQLpxwqpbR4HtJ4J9CNNAwqTQxO1BTx5Ex96o3AXmenilcHy0GeRT9cBH6l3nOGnm nAeEkj3e7ULZae1TYDvfi7or+l7aexsn/bAWqdqVV8LS2cOjpzSzWylcuQo2/adD/Fy3 fgFoHXnxfV4MfyjreGzc//Zf3ijNxPCQAvK4s0ea2Q7uMtOqAhmgZ+br6NHKV92P8vzU oUUg== X-Gm-Message-State: AC+VfDxdZzAUSDqgYhIe5BBczrrYUvOvdsP8UoLQb4+8g5CrPrLGgm5P CtKAEBpP6Snr8+1rOuQNR8VoRkShRKzXBrhMRwYBn4IDT/my0Cxrh1M= X-Received: by 2002:ac2:46d2:0:b0:4f1:3d7d:409e with SMTP id p18-20020ac246d2000000b004f13d7d409emr3772539lfo.0.1685343818417; Mon, 29 May 2023 00:03:38 -0700 (PDT) MIME-Version: 1.0 References: <20230519200520.10657-1-alex@shruggie.ro> <20230519200520.10657-2-alex@shruggie.ro> <9faab8c9-a38b-3f06-c2fb-6c7803b22eb1@foss.st.com> In-Reply-To: <9faab8c9-a38b-3f06-c2fb-6c7803b22eb1@foss.st.com> From: Alexandru Ardelean Date: Mon, 29 May 2023 10:03:27 +0300 Message-ID: Subject: Re: [PATCH 2/2] dt-bindings: backlight: document new property default-brightness-level To: Philippe CORNU Cc: dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, lee@kernel.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, pavel@ucw.cz, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, deller@gmx.de, Yannick Fertre Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 26, 2023 at 3:05=E2=80=AFPM Philippe CORNU wrote: > > > > On 5/19/23 22:05, Alexandru Ardelean wrote: > > From: Yannick Fertre > > > > Add documentation for new default-brightness-level property. > > > > Reviewed-by: Philippe CORNU > > Hi Alexandru, > same comments as for the 1/2 patch. Ack Will do Thanks Alexandru > Many thanks > Philippe :-) > > > Signed-off-by: Yannick Fertre > > Signed-off-by: Alexandru Ardelean > > --- > > > > Link to original patch: > > https://github.com/STMicroelectronics/linux/commit/c4067d7bd883c6fa1= 4ffd49892c4ce663cdafe98 > > > > .../bindings/leds/backlight/gpio-backlight.yaml | 9 ++++++++= + > > 1 file changed, 9 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/leds/backlight/gpio-back= light.yaml b/Documentation/devicetree/bindings/leds/backlight/gpio-backligh= t.yaml > > index 584030b6b0b9..b96c08cff0f0 100644 > > --- a/Documentation/devicetree/bindings/leds/backlight/gpio-backlight.y= aml > > +++ b/Documentation/devicetree/bindings/leds/backlight/gpio-backlight.y= aml > > @@ -23,6 +23,15 @@ properties: > > description: enable the backlight at boot. > > type: boolean > > > > + default-brightness-level: > > + description: > > + The default brightness level (index into the array defined by th= e > > + "brightness-levels" property). > > + $ref: /schemas/types.yaml#/definitions/uint32 > > + > > +dependencies: > > + default-brightness-level: [ "brightness-levels" ] > > + > > required: > > - compatible > > - gpios