From patchwork Thu May 4 18:49:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9712549 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 49FC460387 for ; Thu, 4 May 2017 18:56:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58D2E2766D for ; Thu, 4 May 2017 18:56:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4DA9628675; Thu, 4 May 2017 18:56:33 +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 D34C9286B4 for ; Thu, 4 May 2017 18:56:32 +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=2oE7Clybq1VJ9FRtEGlEaCLB/FGRNVg32I4V002WnYI=; b=nz1YZLPmyqNkEUfoq4kDzHB/x5 bkG0xkOlxtdXhyknM+UjniRuIJWU1ZRkG7t+bHwHIMhxzZbKy1m6K+AQduea4y/7cG+s9PKgutu9C fQDE8IZTtX1SYDAvZ0Sc+l1v0xZQVObAmmRqsZFi9u9lcUIsEdm5FVRr2YMeki6mbH/KpUYGmnaBV D444385b/J4W0oY8o8A6DdQnjHOOSbzpvvTz3FQ/860BUXTGrf0lADYV9w60BwzeKJ9vUZ9NHUPrw 0mUeZ3KUD9QwDmtpPx7ZxdDVho8gzs114kmDNBQRvhMfrmbMNVwOWFZLdTBewolFejOphoJoxn5P4 AQ/6xC1g==; 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 1d6LvR-0004eN-Qq; Thu, 04 May 2017 18:56:29 +0000 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d6LpI-0007lD-HD; Thu, 04 May 2017 18:50:11 +0000 Received: by mail-wr0-x243.google.com with SMTP id v42so2302614wrc.3; Thu, 04 May 2017 11:49:48 -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=I8Ex5nhz1R9GtF1LeoCn+AHjv29OZFHTtaYucH1tN3c=; b=l0nQkR9MRJ05Ro7KjxO1qpflZgQvFHCdV+/FBO1gOx7+pwjoTtSU/hodQ8/36cbAtB GTms4xWYo3kj6TkIzljBw/lnyHNpXblV1nBYmOsGTU67mDa9t2FxrWwk2C4MSTic84Wo fSLckNpa+G9Mbtv1KOHLj78saXNk7tP50rMlqBlDPkEFXr2POJePWTpzf4IwTPFHcHIm mZYzq/z/Q8L2vQxgxk4b6cSNieScj681aXr4TuvkwCMdNrRkA8mMed4tR8fDIk5kR9Ha rI418vuHumWj/RM0ELvuN7xR75/I0cZwa+2H1zCAeXzlIGN1T/rl22xB/5yk3rYOt4Wp lEPw== 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=I8Ex5nhz1R9GtF1LeoCn+AHjv29OZFHTtaYucH1tN3c=; b=hDGcES3ePLcacRUq4dTSiEjKgDMUCDdZARDuKArgLn8YJu2hGWc4Ca8+8X0y76aTWV 2F2CD4maPR5oZc/YAakR4Hd1zXTLHdqvsHlA2jyLXVIPRXo/JomNV2kZ9Nk8bcIfcfSG Lg5Ab3zFmlmgnyKcv4hC14/dj6SR+3tGeEyUJt4CLHH7/JRnBD24DWdCT4HRKetdZh39 hqsFESmnv0hLfbIQAZtibTeswEe9zSDneaBLuNpHTr0XF64eS7lo1fk7UfSOmbKYKLPf RDN1wqe32tEgn5E6ErZ+FqpiYJCQ1clgqQrwZ280gEV0MqfUuHGCXhBq9wTHNdeajWN/ cUmQ== X-Gm-Message-State: AN3rC/6UAP94bmFTJDx9YOhx5F4gHiGhJucY4uBGXa0ceyQWqJ27opRv jPkSnO7bpoybjw== X-Received: by 10.223.136.71 with SMTP id e7mr27243814wre.73.1493923787032; Thu, 04 May 2017 11:49:47 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD3F23104E1FBC614D4FACDED.dip0.t-ipconnect.de. [2003:dc:d3f2:3104:e1fb:c614:d4fa:cded]) by smtp.googlemail.com with ESMTPSA id s5sm3078882wra.60.2017.05.04.11.49.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 May 2017 11:49:46 -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 4/4] pinctrl: meson: meson8: add the AO HDMI CEC pin Date: Thu, 4 May 2017 20:49:32 +0200 Message-Id: <20170504184932.5372-5-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170504184932.5372-1-martin.blumenstingl@googlemail.com> References: <20170504184932.5372-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170504_115009_070085_D051B9C2 X-CRM114-Status: UNSURE ( 8.85 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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 55fbd1a17dbe..f022965866b0 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[] = {