Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp440323yba; Fri, 5 Apr 2019 09:36:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxS1orTtKQSYCM2H9OnLuhmda7pR/86OUjIxjgvz1O1YbyYU3/uDmRfctu6o+ZczFgSKHK X-Received: by 2002:aa7:9432:: with SMTP id y18mr13712585pfo.61.1554482181082; Fri, 05 Apr 2019 09:36:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554482181; cv=none; d=google.com; s=arc-20160816; b=CooxAYNmrZZosYEYRRMPbCXoxV7dCiI/26vB3E4nbsI8B08A3xIHvl3oP/cWAdBKEg 1/oZMc62i0LmB+1yp3uAdIBqusw6tZWVBPskKJInhLUNmupcHaBZoGj29YuI9q7LIrPm oAx04YkpOBtaWfE0NIN64LKNS1k8UsPxC4PnHJm7jK0UzuyyFfsjGUGw2j95dQoCv2YZ xHAuIZXvh6TkVz3Cou7udGI3Lku3dJDQBJqA+SAWYM2Q/6HFA0A0dr6sNrltBWHXGOrm f4oxTR/Bz2xZtjtuIn2Ed02cGSssEi+zjD7lfI7REtMWj44sZ9X7hQQoGG+ldk/bk7tJ WNRQ== 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:to :from:dkim-signature; bh=cntIyWAi4fvBOSdA0ykPCoJbdRmSoT3Yb5kwoW9iNlY=; b=Pfx0vOU940VwK1sVt0WaHiuAHBI7m9RGn/2jYtk4XhIzyI/y4OYWivNMCWid1kdf9W BWtgUo6eSXKX+FkurmpTbnK91nYkEcePlk6C9DTLk6Hndb1w/AbGovKJdDK0ezra2kt6 E+APJQW1DKR8pwoObr5XSkvi/DqTDtEU1f8DzlIi9CR9NGFpkjFUcp2k6HOfvMQcFlI7 zEauXrwfrCFfnfDniY2EGHvEroYWJTvGdHhKzHn/fq+eIp7W+DYgXJaFlRBrgamKeMhA df8Mxtk2Ndd8YQZmcdEw8luviy/VWy3RChfXBuitAAOFAGx1JQ+56Y2bHo+lj0NDV41Y k+lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=VC3odIxU; 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 u18si19669838pfm.84.2019.04.05.09.36.05; Fri, 05 Apr 2019 09:36:21 -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; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=VC3odIxU; 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 S1731620AbfDEQew (ORCPT + 99 others); Fri, 5 Apr 2019 12:34:52 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:28030 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729269AbfDEQew (ORCPT ); Fri, 5 Apr 2019 12:34:52 -0400 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x35GM1ba013638; Fri, 5 Apr 2019 18:34:37 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=STMicroelectronics; bh=cntIyWAi4fvBOSdA0ykPCoJbdRmSoT3Yb5kwoW9iNlY=; b=VC3odIxU36aO9Y1T1MILMKOoqPzAxewvObTQPvdHLpmPTjgBU6OZOrOzWxb7C9QsR2h/ /aNXoY3VE9m/Gu9bT/G+UTcMK3rHI7MoFeawD7leaRmkr9ADH0Z+OaWOnSA5tXHqtXgZ XUP31cqhA72LWq4u4FpulXLEM9wrQ6Vxk8JXK4NmkxT8NQcRNaFu9FxrSMBUuywO0pXf LTrwpWciwajbxp0FGUieQNfHHhPmMiP5LDJnzMG16GSg14MpDMCXHlohIX3y2ToCgRl+ m2RXuT5r2HC5ls4YfUUvc+avSSsBnl9r77ztPz5elHaMhFATjY4DobcEZ8W5/esrMk1O Bw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2rmharjym9-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 05 Apr 2019 18:34:37 +0200 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 71CF134; Fri, 5 Apr 2019 16:34:36 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node3.st.com [10.75.127.15]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 446D0501A; Fri, 5 Apr 2019 16:34:36 +0000 (GMT) Received: from SFHDAG6NODE3.st.com (10.75.127.18) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 5 Apr 2019 18:34:35 +0200 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; Fri, 5 Apr 2019 18:34:35 +0200 From: Philippe CORNU To: Yannick FERTRE , Benjamin GAIGNARD , Vincent ABRIOU , "David Airlie" , Daniel Vetter , Rob Herring , Mark Rutland , Maxime Coquelin , Alexandre TORGUE , "dri-devel@lists.freedesktop.org" , "devicetree@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v1 2/5] drm/stm: dw_mipi_dsi-stm: add support of an optional regulator Thread-Topic: [PATCH v1 2/5] drm/stm: dw_mipi_dsi-stm: add support of an optional regulator Thread-Index: AQHU6fWRxyBCZlD2VEeDzVBelHoTlqYtpXaA Date: Fri, 5 Apr 2019 16:34:35 +0000 Message-ID: References: <1554279389-27377-1-git-send-email-yannick.fertre@st.com> <1554279389-27377-3-git-send-email-yannick.fertre@st.com> In-Reply-To: <1554279389-27377-3-git-send-email-yannick.fertre@st.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:60.0) Gecko/20100101 Thunderbird/60.6.1 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.45] Content-Type: text/plain; charset="utf-8" Content-ID: <1ED47A6DDFC244478BDD886D005658FD@st.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-04-05_12:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDQvMy8xOSAxMDoxNiBBTSwgWWFubmljayBGZXJ0csOpIHdyb3RlOg0KPiBBZGQgc3Vw cG9ydCBvZiBhbiBvcHRpb25hbCByZWd1bGF0b3IgZm9yIHRoZSBwaHkgcGFydCBvZiB0aGUgRFNJ DQo+IGNvbnRyb2xsZXIuDQo+IA0KPiBTaWduZWQtb2ZmLWJ5OiBZYW5uaWNrIEZlcnRyw6kgPHlh bm5pY2suZmVydHJlQHN0LmNvbT4NCj4gLS0tDQo+ICAgZHJpdmVycy9ncHUvZHJtL3N0bS9kd19t aXBpX2RzaS1zd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