Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3520603pxb; Mon, 1 Mar 2021 12:09:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJzOZdlByyt/IyADxicRX7g+Y+eJPudcE/YDuSTP+7qaqvtrtasXfIdlYJLpuvhnKFdrrqlf X-Received: by 2002:a17:906:5797:: with SMTP id k23mr1306067ejq.515.1614629355003; Mon, 01 Mar 2021 12:09:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614629354; cv=none; d=google.com; s=arc-20160816; b=RGV3ApFCvgWbHKOjuhqY0ocgu3MlkjZHPNItBP9pdYnCbJSRpaFKWwRGougAATv305 oyZura/PICIVv75x50SilvnwhauNLXcNjG7QboVA1xVOIZwicsLwtvqPXx8tM8C5H0Vd GznYOD3M8WiqmxdaHZww+C8kOYInb0GFyyrBtaiYdu1Eyleq4wy13gIW9kK/RG53fdxa Sd2BivR4GEX+joVk3pFdeyr16Go8kxniD/HdWymCW1rtLVnkYNhna93kXDoZK8iG9qT9 uDAJuEEpODa5KSzbuTu/Oe7Cx4T5sIavq0j2x6IxE3hqiw+aO65zP2xGRh+R7i3cmAqC HzEw== 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=/kzI/GTkHQpF+l3hctmv7blrYU5Vwl4AvU/sZmKNPNo=; b=SSzqkEomj8wqF8/aIccwghBZQnj2WEWMvxuQZ8YPLgWiwXshL9St+JtwVc4OQiFgE8 DPwO8K6upWudTUX3lADATIFJfxhYwzcUk8VXL934k5Qt8WFKQX6WSs1e4Of/IuA2yQth AYDQNrHvbVzR9xU3FWKGRZDdSszH1rwe5z/66SiCfd1l+dF9MiWigJg/lQKecb024zgH AhlO5WTECPjp4h3Hr5Ir7h1DzJrqCqNEN8pecO87fX6eEhBt7eMXUIadapS0eBg8izxY 3NlAyoRHlrjZddbIsq/6acCCI8PjUn1xosfdC4Y6TJbQyWElnw4dKkRv+z/Qt68gGu2N aIVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wcraBztv; 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 y25si12184921edm.396.2021.03.01.12.08.27; Mon, 01 Mar 2021 12:09:14 -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=wcraBztv; 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 S242816AbhCAUEQ (ORCPT + 99 others); Mon, 1 Mar 2021 15:04:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:59164 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236361AbhCAQ7K (ORCPT ); Mon, 1 Mar 2021 11:59:10 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7DD5764FEC; Mon, 1 Mar 2021 16:37:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614616663; bh=7bmUylwCmFDCO3RBeR0FrqKbR3jqsXbJXNa2pLEdlLw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wcraBztv1ZlBwxSjbnTnrIvZEfuKgk7MYyADPVjl5LNRPMKhAuYxsK2iNjQeumfbq Ng0TM5XmfTKMWBWs9y+xCffSi5IpMEIoubVX/SxLCF07coljH1mMflI1IEc/0U1hTD HC/wgypOeuokTbuJjhqu8P0ZL/17mDsxvOLPNb8c= 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 052/247] ARM: dts: armada388-helios4: assign pinctrl to each fan Date: Mon, 1 Mar 2021 17:11:12 +0100 Message-Id: <20210301161034.219829753@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 46ecdfc1830eaa40a11d7f832089c82b0e67ea96 ] Split up the pins for each fan. This is needed in order to control them 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 | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/armada-388-helios4.dts b/arch/arm/boot/dts/armada-388-helios4.dts index e0fa1391948c1..a94758090fb0d 100644 --- a/arch/arm/boot/dts/armada-388-helios4.dts +++ b/arch/arm/boot/dts/armada-388-helios4.dts @@ -127,11 +127,15 @@ fan1: j10-pwm { compatible = "pwm-fan"; pwms = <&gpio1 9 40000>; /* Target freq:25 kHz */ + pinctrl-names = "default"; + pinctrl-0 = <&helios_fan1_pins>; }; fan2: j17-pwm { compatible = "pwm-fan"; pwms = <&gpio1 23 40000>; /* Target freq:25 kHz */ + pinctrl-names = "default"; + pinctrl-0 = <&helios_fan2_pins>; }; usb2_phy: usb2-phy { @@ -307,9 +311,12 @@ "mpp54"; marvell,function = "gpio"; }; - helios_fan_pins: helios-fan-pins { - marvell,pins = "mpp41", "mpp43", - "mpp48", "mpp55"; + helios_fan1_pins: helios_fan1_pins { + marvell,pins = "mpp41", "mpp43"; + marvell,function = "gpio"; + }; + helios_fan2_pins: helios_fan2_pins { + marvell,pins = "mpp48", "mpp55"; marvell,function = "gpio"; }; microsom_spi1_cs_pins: spi1-cs-pins { -- 2.27.0