From patchwork Sun Jul 30 13:07:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Verkuil X-Patchwork-Id: 9870467 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 53E376032A for ; Sun, 30 Jul 2017 13:08:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B397285AE for ; Sun, 30 Jul 2017 13:08:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3CD26285ED; Sun, 30 Jul 2017 13:08:06 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B0671285B0 for ; Sun, 30 Jul 2017 13:08:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0B2B26E3A1; Sun, 30 Jul 2017 13:07:57 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from lb3-smtp-cloud7.xs4all.net (lb3-smtp-cloud7.xs4all.net [194.109.24.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5D5CC6E3A1 for ; Sun, 30 Jul 2017 13:07:55 +0000 (UTC) Received: from tschai.lan ([212.251.195.8]) by smtp-cloud7.xs4all.net with ESMTPA id bnwidChIOfjgxbnwod2YH4; Sun, 30 Jul 2017 15:07:55 +0200 Received: from tschai.fritz.box (tschai [192.168.2.10]) by tschai.lan (Postfix) with ESMTPSA id 2A48C1845EC; Sun, 30 Jul 2017 15:07:44 +0200 (CEST) From: Hans Verkuil To: linux-media@vger.kernel.org Subject: [PATCH 3/4] arm: dts: renesas: add cec clock for Koelsch board Date: Sun, 30 Jul 2017 15:07:42 +0200 Message-Id: <20170730130743.19681-4-hverkuil@xs4all.nl> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170730130743.19681-1-hverkuil@xs4all.nl> References: <20170730130743.19681-1-hverkuil@xs4all.nl> X-CMAE-Envelope: MS4wfIB8rbMRidYR5Xana992KJVmcqkPU0R4BJ7WnSt3jFk/RvNAszxQem3oRZZJ0fOjN4SonKfky7BOzquY+aXhmv8OkKjZWyDLmz69e72LdozLOQvmCCD+ ailAgxEptx9Y0bFZItyNQqqMRcCyY9jr51ou29XYXw4vd8DXDc4SuXGZug9vMRJRvaSo13M3qH5+4rLhVg3mDxHU/ciTsTywjxsB1P/5BsIJHUWOrJ2lygZr hHV08wMQaZ8SfDnFBtBfLsA6OjweleXnck1/0aQJFpNFN5VyTESWqugfDrDf8/eTNA1KCi26XYnbukhl8O4VJlu436tGPNQuUP9G9bA6FBJ2yo7t3luK20S8 2xsUcdm4cNY+8b3ThWcDbaL8BSOrMBAkXqiXBOkWXRwX73pYyOy15aq9X+0R4SMR/rv8oVBIlwdNNn7m4D6c7aEVhpSUZ8FWqaZVTANo+4t1XFw6e4EkuEzl WXtGfXe8VxWbEuC6+WS4JXbHgBmWJm8YqMHO/+ZcG+m5ag3g3Cb8r06zNwk= Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, Hans Verkuil X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Hans Verkuil The adv7511 on the Koelsch board has a 12 MHz fixed clock for the CEC block. Specify this in the dts to enable CEC support. Signed-off-by: Hans Verkuil Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7791-koelsch.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts index 001e6116c47c..88c8957b075b 100644 --- a/arch/arm/boot/dts/r8a7791-koelsch.dts +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts @@ -642,11 +642,19 @@ }; }; + cec_clock: cec-clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <12000000>; + }; + hdmi@39 { compatible = "adi,adv7511w"; reg = <0x39>; interrupt-parent = <&gpio3>; interrupts = <29 IRQ_TYPE_LEVEL_LOW>; + clocks = <&cec_clock>; + clock-names = "cec"; adi,input-depth = <8>; adi,input-colorspace = "rgb";