From patchwork Mon Sep 24 11:01:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Verkuil X-Patchwork-Id: 10612243 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5A74D13A4 for ; Mon, 24 Sep 2018 11:01:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B74729AF9 for ; Mon, 24 Sep 2018 11:01:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3F7E829B2A; Mon, 24 Sep 2018 11:01:52 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 9347B29AF9 for ; Mon, 24 Sep 2018 11:01:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728662AbeIXRDV (ORCPT ); Mon, 24 Sep 2018 13:03:21 -0400 Received: from lb3-smtp-cloud7.xs4all.net ([194.109.24.31]:33767 "EHLO lb3-smtp-cloud7.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727229AbeIXRDV (ORCPT ); Mon, 24 Sep 2018 13:03:21 -0400 Received: from [IPv6:2001:983:e9a7:1:90ff:4efd:57dc:dae5] ([IPv6:2001:983:e9a7:1:90ff:4efd:57dc:dae5]) by smtp-cloud7.xs4all.net with ESMTPA id 4OccgVMZdw2L84Oceg59O1; Mon, 24 Sep 2018 13:01:49 +0200 To: "linux-omap@vger.kernel.org" Cc: Linux Media Mailing List , Russell King - ARM Linux From: Hans Verkuil Subject: [PATCH] am335x-boneblack-common.dtsi: add cec support Message-ID: Date: Mon, 24 Sep 2018 13:01:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Language: en-US X-CMAE-Envelope: MS4wfFoXJ+U+8tq1REKO5TV6lAgoT5mRKL8Xw+ZCx/vk0jNC8JfwzfmekFeSuHTBj/fKQA20aupLe6Fb+39ksC9B4SXsomvUlK1SEEYvFdHUA6qyIADms0/H c90VhyYU6aqsj89j83EsLluZWVai7q5ddPtKXkisx6gwpYnlyKzjZiuRkkbUAI3Yrjv+9hVqXpBsz0TWkTnutgRs4CrxVZqpynypPbf6v91YOCLw9CT2o6e3 opK+YbtWpSFXa54KfUlCbs+uN8sft9mmasaKbOCRAbfmIBuPyQazffqbHgqjmpNHSL2WoVi8swkGnakkC1KFhlcz4kCLpk8p49ozjKjrx8bbY7dS6ecFiC6M LmKuR1LZ Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add CEC support to the tda998x. Signed-off-by: Hans Verkuil --- Note: this relies on this gpio patch series: https://www.spinics.net/lists/linux-gpio/msg32401.html and this follow-up gpio patch: https://www.spinics.net/lists/linux-gpio/msg32551.html that will appear in 4.20. Tested with my BeagleBone Black board. Regards, Hans --- arch/arm/boot/dts/am335x-boneblack-common.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/am335x-boneblack-common.dtsi b/arch/arm/boot/dts/am335x-boneblack-common.dtsi index 325daae40278..07e6b36d17c4 100644 --- a/arch/arm/boot/dts/am335x-boneblack-common.dtsi +++ b/arch/arm/boot/dts/am335x-boneblack-common.dtsi @@ -7,6 +7,7 @@ */ #include +#include &ldo3_reg { regulator-min-microvolt = <1800000>; @@ -91,6 +92,8 @@ tda19988: tda19988 { compatible = "nxp,tda998x"; reg = <0x70>; + nxp,calib-gpios = <&gpio1 25 0>; + interrupts-extended = <&gpio1 25 IRQ_TYPE_LEVEL_LOW>; pinctrl-names = "default", "off"; pinctrl-0 = <&nxp_hdmi_bonelt_pins>;