From patchwork Tue Jul 18 08:22:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 9847239 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 8A97960392 for ; Tue, 18 Jul 2017 08:23:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B69728503 for ; Tue, 18 Jul 2017 08:23:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 703DA28539; Tue, 18 Jul 2017 08:23:50 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0BE5128503 for ; Tue, 18 Jul 2017 08:23:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=iEWaSkiK8R1FWVzIWPtmt2cWmUcpYFS6qpH8250P7KI=; b=UX5 ktLFI58chb13cttABfkv24oVpZIqf/BKYiaXkHKrQFSBsTdzri3U0yQQHVbzxL/LljPct5v4vE6N7 9UC/zTrU9RTcM5zWffFV/AF+R9NyqyHuvZrbcvFzbt1/l1E59BNrbOTfec+j4ygTiY5O352B3h5Yh ePfdKGL4waFJRvjoCIAQu4AUntngQKLPZkN7mv5VDBr6JYEWO2jZojiH/P6YACUOGF01K3KQC1z4N pKBZau2y7GrVg6EZKq1i/oeL4nAOCOgnHuTWBrWq71rnRhb5qt6eun1H1+MVobxYBpJW1kCH/OLrh EQptWCrtci4be+Q8CTWTW63UHAuUHHw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dXNnH-0001J1-DT; Tue, 18 Jul 2017 08:23:47 +0000 Received: from mail-wr0-x22e.google.com ([2a00:1450:400c:c0c::22e]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dXNnD-0001HN-JB for linux-arm-kernel@lists.infradead.org; Tue, 18 Jul 2017 08:23:45 +0000 Received: by mail-wr0-x22e.google.com with SMTP id 12so17871316wrb.1 for ; Tue, 18 Jul 2017 01:23:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=nHIl4+Z8goEoe7LpRWslRWVRDEwNC/83u6zNv2GVGW0=; b=MKmIkJFQVdPz1MjnuW9BYBA5iU4ZsBLWAzg1fi7js3dkSy8taLh0hUKfsVDOKUNZwm gw4f62jqUyTTtgVRdOxPIFs6X664j6dcuR16rd2iNus6wS+Tt7uWoSgC124N9XOEKomM NXtbQOpwMlNDhwhy1mLJenGQaRMvl4KRVIzOw= 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; bh=nHIl4+Z8goEoe7LpRWslRWVRDEwNC/83u6zNv2GVGW0=; b=rqGelEA5+Cmu1pjwI6BpdwPYStA+7s5N25od/bsf0X8YD9Be3a3ooLebJOyXrppyK1 j3vILylrs3BgE04d34ppNjvkxM0u5kl0ZG0BUWP5NkGouFn5qlFx12RHf/qOBH37cNrJ aCMZJuN0QoG5v23ZQU4ZW6vckDE9einLKAe2z0jwBx31T20VqnNI1WtApIzDpulKISws Xg84nnJyH+5jckxy2h2QRQ/w0cGVyvUyiQEorXcetgcLurbE9/I4fnlRHbBr81L+cad3 OobPm69igf2GGKt9u86LlRAhFIx50ORLRxdeIkfIdZAz2aheX3avPPKm0fERte4/p15F 05bA== X-Gm-Message-State: AIVw112eJZdGn7bBnwpUg7WHh2xM9ANvrMx/a+jzcLeJdsbEt2WoBwN8 rbKV9DuQXzECv8bC X-Received: by 10.28.48.201 with SMTP id w192mr843161wmw.28.1500366201654; Tue, 18 Jul 2017 01:23:21 -0700 (PDT) Received: from lmenx321.st.com. ([80.215.87.167]) by smtp.gmail.com with ESMTPSA id h1sm963060wrb.25.2017.07.18.01.23.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 18 Jul 2017 01:23:21 -0700 (PDT) From: Benjamin Gaignard To: robh+dt@kernel.org, mark.rutland@arm.com, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] arm: dts: stm32: add cec for stm32f7 familly Date: Tue, 18 Jul 2017 10:22:20 +0200 Message-Id: <1500366141-30706-1-git-send-email-benjamin.gaignard@linaro.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170718_012343_858275_9C899DE8 X-CRM114-Status: UNSURE ( 8.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Benjamin Gaignard MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP add cec in devicetree for stm32f7 familly Signed-off-by: Benjamin Gaignard --- arch/arm/boot/dts/stm32f746.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi index 0c3dd1f..770e474 100644 --- a/arch/arm/boot/dts/stm32f746.dtsi +++ b/arch/arm/boot/dts/stm32f746.dtsi @@ -167,6 +167,15 @@ status = "disabled"; }; + cec: cec@40006c00 { + compatible = "st,stm32-cec"; + reg = <0x40006C00 0x400>; + interrupts = <94>; + clocks = <&rcc 0 STM32F7_APB1_CLOCK(CEC)>, <&rcc 1 CLK_HDMI_CEC>; + clock-names = "cec", "hdmi-cec"; + status = "disabled"; + }; + usart7: serial@40007800 { compatible = "st,stm32f7-usart", "st,stm32f7-uart"; reg = <0x40007800 0x400>; @@ -339,6 +348,15 @@ st,bank-name = "GPIOK"; }; + cec_pins_a: cec@0 { + pins { + pinmux = ; + slew-rate = <3>; + drive-open-drain; + bias-disable; + }; + }; + usart1_pins_a: usart1@0 { pins1 { pinmux = ;