Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4460385yba; Mon, 29 Apr 2019 21:33:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwrCYdkxvnb+Qy5OuxlXeFF4CyLxUkLA4REsoxR9MqHP5nxM4NSfWc5z/FEjkPqa21BwPfK X-Received: by 2002:a65:48ca:: with SMTP id o10mr20555655pgs.136.1556598833039; Mon, 29 Apr 2019 21:33:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556598833; cv=none; d=google.com; s=arc-20160816; b=idwlFhSsQuCNnIgxeOr/BldYnrU+brlg52cfIa/fGuFicah3hSnpzM2iijhG23w82l JFuW3XQP/4l04WiO3B1fcUh4sn1d+1Y7tJvOCTvUHCVcA1ngXOpBtYELNULrQBP3c/nU A0J+Nmja3/Da8L4PMtKfw05WFS0ddDOEO683QJ4oeNoJQbigBbWj7gUjNR0qfurCy90p KriHdFMntmv3PtGQEf76nJUAvOtkmDi+SbVn/bZ+s3KOj5cbEyFv8zU6x7IRmkbZkYLj qLsZNffZ7sgviRRWJNKOm8mV8HR/mdp3UOzjq0XinFj2cKeVaZjGNZFcX6jxeiVB1zeY F4gg== 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; bh=GhcRqsUVUrBZcaxjPYSXGSA1mWTrQaE2/5FrLOiwhIg=; b=wbgTJqMAoNgHtDtwLI/5VOydPaOa4l2qvqj4k9QtxDShk8cjDoZJxrIM5mHpdVMQc4 sxKNRFOsPl9Fq5D5BhG4JNKK6AF7ZtuBMNfmgzDOrjjFEei+42SYzVe4dDbgNQhPKe62 sreQP5JcwFoArtq6Brg/LYfIrDSXSkoNJRpCh5z+UCWUOtvPJVhUBJFSn+iHimiSjW1J jQBkRVVz+VCDq6PUmLz/6FPYcPK/tLuVu68ZNhNH+mqO0/s+IY96hiNRXU2xBT2xrUeS kp3yBiKoVS1HlY6KJ+49V4pKx5nECwtR+pDvYHT3pmPCGulg+Rz2VpEAXZXdZOpyefcA FKcQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l5si17038329pgj.560.2019.04.29.21.33.37; Mon, 29 Apr 2019 21:33:53 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725942AbfD3Eb3 (ORCPT + 99 others); Tue, 30 Apr 2019 00:31:29 -0400 Received: from inva020.nxp.com ([92.121.34.13]:51448 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725268AbfD3Eb3 (ORCPT ); Tue, 30 Apr 2019 00:31:29 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id A713E1A0014; Tue, 30 Apr 2019 06:31:26 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id ACEDA1A0013; Tue, 30 Apr 2019 06:31:17 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id C57A5402D9; Tue, 30 Apr 2019 12:31:06 +0800 (SGT) From: Chuanhua Han To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, leoyang.li@nxp.com Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, kernel@pengutronix.de, linux-imx@nxp.com, festevam@gmail.com, wsa+renesas@sang-engineering.com, u.kleine-koenig@pengutronix.de, eha@deif.com, linux@rempel-privat.de, sumit.batra@nxp.com, l.stach@pengutronix.de, peda@axentia.se, Chuanhua Han Subject: [PATCH 1/3] dt-bindings: i2c: add optional mul-value property to binding Date: Tue, 30 Apr 2019 12:32:40 +0800 Message-Id: <20190430043242.29687-1-chuanhua.han@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org NXP Layerscape SoC have up to three MUL options available for all divider values, we choice of MUL determines the internal monitor rate of the I2C bus (SCL and SDA signals): A lower MUL value results in a higher sampling rate of the I2C signals. A higher MUL value results in a lower sampling rate of the I2C signals. So in Optional properties we added our custom mul-value property in the binding to select which mul option for the device tree i2c controller node. Signed-off-by: Chuanhua Han --- Documentation/devicetree/bindings/i2c/i2c-imx.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx.txt b/Documentation/devicetree/bindings/i2c/i2c-imx.txt index b967544590e8..ba8e7b7b3fa8 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-imx.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-imx.txt @@ -18,6 +18,9 @@ Optional properties: - sda-gpios: specify the gpio related to SDA pin - pinctrl: add extra pinctrl to configure i2c pins to gpio function for i2c bus recovery, call it "gpio" state +- mul-value: NXP Layerscape SoC have up to three MUL options available for +all I2C divider values, it describes which MUL we choose to use for the driver, +the values should be 1,2,4. Examples: -- 2.17.1