From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.phycore.de ([217.6.246.34] helo=root.phytec.de) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwU9Y-0002y4-AJ for barebox@lists.infradead.org; Tue, 09 Jul 2013 09:24:09 +0000 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id 13876BF101 for ; Tue, 9 Jul 2013 11:17:37 +0200 (CEST) From: =?UTF-8?q?Teresa=20G=C3=A1mez?= Date: Tue, 9 Jul 2013 11:23:14 +0200 Message-Id: <1373361802-31080-4-git-send-email-t.gamez@phytec.de> In-Reply-To: <1373361802-31080-1-git-send-email-t.gamez@phytec.de> References: <1373361802-31080-1-git-send-email-t.gamez@phytec.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCHv2 04/12] PCM051: Add muxing for user led and btn To: barebox@lists.infradead.org U2lnbmVkLW9mZi1ieTogVGVyZXNhIEfDoW1leiA8dC5nYW1lekBwaHl0ZWMuZGU+Ci0tLQogYXJj aC9hcm0vYm9hcmRzL3BjbTA1MS9ib2FyZC5jIHwgICAgMyArKysKIGFyY2gvYXJtL2JvYXJkcy9w Y20wNTEvbXV4LmMgICB8ICAgMjIgKysrKysrKysrKysrKysrKysrKysrKwogYXJjaC9hcm0vYm9h cmRzL3BjbTA1MS9tdXguaCAgIHwgICAgMiArKwogMyBmaWxlcyBjaGFuZ2VkLCAyNyBpbnNlcnRp b25zKCspLCAwIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2FyY2gvYXJtL2JvYXJkcy9wY20w NTEvYm9hcmQuYyBiL2FyY2gvYXJtL2JvYXJkcy9wY20wNTEvYm9hcmQuYwppbmRleCBkYjM3M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