From patchwork Thu Oct 19 12:01:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 116379 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp407745qgn; Thu, 19 Oct 2017 05:01:56 -0700 (PDT) X-Received: by 10.98.67.217 with SMTP id l86mr1317590pfi.92.1508414516480; Thu, 19 Oct 2017 05:01:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508414516; cv=none; d=google.com; s=arc-20160816; b=o/skxzae+Np6s20GJwCy7N/JxF0FgEbeC9s+1HBmivhCK3gbxcmbE6z65+JZrogMzW xOuBe9dU3BmKs2im3YGhdBymHycoaIPXMK9dMNKwkegTvfvP8FkG/cr9tUoCL73WmwiW quF8ycss3mLzE7odfGCZSRIevwnEOvKPMQN4DYePaQoCdU9ImX8qrMC/p6KzBvTI4Fna s+IsaA18N1K/1XSJ7XAUTKnxCgboLB0ZiGS1CYS52CEA30Z3Fh7nPZDu15rofZpuFrKv 0RO2n2SdyPjLq0kV1Lq/rOGawCNvCPPb0qljsmL/0IgIkqlwf01LM4IZXQuJcP+axHMi XCmg== 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=NQ9ufA0JkDAWOVx4T7Cn6M8tQN7mDaGn9LjzZq4IQco=; b=b4VWhvkMaeiR9BUjZm1fblswMARCrZIskESiTo8HNPzAL5fOpAn5Fv5gE7uQaPOCcp NJP4gQnla9wjIl+Vye5TMkjKvbdZ2ZwTvJK1e03opDFXFMTEUcJRB3yCdh3c+uV6VaUb TVti8ez1QTF0vJLNx6V6wIe6WB9KtO594q8pzoQTiTASMamd5S0U71skuOJoJpNgRFAy 2ZWbByS/19nfL323dVdoUEJTqB3IDBuh/xkjKw7ZKXrPMW6n14+fzG9TGLOugKxEVWDx ih8A9n4SnYAafqRmHCoLdIHKjItMWYJqu/ZvNVGwW2wIDAbkYO3uUASZJm6Iewfqj9E0 TIfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=R1j470mL; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k75si9161417pfh.200.2017.10.19.05.01.56; Thu, 19 Oct 2017 05:01:56 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=R1j470mL; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753256AbdJSMBx (ORCPT + 27 others); Thu, 19 Oct 2017 08:01:53 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:55380 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753068AbdJSMBv (ORCPT ); Thu, 19 Oct 2017 08:01:51 -0400 Received: by mail-wm0-f66.google.com with SMTP id u138so16023346wmu.4 for ; Thu, 19 Oct 2017 05:01:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NQ9ufA0JkDAWOVx4T7Cn6M8tQN7mDaGn9LjzZq4IQco=; b=R1j470mL9EsXPaKQFB7W2wzvaySDWztLmXi5g6U01F570gH4zWkI3wSzu9xD8mi5G/ 7hjnlAMIKJ9jKIVzzCvOgxmlbtCkqPcBNAVG9HPqCV0mmy/UyAXH2eNU6c6HZQccSjz/ xaRnfIlyo5oelepANOBHfgGnct5K+oEWXzF7HxGypJbBCFdOV54v3y99uizM2inYFm7Y 4HeyaS6g3UAdZ2vzLc3ahZ3MzbpLqnflN926ZF3NfhKAEnKd0OoXRZ8LllsdQOhPYVLz ZqlB6i6BEG7yhXLVNPWoEX3CWmHI3JMxlOk8zi3ajI60kQTKRpHPZ4sVJKv94DG1geep 1hLQ== 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=NQ9ufA0JkDAWOVx4T7Cn6M8tQN7mDaGn9LjzZq4IQco=; b=jrYxXAHurRhHx0dWBkMAEwU2GoK8iR6bkfHfETzZWyKtGV4gPimNMAkrOgU15pwoUY OR0GTs99vjCuOYr1745BSK8Yzb4H5Exczl2qS0akx4YVtOzHzpgwbhwpKFLft0tBqdA+ CwmOymKTXwrBhG1Or2ihFKxTSmfz8YooSJmZI2zMgHokEMyVINYmqG34/U8c+DFyFogX sZe8Mo6ypJZnqqG79lrUCYYh8PT2q7dirCn5rVfyHUFisXCX8Mng8cXs63gmOa1UcDRd 549bey0xlYjJI3tvt8teHE90DZ/dwIiMB47vojJbOIvCJYCWhI9pY94GjBA4G9AmYg/o aQWA== X-Gm-Message-State: AMCzsaVGVv47a/AaOddCnUwepzgm0HsPej0h/pW021OaaIyQRa/h/Mho k+mr2pu6xbw14cVTThBl6IgDew== X-Google-Smtp-Source: ABhQp+TCOZPI+R65IOIWYfesHtzGlj/pJDh3111sMSGdneJAmdt7A3yDp1hFEM8SWiNE5Rd3falM9w== X-Received: by 10.28.156.23 with SMTP id f23mr1607472wme.128.1508414509924; Thu, 19 Oct 2017 05:01:49 -0700 (PDT) Received: from localhost.localdomain ([217.110.245.107]) by smtp.googlemail.com with ESMTPSA id x75sm1484089wme.3.2017.10.19.05.01.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Oct 2017 05:01:49 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/5] ARM: meson: enable MESON_IRQ_GPIO in Kconfig for meson8b Date: Thu, 19 Oct 2017 14:01:39 +0200 Message-Id: <20171019120143.20581-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171019120143.20581-1-jbrunet@baylibre.com> References: <20171019120143.20581-1-jbrunet@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org select MESON_IRQ_GPIO in Kconfig for Amlogic's meson8b SoC Signed-off-by: Jerome Brunet --- arch/arm/mach-meson/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.13.6 diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig index ee30511849ca..dc4830bb80fc 100644 --- a/arch/arm/mach-meson/Kconfig +++ b/arch/arm/mach-meson/Kconfig @@ -28,5 +28,6 @@ config MACH_MESON8B default ARCH_MESON select MESON6_TIMER select COMMON_CLK_MESON8B + select MESON_IRQ_GPIO endif From patchwork Thu Oct 19 12:01:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 116381 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp408485qgn; Thu, 19 Oct 2017 05:02:24 -0700 (PDT) X-Received: by 10.84.177.195 with SMTP id x61mr1327517plb.286.1508414544859; Thu, 19 Oct 2017 05:02:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508414544; cv=none; d=google.com; s=arc-20160816; b=0g0hjIlrYndgufUwarYXKSrNt3Z5xMOZmnG+z9ZUyjuU7lRFeWg44S4/vvL4Xh5vvj wXyJo04WyL9CkkMQ1nvaAUehMuAevATsa9TrnFLk87x85TlSx5WH7lfvVi6yGQHEGome 5AhKNR9D7IueG96fAW1q0pDIuMIZzPPTB8sVAttTyx/ZvnIOIUDY6jWIEh7xWdNIkWx8 v9OUaty12fAcpJKtK2t4/+Ju7XiWBbyKvUM6heACIWDKkPglxzF39bb30H5nInPeb0n7 5NCsmUKWs0WiFtc1sIFf3AafOzdUFZPWFTqvpgk6eZ+QNAaKrL2BNglKF9/MJGFwbjJ7 rSLw== 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=OSr0UpPmx0EunKuxPjOOLBm9xdqAPYyKDxxjAaGH+zI=; b=wxq4D4yL4rkBkCUMahiaNrhizFGoWrhllo+swvc5Hi7hNmHyBrx6XkJUi2BgcTcymg xz9rrRlr/kLQYBtCbBxJE9o7PEwmQj+U1m3CbY4awQJpiPN0uaLFYwDM10h6Ydwn5Uo6 YQfslj+UYNUYoCCN9UoVpNuSqbb70RJidPA6+mOmuqFkmwdtWLlqpvc2WiIgBB3D4te6 w1X73t7Fkfo0prwvOrWF2E87LtQXiKF3aq1zC1RTDNcP2f+2aZC1JEfTyAkkV3CiNSmE HZZShzK8IjuoNamHYr/rvwzO37SoWETziTE7L5RO0cdEyRF41hBxHbX48wxKQzCRteqo EA5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=NE0NyRLM; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g59si8842253plb.16.2017.10.19.05.02.24; Thu, 19 Oct 2017 05:02:24 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=NE0NyRLM; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753312AbdJSMCX (ORCPT + 27 others); Thu, 19 Oct 2017 08:02:23 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:47961 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753068AbdJSMBy (ORCPT ); Thu, 19 Oct 2017 08:01:54 -0400 Received: by mail-wr0-f194.google.com with SMTP id y39so8061508wrd.4 for ; Thu, 19 Oct 2017 05:01:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OSr0UpPmx0EunKuxPjOOLBm9xdqAPYyKDxxjAaGH+zI=; b=NE0NyRLM7eUy5MXXhlTopEM79Z0LNoQfEuFf688Ndjj0AO4OOaNH5wusEJaoZgNQ4L 3NvkynxTMK5j1hcwaQD4cUmJPdsY/BTd1YdcHnCHNQ37x4l7HlLnQ1KoU0xEjdDrIA4d 3VVZ5OsEAnwexDyepmKGTreMb8LOHQtSvUstWNld+Zi6NAfuTNm1AU5bbozFvpt7Gwll rlwjCfLYpQ3hQXb1+ZM3dO/8l2A06TyGOJttj6pupcZ40FTrM8xq3AKks+8ALiJTF1Vb y5wqwlJvP1/Vg7phV8Eye405bLjlEnIL2Du9O6+QdYChU/cQa4dlhw21fQQ0m831O5yW hxnw== 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=OSr0UpPmx0EunKuxPjOOLBm9xdqAPYyKDxxjAaGH+zI=; b=HlgSycQpBheJvmijNfWz66JYQOMRtuNmOai9Z3J2B1rAAWyJDldVRZa5n/hY4IpqbK 1N/Cm1Gink+8sOlYiAiRs01oC9aynzrNtfPkI6XJdWtSsJh0RwxSNyvSVhBDxpnlIH5T pqRCZAQ3Jm1IRg7dPtjGysZuz8uF9h1ioJk1DETONGbDJWLfs862UqsXZkSPPlckxyU6 il1+lo27zUa5TqllxbQvmVV7/98MtfwBmLGch36OQissuqiRM9xx9KJzmw3TyH+FK7Sk HbfAXWw+aA9y2oZxINHuGP2f0nxd6bL5Ep8OwSQ2ds7eV0QhUw8xsiv8H0t7ACG2xe9X frQw== X-Gm-Message-State: AMCzsaVR5V4/5b6lKSE/57XEIJSoQ3apWKdTOZvPYPsr2y2VFnayPaQ3 RAyDuirff1fSPJeqr0PXMO/AmQ== X-Google-Smtp-Source: ABhQp+RuQcq8GDFy7lnu+opMsRtwXnfr5EPUwpDVZ2wu1qZvXuLpxXnlAf3Q+VSKkAyDTnPhyBPDUw== X-Received: by 10.223.157.203 with SMTP id q11mr1490944wre.131.1508414513234; Thu, 19 Oct 2017 05:01:53 -0700 (PDT) Received: from localhost.localdomain ([217.110.245.107]) by smtp.googlemail.com with ESMTPSA id x75sm1484089wme.3.2017.10.19.05.01.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Oct 2017 05:01:52 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/5] ARM64: dts: meson-gx: add gpio interrupt controller Date: Thu, 19 Oct 2017 14:01:42 +0200 Message-Id: <20171019120143.20581-5-jbrunet@baylibre.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171019120143.20581-1-jbrunet@baylibre.com> References: <20171019120143.20581-1-jbrunet@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add gpio interrupt controller to Amlogic GX family SoCs Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 9 +++++++++ arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 6 ++++++ arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 6 ++++++ 3 files changed, 21 insertions(+) -- 2.13.6 diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi index b7723436a04b..ab7ce1644cdc 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi @@ -218,6 +218,15 @@ #size-cells = <2>; ranges = <0x0 0x0 0x0 0xc1100000 0x0 0x100000>; + gpio_intc: interrupt-controller@9880 { + compatible = "amlogic,meson-gpio-intc"; + reg = <0x0 0x9880 0x0 0x10>; + interrupt-controller; + #interrupt-cells = <2>; + amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>; + status = "disabled"; + }; + reset: reset-controller@4404 { compatible = "amlogic,meson-gx-reset", "amlogic,meson-gxbb-reset"; reg = <0x0 0x04404 0x0 0x20>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 3d41db9c9d22..ead895a4e9a5 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -323,6 +323,12 @@ clock-names = "stmmaceth", "clkin0", "clkin1"; }; +&gpio_intc { + compatible = "amlogic,meson-gpio-intc", + "amlogic,meson-gxbb-gpio-intc"; + status = "okay"; +}; + &hdmi_tx { compatible = "amlogic,meson-gxbb-dw-hdmi", "amlogic,meson-gx-dw-hdmi"; resets = <&reset RESET_HDMITX_CAPB3>, diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index d3a51031a711..0aa71a35ce64 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi @@ -225,6 +225,12 @@ compatible = "amlogic,meson-gxl-aoclkc", "amlogic,meson-gx-aoclkc"; }; +&gpio_intc { + compatible = "amlogic,meson-gpio-intc", + "amlogic,meson-gxl-gpio-intc"; + status = "okay"; +}; + &hdmi_tx { compatible = "amlogic,meson-gxl-dw-hdmi", "amlogic,meson-gx-dw-hdmi"; resets = <&reset RESET_HDMITX_CAPB3>, From patchwork Thu Oct 19 12:01:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 116380 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp408072qgn; Thu, 19 Oct 2017 05:02:08 -0700 (PDT) X-Received: by 10.99.108.2 with SMTP id h2mr1197639pgc.362.1508414528466; Thu, 19 Oct 2017 05:02:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508414528; cv=none; d=google.com; s=arc-20160816; b=vsBoTkrt0E5++n/h39Ic34xDt+FofJ7K30p5BRKNfmdHRS0Q2Tp7kOA85zolKx8wSB 2D4YrJXydghB2JB5zgyxbCbzFgu5m6v56DlXniF1xxy9Fkzoj1fQmuxhJE4SClhZBKF4 ZLIETW4R2ChkKKltGq6KwZ/EPiti0PZOGu1CuhsVXfClwaYK7kzScOBn0BRms+XbFMZB EmE8F8velpDYteXQmpaiuczIjcbImYVAZoTwSbF8tFCM29GUF3Q4/fuf2Lq6v/vtmND5 YNt+dEzr4oVTcH20QntJAOUyMPsCkzUCkMF2gYxMhjkt9mCKy2miLQCbgv8yqotgHiRl 0aPw== 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=BqwNd41W5Vq1iCP+BhNXRt95dFMp8BfQ/Bf5Eo6qKgY=; b=rtFZO3LiBGYcu01BpwZ3cc0rbzXHrG7yokAeRnMUZgYZVioYpkue7xvUdeMscGjL8Z Tf+3V7ewZX2G2Zq5a1XSe3wFggQIjH3Yo7pWe+6XE8E2fRotZF96B0KDURcUep8YqFyS ZSsbdhsjMRwu3Ydvt397MuI2li8KgCHJyzAK6rxXKWnrNBP8ymIag5To/RSHROsQXEkL 7CAjo0XwFH6WucNYYrutmjGVwnBcwhMFvaTPh7z5pZu/wYVikQVHWHpUEag0GPKZLUCL GL919NDPB7VYNfaURwbXNvnf/RprZ5F8Q5s53EsGIHtP8IDSFMndXi5Eetxxp4BFhVrL QYYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=umUt5F0c; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w12si4654746pld.307.2017.10.19.05.02.08; Thu, 19 Oct 2017 05:02:08 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=umUt5F0c; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753296AbdJSMCG (ORCPT + 27 others); Thu, 19 Oct 2017 08:02:06 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:47963 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753258AbdJSMBz (ORCPT ); Thu, 19 Oct 2017 08:01:55 -0400 Received: by mail-wr0-f193.google.com with SMTP id y39so8061564wrd.4 for ; Thu, 19 Oct 2017 05:01:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BqwNd41W5Vq1iCP+BhNXRt95dFMp8BfQ/Bf5Eo6qKgY=; b=umUt5F0cps2b6MiY1NXIeoljnGHdXDWNSOoWbMjqKyKdiFapyoR0V3wrBrMXi8voLl 2tiri6PlCD3XI1CmwD9z8oqmOh+jIlBUGigSK0EOwgKh64Rm/mar/HUOUjhxZew94FDo +uFtIXm77oCyh9Y895rOjVZVPdXupqxsagHORAcRk8KrI6op+zU/QZOSitIE+EiKpNan 9ID9f7KL+F8rMNitpJpXP/bNM56OYtudxCNjSbrZv1Qdjir7BIINpBf/GRAPChvt6s2P 79qJyP0FC6y0LT35C468noxOsq1A4unf5XEt0PauP9L/84j0XR4ELKxLEsf56Nl/9mol jeZw== 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=BqwNd41W5Vq1iCP+BhNXRt95dFMp8BfQ/Bf5Eo6qKgY=; b=ADxwPR/MpCbOmPQLysfJstN2SEZZWu+71yGmG9WvTdY0KeuUSA8ke009Qm2QbBTEaZ h9UGZZpnJvIHK8niuRQeKST/kg5uRf3g8xI2eZLXUk6nas1j88aCFDtTZ1Ov0mtCdrtd QwpNuQIdxbLiL/+ZUylaA2Zal/8RbrbwlRwJgvIBHThKqvuicSSE5qFt/HcqA/ELiFwt Md4IWnovKvmoCwhpNqAARRyfH4mlatqALKjRZYOhSwKfbDR+W5YNkmkW5BWiCO0WvBTe 7QcMccR81LJWEltQ+m1zP7lCEPCXUDYnUbhqNQUINzdgBQDSnTdvyPgj2EVLV2J4uz6V T4HQ== X-Gm-Message-State: AMCzsaVaRgzfixxPrlNZUS2b06qJdKNEhHWU16kcHddLNtRux4pdrzmG piCnbLQcWP4SxOEs1juLNY7ZAg== X-Google-Smtp-Source: ABhQp+R64W91sv2VqR46tTcJFr0Xuik5JeUPQuaBF2QAJFRWkioSVmct2BSlz2JANRPvhyfyBnJ0Jg== X-Received: by 10.223.134.154 with SMTP id 26mr1467342wrx.137.1508414514211; Thu, 19 Oct 2017 05:01:54 -0700 (PDT) Received: from localhost.localdomain ([217.110.245.107]) by smtp.googlemail.com with ESMTPSA id x75sm1484089wme.3.2017.10.19.05.01.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Oct 2017 05:01:53 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] ARM64: dts: meson-gx: add external PHY interrupt on some platforms Date: Thu, 19 Oct 2017 14:01:43 +0200 Message-Id: <20171019120143.20581-6-jbrunet@baylibre.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171019120143.20581-1-jbrunet@baylibre.com> References: <20171019120143.20581-1-jbrunet@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the external PHY interrupt on the nanopi-k2, odroid-c2, p200, p230 and q200 Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 2 ++ arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 2 ++ arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts | 2 ++ arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts | 2 ++ arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts | 2 ++ 5 files changed, 10 insertions(+) -- 2.13.6 diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts index 2e853c082a65..4a4251001bfd 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts @@ -168,6 +168,8 @@ eth_phy0: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ reg = <0>; + interrupt-parent = <&gpio_intc>; + interrupts = <29 IRQ_TYPE_LEVEL_LOW>; }; }; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts index 1deaa53c9fb5..fac5c3eeb07d 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts @@ -157,6 +157,8 @@ eth_phy0: ethernet-phy@0 { reg = <0>; + interrupt-parent = <&gpio_intc>; + interrupts = <29 IRQ_TYPE_LEVEL_LOW>; eee-broken-1000t; }; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts index 2054a474e0a9..9bf16bb7c491 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts @@ -117,6 +117,8 @@ eth_phy0: ethernet-phy@3 { /* Micrel KSZ9031 (0x00221620) */ reg = <3>; + interrupt-parent = <&gpio_intc>; + interrupts = <29 IRQ_TYPE_LEVEL_LOW>; }; }; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts index 6827f235d7cf..4f3f03fc31b0 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts @@ -128,6 +128,8 @@ compatible = "ethernet-phy-id001c.c916", "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; + interrupt-parent = <&gpio_intc>; + interrupts = <29 IRQ_TYPE_LEVEL_LOW>; }; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts index b65776b01911..66c6da7e112c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts @@ -110,6 +110,8 @@ compatible = "ethernet-phy-id001c.c916", "ethernet-phy-ieee802.3-c22"; reg = <0>; max-speed = <1000>; + interrupt-parent = <&gpio_intc>; + interrupts = <29 IRQ_TYPE_LEVEL_LOW>; }; };