Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3003362rwd; Fri, 19 May 2023 13:23:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ66xEC8pGk5I0a4V8+o67HsUdnEfTBqLBHgD7cLPzbLldYrbWgsndcH2EPE9QcBTpPegjcT X-Received: by 2002:a17:90b:3798:b0:253:74f8:1e31 with SMTP id mz24-20020a17090b379800b0025374f81e31mr2823151pjb.39.1684527809051; Fri, 19 May 2023 13:23:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684527809; cv=none; d=google.com; s=arc-20160816; b=DmakkfS/QhiX4OtmxBvPb8M+tKs/t+g8dsLl8zdCzQlRPWBvdEau8Du53WCTCG/QhZ oAd0Vh1CCVVZgnwBptFwrdJfz9kkg0TGleBMD2D53EOOvYoZ0uieYPPYaIS1j7uMMAp9 aV6CPvxAW4euV8er8t7w/tgsyT/DWC39yHZ8Y9SAWxxKizyRO2E62dqCyskRw9l6MS1I pD76EbNVQwls8QWHcV0RpFwJOk/iFuLNdFOmlR4LETx2NoQfK8m3l5FIPGbV2lHZHtNk RDLbKDLnqSO2gBJ09QxSR9JdXbgAOKDa9KVyj8CD7JDS5UoiC9pz3Mugfh30vFqWMqMT 6KHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Dhk36Zm9kcZS6s/7QkUBwDpZCpJODd1UkmAk+ko7ofs=; b=KchVQPh8x37QraYRk6P/pHner9ijgrw6ZHu1973Hch8G85tmeLlWUYo1XOqiX5vQYJ j97aXa6UwAZiNoTxJbBVvjWag4rJqArnyDeNaCBsiA3mTUl3Rn9RCEKmCBWHYloh8hfW +zEa2859pPIH+rudQLOYbylUzonebN1Fp6EQGvdjREvLRFjPJ5qT9hpJ7g6fBHLx6gQc v1ULKFwbC6gbFVeIsoKQG8dqgGLeoV7vguWzoXlMBMU2MKOeTJ6vsw3jjhV1arNiXh7d pPYMYEwLW9L+TiV/OJFo0EWqPGvCHZdu789os/60H1lgiYXOXqagJxXOACkBepxn2lkX J7/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@shruggie-ro.20221208.gappssmtp.com header.s=20221208 header.b=lFddv1Xx; 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 c19-20020a17090abf1300b0024df86690a6si2089288pjs.135.2023.05.19.13.23.16; Fri, 19 May 2023 13:23:29 -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=lFddv1Xx; 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 S229923AbjESUFn (ORCPT + 99 others); Fri, 19 May 2023 16:05:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229676AbjESUFi (ORCPT ); Fri, 19 May 2023 16:05:38 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2F2A1A8 for ; Fri, 19 May 2023 13:05:36 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-3f4ec041fc3so23054955e9.1 for ; Fri, 19 May 2023 13:05:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shruggie-ro.20221208.gappssmtp.com; s=20221208; t=1684526735; x=1687118735; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Dhk36Zm9kcZS6s/7QkUBwDpZCpJODd1UkmAk+ko7ofs=; b=lFddv1Xx7+aPZjnuJK/BNYdmR8nlXfjsnu2AfYrhh7BYshp1lzes5QgQmT8Nhc/gBL KCc6xtnn/dDsF6gi7C6YIJROVs7pvOVZnvCZejZ7ey69pbvMzBs0EhpaXbM5AmCGUnb5 gGH8L5TA3JLdPqgiLlxcIegGfCFQaMOyh3YSCRjWpGi8bmeJ9J7C5rYazwbHsPAQMTtr w7Qde26UkLiaeMT93GpPAhIOQ20R39oN+YLgF0h5UYtM/AOcigpxfR8LCo1xVORSNXKI 2GgcpH9pjx4n4PdWkfJoO8bs8I5D/YPUTpaXrVJRRGHV6ZZRLa1EL8ph1Yhfc9FLOvq0 w6rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684526735; x=1687118735; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Dhk36Zm9kcZS6s/7QkUBwDpZCpJODd1UkmAk+ko7ofs=; b=Izpb249acUYzQvjQImJf21Ryn+V6gXcYzSSiSo0AN+Z6XJRkLlc6kBUDdZG8qy9Hqg tOpPLy60yyUbjHu6SN3XLXm967WkIA1zTLMLDsKPnd6THQAWElOjazH4R70dE66k2yGG 2yJRyLCocDEy3CysQJuzwY5v73gLJMYaZfKtCqk6F84QF+vDlatI6jS7Wpvkwy+bUkkc E36gFk46+1kk+/9E2LY+G5quy6GAeAAWCbdnPdYKmgEJc6PkZ0SW8elr1t24iv/gBruz Yw8PcJfgcTvYXqGYH3Ahrshlyp7vnqH6PbsUpoRzTiIFwQLera1j+KTC8rGLOBRobK1/ BTQw== X-Gm-Message-State: AC+VfDx7E5gABQfcob/DK08RTXmuO7Supjb74QBKFc3FDDj+JgS3hK88 Ajp2ILAupakxaiWF+r3hOgLuYQ== X-Received: by 2002:a05:6000:c3:b0:304:6762:2490 with SMTP id q3-20020a05600000c300b0030467622490mr2871230wrx.3.1684526735223; Fri, 19 May 2023 13:05:35 -0700 (PDT) Received: from localhost.localdomain ([188.27.132.2]) by smtp.gmail.com with ESMTPSA id q3-20020adfea03000000b002fe96f0b3acsm6220329wrm.63.2023.05.19.13.05.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 13:05:34 -0700 (PDT) From: Alexandru Ardelean To: dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org Cc: 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 , Philippe CORNU , Alexandru Ardelean Subject: [PATCH 2/2] dt-bindings: backlight: document new property default-brightness-level Date: Fri, 19 May 2023 23:05:20 +0300 Message-Id: <20230519200520.10657-2-alex@shruggie.ro> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230519200520.10657-1-alex@shruggie.ro> References: <20230519200520.10657-1-alex@shruggie.ro> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=ham 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 From: Yannick Fertre Add documentation for new default-brightness-level property. Reviewed-by: Philippe CORNU Signed-off-by: Yannick Fertre Signed-off-by: Alexandru Ardelean --- Link to original patch: https://github.com/STMicroelectronics/linux/commit/c4067d7bd883c6fa14ffd49892c4ce663cdafe98 .../bindings/leds/backlight/gpio-backlight.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/backlight/gpio-backlight.yaml b/Documentation/devicetree/bindings/leds/backlight/gpio-backlight.yaml index 584030b6b0b9..b96c08cff0f0 100644 --- a/Documentation/devicetree/bindings/leds/backlight/gpio-backlight.yaml +++ b/Documentation/devicetree/bindings/leds/backlight/gpio-backlight.yaml @@ -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 the + "brightness-levels" property). + $ref: /schemas/types.yaml#/definitions/uint32 + +dependencies: + default-brightness-level: [ "brightness-levels" ] + required: - compatible - gpios -- 2.40.1