Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp325283pxb; Wed, 3 Feb 2021 06:34:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJwxp695qqSS9WsqQECqGoVwr6JAkCZhYqpn0qrYlEEC0rSzIVwx6EmJ5OSF6Q5qcf2vQo4N X-Received: by 2002:a17:907:3da3:: with SMTP id he35mr3475370ejc.315.1612362877385; Wed, 03 Feb 2021 06:34:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612362877; cv=none; d=google.com; s=arc-20160816; b=bQrjTOFNfpeTzds6f30qdVynFkJDkOZvTkNZhEunyzUIBTtHgulZUHa9qpuyVLF13C dVRkZfWuce2lY32LOusbr9uEaDxrclGL6dZdYRttSzViyhNKc1jyb9yWpNlRRdDMP2vp 9vddn+rcS2IwTlNibdrD/0b8N4PEx2QpP1tCN2o6MwsOAyucmsQagO917xhy2wal87qU tvWUXLK9BL2yxlfFiE9keYbvjB9qYZwCLz7qBO+zgJ7jycHgGLJDFYAukA2azlulVnOh bjvae7C87UgmzzA7xgL4uvaE6kPOt5daRZUKG0jYlPKCPWHi2pnM7qbJhir0C+3loBgW IX+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=cfLMeYvle5mdgi9Dcibzf11iLGb096RNhVaNUWhg3Hc=; b=DyWvUjvTNrOhysavnu6W8qLtcjrdVSaBKK0+Fj7B45PuZVYZx4ktRO7nZLFCPUay3K HxdscTQJ4TH8N5SIBqfqTSdZICi5rEphyQyX0CuZVCbJd90oxdzClJjlEz/QXyaezqgO UWOp4dK4ioH1G7UFXF++E/vzwWCKLeeAp7e7N5dAGPeNEckoJHJojX3GZm59PZhe7UKC S/dfTh/TDjeWNqerXbdI+x7PBPE4mTEieKKG8YhmU1zGgbesZVaEe21caAB+LK3Q60pN 4EUsyMWxZV2kCyjFu/GUREWjAVslfPtF4EiSjNffPK5QCIPL5yfkUxlP0+bus2kqPZ+d 3iTw== 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 r14si1373780edw.243.2021.02.03.06.34.01; Wed, 03 Feb 2021 06:34:37 -0800 (PST) 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 S232889AbhBCOa1 (ORCPT + 99 others); Wed, 3 Feb 2021 09:30:27 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:47012 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232661AbhBCOaZ (ORCPT ); Wed, 3 Feb 2021 09:30:25 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id E48181C0B9C; Wed, 3 Feb 2021 15:29:40 +0100 (CET) Date: Wed, 3 Feb 2021 15:29:40 +0100 From: Pavel Machek To: Sven Schuchmann Cc: Dan Murphy , Rob Herring , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] leds: lp50xx: add setting of default intensity from DT Message-ID: <20210203142940.GB12369@duo.ucw.cz> References: <20210119105312.2636-1-schuchmann@schleissheimer.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JYK4vJDZwFMowpUq" Content-Disposition: inline In-Reply-To: <20210119105312.2636-1-schuchmann@schleissheimer.de> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --JYK4vJDZwFMowpUq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > In order to use a multicolor-led together with a trigger > from DT the led needs to have an intensity set to see something. > The trigger changes the brightness of the led but if there > is no intensity we actually see nothing. >=20 > This patch adds the ability to set the default intensity > of each led so that it is turned on from DT. Do we need this to be configurable from device tree? Can we just set it to max or something? Aha, this basically sets the initial color for LEDs the monochromatic triggers, right? Pavel --=20 http://www.livejournal.com/~pavelmachek --JYK4vJDZwFMowpUq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYBqzVAAKCRAw5/Bqldv6 8jU+AKDBCWCPYM4oWufL16cUxx/EhAeG3wCdEe7WKm1eaSwXiWafu9dKcu0LneA= =RLnx -----END PGP SIGNATURE----- --JYK4vJDZwFMowpUq--