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: 9870489 X-Patchwork-Delegate: agross@codeaurora.org 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 88F61603B4 for ; Sun, 30 Jul 2017 13:08:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 80B7C2859F for ; Sun, 30 Jul 2017 13:08:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 756CB285A7; Sun, 30 Jul 2017 13:08:09 +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 5F887285E6 for ; Sun, 30 Jul 2017 13:08:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754071AbdG3NH7 (ORCPT ); Sun, 30 Jul 2017 09:07:59 -0400 Received: from lb3-smtp-cloud7.xs4all.net ([194.109.24.31]:39603 "EHLO lb3-smtp-cloud7.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750991AbdG3NH4 (ORCPT ); Sun, 30 Jul 2017 09:07:56 -0400 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 Cc: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Archit Taneja , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, Lars-Peter Clausen , Hans Verkuil 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= Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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";