Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp218435pxb; Wed, 18 Aug 2021 00:13:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwx2xJGIF3jZbEGMYsGXguvzSc+ZojomiUBc0VVBE9Ds7wPEfa4Ep77g8dg2NDuWnrNZoR X-Received: by 2002:aa7:dcc2:: with SMTP id w2mr8243435edu.192.1629270806489; Wed, 18 Aug 2021 00:13:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629270806; cv=none; d=google.com; s=arc-20160816; b=JlY3c4xHg8jewYoFNC7krB1tCwHoHFfPRhVKm+QbumuGpci+cwD/XIyGVpsLPif+XL Cj5hfOWwODGPrz+W0skKVzB0B/iyoKBU3oNu082102tvvkAmUleA+8MA1jMoeGkx8Xqi xH3iZmZpuVPh7wwmfEjbLqoN52KSL5O7mf/PaWkPyJj49KZOkHVK8iTTXWHE6C5ROI5l Uelu1/i9ytANCdChSs7/q8f7InA3eVZqiZHfFVA2zf1867RZYYN0o90XkwDhqspRWO0W caBVYq9fZMavEOcVQjkchr5h01NeLX94L2dVqohnn+wbGLOH5zX3Qr1DPpctFWDLYEtQ KPeQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=D3SoYq7cCf8X685kicAhxBhPpnT4tcM0Cnios45ggv8=; b=nKP+UTVA8EzGysznItO930AhOD3+b7VKXQ2K5RY7+LvHw617rr9B+sbpusDFQPUOmv rLrQJGnjiVt4Ngj/A9vHaG3pGjfLmmvr0RwUgFj3nY2ELm/vLjZhwaeJMAKMPvybIc8O dC8XLz3jIOEDFCnL0yQkyPu1V9PGeAN1BIC/+kFFunxynWMYw5tITPnbtvHh5IbBi+u7 V6BTYpNvQDDCVonp6acfSlEwYcKHdXdDPeK8SRi02NgUWmzQvwVLDIqQdWuAkGCtEG2H PkM/lBPvvNd052KDNX+qtY6nnCM2syROnu13O/IKIhrL2jJCAvFpsLkOthTEUJCOwqFH 89Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=D7nvxhBK; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b3si4588123ejp.504.2021.08.18.00.13.03; Wed, 18 Aug 2021 00:13:26 -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 (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=D7nvxhBK; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239017AbhHRHMQ (ORCPT + 99 others); Wed, 18 Aug 2021 03:12:16 -0400 Received: from uho.ysoft.cz ([81.19.3.130]:58283 "EHLO uho.ysoft.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237805AbhHRHMC (ORCPT ); Wed, 18 Aug 2021 03:12:02 -0400 Received: from vokac-Latitude-7410.ysoft.local (unknown [10.1.22.96]) by uho.ysoft.cz (Postfix) with ESMTP id A51DAA01BF; Wed, 18 Aug 2021 09:02:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1629270155; bh=D3SoYq7cCf8X685kicAhxBhPpnT4tcM0Cnios45ggv8=; h=From:To:Cc:Subject:Date:From; b=D7nvxhBK4BVqR08HV+1wdjdazYuFbHJ1Z0xNzGRf0iWmt3yJCOUzQrgGGCJ/NKaGb JCo43iq0l7tp4z4w37qyEbuivD2ytuqa2KsBxBxLDyRto2ts4f6CJhe3/saOcTudNN /UTCQPD4ZETFImvdHD/dEkv4/4beEnAlbFQsPV2g= From: =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= To: Shawn Guo Cc: Rob Herring , Fabio Estevam , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , Pavel Machek , Jacek Anaszewski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= , stable@vger.kernel.org, linux-leds@vger.kernel.org Subject: [PATCH 1/2] ARM: dts: imx6dl-yapp4: Fix lp5562 LED driver probe Date: Wed, 18 Aug 2021 09:02:08 +0200 Message-Id: <20210818070209.1540451-1-michal.vokac@ysoft.com> X-Mailer: git-send-email 2.25.1 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 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áč --- arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi index 7d2c72562c73..8c796551352b 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 / { @@ -271,6 +272,7 @@ chan@0 { led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>; reg = <0>; + color = ; }; chan@1 { @@ -278,6 +280,7 @@ chan@1 { led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>; reg = <1>; + color = ; }; chan@2 { @@ -285,6 +288,7 @@ chan@2 { led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>; reg = <2>; + color = ; }; chan@3 { @@ -292,6 +296,7 @@ chan@3 { led-cur = /bits/ 8 <0x0>; max-cur = /bits/ 8 <0x0>; reg = <3>; + color = ; }; }; -- 2.25.1