Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1277869imm; Wed, 26 Sep 2018 15:01:02 -0700 (PDT) X-Google-Smtp-Source: ACcGV63sbkeRZ7JD/FCFC/zbgSqYEfy4sCP4jS6Jz6AyJcoKFwQXq0ZDK11916zJvYe0f+JJK37m X-Received: by 2002:a63:1b52:: with SMTP id b18-v6mr7269047pgm.303.1537999261994; Wed, 26 Sep 2018 15:01:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537999261; cv=none; d=google.com; s=arc-20160816; b=iDqy1lQUSeID6B2WoEVs1zZlOFKf/fhQXzkcorui9+G14jBhX3cl/HrRJeeCMmY9FL VHQ4dsVi4nWizAJBDprzFAa025EMiiHDZD2I2ghFR6TR/LItUMGiNiLh45Umag59Pz5i RN+rlZrFBd3uKXBQaG2Wf62eYrWoy4u5o1ZPxge56VCSovJcouVIhlZGxGq6U/wRhhJv Q/PkkanfhaVCtwdI90OspwmJGkr/+w03AoFUzEZxoTA8QSU5c/DhqoqUA6PsMiJ4JZPA hekwclyyoa2IGfSn2EtcR+l50Jb0+Z5kL/Q1wp7K3QJSpFZPNANwCOZT8jL5tr/M6jQ9 u7UA== 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=H99gj1bloO2hSFEsdeotCmrUFM/FXKMm1h0eCA3Tlgg=; b=s42ciNubCryTyd6HtcQUVv21AdCDxLxzL1cP+Q1d/fr0GSQ3F5q232YuKkj1cMIcq7 77olyMrzIdbuDu39xFL9YlEHoMG+SHkqIV//xYJY3xozc8+QY7F1iHMHM/FHaOy5Ju9M ViTwz3yFoKdR59wCObw1GqohHam96aBtDYHxUk8CTN9OSo/TviL4rhYVOfaMC1f+k1nA hBwg9Vxb7z63sosvyWnKAbb7Q6hI+YCH9U38N4tNEcLjQHWqQweIXokdeP7xWZiOZ3uz r+Kc5CU+iuDAgANw085WTf/jxNC9vMPLhE9p+QAbcKnEVMbL1U++G/RfsJCvJa2H6CQS BC2Q== 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 v6-v6si132586pgo.532.2018.09.26.15.00.46; Wed, 26 Sep 2018 15:01:01 -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 S1726639AbeI0ENs (ORCPT + 99 others); Thu, 27 Sep 2018 00:13:48 -0400 Received: from mga06.intel.com ([134.134.136.31]:4547 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726098AbeI0ENr (ORCPT ); Thu, 27 Sep 2018 00:13:47 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2018 14:58:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,307,1534834800"; d="scan'208";a="73957795" Received: from maru.jf.intel.com ([10.54.51.77]) by fmsmga008.fm.intel.com with ESMTP; 26 Sep 2018 14:58:45 -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 v3 1/3] dt-bindings: i2c: aspeed: Add 'timeout' property as an optional property Date: Wed, 26 Sep 2018 14:58:40 -0700 Message-Id: <20180926215842.23125-2-jae.hyun.yoo@linux.intel.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180926215842.23125-1-jae.hyun.yoo@linux.intel.com> References: <20180926215842.23125-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 'aspeed,timeout' property as an optional property which can be used for setting 'timeout' value of 'struct i2c_adapter'. With this patch, the timeout value can be set through an I2C_TIMEOUT ioctl on cdev, or through this optional DT property. 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..d6965b360fbc 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. +- aspeed,timeout : I2C bus timeout in microseconds defaults to 5 seconds when + not specified. + Example: i2c { -- 2.19.0