From patchwork Sun Oct 11 02:48:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 11830631 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 61257139F for ; Sun, 11 Oct 2020 02:51:13 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2F6652080C for ; Sun, 11 Oct 2020 02:51:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JyDe1vux"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=0x0f.com header.i=@0x0f.com header.b="STe/LTO3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F6652080C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=0x0f.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: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:List-Owner; bh=neVo5cnQr4ffYqV7jVkoH01LYiT2f/pdvk/d5PY2+P0=; b=JyDe1vuxIBlF3KWrrWHCNVi8I vmEi6IGYI/oYKa2237zMc9hxGmEE4ed2X9PL4dqlISn1mCCWfmxqDUcRaiZFCliHF3kfvUF1VzhJL CVGGPZp63oAK84qHLtquoI3YsLBCj/MChZpOYrDWJAbcZeTtJQhYMOJKKYBaymgw7gl1P5XH1h8qc 9c7sWIsu1WfLs7CcxHaHp9JxSwQyu675MtwmzvzfGoa/SGXVoh7LCVjhbOokRWNBTT4FDgkGgeOil /SxMXP9zAeqR060QpyJAqalqCTuhyscQ6cOE5t+HofYPfOegrT+pHzhkutV65ndODJscorU24pE5/ YHH7UHDYg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kRRQB-0001aP-CW; Sun, 11 Oct 2020 02:49:15 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kRRPs-0001XT-Rn for linux-arm-kernel@lists.infradead.org; Sun, 11 Oct 2020 02:48:59 +0000 Received: by mail-pf1-x442.google.com with SMTP id x13so7710866pfa.9 for ; Sat, 10 Oct 2020 19:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+vLeDJv2LEyp4hsuL8OTNT30POuyz8ArX635EhrQnzs=; b=STe/LTO3sE8ArlpYVttyq+bUWHmBARlhnCTyVrUnDlLywj1MCzq2QZCx2CQTd1HyWu yOhqpV7p2qJ7KW4Tz9XluTEuJCxyEaUBocIABJn1ZRNi7id5+dXPD4AJczMQddWA6bOl wnNLoZ2n3UKfLG7UFGKJc+V/Fkb7Q0W8TcYQE= 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:mime-version:content-transfer-encoding; bh=+vLeDJv2LEyp4hsuL8OTNT30POuyz8ArX635EhrQnzs=; b=a7ETW/UyQGpNln96jTfr26TTxNbx8M11Fa277UUHyD3KzjjLQa9vQbBDtPm3nAfGsq N7ebl3bb0KSXys/SzsxpaeEEl6JvY0YMd3Qz/ZpoZaFDdUlx34+aABYiNML14EpmtUNJ 54isqxXvHUWswLbi4JktsQhmM4wjT+6BL2MhlglVzQE+VpwUE/jpJyi9wWZDMHJQ80Er Ubw5gnx5AvnI+A5hS/L2r5ZscY0V63wu/WDTkPpLoy8BUmspKwjlTwAHpHSIq3yjqYBT ap9npmszbRAsA7oF+ooG3zMBOQP8zzv05oZwC6o6X/pWF8oHV2EMhDj3PvWluZStXVUG ahZg== X-Gm-Message-State: AOAM533vwObstJwNG39uOUYQNkajO/w+qgINq125nYNqdrhwVC6QViFl BTDIbE3NL0A44q8kv3mH9v7wFjMMTrrp2w== X-Google-Smtp-Source: ABdhPJw+6VG/mZn4JUuPfcL37j7Uvj10eLj33h9cOzWzBPDPPog5+dIvYSA5FPlHjFpHHGAenvKfeQ== X-Received: by 2002:a17:90b:4b90:: with SMTP id lr16mr13260150pjb.0.1602384535082; Sat, 10 Oct 2020 19:48:55 -0700 (PDT) Received: from shiro.work (p1268123-ipngn200803sizuokaden.shizuoka.ocn.ne.jp. [118.13.124.123]) by smtp.googlemail.com with ESMTPSA id z25sm14832836pgl.6.2020.10.10.19.48.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Oct 2020 19:48:54 -0700 (PDT) From: Daniel Palmer To: linux-gpio@vger.kernel.org Subject: [PATCH 5/5] ARM: mstar: Fill in GPIO controller properties for infinity Date: Sun, 11 Oct 2020 11:48:31 +0900 Message-Id: <20201011024831.3868571-6-daniel@0x0f.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201011024831.3868571-1-daniel@0x0f.com> References: <20201011024831.3868571-1-daniel@0x0f.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201010_224857_829696_07672729 X-CRM114-Status: GOOD ( 13.46 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:442 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Daniel Palmer , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fill in the properties needed to use the GPIO controller in the infinity and infinity3 chips. Signed-off-by: Daniel Palmer --- arch/arm/boot/dts/mstar-infinity.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/mstar-infinity.dtsi b/arch/arm/boot/dts/mstar-infinity.dtsi index cd911adef014..6432b2976c2c 100644 --- a/arch/arm/boot/dts/mstar-infinity.dtsi +++ b/arch/arm/boot/dts/mstar-infinity.dtsi @@ -6,6 +6,22 @@ #include "mstar-v7.dtsi" +#include + &imi { reg = <0xa0000000 0x16000>; }; + +&gpio { + compatible = "mstar,msc313-gpio"; + interrupt-parent = <&intc_fiq>; + interrupt-names = MSC313_PINNAME_SPI0_CZ, + MSC313_PINNAME_SPI0_CK, + MSC313_PINNAME_SPI0_DI, + MSC313_PINNAME_SPI0_DO; + interrupts = , + , + , + ; + status = "okay"; +};