From patchwork Thu Jan 18 12:50:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabor Juhos X-Patchwork-Id: 862879 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Kg+sQ3ts"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zMkNp5Ctzz9s7v for ; Thu, 18 Jan 2018 23:51:38 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id: Date:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=XVLsLwc0a5yzq5lXjSP5hmGn5EjIZUCPr4FCZOBXSek=; b=Kg+sQ3tsP0c2NO /Fep/PXxGbp1RYBpqG1RYFi5Z0un6ccMmehW8j8GrPQm3YZSNua0sRePctTYzOF6d0wAQpcOqKvKS y+KzuRcqttvvt6ce5wNy5Z9nPoO+f8QnffLLllDuTqxNjjOWBSieqJgj/ELAMaNrk1+LQcRUWzM3D Z5EQixRdscFe1Mj4fWk9xlWeHxDTUWdTMSk3DQQxbjHeEWli+JI7jIGfR0ap8dVLyMU3jPlPp+wMt ISWy9HColt5izeA9ePR2+hpr9AG+hG7M9WE/x0w8HgeauZpA2KUolW0mQXhN1yIF66XbQGdAp8GUw m4CkJL/Pj0y2ZRT6G5qQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ec9fM-0000Ld-F0; Thu, 18 Jan 2018 12:51:36 +0000 Received: from arrakis.dune.hu ([78.24.191.176]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ec9f0-0008CQ-Dp for lede-dev@lists.infradead.org; Thu, 18 Jan 2018 12:51:17 +0000 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 496D7B8005B; Thu, 18 Jan 2018 13:50:50 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,BAYES_00, FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.1 Received: from localhost.localdomain (unknown [213.197.76.1]) by arrakis.dune.hu (Postfix) with ESMTPSA; Thu, 18 Jan 2018 13:50:50 +0100 (CET) From: Gabor Juhos To: lede-dev@lists.infradead.org Date: Thu, 18 Jan 2018 13:50:28 +0100 Message-Id: <20180118125032.7097-1-juhosg@freemail.hu> X-Mailer: git-send-email 2.14.3 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [78.24.191.176 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (juhosg[at]freemail.hu) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Subject: [LEDE-DEV] [PATCH 0/4] ar71xx: add support for the MikroTik RB911 Lite2/Lite5 boards X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gabor Juhos MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org The patch set add support for the MikroTik RB911 Lite2 (RB911-2Hn) and MikroTik RB911 Lite5 (RB911-5Hn) boards. Gabor Juhos (4): ar71xx: add definitions for RouterBOARD hardware option bits ar71xx: mach-rbspi: return rb_info from rbspi_platform_setup ar71xx: make leds-gpio usable with single-ended GPIOs ar71xx: add support for the MikroTik RB911-2Hn/5Hn boards target/linux/ar71xx/base-files/etc/board.d/01_leds | 4 + .../linux/ar71xx/base-files/etc/board.d/02_network | 2 + target/linux/ar71xx/base-files/etc/diag.sh | 2 + target/linux/ar71xx/base-files/lib/ar71xx.sh | 6 + .../ar71xx/base-files/lib/upgrade/platform.sh | 4 + .../ar71xx/files/arch/mips/ath79/Kconfig.openwrt | 2 + .../ar71xx/files/arch/mips/ath79/mach-rbspi.c | 123 ++++++++++++++++++--- .../linux/ar71xx/files/arch/mips/ath79/machtypes.h | 1 + .../ar71xx/files/arch/mips/ath79/routerboot.h | 26 +++++ target/linux/ar71xx/image/mikrotik.mk | 2 +- ...llow-to-use-OPEN_-DRAIN-SOURCE-flags-with.patch | 45 ++++++++ .../701-MIPS-ath79-add-routerboard-detection.patch | 3 +- ...llow-to-use-OPEN_-DRAIN-SOURCE-flags-with.patch | 45 ++++++++ .../701-MIPS-ath79-add-routerboard-detection.patch | 3 +- 14 files changed, 252 insertions(+), 16 deletions(-) create mode 100644 target/linux/ar71xx/patches-4.4/442-leds-gpio-allow-to-use-OPEN_-DRAIN-SOURCE-flags-with.patch create mode 100644 target/linux/ar71xx/patches-4.9/442-leds-gpio-allow-to-use-OPEN_-DRAIN-SOURCE-flags-with.patch