From patchwork Sun Jun 13 12:33:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 459552 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp2488301jae; Sun, 13 Jun 2021 05:37:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrVTcpZIruyzlqJqnWUgRhD4DvJr5/NVNL9A/Vkwiq9IQaGCJglSarUwDx/z6TX/89VK3V X-Received: by 2002:a17:906:1790:: with SMTP id t16mr11139816eje.203.1623587822112; Sun, 13 Jun 2021 05:37:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623587822; cv=none; d=google.com; s=arc-20160816; b=wb4KN2ZPh/8KrYrc0D6PKkj5BxElSd/LfjwG8H3mQJ0kL1ryeZSZVGFhPnq+F63/CO XNUV20J19i1TMvwlNcaR4Kq30vTbotmBAKv9pMHpYBwY3QekaQ3+6CTB0RTISiteQMg3 nuS1TNQJrp7ePLMDHJhuUv6LBmsRdS6+qi7Bzt1vr9CQpBKlznmG4drt3ty57LD5rCp4 X5E07mSzBoPMDEIhhI6W3TvCBO2uAgzeD1hqd8bCZGD176ARSjoHCNZc5fXWyGG+9v9C Ps9vDzkwdVN6+jyA/DfUMzflT8Gj1cOQTgQ7U/ctIJe/EEco1uqd3oHPKf4suJhbuYPK g7Eg== 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=psREgUUJe6MVeVSfHryr4eKsn7I0gsCysICo1D9MNkY=; b=Yoo53lrxPj+gnG/2MqcM/uF5oAVw1XV/H1bloL+Xy1DyYBuENpkmPa5WT59Ro/4oNi 6MQy0hmRZ7/Gbh+QKpuI9BqMPmX9rKRXU8A+jIcJAXHSUFakOOPMOWsqsjL6psE7peCp VaVQUvCR72LRQeAzaZ7CBX9T0x++ENbm2UWwlpCATk+Q0r5o3Lc99ZJHr+Q8biWOOMYA Cn0/COX1F60OK7dXlTJfJTrn3TRi/Xr2YakjHM1FJLb0OxYAx3lXnlHsY1GcfG3tD3i0 xzRVbkoI2HP4mGMsuSk+c1+IK3j3GTko1O9B7QB3dcb3OERl5ufRAV7iLA/mSrKG71oq eMhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JH5wSKWm; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 90si9903347edc.44.2021.06.13.05.37.01; Sun, 13 Jun 2021 05:37:02 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-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=@linaro.org header.s=google header.b=JH5wSKWm; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231755AbhFMMjB (ORCPT + 12 others); Sun, 13 Jun 2021 08:39:01 -0400 Received: from mail-lf1-f43.google.com ([209.85.167.43]:38858 "EHLO mail-lf1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231733AbhFMMjA (ORCPT ); Sun, 13 Jun 2021 08:39:00 -0400 Received: by mail-lf1-f43.google.com with SMTP id r5so16283155lfr.5 for ; Sun, 13 Jun 2021 05:36:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=psREgUUJe6MVeVSfHryr4eKsn7I0gsCysICo1D9MNkY=; b=JH5wSKWmYb5fhVe1bG/uxfKqWA1UBPjNfABzxFY9tykLp+HWJfq4Vr1hAYPH/aYn6f YwTmnfuyth8/GYhWrOTeajOxfHNh4O13WY99kvCh1HiLXmWyPb2lpvvWmprwFTwszuLE JxfIoPSwmQ2YpGdIMnjA5gqQwymWYM0AiBHmkqgIK4K5QAJdmUkxKzVRanFTnOrWzW/i PbWNSpNUzx3YEYGOXc8beqwY5ew1z952lAHLFaD/SjWiMYf4ZG7Znxn+EUpcWMJt+EJ7 zVcW9hy9u5YUtNc5S+D83fGhOM+pRZoU7+coKulknXfcuXlZmp3mDMGPPJUEbu1W3osD FtUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=psREgUUJe6MVeVSfHryr4eKsn7I0gsCysICo1D9MNkY=; b=iagSLr3C+L2FMSCu3X8T2VbhI0hFuOuJY/oBG3uLA6cWD7lcLMNUB2X164ip08Exld d1OHb1g9id1Gz9jEKFin1Hp9kuWiA+hshCPbCLJCd46raYc8isTAz3ulHh+zqCqd1gv7 MEVQO+5Vk8k2t/vRQWpQE0Ob80yAbjo94nd4W35JECMUEIrXBAqPN3fV5xuyogtT0nCM IoMkWsGc4UfOMRYi0fAbEhZac5TkK1l1LD4Sai7MA3dg2HuNrBUlAZ8/y1tH00foiCKg ykYjaX8C3bknik0qXlbbWB+cAAiDHJHf3Y0bLAJhD4czEvdDuPQ/jktggqqJ1C+i7sd4 HZjg== X-Gm-Message-State: AOAM531wmS4yVnCE0yVECmzlYxx6TeEEhpWUu+DcbMSuYDgI5tsn5SFe 2iEWLpW9Bolo9CgadnrNKFxLzmm2sSVVPg== X-Received: by 2002:a05:6512:16a6:: with SMTP id bu38mr8659619lfb.92.1623587758885; Sun, 13 Jun 2021 05:35:58 -0700 (PDT) Received: from localhost.localdomain (c-fdcc225c.014-348-6c756e10.bbcust.telenor.se. [92.34.204.253]) by smtp.gmail.com with ESMTPSA id u12sm1437103ljo.37.2021.06.13.05.35.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Jun 2021 05:35:58 -0700 (PDT) From: Linus Walleij To: arm@kernel.org, soc@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Linus Walleij , stable@vger.kernel.org, Dan Murphy Subject: [PATCH] ARM: dts: ux500: Fix LED probing Date: Sun, 13 Jun 2021 14:33:56 +0200 Message-Id: <20210613123356.880933-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org The Ux500 HREF LEDs have not been probing properly for a while as this was introduce: ret = of_property_read_u32(np, "color", &led_color); if (ret) return ret; Since the device tree did not define the new invented color attribute, probe was failing. Define color attributes for the LEDs so they work again. Fixes: 92a81562e695 ("leds: lp55xx: Add multicolor framework support to lp55xx") Cc: stable@vger.kernel.org Cc: Dan Murphy Signed-off-by: Linus Walleij --- SoC maintainers: please apply this directly for fixes. --- arch/arm/boot/dts/ste-href.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.31.1 diff --git a/arch/arm/boot/dts/ste-href.dtsi b/arch/arm/boot/dts/ste-href.dtsi index 00e7d76e8656..48408fd391d6 100644 --- a/arch/arm/boot/dts/ste-href.dtsi +++ b/arch/arm/boot/dts/ste-href.dtsi @@ -4,6 +4,7 @@ */ #include +#include #include "ste-href-family-pinctrl.dtsi" / { @@ -69,17 +70,20 @@ chan@0 { reg = <0>; led-cur = /bits/ 8 <0x2f>; max-cur = /bits/ 8 <0x5f>; + color = ; linux,default-trigger = "heartbeat"; }; chan@1 { reg = <1>; led-cur = /bits/ 8 <0x2f>; max-cur = /bits/ 8 <0x5f>; + color = ; }; chan@2 { reg = <2>; led-cur = /bits/ 8 <0x2f>; max-cur = /bits/ 8 <0x5f>; + color = ; }; }; lp5521@34 { @@ -93,16 +97,19 @@ chan@0 { reg = <0>; led-cur = /bits/ 8 <0x2f>; max-cur = /bits/ 8 <0x5f>; + color = ; }; chan@1 { reg = <1>; led-cur = /bits/ 8 <0x2f>; max-cur = /bits/ 8 <0x5f>; + color = ; }; chan@2 { reg = <2>; led-cur = /bits/ 8 <0x2f>; max-cur = /bits/ 8 <0x5f>; + color = ; }; }; bh1780@29 {