From patchwork Thu Oct 19 12:01:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 116382 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp410136qgn; Thu, 19 Oct 2017 05:03:42 -0700 (PDT) X-Received: by 10.99.97.67 with SMTP id v64mr1172271pgb.89.1508414622413; Thu, 19 Oct 2017 05:03:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508414622; cv=none; d=google.com; s=arc-20160816; b=A7oj3uDz1XFj/NIG2mQsQ7JPw1LtAE/F1/rK12NwCaRIXa4u38dxjj8gUSiw32GsQG g74SUzlkuOT7m/x/bd/PszoX4GD7sFZxNTf20x7g8HZY6isOTRSlFF0WvULITEXn2oJp 0fumkcMEzjSJcppzpCquZr4RVOfHSsIw92aP5/wUpg6R62+PayW0sa1d619R4apAdCXe IQvdKpgspA3SooJsDWfjoqc6ah683EyRfv92B1UHlQWv92DVGjz2O6ibeweP46TYbp6k 969aJKrEnUf7YGKr9wJdPR7JqTVy7AVfn4h5XZQK/bzr2ubw8b6rkXHliZo2D5Fi5QXc DLTg== 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=kap9sgOpay0IjYTOjom67GmPfCcTqiFOXGHJ9ty6UL4=; b=Tl4foM6JaxzDdaUiakyQtMh9ozW3A+FAlIVxXvjyc2VZScLTLLgJz8LSS7CLcbSNSU zpFATokuKx0kq88J0VlCvhF0HAEkvny6e27GndH0pXregrdPM0ZgdeXGIW0VgCHREUh8 ymZ/5N64TdWJRMVefGCOEydMyMO4ESWSRcM/XMPFM82A1f5KvIS9xd8Yk+pvUXHL3NJo zzHXhwl0uTZCrWkB3CMoBVCTQVgXAi+iUO/i6pIW+hN3ut7nqMOS7ll0nkVlH80JfNqY eu8H6a8pHKmIZQ0yOLe77sm5LEN8N6tW4BkE4QZiALGQUTNKWqepW+d5iXAfeJxTIl/l r05w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=OlDJuGAQ; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 l12si9597305plc.304.2017.10.19.05.03.42; Thu, 19 Oct 2017 05:03:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=OlDJuGAQ; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752899AbdJSMDj (ORCPT + 6 others); Thu, 19 Oct 2017 08:03:39 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:49211 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753214AbdJSMBw (ORCPT ); Thu, 19 Oct 2017 08:01:52 -0400 Received: by mail-wr0-f195.google.com with SMTP id g90so8052853wrd.6 for ; Thu, 19 Oct 2017 05:01:52 -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=T3by31QuJZNoQYC8YPTHi7Iicf06TFO6hmhHAmnELPM=; b=OlDJuGAQs/kpQbwLefq/M2VSXoutn6jlG4RmERAsDJL9nE3Uig2Ik59MLHLV9D6moO E3x4jVWZFS5sAiqTRbhatuZYGBtMktG6NOw+XxnbJw3oph10iA3iCUPAt1M849+dQkvi Rw3t3uOzXKxI24WJkPq9OGn8z5tOU18G1vv34XT5oBQV85uDXbCT8RNFPVTxZ/fYgEpf ysUxmm5NiWGI4APhMDxRn2rU3v3lHnjulHYy6sjteGJ6+fAPYdMhYx9Riyep/L4ztuzm gOe1louA/CyB40c9/tR/dZ1kANT+RILTkaSHItoeLjWFGTCWL78/mW0ZVXjm8ONTxoo7 ddOA== 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=T3by31QuJZNoQYC8YPTHi7Iicf06TFO6hmhHAmnELPM=; b=cCIC0pZghNTk6tAdg7jU9UDVdLfJzeN3XMVpJ5+/xK3msYonRkX/3FWKS/xZjFwPfI ceN3GLRrvl5ECj5cmV3Q/uatSHWBul4ZXHhnKsdCK10kSwFBoUw4HJLf3V5CB7aFmiz5 bTPHihed63rEbWGrL0w9VDk7oUoWdoHBUzb16Rd9IZt8eD38t+6F+woT5M+Aj+9CYrpU ZKynr4UDKDuES56yhbo8by6WuVV7NFqXx8eMe58FkWfWisAmQQF9nwG7zaehHne/xJYE 3LqtGvthGy/JuBTDbAHRDrHYtInr7Y/FNxS45SPOVvCxMYf88DDEl2jXNHJcxli5qZ7Z oEIw== X-Gm-Message-State: AMCzsaVQzHis+Szn3itDzEPMRIMYElA09ehrJXhjqk/hx6EHlXMknYPE lGCV9W94KExzM/w9ZBJPt69YXQ== X-Google-Smtp-Source: ABhQp+RswuSD47wV/Cm2GsnyzuhAI88WGACil+p8UCMZIFW53N4EQaNXUKGVwMfWOcyLSGcB/41/AA== X-Received: by 10.223.182.156 with SMTP id j28mr1525130wre.46.1508414511289; Thu, 19 Oct 2017 05:01:51 -0700 (PDT) Received: from localhost.localdomain ([217.110.245.107]) by smtp.googlemail.com with ESMTPSA id x75sm1484089wme.3.2017.10.19.05.01.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Oct 2017 05:01:50 -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 2/5] ARM64: meson: enable MESON_IRQ_GPIO in Kconfig Date: Thu, 19 Oct 2017 14:01:40 +0200 Message-Id: <20171019120143.20581-3-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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org select MESON_IRQ_GPIO in Kconfig for Amlogic's meson SoC family Signed-off-by: Jerome Brunet --- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) -- 2.13.6 -- To unsubscribe from this list: send the line "unsubscribe devicetree" 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/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 6b54ee8c1262..5d5e79e8d556 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -104,6 +104,7 @@ config ARCH_MESON select PINCTRL_MESON select COMMON_CLK_AMLOGIC select COMMON_CLK_GXBB + select MESON_IRQ_GPIO help This enables support for the Amlogic S905 SoCs. From patchwork Thu Oct 19 12:01:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 116378 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp407772qgn; Thu, 19 Oct 2017 05:01:57 -0700 (PDT) X-Received: by 10.101.82.130 with SMTP id y2mr1156092pgp.65.1508414517521; Thu, 19 Oct 2017 05:01:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508414517; cv=none; d=google.com; s=arc-20160816; b=XPlUgVAjDkcro1B2sQIFLrs1PVbufQgw7U7kJOFeeefJzFvMLphDRRmmle685IjT4t JC6/VAEQDTdVGC/oaRo15HMQWckPGPYYVUp0J2YlhXIMMwLEUKgKtbtvvsuTFSBSkIaS KrZw4f5dpf+OwXTZTJHzpuNK2YNwVLJO+HwgJdvj4yHx0Wc4+y2pG4ZK+o9mdEiHZH/M vnqfLEvlpfAQcJwZhfeVzQhHkIuusu1rYPX1H3bVxvQwEv+uMs+AZX9WgxvbMjbzCdO1 7eWNQIxwlLCZe4aL5p2He9oHUVYgzQjFghsxri0J+vMmqzISg8ExM1aG2hqjGsr5G7jP 9lVw== 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=SDQS5C5TNaAWr2nIPZFK2eBdUUiSqdDmQohJWYdlcCE=; b=XDm/fKzvpS0wREaBdwR0ku4mCY91oSAZE/MWPmxoPhtNaEmVdJJqz4pOnDcUreQm16 VheRIQPaOmbImMZe5l1bd150DzeWIzsJ7W/5l8yvtkPhDPOQKCNcLWYcDoN08s/92wXX c5fiFc8feTp3Ln4DOIB1d7mWfWEp4EwXNapYCRjMXY8wca8q563uCCsDm9BRXIingfFy bZBRo+pUXgN+9aaQ2rloF0RKrvwCBQaP3Ie4VVf2hwlnIP6xtwPsHJTsl3BkGT+PBPCG 6YIQrED1UvNKlRNkAvDdSmXHm5v4HwEfkToA38U4Jr9EM0tmyZGA0l5ZvPqkoW/PWb4O /y9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=DIT2JLIb; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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.57; Thu, 19 Oct 2017 05:01:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=DIT2JLIb; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753270AbdJSMBz (ORCPT + 6 others); Thu, 19 Oct 2017 08:01:55 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:53287 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753224AbdJSMBx (ORCPT ); Thu, 19 Oct 2017 08:01:53 -0400 Received: by mail-wm0-f66.google.com with SMTP id q132so15898671wmd.2 for ; Thu, 19 Oct 2017 05:01:52 -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=ElvQGrAcfID9bbPRXkeEtacmb+WgFMqaPcDm+QdP72E=; b=DIT2JLIbE9Tbj9VBKmpqEB+NOTpgjXV+t3gGXgMLdNj+zb/M7tQ9ozKnEMEsxUmwoo fg1w3NV8wWeA48FcD/7u7WbQ1ggKL9gr03AXOtk379sVZ02UWHapPGClFCcpCUtGVqcf rY6e3jPmL2mHoYZB7H35vu/upi24iMOx2CAEaehkVULwQGSKoCz35vRxPzMCAFoVAE0L IO/Bcm3OIAiVaLZM8LySccO0Y7MxHO3FNQYkLXbs+mEbng7YBCZe0AD0yJtw/RULXlDC HbkgRqLkwSeQs1utTNxNvG7b7YoR3sMboGdyqOipaLHT5Rn8tm+VCMG30CUrC/3erF8Z eG0A== 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=ElvQGrAcfID9bbPRXkeEtacmb+WgFMqaPcDm+QdP72E=; b=XCcD2QcR3JSpKF8vBYQTy1pqdQlI+qWKULtjdbGyLwbeWXVPBTVWqRN/1fr52ukdQG VvD0b/8GX49daUGtgNr9/Pdy6wLDtwvkzfQyiOJiW7PRIJxU1/9D7w8YIFUYVc2R6qov xx9NNl3BFKuh5A3a020+NG/DDQB48BT05d3oi5jXBNk7PGFj88co/iwgcbcIRe7p5fMo 46nrJTyOKMqIlkd8bGgWdag82zQbAR8O4vN2JmZ418k7iyP6bR5p80I4BRbgsRVtUSQM GWiVQrAlxGgONWAe6H+SYPdus2VW5xQ6foEixzqKEYd2Z70s9GM0/SKr30aLaUCFYaIr jglw== X-Gm-Message-State: AMCzsaUlQePffwmXnshCdF8InvmPEQCJhXW0pKrch0hBd682ouhRZGwM kwNyFtCTbB6u0iNeWiqMp4VTiAXO X-Google-Smtp-Source: ABhQp+R0CIJ/UvieYd943Fb0jFt4mJdN8kxuI0E0Ko4r/IMLeU5DC1zoOX6jpx/nIDBfalVBxsD8TA== X-Received: by 10.28.174.67 with SMTP id x64mr1611566wme.82.1508414512220; Thu, 19 Oct 2017 05:01:52 -0700 (PDT) Received: from localhost.localdomain ([217.110.245.107]) by smtp.googlemail.com with ESMTPSA id x75sm1484089wme.3.2017.10.19.05.01.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Oct 2017 05:01:51 -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 3/5] ARM: dts: meson8b: enable gpio interrupt controller Date: Thu, 19 Oct 2017 14:01:41 +0200 Message-Id: <20171019120143.20581-4-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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add gpio interrupt controller node to the meson8b boards Signed-off-by: Jerome Brunet --- arch/arm/boot/dts/meson.dtsi | 9 +++++++++ arch/arm/boot/dts/meson8b.dtsi | 6 ++++++ 2 files changed, 15 insertions(+) -- 2.13.6 -- To unsubscribe from this list: send the line "unsubscribe devicetree" 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/meson.dtsi b/arch/arm/boot/dts/meson.dtsi index 290a183e87c5..3d18ecc2bef1 100644 --- a/arch/arm/boot/dts/meson.dtsi +++ b/arch/arm/boot/dts/meson.dtsi @@ -85,6 +85,15 @@ reg = <0x7c00 0x200>; }; + gpio_intc: interrupt-controller@9880 { + compatible = "amlogic,meson-gpio-intc"; + reg = <0xc1109880 0x10>; + interrupt-controller; + #interrupt-cells = <2>; + amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>; + status = "disabled"; + }; + hwrng: rng@8100 { compatible = "amlogic,meson-rng"; reg = <0x8100 0x8>; diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index 40cfe5c8df6a..574aafa3db83 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -179,6 +179,12 @@ clock-names = "stmmaceth"; }; +&gpio_intc { + compatible = "amlogic,meson-gpio-intc", + "amlogic,meson8b-gpio-intc"; + status = "okay"; +}; + &hwrng { compatible = "amlogic,meson8b-rng", "amlogic,meson-rng"; clocks = <&clkc CLKID_RNG0>;