From: Melin Tomas Date: Wed, 26 Jun 2019 11:25:57 +0000 Subject: [U-Boot] [PATCH v2 2/2] xilinx_xiic: Fix transfer initialisation In-Reply-To: <7776697b-a9fb-6994-b58e-67b6d7c8318f@denx.de> References: <20190625132929.97027-1-tomas.melin@vaisala.com> <20190625132929.97027-2-tomas.melin@vaisala.com> <60957db1-f355-8e7f-4074-046d98ea175c@denx.de> <3112b021-4575-a9d3-2fc6-f7fed5a7321f@vaisala.com> <3169e36e-e88b-bbce-689d-9e1bc2055b38@denx.de> <8a6de08c-913f-7dc5-09d8-c8748060df14@vaisala.com> <7776697b-a9fb-6994-b58e-67b6d7c8318f@denx.de> Message-ID: <10553d3f-547b-0193-e8ce-17e53d7db961@vaisala.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 6/26/19 1:47 PM, Marek Vasut wrote: > On 6/26/19 12:39 PM, Melin Tomas wrote: > >> As such, it's probably a good idea to keep the same delay values here as >> in the original driver unless good reason to use something else. >> >> As what goes for the original reasoning for 3ms, the commit history does >> not mention that so I cannot comment. > So would you be so kind and research this ? Based on a short study of other i2c bus drivers it seems most have bus busy timeout checks. The timeout values seems to differ, ranging from milliseconds to seconds. So probably it's just a number, after all it's just a check to know if we are good to go. thanks, Tomas