Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1695787ybb; Thu, 26 Mar 2020 05:46:50 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvGW7nfzFGk2kuxP0pN0VR1Rn/pkwrhZklRh/vgElHGHuZpm7BVxhWx7IfCvmv9opdHx7nD X-Received: by 2002:a9d:7c94:: with SMTP id q20mr5353038otn.150.1585226810044; Thu, 26 Mar 2020 05:46:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585226810; cv=none; d=google.com; s=arc-20160816; b=rwaJ3ggcs3osGu+eDqpB9tiwY8n/FLL41s4e2nL8MEiflUQQWQLyY/K7QOeAHYiFHy GOETmQ2kdqtx4zhBp0fd1pBxfPVEe/2Rh9CtSGVuh9ZXn3BugDv5jcJHmmx4lwAj56X7 0s6lABQ1EoYHTO6yAEPyc78gbgj9pXTlozShA69BQkOqalHydIwpOzgMYn+Z76bkGLDx +kE5UQ29cYdALT41CxaMFXJwOsyaJOn2UYTyJj77d/bLL96xByrzMt9z98HPcde9zlmD sQwfKO8yTCo1XaEoZZI8Itut8CfoNM+eLI91/MbpVT/j6h5RsPtatxZ8M2CUHli4Ahu1 Tzfg== 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:cc:to:from:dkim-signature; bh=zs6IvBuHcVwBxEDnMsYjZhGZNiGCg4btz807+InUcNI=; b=pJe0bRzQpzmLQeTz2HeDnMv9FkvM0H3jcYdNwWGfV0gFkaF39VrCxYdxzFpY7GOAMT BmwwsVaBavq49WKcIdhRjnZDmw8MAXPVEl2HfHpbB7vE3yT2u/BISweq7nxpUMBckTHS byO93QsN7WzlC2TYqjZUSwud4f6opaxaWsnF8RZUHG6KBaKS/c6QiSmMTQmuBiRV/mki zZnIrCblq2j6ngUfN6JRpH8wYFAybc8+z1nVOqbf4+2tAlWXMI15VilbKAnlBRfAC5FC /QpD8Eklk+PFU7vQ0Zlrah6HYWELD0nshfsyCMZtCFZMfkgd9jcB8ANYl2JksJYKt4FP 4H9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=AQawL1v8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h10si860161oih.231.2020.03.26.05.46.36; Thu, 26 Mar 2020 05:46:50 -0700 (PDT) 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; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=AQawL1v8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728256AbgCZMow (ORCPT + 99 others); Thu, 26 Mar 2020 08:44:52 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:37934 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728184AbgCZMov (ORCPT ); Thu, 26 Mar 2020 08:44:51 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 02QCc27K008857; Thu, 26 Mar 2020 13:44:39 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=zs6IvBuHcVwBxEDnMsYjZhGZNiGCg4btz807+InUcNI=; b=AQawL1v80FTaQGyOKoFLWJ5osbg/KEDlRMHSmaqJlHepp962XoRpzWhkCFAkwN+PiOf0 /RkqQ64vEpMQc0TCgLOOfKcz/ECuAPipd+X2Os+RATj0ZKoqtU9FzvOw5KEtFVm8m8n7 Ich06FIg1rA9IRED+WomcH+DMdhiJcrPAkZ3pUh+uyWudQk6R7CC1syHS7ZriteMuR9b y/n735uKuXF08PTAWPd85kAoT1LYb/5MOfomxzwPJ8ti5w+YMsCHkrf4jXhsBPEFFTAJ ZDW2audFLukKAdFtR0ThvExCy7ZMUAaPxFGI2+WCcyR6XaGCX9wh9NdtxhwtHIY0QqQL iw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2ywappbpa5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 26 Mar 2020 13:44:39 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id A8EB2100038; Thu, 26 Mar 2020 13:44:38 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 9C0202AC69C; Thu, 26 Mar 2020 13:44:38 +0100 (CET) Received: from localhost (10.75.127.48) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 26 Mar 2020 13:44:37 +0100 From: Alain Volmat To: , CC: , , , , , , , , , , Subject: [PATCH v2 1/2] dt-bindings: i2c: i2c-stm32f7: allow clock-frequency range Date: Thu, 26 Mar 2020 13:44:20 +0100 Message-ID: <1585226661-26262-2-git-send-email-alain.volmat@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1585226661-26262-1-git-send-email-alain.volmat@st.com> References: <1585226661-26262-1-git-send-email-alain.volmat@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG6NODE3.st.com (10.75.127.18) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.645 definitions=2020-03-26_03:2020-03-26,2020-03-26 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org For STM32F7, STM32H7 and STM32MP1 SoCs, if timing parameters match, the bus clock frequency can be from 1Hz to 1MHz. Signed-off-by: Alain Volmat --- v2: identical to v1 Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml index 900ec1ab6a47..b50a2f420b36 100644 --- a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml @@ -80,11 +80,11 @@ properties: clock-frequency: description: Desired I2C bus clock frequency in Hz. If not specified, the default 100 kHz frequency will be used. - For STM32F7, STM32H7 and STM32MP1 SoCs, Standard-mode, - Fast-mode and Fast-mode Plus are supported, possible - values are 100000, 400000 and 1000000. + For STM32F7, STM32H7 and STM32MP1 SoCs, if timing parameters + match, the bus clock frequency can be from 1Hz to 1MHz. default: 100000 - enum: [100000, 400000, 1000000] + minimum: 1 + maximum: 1000000 required: - compatible -- 2.17.1