From patchwork Mon Jul 12 06:02:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 472933 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp2663716jao; Sun, 11 Jul 2021 23:55:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQngrYnT/6cWx5x5Php07KxMuYMG5N8kVkGd9/0EaUwQagS0IwZbyzpEakIJ7Fj9QfT6ps X-Received: by 2002:a50:d642:: with SMTP id c2mr7383376edj.22.1626072908518; Sun, 11 Jul 2021 23:55:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626072908; cv=none; d=google.com; s=arc-20160816; b=lWE+H1+a+7j6PihP84oLZJwHbJzCyhvC1W3nFzA/U/348JG2FOx3YRTW8W+/whKLvv DWlLHA+SUdBKX9pUsy6zAcG5LH0XcEDIM4+p5UQiG0SZIubRVm2UTN66CMTQve4/Xpsk h5G7f8daOm3bXGlKfxYRoWPV9ZAR1SEiBJOj2srwc833J7VHSZ8U+5JCJ2EAxdjdWw3z /7qIp+igCxFdaYTRIaiJX3N2kGpnZLOyzbO1SUGIIiMLwwJRSuFdJe7qADk662Bad0Li 7bNm8cpA34putrhF+CM7T76b9Uqm9noZxf9/kCTn9Bpyjd2p5tX2hcL/QeA8af70Rdp/ jvpg== 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=Cs46z80j8HqRrrmC0yXvzv9WXBoTd7BA9nE0Ns6wekA=; b=cxfKeSMIWCvGvO9OaMSdPbaxQI57SCHat17MubphUlnmKbq9BVz8Fx37bjmQ9Q6peS pbnMnFErblj3Qg3DxzgX9vWxQztyQgh977vmUDmG8SSQrJ+3D9S/viJzuJOX8CvSYiHN PiEMKN+fuNWl5fqnLUF3D3NOnEgreQ5mYbPyAp5SKpKZULgGKhqmcJHaB1M3QT1A5/dx 0DX7k0mYnbxjLLrjd96q+naPiT/y0QNUyBDfF2JT53VNOpD6b8Uuh8/fJ0JDMNLbG3Ey qYBXTtQTeND/00djrK4bU12AXUSHfoBKfNa5vQ26v1sZ06W4ZZJuoHGoTKOjGmgEDl25 ot9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="td4qz//Q"; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r25si3440466edp.437.2021.07.11.23.55.08; Sun, 11 Jul 2021 23:55:08 -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=@linuxfoundation.org header.s=korg header.b="td4qz//Q"; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239859AbhGLG5y (ORCPT + 12 others); Mon, 12 Jul 2021 02:57:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:58918 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241535AbhGLG4w (ORCPT ); Mon, 12 Jul 2021 02:56:52 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5E9E06136D; Mon, 12 Jul 2021 06:54:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626072845; bh=LE0ggWALqFHZTFF2fwQS3K77C4N1qrd6O5zo/TNfuH8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=td4qz//QASe7mCRVyhi14lVoc4oSZKGnGSAAakkQ9N/qnX+l1SWk/iyy96ctxrMmw 2ChP+yWFk6woa2BU6sF8fhNAYdcPy90o6GOrZzvymP0tkZsruTZUTr+fj5L/dNtOi8 WSRRaTSIG1bW4fx/ygUaRsy7QrBnPyYgJbDETdXg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dan Murphy , Linus Walleij , Olof Johansson Subject: [PATCH 5.12 041/700] ARM: dts: ux500: Fix LED probing Date: Mon, 12 Jul 2021 08:02:04 +0200 Message-Id: <20210712060930.472403181@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210712060924.797321836@linuxfoundation.org> References: <20210712060924.797321836@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Linus Walleij commit 7749510c459c10c431d746a4749e7c9cf2899156 upstream. 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. Link: https://lore.kernel.org/r/20210613123356.880933-1-linus.walleij@linaro.org Fixes: 92a81562e695 ("leds: lp55xx: Add multicolor framework support to lp55xx") Cc: stable@vger.kernel.org Cc: Dan Murphy Signed-off-by: Linus Walleij Signed-off-by: Olof Johansson Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/ste-href.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) --- 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" / { @@ -64,17 +65,20 @@ 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 { @@ -88,16 +92,19 @@ 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 {