Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp193517pxj; Wed, 26 May 2021 20:17:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7B/H6zRsi1ajy+YIUDVaTJZFaqZx69iJYR8OPafhg0fDd3/lb3couTf2fDs/eVIHik6o9 X-Received: by 2002:a17:906:c010:: with SMTP id e16mr1549913ejz.214.1622085427394; Wed, 26 May 2021 20:17:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622085427; cv=none; d=google.com; s=arc-20160816; b=vyWmx2ltEar0q+3zXSg+7DCevTh+bJFlpTbo553ssRPzWX9Jx6o9Bv04PxxptIJycr jQombpmIEtFKsLFhg/cgTBVX+rcKW3DSki19zJXATzgGjpB4cNySCcg+I8tT4Bbiu0CP JErDBvESsCbn8I1uXM/SJ3rHzf3MjYbsSho+0UHiyHp7uj2Ypu2uAPFDqyRDOoStAv/h RAYeKaaUc07O1Plvqu+rbmVWPqlUAVn+mj38Z/K2rzKSYjvAt+RVT9OpLl3R41u/VD+i ltfHsc1aGUi9XP6AhiDOrIufrrsZhEoSUKoeeWAhdD/yygkg4VGTGCDJ7Vt57NTNXIFW /aaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=y/cGFhCslzHXmKBHkc+G4POXNC36z9Jeh7syy7zZ2C8=; b=t4FYUEXbXjGWdLPx8ywTF5NNRKRdM3e0d4j/N3AudyEPuBN0wvlLyB25N03m6MIqiT S+t9kaKLAvlEye8gEa1woWtZCfZ/Kdc5TxBPu+9U/3Cjrtjt69Suh1/FemLAJAmAuJzU sVAvk6puUekhGICUipO9E97vyoMkf35kqpEwbpIEsC9kplAo334fsEiVprTDotkVK5Z+ teyeRSrQibFfTPP/PCrCKV+k5Kr/thKhmxIUshmwOz+sMAmFFDz9IUrQSeSEChcP7owF y3msEKhEYPfP3JsNR2pMnakXa8yRGZOwLLsIMftwuHGCRuY0q/Qo1W5KXfoFf/7Rs2Ms DTWQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h24si913862ejt.504.2021.05.26.20.16.24; Wed, 26 May 2021 20:17:07 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234969AbhE0A4w (ORCPT + 99 others); Wed, 26 May 2021 20:56:52 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:19933 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234976AbhE0A4u (ORCPT ); Wed, 26 May 2021 20:56:50 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 14R0fwMq067380; Thu, 27 May 2021 08:41:58 +0800 (GMT-8) (envelope-from steven_lee@aspeedtech.com) Received: from slee-VirtualBox.localdomain (192.168.100.253) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 27 May 2021 08:55:00 +0800 From: Steven Lee To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Joel Stanley , Andrew Jeffery , "open list:GPIO SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ASPEED MACHINE SUPPORT" , "moderated list:ARM/ASPEED MACHINE SUPPORT" , open list CC: , , , Subject: [PATCH v2 3/4] ARM: dts: aspeed-g5: Modify sgpio node for the enhanced sgpio driver. Date: Thu, 27 May 2021 08:54:52 +0800 Message-ID: <20210527005455.25758-4-steven_lee@aspeedtech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210527005455.25758-1-steven_lee@aspeedtech.com> References: <20210527005455.25758-1-steven_lee@aspeedtech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.100.253] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 14R0fwMq067380 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The enhanced sgpio driver has changed the compatible name to sgpiom and reads the max number of sgpio pins that SoC supported from max-ngpios in dts. Signed-off-by: Steven Lee --- arch/arm/boot/dts/aspeed-g5.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index d733c1f161c1..730cbd48eedb 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed-g5.dtsi @@ -345,13 +345,14 @@ sgpio: sgpio@1e780200 { #gpio-cells = <2>; - compatible = "aspeed,ast2500-sgpio"; + compatible = "aspeed,ast2500-sgpiom"; gpio-controller; interrupts = <40>; reg = <0x1e780200 0x0100>; clocks = <&syscon ASPEED_CLK_APB>; interrupt-controller; ngpios = <8>; + max-ngpios = <80>; bus-frequency = <12000000>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sgpm_default>; -- 2.17.1