From patchwork Sat Jun 2 16:54:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 137591 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp2313361lji; Sat, 2 Jun 2018 09:56:28 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIsHs/k55/XOeRbcDWO2dt4FZRT4kgtp/InC+edqMSPcSJI9plaio1ait35kexLCOqYx/9d X-Received: by 2002:a63:7001:: with SMTP id l1-v6mr12542614pgc.358.1527958588722; Sat, 02 Jun 2018 09:56:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527958588; cv=none; d=google.com; s=arc-20160816; b=0vPtHUYKFEd87cwsf19+FcBYaPdn2nK7SKVTpw4iT/LIOvYwi+Beei5L41wrFpjkl3 qSOFZTYtDbz/R3mgGHL5InpunxwQehe7Itq5nLWQfrEHeYXGa+Yr044xwlIbThXed45M Ougjcc3ouUUAMupL6JDSxYDjy0LX9I/eYTPKncXcsLzAoxUFu6cjgZMeuskaDbyX1p8P 27nKN8KX5ZlnXT6q0NbOJLKLUZs7maAODUnxrxGg0AuR8rKfTcuFBNbbs5m6fAC6ofrA KKA3XkV3BFJDN5vBd+d3k3slfi+OTN+fEjvCY72NYuW0Tl1TCNVliXXIE14KUk5Rs6Qd A02A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=zPaa5F+n7qMdE91HwLv9mtruVk6o9VTxqUnlPPcRgZg=; b=Rf20g/QO1BEEmhSJdO6sdQG/3th4ZnRm1K3Td3dy7YKzzQhHIMlPJaWAep6EMdiwIv 4I8P0Ss+jyov/9rvBWFHFNYNJVybj7pI5nK8cRoyUUGrHqU1CYREzaiJBoLgjhytDgwT TiJwey4wM1GWoIqiamtezmFc4ZZOitUOrL4y6EGhXjK3cGHJHmfEP62JqLqb35z+HemV e3gP5PuPHwlEg2TefWeb5i4RvUDIb0ntX+0Et9yTaP/UVdUQb5tIPQU48E2JNDFAixus qAebwvRVU8eDcna5Plp6G0lTzmof1cPBmF9qa7buUPpCJpGqnV3nDJvVu6yjKxQclvCY aGtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ATeZfIGa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 126-v6si2149557pgi.254.2018.06.02.09.56.28; Sat, 02 Jun 2018 09:56:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ATeZfIGa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751931AbeFBQ40 (ORCPT + 30 others); Sat, 2 Jun 2018 12:56:26 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:47045 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751880AbeFBQ4X (ORCPT ); Sat, 2 Jun 2018 12:56:23 -0400 Received: by mail-pl0-f68.google.com with SMTP id 30-v6so17090004pld.13 for ; Sat, 02 Jun 2018 09:56:23 -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=zPaa5F+n7qMdE91HwLv9mtruVk6o9VTxqUnlPPcRgZg=; b=ATeZfIGaF5PzIGUYmSU6jTqukWwsmIM+gIPsKUKmkhyjk4M2GuxSPkG8jGPYWz2El0 crWtFiznAtzHjmvEeaE3i13oK1PcQK6c8yEfqV9ZCzQ5oqydg+fbJFgkf7TO/b9stLsa +CNV7O9Ju+PVV96wHNu/dVF9hvypEDIoJWSnU= 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=zPaa5F+n7qMdE91HwLv9mtruVk6o9VTxqUnlPPcRgZg=; b=cLgHkteVe2GjZ92ND4ecnXOuVHu87EjAKEwySupXvqRkK/MFQoSHAFu1EjE9JtHvis j3uDrDKM7z/xfSC2scDd/sN7B1Nmc1fpN83rlPcJR/R4xOI+8Ww7dyO5z+i7BaIu/d+v YTNrzFwylcE8t411nzfVwFafcDhyBrUlXWcG+uiW5tdFcJhKKM998STMBnEfAk+viqoe FySWwwJoOfMlmTWlv/YC1O2uzQGJSCo13RwssXIDFYXuMstYZZhTLIqigT7SeHMWhViC 0/AN5dDEhdu/m4EW+f4Uccoqa37OPTZnd4jnr+ega5x51KnfysOQsRjdTF+Rsz/j9I6U JppA== X-Gm-Message-State: ALKqPwfpPUpLg0qL5TCRBBRkD83IYQmmKEXdOeYrqIkR9RARdOkKgHTw QzsJxChk7VVkYyRGoa4xn1oV X-Received: by 2002:a17:902:1e4:: with SMTP id b91-v6mr15501064plb.155.1527958583075; Sat, 02 Jun 2018 09:56:23 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7101:2a19:fd31:7f54:4d59:ed9f]) by smtp.gmail.com with ESMTPSA id g11-v6sm58693544pgq.62.2018.06.02.09.56.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Jun 2018 09:56:22 -0700 (PDT) From: Manivannan Sadhasivam To: linus.walleij@linaro.org, robh+dt@kernel.org, afaerber@suse.de Cc: liuwei@actions-semi.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, andy.shevchenko@gmail.com, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, hzhang@ucrobotics.com, bdong@ucrobotics.com, manivannanece23@gmail.com, thomas.liau@actions-semi.com, jeff.chen@actions-semi.com, Manivannan Sadhasivam Subject: [PATCH 1/3] dt-bindings: pinctrl: Add gpio interrupt bindings for Actions S900 SoC Date: Sat, 2 Jun 2018 22:24:13 +0530 Message-Id: <20180602165415.30956-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180602165415.30956-1-manivannan.sadhasivam@linaro.org> References: <20180602165415.30956-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add gpio interrupt bindings for Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam --- .../bindings/pinctrl/actions,s900-pinctrl.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.17.0 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/pinctrl/actions,s900-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/actions,s900-pinctrl.txt index 8fb5a53775e8..81b58dddd3ed 100644 --- a/Documentation/devicetree/bindings/pinctrl/actions,s900-pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/actions,s900-pinctrl.txt @@ -19,6 +19,10 @@ Required Properties: defines the interrupt number, the second encodes the trigger flags described in bindings/interrupt-controller/interrupts.txt +- interrupts: The interrupt outputs from the controller. There is one GPIO + interrupt per GPIO bank. The number of interrupts listed depends + on the number of GPIO banks on the SoC. The interrupts must be + ordered by bank, starting with bank 0. Please refer to pinctrl-bindings.txt in this directory for details of the common pinctrl bindings used by client devices, including the meaning of the @@ -180,6 +184,12 @@ Example: #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; + interrupts = , + , + , + , + , + ; uart2-default: uart2-default { pinmux { From patchwork Sat Jun 2 16:54:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 137592 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp2313498lji; Sat, 2 Jun 2018 09:56:39 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKxO3Cx+9SqdAlE35QhA3+2CaP7qAzgeyXeJ+7MpijI7IjUO6YjfJ1SYkHIU+ffjowZf4Xv X-Received: by 2002:a62:c918:: with SMTP id k24-v6mr5602130pfg.160.1527958599388; Sat, 02 Jun 2018 09:56:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527958599; cv=none; d=google.com; s=arc-20160816; b=GEWujseCS13QyVJOZh/l4Jft8vUAwI5QTgwdeXj/i791JNE9Wq+e3ciV8Xpr+x7nl6 R5tK1itgz3kcqyizz+xGhOwGdZf6dtQsZb2Yi4ZcdlCdpMbSzdZpNeR3kT6b6manp70N nzPiR48nwfkZymfErnxv/AJoWx/yVuGF/WFAGC+X3zrzugvs5o+2FU3E3hFmer/HF83J kUqN9tnQK4VXM4TBgxybBB3MbyixY4vghLDeeYQzXUC5kjMtxuZxtcoqGyjA7pG090rQ SxcMNUYMkcbNB1Q3rtdpg9Ew6uxGy93xBcLh+kYZi7Zfcjg0ARhJM4g+vv6V2tbdNCaF BHKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=UercdMRs8c4N3abT1Durko910SxQxDdzBD0rTce1B14=; b=ryCdFqLjgbh62Y7rZzs2hxVFwdK1rouor8ERLe9ijPGG1Jicq0IB3LWGwLcDvwEkAg UDbrHvO/xf6Z15C+qKC40ysMtcd7nkD11mKr/MF0qvgj/u97ivD5bk1sd+nJVC5Usyad i1PEf7v3jBMw3dxSALE64waLFEyVLBuCUg7U25ERGDWkafQdGcHyDJxy4lkuG0YkFkBl 1B+bM0MFAiErX4R/HZ0CWFi/InzUK3KvyNya4kCnRMqNdfiia4Rj4ELM1aqtNHjpImh0 yteogXz6QsYnCz1pKRjrOdGz/1/TvdAHgt49aN0xFDJBtnO0IotQ99vThod8C6GL0Zag V8aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dy93O6M5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w12-v6si33629706pgs.557.2018.06.02.09.56.39; Sat, 02 Jun 2018 09:56:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dy93O6M5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751976AbeFBQ4g (ORCPT + 30 others); Sat, 2 Jun 2018 12:56:36 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:47056 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751941AbeFBQ4d (ORCPT ); Sat, 2 Jun 2018 12:56:33 -0400 Received: by mail-pl0-f66.google.com with SMTP id 30-v6so17090151pld.13 for ; Sat, 02 Jun 2018 09:56:33 -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=UercdMRs8c4N3abT1Durko910SxQxDdzBD0rTce1B14=; b=dy93O6M5Vga/W8R1RSLk3z/UkVLL6WIJFq8W6910DNXMXNhR4HfsGJ0TFo8bhMGJmz aTMZvy7Cms7ntlo5hCaP5JWagOoByXNKRKLH9LU4V2P8cYmyNtig1x4ALyQAK6WpXtao 6euZtL0E96QIIf29CDJxleCDk5Bc4xAkTdKjw= 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=UercdMRs8c4N3abT1Durko910SxQxDdzBD0rTce1B14=; b=h/Iy4IvmtOjYwdv+EJY8beA0B7UoS3q3pCJwbyRoN7rbLeiS04J6xMsoUB/t9XWYS5 /NwKQOfRSQtskpb1gtsvWxfTtaG+zQyruO4p5ZT6qepMaxN/aOcETyGTJssktAj97ksY j7BeG5itd6nR+UYHhftM87xbBP6+st/GLPBpqp0OfotWpW8zGT93DUEI7n+rn2wP+UBa m2YSfuOCjTeM0dGTsCEEItxXUV9lPhT2yeohdt8SjVbAcFtW1gpUubYA6XeKZgYQpg52 ehl2LohlM/AVpeBUwEfXt77XnYSik9Tgmi2WLtcDYQDTSZbSWiHF/UsUcG8Ao6pJHD/g CLIA== X-Gm-Message-State: ALKqPwf4YB80ZdTwla4tGc2ZQs4dLDggFE8GsWWgHTHOARUhx69GnygF 28eeemw5xcmHVkuDe02+tKEP X-Received: by 2002:a17:902:8d8e:: with SMTP id v14-v6mr15598812plo.387.1527958593063; Sat, 02 Jun 2018 09:56:33 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7101:2a19:fd31:7f54:4d59:ed9f]) by smtp.gmail.com with ESMTPSA id g11-v6sm58693544pgq.62.2018.06.02.09.56.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Jun 2018 09:56:32 -0700 (PDT) From: Manivannan Sadhasivam To: linus.walleij@linaro.org, robh+dt@kernel.org, afaerber@suse.de Cc: liuwei@actions-semi.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, andy.shevchenko@gmail.com, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, hzhang@ucrobotics.com, bdong@ucrobotics.com, manivannanece23@gmail.com, thomas.liau@actions-semi.com, jeff.chen@actions-semi.com, Manivannan Sadhasivam Subject: [PATCH 2/3] arm64: dts: actions: Add interrupt properties to pinctrl node for S900 Date: Sat, 2 Jun 2018 22:24:14 +0530 Message-Id: <20180602165415.30956-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180602165415.30956-1-manivannan.sadhasivam@linaro.org> References: <20180602165415.30956-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add interrupt properties to pinctrl node for Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.17.0 diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index aa3a49b0d646..7ae8b931f000 100644 --- a/arch/arm64/boot/dts/actions/s900.dtsi +++ b/arch/arm64/boot/dts/actions/s900.dtsi @@ -181,6 +181,14 @@ gpio-controller; gpio-ranges = <&pinctrl 0 0 146>; #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = , + , + , + , + , + ; }; timer: timer@e0228000 {