From patchwork Fri Aug 19 21:55:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9291247 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8B3DF600CB for ; Fri, 19 Aug 2016 22:09:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D05B2957D for ; Fri, 19 Aug 2016 22:09:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 60602295C1; Fri, 19 Aug 2016 22:09:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 030B22957D for ; Fri, 19 Aug 2016 22:09:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755580AbcHSWJJ (ORCPT ); Fri, 19 Aug 2016 18:09:09 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35429 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754388AbcHSWJI (ORCPT ); Fri, 19 Aug 2016 18:09:08 -0400 Received: by mail-wm0-f67.google.com with SMTP id i5so4957980wmg.2; Fri, 19 Aug 2016 15:08:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KS67lY+JhYTOZ0/WCzZtM8bzPgke/sSMYwUwsZc5co8=; b=GRAQZjqTZEF94TzD9NpSZf6SXS2iiNhJo9/qlNLPSBGY/6aZRPYcwh3bJzKpee462Y ZuWVjSIpqT7AHtQS/6Wc73/LXXrkd6Zi0/14bd2mh9AAVNYjNDSKfL8zUrgLOdrtS7p5 nWJcdui/22peoUitg7BsS/QEwgiu0Ytxn4XOV1a3N3u41tzOvK59uU8r50BUf4c+caBO oYAmz0NiJ8q9OOaTz7Pj9vuiZJMM+e6HttE/qXpK7qvRcCopEVeE95JG5/DhUao8KY67 vgDcdRUToSzRJs8rK4yGonqM2CwhksWNoSHlmnX86dRzD9s+yv3/HiF8N16AVvdpSgpj gtpA== 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=KS67lY+JhYTOZ0/WCzZtM8bzPgke/sSMYwUwsZc5co8=; b=iuWJV1g6cYgcBqatzVJuEdaRm23jK/04C1BRKGdCgXLm+h58exjdtT82EFwwze/u+Z pdue1d3dG8aBV2YDgYD0Xq+JU73yrpmF/rhQCGUllOwMvwrw5Y5PaoYEi06E4nsU0n2i 9/A5mxTiYzib1ETtYKSWRoqEN8uweP0sEp0yzYnoA9FcEQ4lu6jQAPYk5UjGsyiPkGZM QlSW/AuzjBfnWjGyi3IYmSwaEeh9+0cYTCiij0V7rU5sqYjRt3Z3grQUpHD1EKqS4j/1 q7n0Niwmz/zLahljorkd/zA2hwLBBd9T/JozKvc4ngmG1NnHhQs4mjNRKPDal8Ph/VCu J5aw== X-Gm-Message-State: AEkooutz6udOy9VHVdNHSlXcPj7fqj6MqvO6hsmspIWlZ6vjBYN+7o1sDCVj9yNqxUuPow== X-Received: by 10.28.99.86 with SMTP id x83mr5690750wmb.95.1471643764490; Fri, 19 Aug 2016 14:56:04 -0700 (PDT) Received: from blackbox.darklights.net (p5DE388BA.dip0.t-ipconnect.de. [93.227.136.186]) by smtp.googlemail.com with ESMTPSA id i3sm8841702wjd.31.2016.08.19.14.56.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Aug 2016 14:56:03 -0700 (PDT) From: Martin Blumenstingl To: linux-media@vger.kernel.org, linux-gpio@vger.kernel.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, narmstrong@baylibre.com, khilman@baylibre.com, carlo@caione.org Cc: linux-arm-kernel@lists.infradead.org, linus.walleij@linaro.org, mchehab@kernel.org, will.deacon@arm.com, catalin.marinas@arm.com, mark.rutland@arm.com, robh+dt@kernel.org, Martin Blumenstingl Subject: [PATCH v4 1/6] pinctrl: amlogic: gxbb: add the IR remote pin Date: Fri, 19 Aug 2016 23:55:42 +0200 Message-Id: <20160819215547.20063-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160819215547.20063-1-martin.blumenstingl@googlemail.com> References: <20160628191802.21227-1-martin.blumenstingl@googlemail.com> <20160819215547.20063-1-martin.blumenstingl@googlemail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the IR remote receiver to the AO domain devices. Signed-off-by: Martin Blumenstingl Reviewed-by: Kevin Hilman --- drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/pinctrl/meson/pinctrl-meson-gxbb.c b/drivers/pinctrl/meson/pinctrl-meson-gxbb.c index cb4d6ad..8fffb31 100644 --- a/drivers/pinctrl/meson/pinctrl-meson-gxbb.c +++ b/drivers/pinctrl/meson/pinctrl-meson-gxbb.c @@ -225,6 +225,8 @@ static const unsigned int i2c_sda_ao_pins[] = {PIN(GPIOAO_5, 0) }; static const unsigned int i2c_slave_sck_ao_pins[] = {PIN(GPIOAO_4, 0) }; static const unsigned int i2c_slave_sda_ao_pins[] = {PIN(GPIOAO_5, 0) }; +static const unsigned int ir_in_ao_pins[] = {PIN(GPIOAO_7, 0) }; + static struct meson_pmx_group meson_gxbb_periphs_groups[] = { GPIO_GROUP(GPIOZ_0, EE_OFF), GPIO_GROUP(GPIOZ_1, EE_OFF), @@ -432,6 +434,7 @@ static struct meson_pmx_group meson_gxbb_aobus_groups[] = { GROUP(i2c_sda_ao, 0, 5), GROUP(i2c_slave_sck_ao, 0, 2), GROUP(i2c_slave_sda_ao, 0, 1), + GROUP(ir_in_ao, 0, 0), }; static const char * const gpio_periphs_groups[] = { @@ -521,6 +524,10 @@ static const char * const i2c_slave_ao_groups[] = { "i2c_slave_sdk_ao", "i2c_slave_sda_ao", }; +static const char * const ir_in_ao_groups[] = { + "ir_in_ao", +}; + static struct meson_pmx_func meson_gxbb_periphs_functions[] = { FUNCTION(gpio_periphs), FUNCTION(emmc), @@ -537,6 +544,7 @@ static struct meson_pmx_func meson_gxbb_aobus_functions[] = { FUNCTION(uart_ao_b), FUNCTION(i2c_ao), FUNCTION(i2c_slave_ao), + FUNCTION(ir_in_ao), }; static struct meson_bank meson_gxbb_periphs_banks[] = {