From patchwork Tue Nov 17 03:19:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 7632141 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4C48A9F2EC for ; Tue, 17 Nov 2015 03:19:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6AEE820525 for ; Tue, 17 Nov 2015 03:19:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7D85920528 for ; Tue, 17 Nov 2015 03:19:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751912AbbKQDSN (ORCPT ); Mon, 16 Nov 2015 22:18:13 -0500 Received: from mail-pa0-f43.google.com ([209.85.220.43]:33200 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752165AbbKQDRz (ORCPT ); Mon, 16 Nov 2015 22:17:55 -0500 Received: by pabfh17 with SMTP id fh17so199096934pab.0; Mon, 16 Nov 2015 19:17:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=8YqlwV58QY3Hwm5XXWgEpHZN9aIggX2GGnsQ3JZXZwA=; b=mKiYec07trOAvVVd7lXDKAl9iQ0M4cc3nlWDtqz4elWVB8tteOhqCzWBkSCAmcmGeh xvrJArXahGPVT3NZe07/4E+IerC1V+e/rZrYudbzUmq3nJ/MnqcXCsHgiNCyUevVdLzd rytKu4PS9aaMR1OvNB8oLeKDQLwi42JlMuLZeQDFSsR5+M1nEevjpAaIeeO6PdEGhrSx ShHO5L4fJgkkzMl+jGhl4sEUEuirrdtHO6cIEj4GQg+1aaKbWx15YqQcZDfJkWT20No7 USQwcnqKhSz87a20YOCilRvnWumEyJVHJHjcx9L1JTB6GcGOzn8/pvfsiy/MZZvE5pMs JwOA== X-Received: by 10.66.156.1 with SMTP id wa1mr60849412pab.84.1447730274655; Mon, 16 Nov 2015 19:17:54 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id v17sm39181687pbs.69.2015.11.16.19.17.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Nov 2015 19:17:53 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: linus.walleij@linaro.org, linux-kernel@vger.kernel.org, koji.matsuoka.xm@renesas.com, linux-gpio@vger.kernel.org, horms@verge.net.au, geert@glider.be, laurent.pinchart@ideasonboard.com, Magnus Damm Date: Tue, 17 Nov 2015 12:19:02 +0900 Message-Id: <20151117031902.24924.4588.sendpatchset@little-apple> In-Reply-To: <20151117031832.24924.60685.sendpatchset@little-apple> References: <20151117031832.24924.60685.sendpatchset@little-apple> Subject: [PATCH 03/04] pinctrl: sh-pfc: r8a7794: Add missing dot clock signals Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Add missing r8a7794 DU dot clock output signals and in particular the DU1_DOTCLKOUT0 signal on GP4_25 which is needed by DU1 on the r8a7794 ALT board. The groups "du0_clk_out" and "du1_clk_out" are replaced by "du0_dotclkout0", "du0_dotclkout1", "du1_dotclkout0" and "du1_dotclkout1". Signed-off-by: Magnus Damm --- drivers/pinctrl/sh-pfc/pfc-r8a7794.c | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0014/drivers/pinctrl/sh-pfc/pfc-r8a7794.c +++ work/drivers/pinctrl/sh-pfc/pfc-r8a7794.c 2015-11-16 22:08:28.230513000 +0900 @@ -1586,18 +1586,32 @@ static const unsigned int du1_rgb888_mux DU1_DB7_MARK, DU1_DB6_MARK, DU1_DB5_MARK, DU1_DB4_MARK, DU1_DB3_MARK, DU1_DB2_MARK, DU1_DB1_MARK, DU1_DB0_MARK, }; -static const unsigned int du0_clk_out_pins[] = { +static const unsigned int du0_clk0_out_pins[] = { /* CLKOUT */ RCAR_GP_PIN(2, 25), }; -static const unsigned int du0_clk_out_mux[] = { +static const unsigned int du0_clk0_out_mux[] = { DU0_DOTCLKOUT0_MARK }; -static const unsigned int du1_clk_out_pins[] = { +static const unsigned int du0_clk1_out_pins[] = { + /* CLKOUT */ + RCAR_GP_PIN(2, 26), +}; +static const unsigned int du0_clk1_out_mux[] = { + DU0_DOTCLKOUT1_MARK +}; +static const unsigned int du1_clk0_out_pins[] = { + /* CLKOUT */ + RCAR_GP_PIN(4, 25), +}; +static const unsigned int du1_clk0_out_mux[] = { + DU1_DOTCLKOUT0_MARK +}; +static const unsigned int du1_clk1_out_pins[] = { /* CLKOUT */ RCAR_GP_PIN(4, 26), }; -static const unsigned int du1_clk_out_mux[] = { +static const unsigned int du1_clk1_out_mux[] = { DU1_DOTCLKOUT1_MARK }; static const unsigned int du0_sync_pins[] = { @@ -2942,8 +2956,10 @@ static const struct sh_pfc_pin_group pin SH_PFC_PIN_GROUP(du0_rgb888), SH_PFC_PIN_GROUP(du1_rgb666), SH_PFC_PIN_GROUP(du1_rgb888), - SH_PFC_PIN_GROUP(du0_clk_out), - SH_PFC_PIN_GROUP(du1_clk_out), + SH_PFC_PIN_GROUP(du0_clk0_out), + SH_PFC_PIN_GROUP(du0_clk1_out), + SH_PFC_PIN_GROUP(du1_clk0_out), + SH_PFC_PIN_GROUP(du1_clk1_out), SH_PFC_PIN_GROUP(du0_sync), SH_PFC_PIN_GROUP(du1_sync), SH_PFC_PIN_GROUP(du0_cde), @@ -3134,8 +3150,10 @@ static const char * const du_groups[] = "du0_rgb888", "du1_rgb666", "du1_rgb888", - "du0_clk_out", - "du1_clk_out", + "du0_dotclkout0", + "du0_dotclkout1", + "du1_dotclkout0", + "du1_dotclkout1", "du0_sync", "du1_sync", "du0_cde",