From patchwork Wed Jul 27 13:16:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 12930420 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 142DBC04A68 for ; Wed, 27 Jul 2022 13:17:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=c/lbVgHLpv2+TO4OElBW0AWSwdbpbPWc5CBMpqW7MjA=; b=dsNnlMLHdv7uJ1 jx0OFaBb1lbYgkLgm0LdbdX6+VB8o7noNeXNnPe8kPXiNliualh836vBQn1Ro/CajGa4TdbVeM24Z XumOSORcXB00lNozHzRhdkY5TQA4cxC3bXPIYe57JG7AHdFUl2OBA5QcYpINm2cOxts3lzGAYLUMM Cls90npi4gMbcITjxOpcYeIYc1n8THp1wdD3wWfwWeqYlvDDjtRYlH1L1EuKTNjUFSTcYuH2AfHQL LIFgJhmMIaYBViiX3ngi9QUlfRf1ZEVadfja5w8fmYbOnYx5U1SdFokPZt0kZ5zrBnEV96cAP4ldm jmjx08Jr9/4v+exQOcBg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oGgtu-00DvNY-AM; Wed, 27 Jul 2022 13:16:34 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oGgtn-00DvJW-EG for linux-arm-kernel@lists.infradead.org; Wed, 27 Jul 2022 13:16:32 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 16200B8216A; Wed, 27 Jul 2022 13:16:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C629C433C1; Wed, 27 Jul 2022 13:16:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658927784; bh=d015WWD978FefY4+Y7ek4uzxFKSzSvYYzug/WMJZIB4=; h=From:To:Cc:Subject:Date:From; b=lLe8Qbf52ipNg/TZlwRbzRJ6xJUo/j9sYuRxMEeo3MIg0duTv/rJpdy9WiqG5CCwn f+90PfFvE6Hky9oKdXVUXVkyNd+CgOB/q+gXrhPHRpGrLfW6srU8CZGpMIrj8zVGPX rRa1E5fSBPx+kBT8vwMJ/EYS85hhIZLtioYFoBJ3JbwvFheCSeDzwdn7PUg7jMzY5f U32/mFB+iS0W5c4zrRJ6Mm8Rvz3B60ucSIkCxr46K6sx2pt2nx5RRbxq8ZgukGkiT2 EsQSItZqC8LGCL9/IGR9h/WyRx4FLTXr/+sV1qVQn2KmYYFAVs1TcV4gpfYUtRceSV aMi4GrNWGTP5w== Received: by pali.im (Postfix) id 4CBA37C3; Wed, 27 Jul 2022 15:16:22 +0200 (CEST) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring Cc: =?utf-8?q?Marek_Beh=C3=BAn?= , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: armada-38x: Add gpio-ranges for pin muxing Date: Wed, 27 Jul 2022 15:16:19 +0200 Message-Id: <20220727131619.3056-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220727_061627_640800_95FFD89B X-CRM114-Status: GOOD ( 11.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org GPIOs are configured by pinmux driver, so add corresponding references. Fixes: 0d3d96ab0059 ("ARM: mvebu: add Device Tree description of the Armada 380/385 SoCs") Signed-off-by: Pali Rohár --- arch/arm/boot/dts/armada-38x.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi index a176898944f7..1590143c52c8 100644 --- a/arch/arm/boot/dts/armada-38x.dtsi +++ b/arch/arm/boot/dts/armada-38x.dtsi @@ -298,6 +298,7 @@ reg-names = "gpio", "pwm"; ngpios = <32>; gpio-controller; + gpio-ranges = <&pinctrl 0 0 32>; #gpio-cells = <2>; #pwm-cells = <2>; interrupt-controller; @@ -316,6 +317,7 @@ reg-names = "gpio", "pwm"; ngpios = <28>; gpio-controller; + gpio-ranges = <&pinctrl 0 32 28>; #gpio-cells = <2>; #pwm-cells = <2>; interrupt-controller;