From patchwork Sun Mar 12 23:28:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 95189 Delivered-To: patch@linaro.org Received: by 10.140.82.71 with SMTP id g65csp952641qgd; Sun, 12 Mar 2017 16:28:37 -0700 (PDT) X-Received: by 10.98.2.21 with SMTP id 21mr33951066pfc.93.1489361317407; Sun, 12 Mar 2017 16:28:37 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e3si16421668plb.171.2017.03.12.16.28.37; Sun, 12 Mar 2017 16:28:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935515AbdCLX2h (ORCPT + 4 others); Sun, 12 Mar 2017 19:28:37 -0400 Received: from mail-lf0-f53.google.com ([209.85.215.53]:32793 "EHLO mail-lf0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935487AbdCLX2g (ORCPT ); Sun, 12 Mar 2017 19:28:36 -0400 Received: by mail-lf0-f53.google.com with SMTP id a6so57550564lfa.0 for ; Sun, 12 Mar 2017 16:28:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yqDyo36pHwux8N9UV7TPHaqrC5pnuBOQbPSgQcG228w=; b=h99W7ms8Nznui7Bfy6mor0iDnSoLAqocIYL4OLfW2lMRe4Xy4f8bmTl0/S7k/CZZXH qSGK0vVna+Ne9HO1AbCvNEEnn/8LlE2HsjqZbWcE9RQ0HjgvC/yyu6rxuyJQNfB4p3b+ 4geZjbqlST0fexbHpd03NBaFxwi96jzlIspoY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yqDyo36pHwux8N9UV7TPHaqrC5pnuBOQbPSgQcG228w=; b=Se1qBK1iNyLcC5z1ZiIe5BuxSGFWRCX9Y4OawO+yoXdz3MmVEM5z1sO7iHmNfToOFj klK60+7mNsih5ZPd2iIS6TvmFra1yRn1+c892KkLF373Udkpr2FEkbMdBJaHzZFXqZFO df3/1eicwXx/VgSmhR2JzF9YEEuDXeislucwrWpPH2Nfg/R08EK2JW6mqJ5WM8N/oISA gG4w0NpFhQcwzQ0pxUhYSPwXeG8g2HjsqAtqQwV2AIM5HcmN4dxjAU9oaz7uMK6LM0fc YEZfsdYunjamxq/8bvS3fITEA8ahWC6hOy7iA7zse0I+i88wPwU7pqGQvs19mvTv2aOX WASg== X-Gm-Message-State: AFeK/H2BRi8ZtocTJPvITgzqJaqDYJGRMlpC5K6A/8yTOKDEmeGafIHspvn8dOVmj3RZPAXk X-Received: by 10.46.32.23 with SMTP id g23mr3207413ljg.0.1489361314643; Sun, 12 Mar 2017 16:28:34 -0700 (PDT) Received: from localhost.localdomain (c-357171d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.113.53]) by smtp.gmail.com with ESMTPSA id l137sm1811955lfb.64.2017.03.12.16.28.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Mar 2017 16:28:33 -0700 (PDT) From: Linus Walleij To: Hans Ulli Kroll , Florian Fainelli , Jonas Jensen , Alexandre Courbot Cc: Janos Laube , Paulius Zaleckas , openwrt-devel@openwrt.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, Linus Walleij Subject: [PATCH 3/6] ARM: dts: augment Moxa ART GPIO node Date: Mon, 13 Mar 2017 00:28:15 +0100 Message-Id: <20170312232818.26304-3-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170312232818.26304-1-linus.walleij@linaro.org> References: <20170312232818.26304-1-linus.walleij@linaro.org> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The Moxa ART GPIO is a Faraday FTGPIO010. Augment the DTS node to indicate both compatible values for the SoC and the IP part. Also increase the register range to 0x100, it has at least 0x48 bytes of registers, and a few extra will not hurt. Cc: Jonas Jensen Signed-off-by: Linus Walleij --- arch/arm/boot/dts/moxart.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/moxart.dtsi b/arch/arm/boot/dts/moxart.dtsi index 1fd27ed65a01..10a8184e0ce9 100644 --- a/arch/arm/boot/dts/moxart.dtsi +++ b/arch/arm/boot/dts/moxart.dtsi @@ -66,8 +66,8 @@ gpio: gpio@98700000 { gpio-controller; #gpio-cells = <2>; - compatible = "moxa,moxart-gpio"; - reg = <0x98700000 0xC>; + compatible = "moxa,moxart-gpio", "faraday,ftgpio010"; + reg = <0x98700000 0x100>; }; rtc: rtc {