Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2591539imu; Mon, 19 Nov 2018 03:05:37 -0800 (PST) X-Google-Smtp-Source: AJdET5c9TS9Vr7jBHMvVA6WfK9L2cIv7FC2TixA++pdLdDUDw6yRqeXbJ4VnuMALdwkw19djLRRZ X-Received: by 2002:a17:902:e290:: with SMTP id cf16mr18562896plb.81.1542625537439; Mon, 19 Nov 2018 03:05:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542625537; cv=none; d=google.com; s=arc-20160816; b=meic8Z67bqh8oyMTvQ86ygSWvQl81jn7InXg8JE1N8hmrgUcfYMCqImVu9NSD0RVHQ +VWz79bqIYVU1GnB7K7FZWIW9uWUAAIjZbiMdYE9qf89zPMdoSoSm5QQ4G7TsnqKq/rM +AaGzZa16uDY6UEdAQDqvl4l+eM7UhlhcHcDkap++Lo97G9gL8U/20Wh+/E0FtWa2Ql/ ZkeGApvWviQfR3Wxds4JqX1+R5OomdiaebvXU0fZydES0C64V2ziIviE+nYmwMd8EWqR jCB+2WrvlvCvzRTxunVa06BJDrPvh4mKFMzqILVWyqAboYQ+Rj5TOjRRx1/BGG5h4AiX OFoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:to:from; bh=MMPtEVb+YKEoOD6sPELsqLGj7KDW59aZKGihcXzNjeE=; b=IWTAj37Jd2zBof8lKZMR8KF0QzjZsEpG6mqCTh9f+p1shmvgq+JDqU1bggmok61vxy gYjYJ5cKAeAIY/eAUzvmdXSBzI2fyCSsY5Jyc90BRdvkXYhOq1vCdCyQQ9gZ5z7avuEQ aESkwWdAdYBFO7DNQj8ZJSFNVYlKxYlurKaqRuAwamBPWdzagoNs/KO/kFRIkaBTkZGV qvqj+CszANioEfzZCFq0i4w1l7bViTAMWwr6UJ4bFMpWQbhzuvDmnGdARXDsp5ofXRmL xjPolpzcWz3KeWbUKEr7+Ew5DlZGUFBhivur5lwquC/a9bxtlrl/UyBua6MC4k/irv8N uxqQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 88-v6si40184024plc.34.2018.11.19.03.05.22; Mon, 19 Nov 2018 03:05:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728397AbeKSV1U (ORCPT + 99 others); Mon, 19 Nov 2018 16:27:20 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:50240 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725911AbeKSV1U (ORCPT ); Mon, 19 Nov 2018 16:27:20 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id wAJAx48h016305; Mon, 19 Nov 2018 12:03:37 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2ntarga8p3-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 19 Nov 2018 12:03:37 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 9C4503A; Mon, 19 Nov 2018 11:03:35 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node2.st.com [10.75.127.14]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 7443A26A2; Mon, 19 Nov 2018 11:03:35 +0000 (GMT) Received: from localhost (10.75.127.44) by SFHDAG5NODE2.st.com (10.75.127.14) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 19 Nov 2018 12:03:34 +0100 From: Pierre-Yves MORDRET To: Rob Herring , Mark Rutland , Maxime Coquelin , Alexandre Torgue , Wolfram Sang , Pierre-Yves MORDRET , , , , , Subject: [PATCH v2 1/2] dt-bindings: i2c-stm32: SYSCFG Fast Mode Plus support for I2C STM32F7 Date: Mon, 19 Nov 2018 12:03:31 +0100 Message-ID: <1542625412-4277-2-git-send-email-pierre-yves.mordret@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542625412-4277-1-git-send-email-pierre-yves.mordret@st.com> References: <1542625412-4277-1-git-send-email-pierre-yves.mordret@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG5NODE1.st.com (10.75.127.13) To SFHDAG5NODE2.st.com (10.75.127.14) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-11-19_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Append optional bindings to update SYSCFG Fast Mode Plus bits if Fast Mode Plus speed is selected. Signed-off-by: Pierre-Yves MORDRET Reviewed-by: Rob Herring --- Version history: v2: v1: * Initial --- --- Documentation/devicetree/bindings/i2c/i2c-stm32.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-stm32.txt b/Documentation/devicetree/bindings/i2c/i2c-stm32.txt index 3b54899..69240e1 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-stm32.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-stm32.txt @@ -26,6 +26,11 @@ Optional properties : - i2c-scl-falling-time-ns : Only for STM32F7, I2C SCL Falling time for the board (default: 10) I2C Timings are derived from these 2 values +- st,syscfg-fmp: Only for STM32F7, use to set Fast Mode Plus bit within SYSCFG + whether Fast Mode Plus speed is selected by slave. + 1st cell : phandle to syscfg + 2nd cell : register offset within SYSCFG + 3rd cell : register bitmask for FMP bit Example : @@ -53,4 +58,5 @@ Example : clocks = <&rcc 1 CLK_I2C1>; pinctrl-0 = <&i2c1_sda_pin>, <&i2c1_scl_pin>; pinctrl-names = "default"; + st,syscfg-fmp = <&syscfg 0x4 0x1>; }; -- 2.7.4