Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1828602pxb; Fri, 5 Feb 2021 02:28:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJxmtInXIvtCcnSQMknuxdIvQOCq+E23dGjh76r1ni0utJhl+9l5NwdiXJQBN0PHDhuNIPrq X-Received: by 2002:a17:907:1181:: with SMTP id uz1mr3535468ejb.60.1612520911506; Fri, 05 Feb 2021 02:28:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612520911; cv=none; d=google.com; s=arc-20160816; b=BOUITxyiKuf5s5vpTsXd75do8dygQ4S7B4ChDt0cQpW84+4LQp1WiNKehKuLxo6K6J w8vB7Ec1OMzV/BuFF4s6FOM23rIT92b7nUHAkxDPt12qCBcZNKhrZL6a0EBuYYZG/dH3 w6s8EDbeX/BZgGSlyIQxObB0onGuJ3FZanVmKbt78SRcrMc1C/5PC+L9g/Jpe+aWK0Yc vBNaFxuHWq9MFdI0kW9xlZy0F6H6Vj9PXm3fMOP9Z48Rg73ECyMDTPH/nauvR80Hv1UF FQnvt0JmxpCl9MPjFwDeUlqJvA4hvJztvZZMYpBc9kAbjgWkBb68C3ovfr7azPB5Gvyy x8Uw== 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=dafVr7h5ZhgsizHOJELGxCY5RU29UKl2M9/ySScUkcg=; b=Vm4pdTeI+U7j5QQdKkosWEJ+ftFYlHqXW6/QDRV2SNv82PTDqwbCud1QpxJqjCBeeP lCFe4bEVYfIJGD1jlfZNQgvJzuyc8TfTqoOoWq++gvDU1PyztjRoOEGx0OgC/84E7zOm FXRsnPU99uc2BIVEi1zP2cuFajumWaNam4K2go1l1lNuEu4MIirBmDBwvGPRVAiKpSiC Mm/za1lPBkWd8POVTR5L0v56UWVrfASoZY153k3MNMBUWJIeShKhaSosAJRcOjVgTSE5 DLhAx8ofUpnuDb3NKft1QxBhvoafMpxqt8Rgm0jRQeymLJhbRytXXIe9C/RUD8lgtFr8 9Lig== 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 de28si4636732edb.466.2021.02.05.02.28.07; Fri, 05 Feb 2021 02:28:31 -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 S231380AbhBEK1A (ORCPT + 99 others); Fri, 5 Feb 2021 05:27:00 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:36840 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229763AbhBEKYY (ORCPT ); Fri, 5 Feb 2021 05:24:24 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 803601C0B77; Fri, 5 Feb 2021 11:23:40 +0100 (CET) Date: Fri, 5 Feb 2021 11:23:38 +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 v2 1/4] leds: lp50xx: add setting of default intensity from DT Message-ID: <20210205102338.GA27854@amd> References: <20210204143726.27977-1-schuchmann@schleissheimer.de> <20210204145201.GB14305@duo.ucw.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > patternProperties: > > > "(^led-[0-9a-f]$|led)": > > > @@ -99,6 +104,7 @@ examples: > > > reg =3D <0x1>; > > > color =3D ; > > > function =3D LED_FUNCTION_CHARGING; > > > + default-intensity =3D <100 0 0>; > > > > > > led-0 { > > > color =3D ; > >=20 > > Should this go to leds-class-multicolor.yaml ?=20 >=20 > I think then all drivers should support it, but I cannot change all driv= ers.=20 > So I would only leave it in there. It really should be in common binding, and no, that does not mean you need to change all the drivers. Plus there's at most two of them at the moment. Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmAdHKoACgkQMOfwapXb+vLFegCgp5fsWD5ZfPr20YCODLcTu/2F YfMAmQEwkcFypjBKY/922iLgshcFNhVn =2653 -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV--