Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp3900190imd; Mon, 29 Oct 2018 14:15:42 -0700 (PDT) X-Google-Smtp-Source: AJdET5deP6+BJiYT9VKPare8JlntOxHMIpmP1feA1wrbq7N7fyPMI+nimiAm25rawHGoX19EyFYy X-Received: by 2002:a63:cc0b:: with SMTP id x11-v6mr15148060pgf.33.1540847742284; Mon, 29 Oct 2018 14:15:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540847742; cv=none; d=google.com; s=arc-20160816; b=OyWmk0764gxnFVGVX6WNf3z+Eb8CC8hKzNNcHM4o27SzIbC1vpTb99ALAj3+C6scrX DtZ9OtG8vNXwt5CwWboEdGU2BWWxB0y+NhiOCPQxJWWp1hCYdeGwiBoGCb322UPoOcx8 kRUhuPpaWAxiSLrnZ1ZR8FHseRGRHL0Q6ApANI0Vxxv68oWgVQFzeFn4IIJxmpZDzF2I qEvHu1GWeA+nNmthf/sqZe+sU2+zSA1zy104noRhINa+yrRCIpxQM8FIVQddmYtfDuvU 9HkEUk06SPz+A7/OYXPe9Hi4mydR/An/1e+0lxlolXK9dzE12xJBU9/setVDXlSS+Ve+ u7fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=NlvDjutVCCLGZeavIR6pAUgRnPDkF8xre0SbbKeXq6k=; b=F37IV0TdV4X7kP4MymVkfk9SR5hRUXVXKVVrFj09HWdaPJWOlVXDzTXffDja6Cf8fU 2sf90Ij5HKwpF24UsPT9XOjTfcWZtYc0KaaZgvQFnIpBbgfzQVSm5N614xjzT03mrB9z 9L0OYpbbl+LOKbSEyCoVRX+4KxTMPTkRv/PkkJqc2742tMYaBd7Ri/6MjMcZnbsHBnEf MSdq/arUdrLFhwDF+sBVQms9oxIN9NGYgwYrxpMgS4OgiFnmjqS4ga6ivZ+wYFxtABic 5dBREgslF1iciHSCv0Z7GTxYP/HlLn3a16pvQk8U8DeYy0acFlPUx4FkTLaYT/ZCU2DG GyQg== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u192-v6si22197062pgu.449.2018.10.29.14.15.26; Mon, 29 Oct 2018 14:15:42 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727696AbeJ3GFK (ORCPT + 99 others); Tue, 30 Oct 2018 02:05:10 -0400 Received: from mga06.intel.com ([134.134.136.31]:36152 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727545AbeJ3GFK (ORCPT ); Tue, 30 Oct 2018 02:05:10 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Oct 2018 14:14:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,441,1534834800"; d="scan'208";a="275456011" Received: from maru.jf.intel.com ([10.54.51.77]) by fmsmga005.fm.intel.com with ESMTP; 29 Oct 2018 14:14:43 -0700 From: Jae Hyun Yoo To: Wolfram Sang , Brendan Higgins , Rob Herring , Joel Stanley , Benjamin Herrenschmidt , Mark Rutland , Andrew Jeffery , linux-i2c@vger.kernel.org, openbmc@lists.ozlabs.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Jarkko Nikula , James Feist , Vernon Mauery , Jae Hyun Yoo Subject: [PATCH i2c-next v8 3/5] dt-bindings: i2c: aspeed: Add 'bus-timeout-ms' property as an optional property Date: Mon, 29 Oct 2018 14:14:12 -0700 Message-Id: <20181029211414.20771-4-jae.hyun.yoo@linux.intel.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181029211414.20771-1-jae.hyun.yoo@linux.intel.com> References: <20181029211414.20771-1-jae.hyun.yoo@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit adds 'bus-timeout-ms' property as an optional property which can be used for setting the bus timeout value of an adapter. With this patch, the bus timeout value can be set through this property at the probing time of this module. Still the bus timeout value can be set by an I2C_TIMEOUT ioctl on cdev at runtime too. Signed-off-by: Jae Hyun Yoo Reviewed-by: Brendan Higgins Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/i2c/i2c-aspeed.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-aspeed.txt b/Documentation/devicetree/bindings/i2c/i2c-aspeed.txt index 8fbd8633a387..ce1f07620368 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-aspeed.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-aspeed.txt @@ -17,6 +17,9 @@ Optional Properties: specified - multi-master : states that there is another master active on this bus. +- bus-timeout-ms: bus timeout in milliseconds defaults to 1 second when not + specified. + Example: i2c { -- 2.19.1