Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp383361pxb; Wed, 3 Mar 2021 05:51:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJzzAJHEc2RxTFh9DacJxpHAr2O89i3pWoz/WJQeiXqNHeBDljsBjcXVTeBvbhPe89ruZfKD X-Received: by 2002:a05:6402:158d:: with SMTP id c13mr25091680edv.297.1614779504879; Wed, 03 Mar 2021 05:51:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614779504; cv=none; d=google.com; s=arc-20160816; b=tK47X2XqrHM12wm4E6Okv8kCJvaqeXbCgt/E6vDvmUZkQ70sL6zOIZ28/kbXZTBSYz Oi3Mfc0Tt/pziFw5xELI9sH/B62SPS/OuhkLpXHmljw+oMEhw6tDup2Sk2hTUdtMUiCz KuFFXTlSHA4hRVWX39O+eBnrI1hJDkoDt2s0Qr7eF4CjDtynxkS9kuPa05W5FcUr6Tux avTZMzPjFKcns1cBoPCuZHzG9mX4+OGPDEqh/W4jfYzdbKWMisqX66txg0a12ACZkaog CpL5cbajzHn5UdO2PBiTlJYfu5WCdJPp+bqW80sBAgipAWHYMQdUejtSi5nkbynX9mdg /fZQ== 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=Uq+/8CuxQMItywDcJ9uETxCR6eFRjvlcBE8lAZ0kcLc=; b=i2eMhS2/o6j8RTZEkb0CPR/zMvTgDpf6BZZYbwtXQRMaVOVBdtGDKa60wY87BCbmzl s2YoTxJk3yfyHDeNXx5OoiI/slS5hwfu2+dzJfrF3gdkKnubXxXxn5METC2PEN/KezcL YuGxJbxIzh5Z0i5nxaSXeO6r6mxpPq8RoQl2P/sYoa4tH71+efWmIE2MSwxeqct+4cbK ++kq7ueJY38D/8zwbdpgBZsug1JXS9W6l2FqmDxNGQ48ibNBgMej0Gb19UnWGynceWl2 0O5z8uH1P4gY3sjaH5gZ6SxVnFZ3uSO+wd+hyjIg3jn2rkUhz2haHRH+6AVEI6aaVeph URpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZPYLFnia; 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 g21si14468546eje.108.2021.03.03.05.50.44; Wed, 03 Mar 2021 05:51:44 -0800 (PST) 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=ZPYLFnia; 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 S242747AbhCAUDl (ORCPT + 99 others); Mon, 1 Mar 2021 15:03:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:59158 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236357AbhCAQ7J (ORCPT ); Mon, 1 Mar 2021 11:59:09 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id B0F4164FE4; Mon, 1 Mar 2021 16:37:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614616660; bh=xerIsFzExni5txIsBkbguWWcNbi1jFUFSRXEiM48xBI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZPYLFniab0GXn6hhaXNeH32QMnPRFaKJnlGZ3qwRPNxYgracmexdd6HzBePn0GCQQ lL2XzMopMy45tBV5Pz245ea//abmsy6fFgV7dVJLRR1JPJLKH8wBiTwBt72ukseOnw Vn/9/j2BkTUi6tGj3LUuY99yP1Wz+/GKnrjSEhd0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Rosen Penev , Gregory CLEMENT , Sasha Levin Subject: [PATCH 4.19 051/247] ARM: dts: armada388-helios4: assign pinctrl to LEDs Date: Mon, 1 Mar 2021 17:11:11 +0100 Message-Id: <20210301161034.169256299@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210301161031.684018251@linuxfoundation.org> References: <20210301161031.684018251@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: Rosen Penev [ Upstream commit e011c9025a4691b5c734029577a920bd6c320994 ] Split up the pins to match earlier definitions. Allows LEDs to flash properly. Fixes: ced8025b569e ("ARM: dts: armada388-helios4") Signed-off-by: Rosen Penev Signed-off-by: Gregory CLEMENT Signed-off-by: Sasha Levin --- arch/arm/boot/dts/armada-388-helios4.dts | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/armada-388-helios4.dts b/arch/arm/boot/dts/armada-388-helios4.dts index 705adfa8c680f..e0fa1391948c1 100644 --- a/arch/arm/boot/dts/armada-388-helios4.dts +++ b/arch/arm/boot/dts/armada-388-helios4.dts @@ -70,6 +70,9 @@ system-leds { compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&helios_system_led_pins>; + status-led { label = "helios4:green:status"; gpios = <&gpio0 24 GPIO_ACTIVE_LOW>; @@ -86,6 +89,9 @@ io-leds { compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&helios_io_led_pins>; + sata1-led { label = "helios4:green:ata1"; gpios = <&gpio1 17 GPIO_ACTIVE_LOW>; @@ -291,9 +297,12 @@ "mpp39", "mpp40"; marvell,function = "sd0"; }; - helios_led_pins: helios-led-pins { - marvell,pins = "mpp24", "mpp25", - "mpp49", "mpp50", + helios_system_led_pins: helios-system-led-pins { + marvell,pins = "mpp24", "mpp25"; + marvell,function = "gpio"; + }; + helios_io_led_pins: helios-io-led-pins { + marvell,pins = "mpp49", "mpp50", "mpp52", "mpp53", "mpp54"; marvell,function = "gpio"; -- 2.27.0