Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp943139imm; Fri, 5 Oct 2018 14:46:57 -0700 (PDT) X-Google-Smtp-Source: ACcGV60CnUHhsw+Ckrtf7ZqNctYbW9dM+eIud107keMV7CDuDoxQimuYmiy34C488rADrmnwBnP0 X-Received: by 2002:a17:902:8502:: with SMTP id bj2-v6mr13209068plb.295.1538776017453; Fri, 05 Oct 2018 14:46:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538776017; cv=none; d=google.com; s=arc-20160816; b=VWwOW0XCA7sAggUZocDpe6BwYHIlIn2PURAToLW66oamosKJDRIt7zV7zSep6Mmhk1 +OSnRXURaQNMuhfNQSMvaxX5BTyqr95FuElZG9TPbvhYlfcOfFOYb8QVYO9d/9ak87MD sKtbA/fQMKRsiPW47Rznsk2IpgbW9W6n9Eq3houSLW9v7KCQOJDnkJwT890Ml91CJs+B CXkzZUAVi3QIJGXcmX+0PedC0ybV2aDjFiOpxgqBJdN/YljejCmfQLOkqQEBj8HGqWrI 2CSIltIjM1tCpYnvr1rpgxHS5s4NhPb1l0mOG8EirwVuI77RKZS0+gJYh+YaB/QCyAfq NSYg== 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=UdhJc9dQ7QD/JorV+FaonKR++obIk1Q3mKMmzrROfo8=; b=I7KMopdbmeaPw13cxEI2ZYEpQUkjTBkSudxXwr29g8Xv7totG08IjSrplRy7JmuEE0 FmZWfqNsbSqkviiAGpuG8KvVBfZ2CS9aemcuUaOwu2FDk7Vq2WRh7QA4up/6sZv6fhZ6 g9XLaeDm4DSrYjkNaU+VujdM3LIF3OjnPrGmli04xykazEL85XNaOA6zG+Tsi8BiPxBB pUA70bPByiMfsMqi+MJ/eZ4KSpAmiqVFUYexCquql5AQlR+/IoJqi8wZvWONdvs2Maq6 G9FJlNgj19/TsTtlrI4ynjttq31LsQNp9iSGD6vzp1SUEh2mqb3ZgLW8yJjl4JOjbo/y MKig== 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 d33-v6si9607924pla.292.2018.10.05.14.46.42; Fri, 05 Oct 2018 14:46:57 -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 S1729154AbeJFEp6 (ORCPT + 99 others); Sat, 6 Oct 2018 00:45:58 -0400 Received: from mga03.intel.com ([134.134.136.65]:29594 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726839AbeJFEp5 (ORCPT ); Sat, 6 Oct 2018 00:45:57 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Oct 2018 14:45:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,346,1534834800"; d="scan'208";a="75773042" Received: from maru.jf.intel.com ([10.54.51.77]) by fmsmga007.fm.intel.com with ESMTP; 05 Oct 2018 14:45:12 -0700 From: Jae Hyun Yoo To: Brendan Higgins , Wolfram Sang , Benjamin Herrenschmidt , Joel Stanley , Rob Herring , 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 v7 3/5] dt-bindings: i2c: aspeed: Add 'bus-timeout-ms' property as an optional property Date: Fri, 5 Oct 2018 14:45:05 -0700 Message-Id: <20181005214507.26315-4-jae.hyun.yoo@linux.intel.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181005214507.26315-1-jae.hyun.yoo@linux.intel.com> References: <20181005214507.26315-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 --- 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.0