From patchwork Sat May 6 16:57:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9715055 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 DC4D36038F for ; Sat, 6 May 2017 17:11:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CA8642861E for ; Sat, 6 May 2017 17:11:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF2C428622; Sat, 6 May 2017 17:11:38 +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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7E2022861E for ; Sat, 6 May 2017 17:11:38 +0000 (UTC) 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:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=lJbG1XKDr1rUYekBfAnqDv0rBGPy+3JroBElEBNO/Pk=; b=R0LcvHZ0Xtm3+tdZv+pbLVcL5W yyjUXJE3tJKcGAsPe30vhAx4Nr9964CsOHpaYqE6WL3cgi7WbL6MMpjAT8/WHCki/JPEfzkMjXJZx mL3T5504OcGxAoI7KQciJaLOf6Ht4ODgZg2gAUlofjnfaxiQGxJeJQccy2mnhnOBfNqC5xlMzsPcn IF3XbY8DsjS5Nm8CWZRRnZZsId5IjqkELAvuTfqsQIzD/0Fv6nAsCaWevZjHVtcyPQ1z4hmVjRxHb 2MZ6c6iTwKgCMJDeW/IPnoD2YcG55tZjWuQRkiUnWiRc64Px17XeDAbVB84lPeRVxZx7DcFElqnlh 1qpAn1zw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1d73Er-0004qr-L1; Sat, 06 May 2017 17:11:25 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d732L-0006CK-GQ; Sat, 06 May 2017 16:58:31 +0000 Received: by mail-wm0-x244.google.com with SMTP id v4so2059818wmb.2; Sat, 06 May 2017 09:58:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=FcAiU1NhLNrVNuBPg83A4qjvw5QeACwG4dnZIAmhuX0=; b=qLbYNh77DHqowdsrfLaHwyMQdwItouEo+qbHKa/pU8YxoBWPYPAx59cYs2Bdnsnayh XsTvqQuQarY61trkk/Ca/bx2wXjuTmwu0Mx2DbXgVDid5HONkp4/SzIK+VpV9/H6S4sa 1VzaBq+R2rJBWSxLGDlmBSTwMVcLrd80wcI/O4OtOwLI/YlCFjqYPYQczJnd1D6tfIlk XHCDAF1DvE8HHbrTZuNEY1yjro7BpMMHIvyrOqYOi9KvjLtIbgkI5eYz6ju9sDUN/q0s 31rNOELINDJOHQBMRo6Zu4qbMKCM8faGjphg/LH8IxaJq9159tF2DdpweNiF3vWNOZa5 dLSg== 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=FcAiU1NhLNrVNuBPg83A4qjvw5QeACwG4dnZIAmhuX0=; b=fyVjHj3YvBVVKRl3ChsCNAVmz7JNvvtm1agfuI7d9AeBh98BBGFspqlJrwn0q9ZjN7 YA4nlZd8HF/2EPtJq2AGrTFTGgbEpIjA173n/hhVH453gy5M9HCnpse9cJIYpHjaYA4K gZZc3cRn6KJosy6shZw2HKIvCjJGxAcvJnIjjVkKrVSJasj0JFItDLJ8DuZhDf8nSqig MkBCGJ2A2/QP5SIPnjYG7THZajt6Ca1eW59GGeVmkQmY66hSU1hMxd5IuFzkN4W7QWwl UgErDPpzR2feJ3W7Ic1d2ohVMnRL4TKm3IcYH7lXGVI/fp3d1ojGiixEsjvAjiZYsuIP ncgA== X-Gm-Message-State: AODbwcDqLN90HQ96z4nrh/Z5Uktl3OtUksiogzj3bCHdVUUxA+GhmXRq t4fu35A9+ZAn8w== X-Received: by 10.28.225.134 with SMTP id y128mr1927000wmg.3.1494089889989; Sat, 06 May 2017 09:58:09 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD3E78B041DCA91B6F8D469E4.dip0.t-ipconnect.de. [2003:dc:d3e7:8b04:1dca:91b6:f8d4:69e4]) by smtp.googlemail.com with ESMTPSA id 30sm6961858wrp.6.2017.05.06.09.58.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 May 2017 09:58:09 -0700 (PDT) From: Martin Blumenstingl To: linus.walleij@linaro.org, carlo@caione.org, khilman@baylibre.com, linux-gpio@vger.kernel.org, linux-amlogic@lists.infradead.org Subject: [PATCH v2 4/4] pinctrl: meson: meson8: add the AO HDMI CEC pin Date: Sat, 6 May 2017 18:57:51 +0200 Message-Id: <20170506165751.12442-5-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170506165751.12442-1-martin.blumenstingl@googlemail.com> References: <20170504184932.5372-1-martin.blumenstingl@googlemail.com> <20170506165751.12442-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170506_095829_721183_94F20F6C X-CRM114-Status: UNSURE ( 8.81 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds another missing pin found in the Meson8 SoCs. Currently there's no driver which would use this pin yet. Signed-off-by: Martin Blumenstingl --- drivers/pinctrl/meson/pinctrl-meson8.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/pinctrl/meson/pinctrl-meson8.c b/drivers/pinctrl/meson/pinctrl-meson8.c index 2716d991af8c..e1bdf1f3b75c 100644 --- a/drivers/pinctrl/meson/pinctrl-meson8.c +++ b/drivers/pinctrl/meson/pinctrl-meson8.c @@ -416,6 +416,8 @@ static const unsigned int i2s_ao_clk_out_ao_pins[] = { PIN(GPIOAO_9, AO_OFF) }; static const unsigned int i2s_lr_clk_out_ao_pins[] = { PIN(GPIOAO_10, AO_OFF) }; static const unsigned int i2s_out_ch01_ao_pins[] = { PIN(GPIOAO_11, AO_OFF) }; +static const unsigned int hdmi_cec_ao_pins[] = { PIN(GPIOAO_12, AO_OFF) }; + static struct meson_pmx_group meson8_cbus_groups[] = { GPIO_GROUP(GPIOX_0, 0), GPIO_GROUP(GPIOX_1, 0), @@ -769,6 +771,8 @@ static struct meson_pmx_group meson8_aobus_groups[] = { GROUP(i2s_ao_clk_out_ao, 0, 29), GROUP(i2s_lr_clk_out_ao, 0, 28), GROUP(i2s_out_ch01_ao, 0, 27), + + GROUP(hdmi_cec_ao, 0, 17), }; static const char * const gpio_groups[] = { @@ -985,6 +989,10 @@ static const char * const i2s_ao_groups[] = { "i2s_out_ch01_ao" }; +static const char * const hdmi_cec_ao_groups[] = { + "hdmi_cec_ao" +}; + static struct meson_pmx_func meson8_cbus_functions[] = { FUNCTION(gpio), FUNCTION(sd_a), @@ -1029,6 +1037,7 @@ static struct meson_pmx_func meson8_aobus_functions[] = { FUNCTION(i2c_mst_ao), FUNCTION(pwm_f_ao), FUNCTION(i2s_ao), + FUNCTION(hdmi_cec_ao), }; static struct meson_bank meson8_cbus_banks[] = {