Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp987780pxp; Wed, 16 Mar 2022 23:35:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbgz3APC1Kmmhw9nQLKNDCXjfPZ8fyIKAjYvq88b198s/jLzHolSYHBUX9Czgsbsi0idUk X-Received: by 2002:a63:5a53:0:b0:373:9a98:6845 with SMTP id k19-20020a635a53000000b003739a986845mr2583498pgm.88.1647498952702; Wed, 16 Mar 2022 23:35:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647498952; cv=none; d=google.com; s=arc-20160816; b=IyHbLSjAAO9ztmkxesP56x/Gan8Reh2h4xcnaVt9jpCUt2hqjbrShUn98LhPF0GKKI /Cq+VFA3frnrG0N9FH4PBeAeYQsoTZP5ItbzqIEwyWSrxlPLnuOzhQXYOjpaMuywwIbr VbNvgn4D+ndRSEFk4wppcHhA6sHVmqW1gDBNG8gJOzybvCpHcIY+tpA1VaZmtBnEkcG7 YGwkhblyDULEict7/+7MTjg9VZti17G9C4tF3lwOLHWBU8KSDM762qQ7ToAL8YbyNPxA ovUXGb6fS94mRYeG40cC0wC+qc0jEDC0W83Dq93r6DMcl1OCWbRCFV5mKn3X8z3ZSyUA ijQw== 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=QX2kkLYcenYG8hW5AyWdbQaK1x2/oqA+Da13zu21dBJU9mBFyXuSPxgpsjLzDZj6HD 1ytl1BpVDskAMHQO0Hd5QgYLHgKYs40uieVyDQO62WUJXlokNl4gToIDhKRGLruCeFXz QajWWFWmsDpYBeU4rl+O2SL71e8l+7ajCY1LHcNi/lFtHCEBuQAmJpoDrwj3gBtpH8Tp dgiXC1g0ScIdDgMvhHYTJRUvUsSvr8sXO03o32HKOo+HStk7a9xZappRZxBjxxuEuMpy W9rB1uNNa4GpTOQ5HiQXrT2Cv8l8FVN3H8iR6fk1b9QBfevt6DwabHGCygtwXX0q0iqe bF3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=d6i8l4Nh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x28-20020a656abc000000b00381ee9a9730si1296162pgu.407.2022.03.16.23.35.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 23:35:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=d6i8l4Nh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DE7CF205962; Wed, 16 Mar 2022 22:21:52 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241105AbiCNMPd (ORCPT + 99 others); Mon, 14 Mar 2022 08:15:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241535AbiCNMIw (ORCPT ); Mon, 14 Mar 2022 08:08:52 -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 71B074EF70; Mon, 14 Mar 2022 05:05:30 -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 2B1616130F; Mon, 14 Mar 2022 12:05:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29757C340E9; Mon, 14 Mar 2022 12:05:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1647259524; bh=p4EKcTt07OqmThVWmyMD0BmzwIgGQvP1W3AY+ND+VVw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d6i8l4NhiMB/kHjKp21jh8SJ2E8D7qa2RRNOIMt1LTLu5+zl45MNz4gfMWJYB09r8 XEjArXiFfIN8gC09WXrj//H2BvCIBRLaS+NMDBBtaDuuTT8dhG4sruVDWx7eCDvZLE ru79FdnYpFQbyfdCSIBJ7Rllyu77DVBT5/5fDnP4= 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.15 027/110] ARM: dts: aspeed: Fix AST2600 quad spi group Date: Mon, 14 Mar 2022 12:53:29 +0100 Message-Id: <20220314112743.793035407@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220314112743.029192918@linuxfoundation.org> References: <20220314112743.029192918@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