From patchwork Thu Nov 3 13:42:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 9410893 X-Patchwork-Delegate: horms@verge.net.au 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 A240F6022E for ; Thu, 3 Nov 2016 13:48:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 954012ABA0 for ; Thu, 3 Nov 2016 13:48:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A16B2ABA4; Thu, 3 Nov 2016 13:48:55 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 2489C2ABA0 for ; Thu, 3 Nov 2016 13:48:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752131AbcKCNsy (ORCPT ); Thu, 3 Nov 2016 09:48:54 -0400 Received: from 20.mo5.mail-out.ovh.net ([91.121.55.239]:34766 "EHLO 20.mo5.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750756AbcKCNsy (ORCPT ); Thu, 3 Nov 2016 09:48:54 -0400 X-Greylist: delayed 319 seconds by postgrey-1.27 at vger.kernel.org; Thu, 03 Nov 2016 09:48:53 EDT Received: from player773.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo5.mail-out.ovh.net (Postfix) with ESMTP id A98BB4221D for ; Thu, 3 Nov 2016 14:43:32 +0100 (CET) Received: from w540.lan (93-34-114-119.ip49.fastwebnet.it [93.34.114.119]) (Authenticated sender: jacopo@jmondi.org) by player773.ha.ovh.net (Postfix) with ESMTPSA id 8ACB8600080; Thu, 3 Nov 2016 14:43:14 +0100 (CET) From: Jacopo Mondi To: horms@verge.net.au, magnus.damm@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jacopo Mondi Subject: [PATCH] ARM: DTS: r8a7794: alt: Fix PCF names for DU Date: Thu, 3 Nov 2016 14:42:54 +0100 Message-Id: <1478180574-15464-1-git-send-email-jacopo@jmondi.org> X-Mailer: git-send-email 2.7.4 X-Ovh-Tracer-Id: 4540754326193894235 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeelvddrkeejgdefkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecu Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Update the PCF pin groups and function names of DU interface for r8a7794 ALT board. The currently specified pin groups and function names prevented PCF and DU interfaces from being correctly configured: sh-pfc e6060000.pin-controller: function 'du' not supported sh-pfc e6060000.pin-controller: invalid function du in map table sh-pfc e6060000.pin-controller: function 'du' not supported sh-pfc e6060000.pin-controller: invalid function du in map table sh-pfc e6060000.pin-controller: function 'du' not supported sh-pfc e6060000.pin-controller: invalid function du in map table sh-pfc e6060000.pin-controller: function 'du' not supported sh-pfc e6060000.pin-controller: invalid function du in map table rcar-du: probe of feb00000.display failed with error -22 Signed-off-by: Jacopo Mondi --- Patch applied against Simon Horman's renesas/master branch. The PCF pin groups and function renaming was introduced by commit 56ed4bb9 and DTS for ALT board has never been update accordingly. Tested displaying frames on VGA interface: the rcar-du driver loads correctly. arch/arm/boot/dts/r8a7794-alt.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts index 8d1b35a..9d65fb3 100644 --- a/arch/arm/boot/dts/r8a7794-alt.dts +++ b/arch/arm/boot/dts/r8a7794-alt.dts @@ -165,8 +165,8 @@ pinctrl-names = "default"; du_pins: du { - groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_dotclkout0"; - function = "du"; + groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_clk0_out"; + function = "du1"; }; scif2_pins: scif2 {