Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5097843pxj; Wed, 26 May 2021 02:48:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyychxEHPejxp9ZiwZbKbmRlkcmW4e1KR/4h/0zrZKCRmidSE+brF6jXvwZMJiaPBT4WGSF X-Received: by 2002:a17:906:c30b:: with SMTP id s11mr32688380ejz.486.1622022493775; Wed, 26 May 2021 02:48:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622022493; cv=none; d=google.com; s=arc-20160816; b=0dsxOHzEWmkzWH9PR511EACECZYNqV20kBi5KQ58hVsR5E+0bVSHhBEZfxwaw76BkE qpseA4p++hy+3av41H3do6d0r6+RhA8rhoLjPU+tAbeaTm+f7ZeAUrdiCyl67JgC/E1Y Fov5tB/jWWyp8wgW/3zzFbfkQo8cH615OVFaQwEZfyEZmpMkANi9taUD2swWL0sUpTLN R1RSbRg1l1FzLq6pWyGdaOmuXV3jFUh+OjjotrWfB04ahJOsxPmG6sClSQfM8UW2oTjw dZLwNZZIDwlyP1jNx6eSNFn4EiUQUwYYcwWYE/eLMo2xn1BSf+unwknKMe4E3kjjhZnk aGGQ== 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=DNJ5U4v8/p9JWMzisiVb+xdBWaP9f++cmS5gAFmpSggN3yl+kAcgZ4oShkIEOfKWXa /cu9redmUZmZgmB+cbZ/FvjcN+9EpDn4EfxJu901h7+UMlW/T/EGBo9cVfgj5if1SJGn vLe3RHkWjvxVFAdEmVmUbLsKbbA1FfmmFAkH0ZGHJQAcA7cftrRia40qOJwjcWhFNP6L 5IxvGEP/LIbL94JBjAAydP/cmXNr05BXpIw6L6llo4kuZ4uX6E3MgPmr8ScwlJtOVdPC SIY7qte7QuFweVwKtq5UjF1p3m6AMnX6k3cz/edc96j66NVbpDEFz9o67j8bz/cnX2a8 tFHA== 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 a12si18435012ejt.503.2021.05.26.02.47.48; Wed, 26 May 2021 02:48:13 -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 S233637AbhEZJsB (ORCPT + 99 others); Wed, 26 May 2021 05:48:01 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:14810 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233633AbhEZJsA (ORCPT ); Wed, 26 May 2021 05:48:00 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 14Q9XEMK082709; Wed, 26 May 2021 17:33:14 +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; Wed, 26 May 2021 17:46:17 +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 v1 3/4] ARM: dts: aspeed-g5: Modify sgpio node for the enhanced sgpio driver. Date: Wed, 26 May 2021 17:46:07 +0800 Message-ID: <20210526094609.14068-4-steven_lee@aspeedtech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210526094609.14068-1-steven_lee@aspeedtech.com> References: <20210526094609.14068-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 14Q9XEMK082709 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