From patchwork Wed Mar 22 11:12:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9638543 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5444E6020B for ; Wed, 22 Mar 2017 11:12:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4977A28459 for ; Wed, 22 Mar 2017 11:12:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3D0652845B; Wed, 22 Mar 2017 11:12:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C97A728454 for ; Wed, 22 Mar 2017 11:12:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=JFUnaI7DiU8Pyn685+vksYjp0n9XbuJh/2/2Da+NxVs=; b=Ngh ml+vijIuzuR4b6bG0OwxBaC+aiQumii8WkjgnZm1tD/Py+DOXiFr2ozlGq6Emx2yiwQI7p0yIOak1 tnAaRNFiFMbTmaRdlk/VSC5WrA9emtp3C4xc4cQqINCZThE2ERMSnBkbVUk2cDBkyw24RvcYdq7zm lMo/GlV/kxVjRs+l++5rbeligORydm9+nfN4FtHD5E4SE0411AiqQ+tlUTJP46EPvrt8HuF+px+ji 6VKsVg5x44CVOhMozV/1eYL6CNeebjhMN2/X7fFmuK3/AJb/Cq1zduMwNvWxxj3iqZBRZDSwCLEdK jbrMyqn+56mC230J2p1gb/M6+/dT18A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cqeC7-0000Gu-DG; Wed, 22 Mar 2017 11:12:47 +0000 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqeC3-0000Ed-16 for linux-arm-kernel@lists.infradead.org; Wed, 22 Mar 2017 11:12:44 +0000 Received: by mail-wm0-x230.google.com with SMTP id n11so34363582wma.0 for ; Wed, 22 Mar 2017 04:12:22 -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; bh=RGfJbBH8NRn/eEnGLdKI4drvUrEgVRuRH1DCHfBtkjI=; b=aIBRQCNbQedSr9A38YS3XvUpHCCoJGTS8Am2c5OuOTiS2IXnWPCjeMby6c+JfXZQYM bp5YGTqwHjzDNofk91gH95VTBBzeALxbBy9b4WD3ZA2m5yjGKGrF8/jeeEcR+VEhBjRS +koDWtDfgBhBFAYYBsaCnQR12Fkj5rFBdjQXg= 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; bh=RGfJbBH8NRn/eEnGLdKI4drvUrEgVRuRH1DCHfBtkjI=; b=RkMY1CAcX9Cs8qWR6r/f1VF12LvF0qWkzUOvpmdV1gftPR0etAo6zl1okkpJgl3qVs ovWBQi3rcvOjLkgW2b+HK+iK3qrAZskhlUgZazGj+fsOiiSZ2qjRXb7whJR8CxOozXRm H7R/tEwcLQTOucvfY7x7hPIvP9LUtVODDflqbbRRLzoKuWnW3KzD9tTh6aB0g5wAjwCF TdU84z3NSQKNQOiHbSoBVpJXl4VHz5ZOJHVv/dmu2ZVEGVQKSZH8synxebkG2mISbi6y 77Sn5/IpfI8bfU7ZAeZVYQgj5nyNZuL1zrc/ydxDUos2Sgf8jPvVWv1QJnwngoRnWcKM nZsw== X-Gm-Message-State: AFeK/H2ZOk+LbnhA4bMyxCBzcuIOfLypaDQdMVgFnmZJ3x0Vx4ba4ikXTKM7R5yLd7Yjor4P X-Received: by 10.25.156.206 with SMTP id f197mr11522321lfe.77.1490181140928; Wed, 22 Mar 2017 04:12:20 -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 s70sm389025lfe.32.2017.03.22.04.12.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Mar 2017 04:12:19 -0700 (PDT) From: Linus Walleij To: arm@kernel.org Subject: [PATCH] ARM: dts: augment Moxa ART GPIO node Date: Wed, 22 Mar 2017 12:12:09 +0100 Message-Id: <20170322111209.14571-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170322_041243_234141_0E792581 X-CRM114-Status: GOOD ( 11.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linus Walleij , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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. Tested-by: Jonas Jensen Signed-off-by: Linus Walleij --- ARM SoC folks: please just apply this to DT for-next like the other Moxa Faraday cleanup patch. --- arch/arm/boot/dts/moxart.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/moxart.dtsi b/arch/arm/boot/dts/moxart.dtsi index 64f2f44235d0..e86f8c905ac5 100644 --- a/arch/arm/boot/dts/moxart.dtsi +++ b/arch/arm/boot/dts/moxart.dtsi @@ -67,8 +67,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 {