Received: by 10.223.176.5 with SMTP id f5csp2479915wra; Mon, 5 Feb 2018 04:55:38 -0800 (PST) X-Google-Smtp-Source: AH8x22794j/ThX+WYXZUieElNIMVzOEqtq4k3w22zbKQif9xFh5Q6OXvkhMLg98JKRYTHEVdKjD5 X-Received: by 10.99.123.92 with SMTP id k28mr5947536pgn.71.1517835338162; Mon, 05 Feb 2018 04:55:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517835338; cv=none; d=google.com; s=arc-20160816; b=O73wjFA1QNxqv0h+VXlqb6Gy44yfh0n7LyX5z1CzkJJDV3GN+FHzswJn9h5gpWBkEm JIVkfGqRwiim6Ge0Drtgy58fHr/7OG1/mymM4plXwEX1Jn4jUwUPHAnCwU4SKVYbs/qE mlH5vz5jRQsm19cc8kJdGhyn8AaH5EXw8rxWXwicnMd9RmH8I9zIOs2hIoT8z0Jc6yJm T16pB9HmtfcHKhejYlpunY6U5bK8zqzA3Q44U3akJOynkkBzvfwpxD2Zd5WumDeEDtwb 2/ZQhbcYhEuzc3xCpuRQ0XkkAJVY7xOVzzuT5xpxETtOpaopqkwf4kXjsURIsu7avH0M haFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:arc-authentication-results; bh=iTEhdMeWgO6AQBm+eiTdCFC+XZUi3pDbuQKMtzSVInE=; b=dC3lr6u6bEQJE0raF6ryV8lmKiFEXdHoRvYCLVNo9XBYs3espnkfP3e5yPJH58lGnL jOY+Z1clSQ64IyxFUqex632XvovAqLbiro+Ek7MwOudnimbrrE7dDNymWpJCcYk2MXBD UvKOUoVUstVWtmeNhcujw80tpIV2828SChEkB7e2hkZtxsW0q397IVcjm0Vm8w/Ehia1 ktVgxY/UC7hDJAbHRdO9WXjIV+Q8rG6H0QmfFDVelICXtUw0/wLxCE9O/D42rXLAzox1 OMohLPF3Q1q7JLTW+p9HPhUUxaYlPpcOQES4d5+gR7vuHgIMlQY4a8oALOagUQzm+qAk QHmA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b4-v6si6860220plb.648.2018.02.05.04.55.22; Mon, 05 Feb 2018 04:55:38 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752843AbeBEMyU (ORCPT + 99 others); Mon, 5 Feb 2018 07:54:20 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:42075 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753140AbeBEMyI (ORCPT ); Mon, 5 Feb 2018 07:54:08 -0500 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w15Cia1X020414; Mon, 5 Feb 2018 13:52:22 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2fxmgp8vmh-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 05 Feb 2018 13:52:22 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 7B49F31; Mon, 5 Feb 2018 12:52:20 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 433442811; Mon, 5 Feb 2018 12:52:20 +0000 (GMT) Received: from SFHDAG6NODE3.st.com (10.75.127.18) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 5 Feb 2018 13:52:19 +0100 Received: from SFHDAG6NODE3.st.com ([fe80::d04:5337:ab17:b6f6]) by SFHDAG6NODE3.st.com ([fe80::d04:5337:ab17:b6f6%20]) with mapi id 15.00.1347.000; Mon, 5 Feb 2018 13:52:19 +0100 From: Philippe CORNU To: Andrzej Hajda , Archit Taneja , Laurent Pinchart , David Airlie , "Brian Norris" , Benjamin Gaignard , Bhumika Goyal , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , Sandy Huang , Heiko Stubner , "linux-arm-kernel@lists.infradead.org" , "linux-rockchip@lists.infradead.org" CC: Yannick FERTRE , Vincent ABRIOU , Alexandre TORGUE Subject: Re: [PATCH] drm/bridge/synopsys: dsi: Add read feature Thread-Topic: [PATCH] drm/bridge/synopsys: dsi: Add read feature Thread-Index: AQHTnmkdhd8RvGsBqE+ovznsYCM5oaOVsrqA Date: Mon, 5 Feb 2018 12:52:19 +0000 Message-ID: <1fce104e-7cab-86a1-db49-5306e04d10b7@st.com> References: <20180204213104.17834-1-philippe.cornu@st.com> <81cb1f26-96f0-bdc6-28bc-4a7bda5a9459@samsung.com> In-Reply-To: <81cb1f26-96f0-bdc6-28bc-4a7bda5a9459@samsung.com> Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.51] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-05_02:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQW5kcnplaiwNCg0KQW5kIG1hbnkgdGhhbmtzDQpQaGlsaXBwZSA6LSkNCg0KT24gMDIvMDUv MjAxOCAxMTowNyBBTSwgQW5kcnplaiBIYWpkYSB3cm90ZToNCj4gT24gMDQuMDIuMjAxOCAyMjoz MSwgUGhpbGlwcGUgQ29ybnUgd3JvdGU6DQo+PiBUaGlzIHBhdGNoIGFkZHMgdGhlIERDUy9HRU5F UklDIERTSSByZWFkIGZlYXR1cmUuDQo+Pg0KPj4gU2lnbmVkLW9mZi1ieTogUGhpbGlwcGUgQ29y bnUgPHBoaWxpcHBlLmNvcm51QHN0LmNvbT4NCj4gDQo+IFJldmlld2VkLWJ5OiBBbmRyemVqIEhh amRhIDxhLmhhamRhQHNhbXN1bmcuY29tPg0KPiANCj4gSWYgdGhlcmUgd2lsbCBiZSBubyBvYmpl Y3Rpb25zIEkgd2lsbCBtZXJnZSBpdCBhdCB0aGUgZW5kIG9mIHRoZSB3ZWVrLg0KPiANCj4gIMKg LS0NCj4gUmVnYXJkcw0KPiBBbmRyemVqDQo+IA0KPj4gLS0tDQo+PiBFeHRyYSBub3RlczoNCj4+ IERTSSByZWFkIHRlc3RzIGhhdmUgYmVlbiBwZXJmb3JtZWQgd2l0aCBEQ1MgJiBHRU5FUklDLCBz aG9ydCAmIGxvbmcNCj4+IGNvbW1hbmRzLCBvbiB0d28gZGlmZmVyZW50IHBhbmVscy4NCj4+IFRo ZSBtYXhpbXVtIGZpZm8gc2l6ZSAoMzIqMzItYml0ID0gMTI4IGJ5dGVzIG9uIHN0bTMyKSBoYXMg YmVlbg0KPj4gdmVyaWZpZWQgdG9vLg0KPj4NCj4+ICAgZHJpdmVycy9ncHUvZHJtL2JyaWRnZS9z eW5v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