Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp50714imm; Thu, 11 Oct 2018 15:13:59 -0700 (PDT) X-Google-Smtp-Source: ACcGV621rZ59LLJZfC6D3z6JfoiXHUHzrIWm0qWxT6OQr6fy4EbhLd5yynWelIQjaqakhIbV4S3V X-Received: by 2002:a17:902:e08e:: with SMTP id cb14-v6mr3185448plb.196.1539296039847; Thu, 11 Oct 2018 15:13:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539296039; cv=none; d=google.com; s=arc-20160816; b=SRFej+6Ick/bJat1SXhd9bdSXLnzqRILkLCG3t2DvgwSsXPG4p0E2O1BGZk3b3hKSk URnrcz0+pbdPJthmoJ3vKtqntWjEeudxk55kdOGdaWVVEGKidJ/2SNBk2X5Bowqtno2k YlQY4br9mYtDJBAOpyMm31TVNum+2QDpXso7JY0fnt07SDmHYzN6Xg34uDWiWN5CXfGv OkU9HjYPK1qtndrf78o1b1oQELK/joKzQ9a7CswMEUR22lEYzBkn9kad/yJIFUcVdn8S Xmxsc4ARtgjcfe1PbTKkpMjIZrS9WQg89SoUwpvwDRllBAVTaUwqE0m2Zm4auDqoTsDR 8XrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=5IgkOnyfQn8kd4GLJBdpgH9aUY5eeO9hCm+RmfPDebc=; b=ZMjHQhPqUluikrjXpdZHgXsfh2TOlSmMdCa0vLc1BLLbYbGxKtC9C8PTSnXluxTmBt w2ltuvd+s6k3UAayVeJNHXsHjzNqmbQ8dC4uxhkkhfgrazCTjQEbaZNj0Y+zR7UDzoA5 fjHTxCYktccb0OGjlFfmQ7ofsuaC9cod7tBqILs4P/JFPhEf3r/dOjyVbwSK7X6Vx88e ght9TMmphzhAX9n1Hvj1ZCFGzio0iGWK2Rd9hlVc9raSM9z5P5FGbYEygF8zAFxj63M/ hMSmZ7tJIL7y5AKXTH4RzhWCjqi/3J9RFXHgK9a07iDPYlcKeVNNM0KJvOyGjXYNeD1s Auqw== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f19-v6si28581376pgb.465.2018.10.11.15.13.43; Thu, 11 Oct 2018 15:13:59 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727162AbeJLFlG (ORCPT + 99 others); Fri, 12 Oct 2018 01:41:06 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:34406 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726647AbeJLFlF (ORCPT ); Fri, 12 Oct 2018 01:41:05 -0400 Received: by mail-oi1-f193.google.com with SMTP id v69-v6so8384228oif.1; Thu, 11 Oct 2018 15:11:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=5IgkOnyfQn8kd4GLJBdpgH9aUY5eeO9hCm+RmfPDebc=; b=tyEyvPzbkB+9QvdlREDIgAkIiYl91ZU2gIosQxwfpGKpRILJ8Hm44EUxl7qYZTUTHl 8y8OCVyiIa4zXJ+Vsm36ZQvJJtkzlWdj27rV9/yRZMFbtrp/29CDBCqMjButX8lx54rv fRld3s02Nc5fBrjaqTDbjGLO2baDh8WP/ERyOsgsjW9EPcvfjwJdsDq0gibaQh8XQQ5C k/QS2+f6W0MbDRct+Pu6flmcpiup3/BJHGaFqJaVHvoTBB8uD3TUnFgaVypjS5XrhryU wwBAf+P8khiUnjwQY4znNqyaDzASMIDbIQz4elkt1SrNUPQMtc7w8A/Lyrq5rgNE7m4Q ZJJQ== X-Gm-Message-State: ABuFfogtTdQowo+xQy8atPFt2bq46mpfJuh8RwLP9nV/LZEFyEEr8XJV 8MijfrL+9qhjgtu/TSdsuA== X-Received: by 2002:aca:a89:: with SMTP id k9-v6mr1954016oiy.297.1539295910119; Thu, 11 Oct 2018 15:11:50 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id k68-v6sm2629059oib.35.2018.10.11.15.11.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Oct 2018 15:11:49 -0700 (PDT) Date: Thu, 11 Oct 2018 17:11:48 -0500 From: Rob Herring To: Jae Hyun Yoo Cc: Brendan Higgins , Wolfram Sang , Benjamin Herrenschmidt , Joel Stanley , 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, Jarkko Nikula , James Feist , Vernon Mauery , Jae Hyun Yoo Subject: Re: [PATCH i2c-next v7 1/5] dt-bindings: i2c: Add 'bus-timeout-ms' and '#retries' properties as common optional Message-ID: <20181011221148.GA31195@bogus> References: <20181005214507.26315-1-jae.hyun.yoo@linux.intel.com> <20181005214507.26315-2-jae.hyun.yoo@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181005214507.26315-2-jae.hyun.yoo@linux.intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 5 Oct 2018 14:45:03 -0700, Jae Hyun Yoo wrote: > This commit adds 'bus-timeout-ms' and '#retries' properties as > common optional properties that can be used for setting 'timeout' > and 'retries' values of 'struct i2c_adapter'. With this patch, the > bus timeout value and the master transfer retries count can be set > through these properties at the registration time of an adapter. > Still the values can be set by I2C_TIMEOUT and I2C_RETRIES ioctls > on cdev at runtime too. > > These properties may not be supported by all drivers. However, if > a driver wants to support one of them, it should adapt the > bindings in this document. > > Signed-off-by: Jae Hyun Yoo > --- > Documentation/devicetree/bindings/i2c/i2c.txt | 6 ++++++ > 1 file changed, 6 insertions(+) > Reviewed-by: Rob Herring