Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2912227ybx; Fri, 8 Nov 2019 11:10:27 -0800 (PST) X-Google-Smtp-Source: APXvYqzNAig1Tk+Z0IEN2u7h4fPJABqMePymh7lwOq/Q6XFrbRMcRQ/oRiptlYdyb3NT6x6LMurD X-Received: by 2002:a50:970e:: with SMTP id c14mr12219374edb.20.1573240227673; Fri, 08 Nov 2019 11:10:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573240227; cv=none; d=google.com; s=arc-20160816; b=A2bS56hZEiVUlmr44s7osTHLwvy0jiYvNx3ASNje7gizt0aA69QU00APKC4COpzv6Z zbz1p4ApfmBhGA6O3fKKPFXGB4Q5GlUKoZ7PqOj6Vm7BvSH1EhIilq2+/FP62xgo2caZ Vb+Map7RB8FFwo7zRTEkQwNDLWah/JEivgB1n1vi5FPxyWYfR+9aEHprk+qNA4eMGq4r Fm8zpVLIOpdOTS1Y//kHYITbyrpQ7TcKLNK/UpoUA5gfoqSr7S+eIGqvoDvyYiHFY5vf zcvdgBgQ0ec3GNN+z8iDekWy2H0/+x9knMeEcDiZTMAPKTpGbgAmtZO3qNAn0K1bKkEp jGWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=EYaAspx4wk3oukpuLwdq2ZUBPP/IhVXm+fvDuplw6yw=; b=smiyw7P8h4iFsMOv2tzk2ZwS58lhpemfI7RUUeiNnR3vuT1no3IPJ5i1XR6uC/okcB KAPnPNluFxHLCtM0xOrUJ0eiNdqpazB+dUBlJG052q7/dDxZk1DRzki7ObS9wSyQv1PU sLWDW8AeSkyYHc0/5xnHHQh3+/Bczwaxkmyq0m0FtZmRqb6hCD7M2GJfsWAHzOxKKLF9 whijAcHbTydbzpc3EFMWlN1w00qJrLvaWs47kZ/u6QZREzG6d2LDnrfYVjmR9w4IiM+P I0Jjif3SptqXYf49TV8tzhJjYFKVjOlHxTsgsSTCaa7WhgR8xbynU/p/0bHWvkpN/SBW 3mfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qiZJUYVZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j8si4329046ejm.162.2019.11.08.11.10.04; Fri, 08 Nov 2019 11:10:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qiZJUYVZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391406AbfKHTHF (ORCPT + 99 others); Fri, 8 Nov 2019 14:07:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:37702 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391386AbfKHTHE (ORCPT ); Fri, 8 Nov 2019 14:07:04 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B68422087E; Fri, 8 Nov 2019 19:07:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573240023; bh=E3vOxg8kySeuRFePBSSnqG+X2RodkIAx0DqkS8qfbuM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qiZJUYVZt3IqE3DbiWbE1dLwHB6P42A6eLKFsb8gA9uYgqysLH6IH/V4Ezdw14vY8 FNE2AdU2HNV5tif8NvF06EHmdAUYmRlKjv9l3cmUKQtvz1iD44EbX3mOK2t3GU3kPX NVo6wsgRRLWQZ77dgi06/7cHagXWu8+TpVfKQ3Ps= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Fredrik Yhlen , Stefan Wahren , Linus Walleij , Krzysztof Kozlowski , Florian Fainelli , Sasha Levin Subject: [PATCH 5.3 061/140] ARM: dts: bcm2837-rpi-cm3: Avoid leds-gpio probing issue Date: Fri, 8 Nov 2019 19:49:49 +0100 Message-Id: <20191108174909.098848717@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191108174900.189064908@linuxfoundation.org> References: <20191108174900.189064908@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stefan Wahren [ Upstream commit 626c45d223e22090511acbfb481e0ece1de1356d ] bcm2835-rpi.dtsi defines the behavior of the ACT LED, which is available on all Raspberry Pi boards. But there is no driver for this particual GPIO on CM3 in mainline yet, so this node was left incomplete without the actual GPIO definition. Since commit 025bf37725f1 ("gpio: Fix return value mismatch of function gpiod_get_from_of_node()") this causing probe issues of the leds-gpio driver for users of the CM3 dtsi file. leds-gpio: probe of leds failed with error -2 Until we have the necessary GPIO driver hide the ACT node for CM3 to avoid this. Reported-by: Fredrik Yhlen Signed-off-by: Stefan Wahren Fixes: a54fe8a6cf66 ("ARM: dts: add Raspberry Pi Compute Module 3 and IO board") Cc: Linus Walleij Cc: Krzysztof Kozlowski Signed-off-by: Florian Fainelli Signed-off-by: Sasha Levin --- arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi b/arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi index 81399b2c5af9e..d4f0e455612d4 100644 --- a/arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi +++ b/arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi @@ -8,6 +8,14 @@ reg = <0 0x40000000>; }; + leds { + /* + * Since there is no upstream GPIO driver yet, + * remove the incomplete node. + */ + /delete-node/ act; + }; + reg_3v3: fixed-regulator { compatible = "regulator-fixed"; regulator-name = "3V3"; -- 2.20.1