Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3434108ybi; Tue, 18 Jun 2019 00:22:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqwGhEYvz78QyapFunoV8K/fRMS5e0nqL+H3SyeiKUj0a9M89YrDeyRthS2Aw6P+o3kyXfrg X-Received: by 2002:a63:eb4f:: with SMTP id b15mr1351518pgk.418.1560842559870; Tue, 18 Jun 2019 00:22:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560842559; cv=none; d=google.com; s=arc-20160816; b=agtaKyedUXwVUjDVvM9WSbPw92DxKsXHOPfBXtNhfMXWZOns4wh09taxOieMLLiYfN /58AoFzOYjjjxKosfG5D6qt7/NS2B/ptZ28nUq3zuo4M96Vnr2eBAUG62Va0D+4ebh9B IYHY1mAcuJmLrHk/TYVP199QYAhVYENElXitt/OY95OHMjC2ay3AWgV7RTMpP5mYQ9Dy GAgRHLeTWJyQlxTWPFFitXUbuj1qKvQmygEARwa/lbVNg7xNmpupI/SfXMNn5iTx3sRW a3XAcsfItGLAU+yVyq0JIe2zsD4S1UzCPRp34ED3HWw/NjaJ8rDfojVIx/GqeReV6UYa qN2g== 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:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=nyuOV6CglSHuDLdY0O2UastX12zSWWKmRwAyLk4hZMA=; b=m3qj9Bj7UCCxdbGI8nhzObDtEim1ehhl3mquYgHvtVkaxh0d8KarqgiMhKf3GOkfjo 6ZkQQzOk6kQJhH4hRofkTubXfHpVpQ2SK8fSdRnFeHfzrUY743ZXvpDDA2MZzFgM1Cx7 zBYGErJLsVNLvnu/Nsau1EyQYtjQB/WLzphCN4leGWb3FRDJ7L2OM7FUTIm5Cd2QR4cu EaCFsr/kFXpQzrNWL2lI5bLlfjaoKjEgfaMmT+faiNqhqbDh0l9uu47pmsZuVAoukwZV i+YMo/7InRp4yXMHPXR/jFh9KU365g7OVE+3E6CQgO9Uz0Q5Q1V4pcjobmSBrtaAAowC zNVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="G/rIrbIR"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z185si12714302pfz.94.2019.06.18.00.22.24; Tue, 18 Jun 2019 00:22:39 -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=@nxp.com header.s=selector2 header.b="G/rIrbIR"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728830AbfFRHV7 (ORCPT + 99 others); Tue, 18 Jun 2019 03:21:59 -0400 Received: from mail-eopbgr30085.outbound.protection.outlook.com ([40.107.3.85]:5699 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726007AbfFRHV6 (ORCPT ); Tue, 18 Jun 2019 03:21:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nyuOV6CglSHuDLdY0O2UastX12zSWWKmRwAyLk4hZMA=; b=G/rIrbIRTsJrb/1d7XOWG4Uc+xXElqM6BSqmZwZ4roS8hXjm2AoRivo+QEH6kSxGYAaC4jViJEJDgY5+aMMKV3ZpZm+KJNkvsz/VQEI6CRH3Oru6YVKlvbnZhLgKyIBm2HYYtbVr7liTNBfH1skcdG5ZNS/vZ/kLY9yqBBjbUbE= Received: from VI1PR04MB5967.eurprd04.prod.outlook.com (20.178.123.141) by VI1PR04MB3151.eurprd04.prod.outlook.com (10.170.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.15; Tue, 18 Jun 2019 07:21:50 +0000 Received: from VI1PR04MB5967.eurprd04.prod.outlook.com ([fe80::3dd4:5031:dc06:1fd7]) by VI1PR04MB5967.eurprd04.prod.outlook.com ([fe80::3dd4:5031:dc06:1fd7%7]) with mapi id 15.20.1965.018; Tue, 18 Jun 2019 07:21:50 +0000 From: Robert Chiras To: "sam@ravnborg.org" CC: dl-linux-imx , "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , "devicetree@vger.kernel.org" , "daniel@ffwll.ch" , "mark.rutland@arm.com" , "dri-devel@lists.freedesktop.org" , "thierry.reding@gmail.com" , "airlied@linux.ie" Subject: Re: [EXT] Re: [PATCH 2/2] drm/panel: Add support for Raydium RM67191 panel driver Thread-Topic: [EXT] Re: [PATCH 2/2] drm/panel: Add support for Raydium RM67191 panel driver Thread-Index: AQHVIqdzFTZPTbEojEKDO3NY8aRErKabQT4AgAXGbgA= Date: Tue, 18 Jun 2019 07:21:50 +0000 Message-ID: <1560842508.9328.53.camel@nxp.com> References: <1560513063-24995-1-git-send-email-robert.chiras@nxp.com> <1560513063-24995-3-git-send-email-robert.chiras@nxp.com> <20190614151018.GA28829@ravnborg.org> In-Reply-To: <20190614151018.GA28829@ravnborg.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Evolution 3.18.5.2-0ubuntu3.2 authentication-results: spf=none (sender IP is ) smtp.mailfrom=robert.chiras@nxp.com; x-originating-ip: [89.37.124.34] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 93f0b31f-246f-467c-c3e1-08d6f3bda1a4 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:VI1PR04MB3151; x-ms-traffictypediagnostic: VI1PR04MB3151: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 007271867D x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(346002)(366004)(39860400002)(136003)(396003)(189003)(199004)(5660300002)(186003)(66556008)(486006)(305945005)(64756008)(36756003)(66446008)(7736002)(476003)(229853002)(103116003)(8936002)(446003)(71200400001)(478600001)(102836004)(76176011)(66476007)(1730700003)(2616005)(81166006)(6506007)(316002)(50226002)(76116006)(8676002)(14454004)(44832011)(99286004)(71190400001)(11346002)(6916009)(54906003)(81156014)(66946007)(73956011)(86362001)(6116002)(53936002)(6486002)(4326008)(2351001)(66066001)(3846002)(25786009)(14444005)(5640700003)(6436002)(2501003)(26005)(6246003)(256004)(6512007)(5024004)(68736007)(2906002)(30864003)(53946003)(99106002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB3151;H:VI1PR04MB5967.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: uZaOtFHmf7ze3L5urVFk9miqTrkMOJpOIU0UWoueU7b5S6w3edCj4BELc+295278tYbQM4LmqMBs4JxKC4dA9mgaffQ9WW/PPYZYb7ZF7iTyAlT1yB8+axSlpOaosAK9B9KSb6e4/K0ADzKrNBnnCi5rDz43Bfdwyix/5cC5Hferuef0ZuHfIYRRwp7aw2Ysv8ynPry/+vVXmB5bvr+Uw9wHYUqgbXgBdhW06eBaWR/u6YwBoekG/f3QeNTcPYDY85i4/L3NA3CdWUnSK9cmALyaoUBbfoXsmkVFX7QdqjVvVArSuW+hCiluen3X8CbW8gusxrMTw6xR7VOC/i1ItV84bWPML6jbfNHehNg86Tpk8MNneLEREu9yfe2N3aR1CF3QtQVZ2cgg3P34ynvDPneUG057qkQS4P9SyQeKdH4= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 93f0b31f-246f-467c-c3e1-08d6f3bda1a4 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jun 2019 07:21:50.3963 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: robert.chiras@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3151 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgU2FtLA0KDQpUaGFuayB5b3UgZm9yIHlvdXIgc3VnZ2VzdGlvbnMuDQpTZWUgbXkgcmVwbHkg aW5saW5lLg0KDQpPbiBWaSwgMjAxOS0wNi0xNCBhdCAxNzoxMCArMDIwMCwgU2FtIFJhdm5ib3Jn IHdyb3RlOg0KPiBIaSBSb2JlcnQuDQo+IA0KPiBPbiB0b3Agb2YgdGhlIGZlZWRiYWNrIGZyb20g RmFiaW8gaGVyZSBpcyBhIGJpdCBtb3JlLg0KPiANCj4gPiANCj4gPiArDQo+ID4gKyNpbmNsdWRl IDxkcm0vZHJtUC5oPg0KPiA+ICsjaW5jbHVkZSA8ZHJtL2RybV9jcnRjLmg+DQo+ID4gKyNpbmNs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