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: 108069 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp5594227obm; Tue, 18 Jul 2017 01:23:25 -0700 (PDT) X-Received: by 10.99.147.19 with SMTP id b19mr429540pge.67.1500366205623; Tue, 18 Jul 2017 01:23:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500366205; cv=none; d=google.com; s=arc-20160816; b=zyiM3WUDhAj/lFeLSKGXQUR/zW0ANwSQqHCi/IgfajIUnDg8SG90K2zyJjGBTUEwu+ A71rO0SYXqzGZjPSOYSrBQCXOE5dQx19vZLKH9foWYHPBjfYZUwV0obdGCGzkhAd2PV9 iu1B6Qzle84zZ1jCOklCzWShr8PI7sBgErEq75tH1BdlZf5aFBtwTI36/OaK0ynoAWNi XGMUIbCf1xvRYbK+eN9wfS87683/Z3BsOAZ5YGBg7nx52YXLLLaB98WNesJ12MU4ULvU fhtgXq/wXXqjmjXbOmUmIiLAtKI+NZ5piiT8gIuTyDa3M+hWlOClDRurzc2AXRGLVdEf k4eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=IYQTZxc3jWxc0v+vueKEOg2fxocv0XxQA024y6oGBAM=; b=VuCUrJQfIjpqBpa/zHko+oT3D0I9mnITKkcnL7Fh/vcbW/KKxGPK0MzTEWLfdnGMJ/ jYelQ0MdxefyMJRkwMMNSV6IriZP6FcpjL2fii/ieaOHG11roGWS78woK5tFf4DWdjWj eI1RHxQ7L7VMrxtlznDRtPpVJN51kmPanHwcZasJBymbacsGZQ3OVIZUhOYnLDkt7PRN 0rQ3CweMhNmQHMH2UQuBnrD0XZv6caAPE/dHbnSU3+AJpdXGqFoHaW+JvuIEXGLTXJ70 UCdWTLXdeXsSMe/ap1qCUX6sYHT1Mv+1KtF3sLuG3ZGGJIXYn31U4xaEgBFMCFeuVuHh Zatg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=MKmIkJFQ; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e61si1294116plb.200.2017.07.18.01.23.25; Tue, 18 Jul 2017 01:23:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=MKmIkJFQ; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751336AbdGRIXY (ORCPT + 7 others); Tue, 18 Jul 2017 04:23:24 -0400 Received: from mail-wr0-f182.google.com ([209.85.128.182]:33104 "EHLO mail-wr0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751354AbdGRIXW (ORCPT ); Tue, 18 Jul 2017 04:23:22 -0400 Received: by mail-wr0-f182.google.com with SMTP id a10so18062609wrd.0 for ; Tue, 18 Jul 2017 01:23:22 -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=NETnAW5v/AbLbyQ7C0KPfBBAPJzP48ceoUmDu5CiaQK1F1NLkGSAEUohF9Ot49HBui dMo6s/9xT9Fe31uhMI1Q2e7dsahgIkFDKfgvO10aXXm3n+NqZ00H0Xx2OR1DsjLfQYtL xRSwsPm5SheBzvuf7LWLB79EDOU/qZEE2DhqaLFk1ckYnWmcvg/0gU9R0mUbc/R5z0kt dUcLOqJX412jDBFk+48SmXd2vLsu7KxRbC+pIzxLqe7AOkqDJdGyYRou8sF/cPjvENI3 oK7oBCjIsvfGF1pOIY+ryTyuTNWf0iy0V8TQ17eLgLJ/ExmSAgSFKD1EPloVp/xwJkr/ zx/w== X-Gm-Message-State: AIVw110QkAQqkDaisrqxThxqsPgYjPl7nNqoP10R4adEV7T0O0yZ2eqr 4IciosEuE26d4/cG 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 Cc: Benjamin Gaignard 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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org add cec in devicetree for stm32f7 familly Signed-off-by: Benjamin Gaignard --- arch/arm/boot/dts/stm32f746.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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 = ;