From patchwork Tue Jul 18 08:51:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 108071 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp5633291qge; Tue, 18 Jul 2017 01:51:19 -0700 (PDT) X-Received: by 10.99.54.9 with SMTP id d9mr490921pga.195.1500367879655; Tue, 18 Jul 2017 01:51:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500367879; cv=none; d=google.com; s=arc-20160816; b=YuqmdeoegNqe6Cpz4bqUzlc4YRmzFZAsprx9ywdzN4w4hWZ+nUvrVB4SwChPPRUbSP b5FvC1zMvnaA6jSWB9E3MyI5p9X1yRLtBphRIjOwuTLQFlmCOK4J7IBKhxSRO3ow1rYM AAks5kmYCMvWcTgGZ369wjun8ClkiKoOp8hS1+U60QFYQtY6sLxNRCVeqXIAqklGwUI6 YGmgZdj/f45GoJ7cViTg/bfD6zb+Cp72S9a/LR2qspquCZ3VuN5W+poFcd5RgETIf7J2 3Udgu5lw6vE/WLqNxQDxeEN+NNH54gvJTLNEMxGhLTWPlzlW9r3M3QOKmuyLWI901AtL fwcg== 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=2T4QWAl1hslNtmnlpALxiUVCBsW+P98wb4CIFljsgAw=; b=JvxUPygPp52/oedidhDqXsfHvIoMTJLxZgE+NoVQ2dwNvDi2JazPKkrkfZnghCxtAj t0VR1hfvXw0/f/EfskyOf/c9I96+WhqwO1r3Y39sMv4Fam38j5qsUdWcLxiQ6mwui6BI BtptJUVdiNV73K3rgHzLBML1NWQHhsymbR332SFMMxLlXwg13eJslvmd937CURukQqFU 9Grivzuwu6KZJZP3SadSpryoNCt3prsoTAa6cDQNlexVc6fnncz6xe0jhzcDkhTWACeV bhudlQYWjgIg6CUibiwB+QvmwNOW+6r5KfarXBnh7DPCKVtDQSNC/SHs7+X8qausJr69 o2Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=MZdo3MQR; 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 h2si1319581plh.375.2017.07.18.01.51.19; Tue, 18 Jul 2017 01:51:19 -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=MZdo3MQR; 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 S1751456AbdGRIvS (ORCPT + 7 others); Tue, 18 Jul 2017 04:51:18 -0400 Received: from mail-wr0-f179.google.com ([209.85.128.179]:34910 "EHLO mail-wr0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751349AbdGRIvQ (ORCPT ); Tue, 18 Jul 2017 04:51:16 -0400 Received: by mail-wr0-f179.google.com with SMTP id w4so18704573wrb.2 for ; Tue, 18 Jul 2017 01:51:16 -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=Ugpu61rYNUmoAEEOaxP2sLW2WMov1UNhyr8uR5AOkjw=; b=MZdo3MQRI1tl7oK4+7mkt3kBOLpBkA/7s9uVW4Oo6bdaZWgB+PFolpdy227+VW8rhe +or71N+13uUaAkcx7H3RUYlOqMAPc+yRtAU7XUjRd243MFg3+9BCGpmGxRfK44efELhJ Yc7tE0iiOqkNZlTtCqW5hDpeBGrJfFYWccKjg= 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=Ugpu61rYNUmoAEEOaxP2sLW2WMov1UNhyr8uR5AOkjw=; b=M/RPNPTypMTZS17xMMbfA936MhPR4NudO1kKh/HgDtl/Pi8fABsyJvJk0rt0FISW2C 9yuBpUqEQ2Oase/OACmfdsKZTBT9iCQ/mrGWs1jS9WjOO7grfvCxul0LHrsYImKxOMa+ f1ni4HH5URd4CDv3F8kKs7whxYuGDLpRsfKKGbDPeLpDjjzh/vIln9MMbmNwNp4FJ9qK +HujLbGKei2JYyUfazcWzzEN6p4IdoRB5VA7n9dpWjE5VnII3IgM9AQ1tJF+YWBSK+Ex Lo0RIhF8cwj/RegNe0snUg7UPGbcTyhY+FoqT5k8zOfh2WJ3emvYayoxyPTQYA/me5kA K6ew== X-Gm-Message-State: AIVw112L0dGpIcdA0LmciYmUPLOImBYdD0olCdhHS8BMEiyoHEdV3/fJ sCDNRvWZv3f+8LMQ X-Received: by 10.28.130.194 with SMTP id e185mr1287488wmd.7.1500367875499; Tue, 18 Jul 2017 01:51:15 -0700 (PDT) Received: from lmenx321.st.com. ([80.214.26.232]) by smtp.gmail.com with ESMTPSA id v16sm1657959wrc.65.2017.07.18.01.51.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 18 Jul 2017 01:51:14 -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:51:09 +0200 Message-Id: <1500367869-566-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 version 1.1: - with correct slew rate 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 = <0>; + drive-open-drain; + bias-disable; + }; + }; + usart1_pins_a: usart1@0 { pins1 { pinmux = ;