From patchwork Tue Feb 7 16:41:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9560605 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 A074C60434 for ; Tue, 7 Feb 2017 16:44:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 932CC2841F for ; Tue, 7 Feb 2017 16:44:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 87C7C28425; Tue, 7 Feb 2017 16:44:10 +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_SIGNED, 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 372892841F for ; Tue, 7 Feb 2017 16:44:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755364AbdBGQl4 (ORCPT ); Tue, 7 Feb 2017 11:41:56 -0500 Received: from mail-wm0-f45.google.com ([74.125.82.45]:35791 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755225AbdBGQlw (ORCPT ); Tue, 7 Feb 2017 11:41:52 -0500 Received: by mail-wm0-f45.google.com with SMTP id v186so18848712wmd.0 for ; Tue, 07 Feb 2017 08:41:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=94Z1Piq2O6C8ynR71bxPiCkanPuKdBFF0LzMmmvdTDQ=; b=TbS9cscmRoCFCll1ibLIfv8bC1WxHVIwVgb/6Tk80pfYYACTWUJElyc1chjrSmUaXZ v2WDyiL4QDyn/Jz25B2WIciBsFlGkdgsYkJxdC6tRdZS++xwTRAP1pMAC3Rxp+0TX9Do Dvw9frFw/O5S1ISs2Cy/ZIC468h1AW65WUyhU1hUQcYkuX+qiIeTOe9lCb3S1iM/kskz dGggTvi6HMRStYbgFxSXFsuO4skt50GiBeLYvGr1eK/AV54Zx1HkmULoFaTWUfDRGoXA +p7B2pKFuPzS54uNL1apDRv02+2EgE2uoYEYmoIJQUF6lPHOI/c1Y4WblF11Bltn3qqz Xo0w== 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=94Z1Piq2O6C8ynR71bxPiCkanPuKdBFF0LzMmmvdTDQ=; b=ApDzLnpmHRow4b1QhmcujCRvy/Yssxs4lqJ+I6wroBMBXW8bCJAUtpaZ5zljx3/VP1 rngqLY15jJF7C7imf4ysuOA+aTwlMQLlxI86xb17aWtUCaefNOgRAO2Fta3OYgEU4FU4 9EnQHoRfJtKDJy+Y3QDYvvhkAmopVgZCEwC/Mr1K5dwT0wpC5ysIfZLudScs8InZi/5q vkA3Wd4eKSUI7NLeFwy8KZcW+qKFOkmcjtesSTc5ot3Cy5iFbkZkABNcvviKOy6keQr1 wYzKBCTpeUiCRdkqSDNxQZ2enNXtWzmHYqdChFqEKgjV2MlPz/gwQnTVsnRkIl2qldef neCA== X-Gm-Message-State: AMke39ko5c1Lqqp2LOSYYv54cH+JOro2lCvNymTtTtC8gLMm+gj8AMVLaykUmVvFFjxDOs+f X-Received: by 10.28.69.17 with SMTP id s17mr14620991wma.60.1486485711516; Tue, 07 Feb 2017 08:41:51 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 8sm3958185wmg.1.2017.02.07.08.41.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Feb 2017 08:41:50 -0800 (PST) From: Bartosz Golaszewski To: Kevin Hilman , Sekhar Nori , Patrick Titiano , Michael Turquette , Rob Herring , Mark Rutland , Russell King , Alexandre Bailon , David Lechner , Laurent Pinchart , Mauro Carvalho Chehab , Lad Prabhakar Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 05/10] ARM: dts: da850: add vpif video display pins Date: Tue, 7 Feb 2017 17:41:18 +0100 Message-Id: <1486485683-11427-6-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1486485683-11427-1-git-send-email-bgolaszewski@baylibre.com> References: <1486485683-11427-1-git-send-email-bgolaszewski@baylibre.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 Add a new pinctrl sub-node for vpif display pins. Move VP_CLKIN3 and VP_CLKIN2 to the display node where they actually belong (vide section 35.2.2 of the da850 datasheet). Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-evm.dts | 2 +- arch/arm/boot/dts/da850.dtsi | 17 +++++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index 3d6dd66..6db16ba 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850-evm.dts @@ -295,7 +295,7 @@ &vpif { pinctrl-names = "default"; - pinctrl-0 = <&vpif_capture_pins>; + pinctrl-0 = <&vpif_capture_pins>, <&vpif_display_pins>; status = "okay"; /* VPIF capture port */ diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 768a58c..d317bc5 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -218,8 +218,21 @@ 0x3c 0x11111111 0xffffffff /* VP_DIN[8..9] */ 0x40 0x00000011 0x000000ff - /* VP_CLKIN3, VP_CLKIN2 */ - 0x4c 0x00010100 0x000f0f00 + >; + }; + vpif_display_pins: vpif_display_pins { + pinctrl-single,bits = < + /* VP_DOUT[2..7] */ + 0x40 0x11111100 0xffffff00 + /* VP_DOUT[10..15,0..1] */ + 0x44 0x11111111 0xffffffff + /* VP_DOUT[8..9] */ + 0x48 0x00000011 0x000000ff + /* + * VP_CLKOUT3, VP_CLKIN3, + * VP_CLKOUT2, VP_CLKIN2 + */ + 0x4c 0x00111100 0x00ffff00 >; }; };