Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5973321pxj; Wed, 23 Jun 2021 13:15:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEZboeUgLKCjwLdYA2VZ5gBMPNoEFEp3beFmt/CNXbx1sR3Id6V+hqDx/1i4m+Jm43LF5w X-Received: by 2002:a17:907:7216:: with SMTP id dr22mr1697476ejc.405.1624479348387; Wed, 23 Jun 2021 13:15:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624479348; cv=none; d=google.com; s=arc-20160816; b=xF2DK00438bVb8WiGzlTCQCiC/cxjMYKm2+isJEI8uYhrdTBu+4a2OzQ+frEOJ2ILU Wj25iXOps5mmZtskDJcIiO5KZ7NSgtify/xg2PQrkPjiFw3qe+Vx1pJGGC2pKA62NqrC WQpri9yXQQk5hDaGdnFpFXHHLJ2/7Rad4Z740FzdVk3+bsJztkn8TiPY5ElK7FyA1B7O UBVKVFtDvHD01yT3wfGXuB2CfRwWXHmp4svHWwfCsLT3nmCASyPZtKNpSHgob9Ed9Te+ f/rZRFm+IRtqronVl2ssa+ziK+9k9/joTxOPTSKFJNRI04fYkzEfFCI1bYQ8GfPdriFJ 3Nkw== 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=1j5VDdKxL0AjRwOVA6G1qePRGbV0LNGLYFA8t5EfypM=; b=v1v/K8fNatJML+ZyAVVgPw9GGn53BNkwM0mXkRKsUGngYYsLZau4/KjzyDWQdmQqLm M1krSqB4D9IphHvWumwWP5KzVBrcDJvNemUMSCVszxO+b3izS8bBpJ910ws1R9VqIFhX C9HkTGgP+RhfpitppIzw+2q1yXBBwMwmxjzrxyc0c87Pwr6VTRZFdJdAkIJKEmPFWv62 n1eoe7J5A6eQatmh0Io0E3QedfwdSJa/fDYWb9IHliIAhjLFVyLVAkTeXFD0NNyKFPIL vlK/Al1shp8YyrZ2KmJiUotAJKfCVAjn6oYnlWs7+Df3QFYBZW7PquAX+425FvMjR/yK LygA== 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 d1si612206ejl.190.2021.06.23.13.15.24; Wed, 23 Jun 2021 13:15:48 -0700 (PDT) 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 S229970AbhFWUQI (ORCPT + 99 others); Wed, 23 Jun 2021 16:16:08 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:35382 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229726AbhFWUQH (ORCPT ); Wed, 23 Jun 2021 16:16:07 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id A5A461C0B76; Wed, 23 Jun 2021 22:13:48 +0200 (CEST) Date: Wed, 23 Jun 2021 22:13:48 +0200 From: Pavel Machek To: Michal =?utf-8?B?Vm9rw6HEjQ==?= Cc: Jacek Anaszewski , Rob Herring , Shawn Guo , Fabio Estevam , devicetree@vger.kernel.org, Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, stable@vger.kernel.org Subject: Re: [RFC 2/2] ARM: dts: imx6dl-yapp4: Fix lp5562 driver probe Message-ID: <20210623201347.GC8540@amd> References: <1621003477-11250-1-git-send-email-michal.vokac@ysoft.com> <1621003477-11250-3-git-send-email-michal.vokac@ysoft.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i7F3eY7HS/tUJxUd" Content-Disposition: inline In-Reply-To: <1621003477-11250-3-git-send-email-michal.vokac@ysoft.com> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --i7F3eY7HS/tUJxUd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri 2021-05-14 16:44:37, Michal Vok=C3=A1=C4=8D wrote: > Since the LED multicolor framework support was added in commit > 92a81562e695 ("leds: lp55xx: Add multicolor framework support to lp55xx") > LEDs on this platform stopped working. >=20 > Author of the framework attempted to accommodate this DT to the > framework in commit b86d3d21cd4c ("ARM: dts: imx6dl-yapp4: Add reg proper= ty > to the lp5562 channel node") but that is not sufficient. A color property > is now required even if the multicolor framework is not used, otherwise > the driver probe fails: >=20 > lp5562: probe of 1-0030 failed with error -22 >=20 > Add the color property to fix this and remove the actually unused white > channel. >=20 > Fixes: b86d3d21cd4c ("ARM: dts: imx6dl-yapp4: Add reg property to the lp5= 562 channel node") I believe this is for arm maintainers to take... > diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/d= ts/imx6dl-yapp4-common.dtsi > index 7d2c72562c73..3107bf7fbce5 100644 > --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi > +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi > @@ -5,6 +5,7 @@ > #include > #include > #include > +#include > #include > =20 > / { > @@ -271,6 +272,7 @@ > led-cur =3D /bits/ 8 <0x20>; > max-cur =3D /bits/ 8 <0x60>; > reg =3D <0>; > + color =3D ; > }; > =20 > chan@1 { > @@ -278,6 +280,7 @@ > led-cur =3D /bits/ 8 <0x20>; > max-cur =3D /bits/ 8 <0x60>; > reg =3D <1>; > + color =3D ; > }; > =20 > chan@2 { > @@ -285,13 +288,7 @@ > led-cur =3D /bits/ 8 <0x20>; > max-cur =3D /bits/ 8 <0x60>; > reg =3D <2>; > - }; > - > - chan@3 { > - chan-name =3D "W"; > - led-cur =3D /bits/ 8 <0x0>; > - max-cur =3D /bits/ 8 <0x0>; > - reg =3D <3>; > + color =3D ; > }; > }; > =20 What is going on here? "White" channel seems to have disappeared? Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --i7F3eY7HS/tUJxUd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmDTlfsACgkQMOfwapXb+vKDiQCgtAHVU0b0Z46fbRCOpxwGZ6qT kzEAoLQzIKhTs9F7ZzphvFOCfHKy02CU =XyKw -----END PGP SIGNATURE----- --i7F3eY7HS/tUJxUd--