Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1166006rwp; Thu, 13 Jul 2023 07:07:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlFbvOg8QdSIz/I4x4XkwcyrzN1S0H8F2PXhr4OR5xPT7L4aMUdBfd6yBHVfvM3OtJkA5i6/ X-Received: by 2002:a2e:8290:0:b0:2b6:dd26:c02a with SMTP id y16-20020a2e8290000000b002b6dd26c02amr1471061ljg.14.1689257274392; Thu, 13 Jul 2023 07:07:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689257274; cv=none; d=google.com; s=arc-20160816; b=mCF5MiO9Mz7WynCEVfiKXhIctH1iXZ48r9UxG7Ni7vjcxpGJBjx6JCKTFW6lFfYReF 5DvgYW1N+crAlwTqtRdSEV6m8D5DKL5ns4KPBfJzMnXai6sNioUbjxvKl8GB8D5XX4Xw 1S1GhhXILs1vOY941viQ/F06bWkEk1s0BwYJXUDJahqCUMXAU9ehXFzBt7poG9dqEmEa tbLrS1GFfrxVvlc5Twy+bpi8JokvqBgmk4rnF+zGXxkgZB8KENk3KhhSr+h6U2yolGKy 3Bumg38Ppd5xGrhASTnptMe4h6vsUVZwrCQXtiwTrUxedWExXal0uPLHq4qa+1rUdpGs MeBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mhuccZiUdbmGP0X3l+EkwrCf4WO3Rq0fhhYSgRyvRGs=; fh=/X9Mq87PQ2zgVT4BSiSyiTW/UHLf6vkY8RgIByzBNOg=; b=RyTkxRFRuwIRWPFTwYxeSvGGxZYUOvaXZybudaDBwGorzFqx60+0Qji9kvdNTZcfMZ 6D1sn3EO67zk/3BBmWk+64j4Cg9v+nA6abPIw0F/qMZvuc7MUO9+Oz+G+3zbXDiRNUCd v4//4JbSUgv61aJiZcNYIZCv4Xb0oBTCrRXUd/Xkz5ZNKhCD80kanbmwMXbB7etYUaOe Whlivj8E1APDvKZ9iAngII5k+DZZKdhrQk+3zJnzfgO08jNrkxh7WgjcKWBqQjh6UEfd QXxoV5br4kOrYtotZ4oXgvLdffEfVrdGxzyTCHGurnhdRuouhKCWY6BW8jhg/mYxXhcE WoDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=beU9ZZU6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y14-20020a170906070e00b00992aea2c6a1si6896773ejb.542.2023.07.13.07.07.29; Thu, 13 Jul 2023 07:07:54 -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=@kernel.org header.s=k20201202 header.b=beU9ZZU6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234406AbjGMNdN (ORCPT + 99 others); Thu, 13 Jul 2023 09:33:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235357AbjGMNdI (ORCPT ); Thu, 13 Jul 2023 09:33:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0C3CC1; Thu, 13 Jul 2023 06:33:07 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4596261087; Thu, 13 Jul 2023 13:33:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1785C433C8; Thu, 13 Jul 2023 13:33:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689255186; bh=rwC+/m8RPKQ/NaQ55b5OfPkeokx//P0umPQN/vB4+oc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=beU9ZZU62oP1jtA32iHMv6r92DuWhogqDrG1wftzTde3OWWtawflTvbOCKeun41m8 fJJyPMHDXhkNL7GKCPpsdL+wx9F9ic+cK7lUbs5wkCWUjFQ14v8fvhG5X4A5fdsSGB m2EefzOzOyhRWGKNhP0aN6JSvyPHBSycyonM7Rya0F6H/4ki99opOsXqt41UMwiNGE sDqucSEiCA3GNJHrqeiTVIOl7DK8Gxrs7gXZtkPdybzSDcjanMY7FqC6K9IC0x9uQS jXR77xJ1Mpjd/OgC9GCFGV77gXHUoywMg7WCvsBCFJSOOuTcMdzHzPFb91z/V5tqkR 5KqEM4KqKgh+A== Date: Thu, 13 Jul 2023 14:33:00 +0100 From: Lee Jones To: Astrid Rost Cc: Andy Shevchenko , Krzysztof Kozlowski , Rob Herring , Jacek Anaszewski , Pavel Machek , Rob Herring , Conor Dooley , kernel@axis.com, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/2] dt-bindings: leds: Read max-brightness from devicetree Message-ID: <20230713133300.GS10768@google.com> References: <20230703130313.548519-1-astrid.rost@axis.com> <20230703130313.548519-2-astrid.rost@axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230703130313.548519-2-astrid.rost@axis.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,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 On Mon, 03 Jul 2023, Astrid Rost wrote: > Normally, the maximum brightness is determined by the hardware, and this > property is not required. This property is used to set a software limit. > It could happen that an LED is made so bright that it gets damaged or > causes damage due to restrictions in a specific system, such as mounting > conditions. > Note that this flag is mainly used for PWM-LEDs, where it is not possible > to map brightness to current. Drivers for other controllers should use > led-max-microamp. > > Signed-off-by: Astrid Rost > --- > Documentation/devicetree/bindings/leds/common.yaml | 12 ++++++++++++ > 1 file changed, 12 insertions(+) Applied, thanks -- Lee Jones [李琼斯]