Received: by 10.223.176.5 with SMTP id f5csp4152141wra; Tue, 30 Jan 2018 02:59:24 -0800 (PST) X-Google-Smtp-Source: AH8x224pTnrmfKAIasnw7DGvQGk1FTK0mI0TESNNiejQ9yb+f5IMXyTTCvoJiPvHkR88PBKUNPTP X-Received: by 10.98.75.146 with SMTP id d18mr30237653pfj.11.1517309964790; Tue, 30 Jan 2018 02:59:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517309964; cv=none; d=google.com; s=arc-20160816; b=SnePMQPNG2WZNMlLx8FrLL9hxOYaAXk99IWQs9h5osSrYOKi5UnXDCyl12vLRD4V+x d1Nl9lnl6hMV47GhBvcBMZ1CST5itVnsNjXplor4L+8BIeEbVqi76d//nf5j6ifxB6WX cEnOSIbkMSY/lSFyM5h/ViUXo/zeUlGn+InJB9VpdTxTTUOwJLSEGkvkZwsPTlO8I/jJ hKtmLpIzUMdMDSghQi8ZVxoolWWnfZ69ZbSP9N94K3N7P2T6xuk/IbfDwgkCihYwRcJy CaDSxBY5cNkYzxjbd7vrWFQlFCcrShtbwPcEsZiLrwoP3LK5ujCOY3jqZJo7Ow/aIo4O b3Xw== 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=FNqGvSQa/ReAJRxcvupYdDATnfrFze5obHgZJ7ak/bo=; b=q6Y2wD6EpoWA27n4OPpVKIixe40AboTupKJAy6IVOcZZYhkuEUC8o/O2xh3ltdfaIY DuPQZvcODxisdCybcP0xKgvp67eyJztCBP6Qb3oOTSvEVXq26TlXezqlHODDipV5qdc6 d4WJATks/7j3NjPo5QYSspOJXxpFpAcy8ZwT5Tyiezx4E9B8sA5TWblpsYAOTiFSDBFM 9F6vaQ7w0i6KOoD7geEZ0GlLacIh9aSQ/8SyFeS+xh+8COMGsK5m+85+Rhbn5GjV6bbw 2BxaOQ/JMoXR3fbKH8FH/KC9dUtYNdF227s6Kl0hgWkEZvOyTCfhrHktpC7W3hUsUnuv 8oRQ== 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 b130si1084613pga.61.2018.01.30.02.59.10; Tue, 30 Jan 2018 02:59:24 -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 S1751632AbeA3K6R (ORCPT + 99 others); Tue, 30 Jan 2018 05:58:17 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:48503 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751378AbeA3K6Q (ORCPT ); Tue, 30 Jan 2018 05:58:16 -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 w0UArnjq005513; Tue, 30 Jan 2018 11:57:57 +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 2ft0stqej8-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 30 Jan 2018 11:57:57 +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 9CFC031; Tue, 30 Jan 2018 10:57:56 +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 7510F276E; Tue, 30 Jan 2018 10:57:56 +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; Tue, 30 Jan 2018 11:57:56 +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; Tue, 30 Jan 2018 11:57:56 +0100 From: Philippe CORNU To: Benjamin Gaignard CC: Yannick FERTRE , Vincent ABRIOU , David Airlie , "dri-devel@lists.freedesktop.org" , "Linux Kernel Mailing List" , Archit Taneja , Andrzej Hajda , "Laurent Pinchart" , Fabien DESSENNE , Mickael REULIER , "Ludovic BARRE" , Alexandre TORGUE , Maxime Coquelin Subject: Re: [PATCH] drm/stm: dsi: Add 1.31 version support Thread-Topic: [PATCH] drm/stm: dsi: Add 1.31 version support Thread-Index: AQHTmbh4u/+luY3SjUC18BvZ9Db/YKOMLiiA Date: Tue, 30 Jan 2018 10:57:56 +0000 Message-ID: References: <20180122164628.24728-1-philippe.cornu@st.com> In-Reply-To: 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.5.0 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.47] Content-Type: text/plain; charset="utf-8" Content-ID: <0EB9E62015479F4CB086B24B053DAF36@st.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-01-30_06:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID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