From patchwork Thu May 19 18:20:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 624183 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (caladan.dune.hu [78.24.191.180]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3r9fdY2mYjz9ssP for ; Fri, 20 May 2016 04:25:53 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=open-mesh-com.20150623.gappssmtp.com header.i=@open-mesh-com.20150623.gappssmtp.com header.b=aEs/Nc4K; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 62961B92018; Thu, 19 May 2016 20:22:21 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP; Thu, 19 May 2016 20:22:21 +0200 (CEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 57D7CB91FB1 for ; Thu, 19 May 2016 20:21:53 +0200 (CEST) X-policyd-weight: using cached result; rate: -7 Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Thu, 19 May 2016 20:21:53 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id n129so242728663wmn.1 for ; Thu, 19 May 2016 11:21:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OtNGH/IaJ7jBDUM50dAsXBZ3s7JbhfJDRfGftM0/ET4=; b=aEs/Nc4KjU0pYYWTAaiwESTX4l9SrddylUaMjkmtCa3sfkQ6qnV9zY1crSE1aIHLNk cCQsYizgJnPUgMEFSXBSC8n9pwdzYFFzFjcPCOyWOsN+qOytVqj+Cl+AWScTTJDB2xwv 9eJgC7l1J6s7GhZ1fZvVPhfX4UiJSxhlzQf82GYYurctzGsHEe124rklw2OPHQCPJXlF ktaP6Rp+ElWg5PznHZjpUKI7bLwTYUWYb2XVXY1MJlp5RPNS+//2DqVpmbZcKMeXfB2j SbSeS4gsaWfa/U5CwFRi6pI0R2bbyfkyJN1F5UxjaW4EczBLA3pRjT8IyNJpwXYIzQd8 GoPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=OtNGH/IaJ7jBDUM50dAsXBZ3s7JbhfJDRfGftM0/ET4=; b=Y5WhDvPn9PSKMP3NEQTCAJPqeaq/eEtLFQYy9Id5lt6UbOetW2hlP1oV4k7XQRVv8Q 0Zm/qim2lKkKCqZldNjXOewbj3DOXavZ1p2SO4j+oMcNOKV/k6IQO/Syps8TYRtYbw9l xLf/8MgGIxNMQQrafXI1/MTLpLqxueMVHC1zsh8YM3aBzYoiWMaOeTo+t6djuVi6GY/U KXi/9hxakXetSS9WKQ2KIboOJdOX8/wjJH1Q/DIFwhHeG59a0whgDwdlVepLAhdItVAK 2faiRRA31E7keY+Fb40SQ1e9cXfKiv29a5wqKuEgvETdvIOR4beWRskMgt4mGNPOil54 XwMA== X-Gm-Message-State: AOPr4FWKwaRHUacXmeUWT9s4S7gqzgFcD8dt1lmMSCdz/YwmjnNZDlh6whTIUk5FxteruuyS X-Received: by 10.194.116.9 with SMTP id js9mr17231401wjb.112.1463682112979; Thu, 19 May 2016 11:21:52 -0700 (PDT) Received: from sven-desktop.home.narfation.org (p579E6DC9.dip0.t-ipconnect.de. [87.158.109.201]) by smtp.gmail.com with ESMTPSA id kq9sm15657683wjc.26.2016.05.19.11.21.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 May 2016 11:21:52 -0700 (PDT) From: Sven Eckelmann To: openwrt-devel@lists.openwrt.org Date: Thu, 19 May 2016 20:20:55 +0200 Message-Id: <1463682077-19339-12-git-send-email-sven.eckelmann@open-mesh.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1463682077-19339-1-git-send-email-sven.eckelmann@open-mesh.com> References: <1463682077-19339-1-git-send-email-sven.eckelmann@open-mesh.com> Subject: [OpenWrt-Devel] [PATCH CC 12/34] ar71xx: Add support for ath79_gpio_function_* on QCA955X X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sven Eckelmann MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Signed-off-by: Sven Eckelmann Backport of r49074 --- ...9-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch b/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch index 24ce7d8..076a4a1 100644 --- a/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch +++ b/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch @@ -1,6 +1,16 @@ --- a/arch/mips/ath79/gpio.c +++ b/arch/mips/ath79/gpio.c -@@ -185,15 +185,27 @@ void __init ath79_gpio_output_select(uns +@@ -146,7 +146,8 @@ static void __iomem *ath79_gpio_get_func + if (soc_is_ar71xx() || + soc_is_ar724x() || + soc_is_ar913x() || +- soc_is_ar933x()) ++ soc_is_ar933x() || ++ soc_is_qca955x()) + reg = AR71XX_GPIO_REG_FUNC; + else if (soc_is_ar934x() || + soc_is_qca953x() || soc_is_qca956x()) +@@ -185,15 +186,27 @@ void __init ath79_gpio_output_select(uns { void __iomem *base = ath79_gpio_base; unsigned long flags;