Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1615985pxb; Mon, 11 Oct 2021 09:32:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyl9NDMBFUIXuderImtWRCkycpRKWjYxB0JjuYZXIZ1ZFqbSAVI35C+V0H+ZfPi34Yr+6bR X-Received: by 2002:a05:6402:278a:: with SMTP id b10mr42083524ede.134.1633969971952; Mon, 11 Oct 2021 09:32:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633969971; cv=none; d=google.com; s=arc-20160816; b=A3DtSvEgIdXQXG0Gi8hqt82tYYxkbrfMCXdLrJPnp8pRnuKLtEvx5S+EFxTdEZacUE FnaZD/tHfxFV1pg9PtQ++iwwStQXT1tgDa/H47ETeTAMq/u7c4qY9rKwOx/F4LFO0Aff lhM7yopbYdqR8IZzUk1vOOkv6l+rBaPvaHCvH1Vi/S0dYeZn5q+GsY9o7CeFSTu7SfDN 3kJuPI9xmprFTgMNESHp3MIMpP3i5Gvd/hxg2DcnrOXwMERM0or/e8w2nEd51Ouf5PNB lK9ndlfr86xhtyn3ZohvDWSSidqAetqfCdfwgqSlgSulDKmF45N5ZGrLbtqR+6iNVhGa Qrrw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=tSyI4Evy7Wf0cY3pUJBf8lQfYw+yRLg8wvEUeyEhiF4=; b=e5X+hg9h8G35AY1rZXxTQ6fVPXZ0HurzAaDrQwW7KAOAfsQo0dLwhEfn+ToSDCil8s 3Ei7q3u/7bVSGYB5ALiuTZ+zMcDsQAPigeDu1esdta2nAqVLxhaiZsI0IhdD372jkDj6 k54kP9XP8XAg7LeFIe2PdPc5UYXlaYSZ2b0TUwpR/CqYWp41av3zFUrMfeGvLrrIh1JE yPXcY8s+LLu/kV6bZt23pP9luQVh+js9H+5MMq4+XAjhNwcHewlJBp7gybLW4ZPUjsqM HZM69++47mCExrs9aSPc58xKBx5Ms7w/uqoKojNZV6MKe6CEmfxjYcx91R8BZ3T1V0dA gVzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wnbXYYHR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lr26si6222209ejb.40.2021.10.11.09.32.28; Mon, 11 Oct 2021 09:32:51 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wnbXYYHR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237903AbhJKNzE (ORCPT + 99 others); Mon, 11 Oct 2021 09:55:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:39696 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237891AbhJKNxX (ORCPT ); Mon, 11 Oct 2021 09:53:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D830960F21; Mon, 11 Oct 2021 13:51:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1633960278; bh=wyS+FdSL05tcVAmQFHo07rVuRq0L3J5Plorok3M0swE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wnbXYYHRONWrjclA8c5BG7m7aOFmPYT0gJBJzlp9T85FsczEP2ectgyInx2A3Ad92 LOV6pdcDAHnnoFddj/TBNYvB8YQ21HYIUO+cDt35NEyRI+6ft9R+vlic1Gn8rqjOQR xyz68RnTYSHDgY7POI12FkFjRNasYTkZ67wUDiKA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, linux-leds@vger.kernel.org, =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= , Pavel Machek , Fabio Estevam , Shawn Guo Subject: [PATCH 5.10 18/83] ARM: dts: imx6dl-yapp4: Fix lp5562 LED driver probe Date: Mon, 11 Oct 2021 15:45:38 +0200 Message-Id: <20211011134508.981609489@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211011134508.362906295@linuxfoundation.org> References: <20211011134508.362906295@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Michal Vokáč commit 9b663b34c94a78f39fa2c7a8271b1f828b546e16 upstream. 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. Author of the framework attempted to accommodate this DT to the framework in commit b86d3d21cd4c ("ARM: dts: imx6dl-yapp4: Add reg property 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: lp5562: probe of 1-0030 failed with error -22 Add the color property to fix this. Fixes: 92a81562e695 ("leds: lp55xx: Add multicolor framework support to lp55xx") Cc: Cc: linux-leds@vger.kernel.org Signed-off-by: Michal Vokáč Acked-by: Pavel Machek Reviewed-by: Fabio Estevam Signed-off-by: Shawn Guo Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 5 +++++ 1 file changed, 5 insertions(+) --- 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 / { @@ -275,6 +276,7 @@ led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>; reg = <0>; + color = ; }; chan@1 { @@ -282,6 +284,7 @@ led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>; reg = <1>; + color = ; }; chan@2 { @@ -289,6 +292,7 @@ led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>; reg = <2>; + color = ; }; chan@3 { @@ -296,6 +300,7 @@ led-cur = /bits/ 8 <0x0>; max-cur = /bits/ 8 <0x0>; reg = <3>; + color = ; }; };