Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp911331pxp; Wed, 16 Mar 2022 21:02:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytBIs7e3r+fM7zyYAGuyNfos0HIHFbI7bRMPMeDolgVRD8xPdNtSzlEi8znAnEpPG0BT3v X-Received: by 2002:a17:902:c40e:b0:151:a83a:540c with SMTP id k14-20020a170902c40e00b00151a83a540cmr2856073plk.10.1647489757157; Wed, 16 Mar 2022 21:02:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647489757; cv=none; d=google.com; s=arc-20160816; b=aHufIK/PML7S7L7JAIYZYo2ARxRMUFlIpZJMrg4XcblspA/JGODxCParbI5ZNHr8fo X8vm0MTUWdMnsuZats3k8jjyD9J/l7ppamr4kR7mR7wit8RoL6++YcC5D4RhM2QC/3Kq asxKssGZrtONaMjdIIV/Zgmt43KM4uN3k1BtGJX0uxKHeDRhjTgeiz9pY0DqJ07oQmPi kHMgrlgjmBnRFvDEuSIYs978MyjUVP/8FUNsGLYGOtfB+klmby0tLob9Q2lpg9x4sja4 TB98pWr9EwpsP4y5PZ2j3/e6GwuQdvKDlmYPLkrHrFCwP0fhwGDqzBR4M+SgdOpyCciS iU6Q== 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=wbG8Bh/TU1xibRa8XonaVA2uHCZHuj60FDoo0FZ6+KE=; b=EBF0yHoCEIkg2sVLAocCc70k5es9tRTj81BfkZr+CGvu7mp2x5qxliZrpLCnpfAgk+ MphKswKUMBjEJGoW6vO1YKxCc74G5jRiPIsChlUKeqqjcTT7bSp/2yC5OZjKhVddp38A trSiUeR3TWP5wMhu+H6lhIKuxPL+hr0Nt5E5LBrelRghD1JO8l5lG0vIXeyBKOCftPM7 YUbB0GFNYwg1SNcXbB+pq5rPEBPOm8RdDc2gWv78ZdWxlgAL5Pg7ETLFTsGrdy+RoDVz Sya8dZhOlg8oA2gbO9KvY3bPTcwPPSfAKr7lHnJ3UqCgHauAjJimZKrYcXwT4n/Wz1or 8sFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ArBb7i1I; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id g2-20020a056a000b8200b004f6f2ff497asi4008292pfj.286.2022.03.16.21.02.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 21:02:37 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ArBb7i1I; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2D78A8E1B3; Wed, 16 Mar 2022 20:45:12 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241091AbiCNM0x (ORCPT + 99 others); Mon, 14 Mar 2022 08:26:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242064AbiCNMSn (ORCPT ); Mon, 14 Mar 2022 08:18:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4993C457AB; Mon, 14 Mar 2022 05:13:33 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 3DE8B60919; Mon, 14 Mar 2022 12:13:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A60EC340E9; Mon, 14 Mar 2022 12:13:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1647260011; bh=p4EKcTt07OqmThVWmyMD0BmzwIgGQvP1W3AY+ND+VVw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ArBb7i1IBpAtFPDcboTBpsnQXVMq0KTA6tH3TTRMz3f85KQdPg3i0Aw63ML7oMfeg RnhvbjOFio0rt3S9Ttmau3DonoXjgnpDTEKTHPdGkWtN+gbWL4wMCVehkLYjbdsms+ IjvQjQUbieSHA9mcVIO7OTP5qTEh1NLTlE59BEIc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Joel Stanley , Andrew Jeffery , Arnd Bergmann , Sasha Levin Subject: [PATCH 5.16 032/121] ARM: dts: aspeed: Fix AST2600 quad spi group Date: Mon, 14 Mar 2022 12:53:35 +0100 Message-Id: <20220314112745.025960220@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220314112744.120491875@linuxfoundation.org> References: <20220314112744.120491875@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Joel Stanley [ Upstream commit 2f6edb6bcb2f3f41d876e0eba2ba97f87a0296ea ] Requesting quad mode for the FMC resulted in an error: &fmc { status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_fwqspi_default>' [ 0.742963] aspeed-g6-pinctrl 1e6e2000.syscon:pinctrl: invalid function FWQSPID in map table  This is because the quad mode pins are a group of pins, not a function. After applying this patch we can request the pins and the QSPI data lines are muxed: # cat /sys/kernel/debug/pinctrl/1e6e2000.syscon\:pinctrl-aspeed-g6-pinctrl/pinmux-pins |grep 1e620000.spi pin 196 (AE12): device 1e620000.spi function FWSPID group FWQSPID pin 197 (AF12): device 1e620000.spi function FWSPID group FWQSPID pin 240 (Y1): device 1e620000.spi function FWSPID group FWQSPID pin 241 (Y2): device 1e620000.spi function FWSPID group FWQSPID pin 242 (Y3): device 1e620000.spi function FWSPID group FWQSPID pin 243 (Y4): device 1e620000.spi function FWSPID group FWQSPID Fixes: f510f04c8c83 ("ARM: dts: aspeed: Add AST2600 pinmux nodes") Signed-off-by: Joel Stanley Reviewed-by: Andrew Jeffery Link: https://lore.kernel.org/r/20220304011010.974863-1-joel@jms.id.au Link: https://lore.kernel.org/r/20220304011010.974863-1-joel@jms.id.au' Signed-off-by: Arnd Bergmann Signed-off-by: Sasha Levin --- arch/arm/boot/dts/aspeed-g6-pinctrl.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed-g6-pinctrl.dtsi b/arch/arm/boot/dts/aspeed-g6-pinctrl.dtsi index 6dde51c2aed3..e4775bbceecc 100644 --- a/arch/arm/boot/dts/aspeed-g6-pinctrl.dtsi +++ b/arch/arm/boot/dts/aspeed-g6-pinctrl.dtsi @@ -118,7 +118,7 @@ pinctrl_fwspid_default: fwspid_default { }; pinctrl_fwqspid_default: fwqspid_default { - function = "FWQSPID"; + function = "FWSPID"; groups = "FWQSPID"; }; -- 2.34.1