Received: by 10.213.65.68 with SMTP id h4csp135018imn; Mon, 12 Mar 2018 09:01:31 -0700 (PDT) X-Google-Smtp-Source: AG47ELvzGoUT/yTAVEsQASh7YxP1Te3HMLuetVNACaTTtQVjkHzQmvKsxOItHT/keLqF/YefDdsr X-Received: by 2002:a17:902:6a89:: with SMTP id n9-v6mr8738142plk.51.1520870491718; Mon, 12 Mar 2018 09:01:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520870491; cv=none; d=google.com; s=arc-20160816; b=MfwQrfJ4r7NyeMSj+CTN6fjuY7VDkLrMlS70sOrR2tBBy5MLn62uqSEYji8ljam0TU LNG3Ia1m3TEtzsRISYZ/7BYwAFUNkXEV8iHv3poI59667HqQD5pm+h2AOx88kP5Ep3mR YqqcEvFwlM3JdJjh4Y5HtuJre08xEOKs4VT18Z/kCdytYXcJ0BG/Ksg+tVVJQRTkrDsi wfITNtsIJfUxJ/YuyHjXMZynkgJCx0CDZhYoqkzZPzOCTkuVGc9bHf+mqys9Yg4gJIwC W/S+JZFKuZPWKxFvt5VzIC0Q2wWKGLrA8BjybFfZNidbylB5gPsHwz2l29ykvSLfJtoO NaTg== 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=JG0cxiFv7me7mF4eTxRa+wUWdMA3BMsasNfjmnpaXTc=; b=DSkUldY1BuEGETuMoqw0AO1UZdvKGT/plE2ZDM5xUPcAz5XJGfdU6O8acJ2Rf+rO9O QVsbjI1NnP+a5XkxB4io2Wg9jt33y9Q5ftrvXyirN627nerNTmQdw8MpsYeUiTB05YmW g74bMPg3AcThvEkoAPFoNvBW3FwxQyx1CWUzOsxrGwT+1bMkxhSDDLxaGAzaC5BIyBl/ sb6+MBwoJi0M87+12YqsRKroNFL0NK3a/T6lIR+/odfQkASwEL0bJOd0gRG12BrKNIes jldhdStc0mGCouZSdiV03Qd9AKpB44hjbyI5q4gOS/yRw7igJhEYzv2z4ubW+Q3d62d1 HVoQ== 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 x6si1794229pge.286.2018.03.12.09.01.10; Mon, 12 Mar 2018 09:01:31 -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; 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 S932646AbeCLQAU convert rfc822-to-8bit (ORCPT + 99 others); Mon, 12 Mar 2018 12:00:20 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:20069 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932425AbeCLQAS (ORCPT ); Mon, 12 Mar 2018 12:00:18 -0400 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w2CFx2kE006937; Mon, 12 Mar 2018 17:00:01 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2gnum40ag8-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 12 Mar 2018 17:00:01 +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 3E1CC113; Mon, 12 Mar 2018 16:00:00 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node1.st.com [10.75.127.16]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id EE7094F83; Mon, 12 Mar 2018 15:59:59 +0000 (GMT) Received: from SFHDAG6NODE3.st.com (10.75.127.18) by SFHDAG6NODE1.st.com (10.75.127.16) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 12 Mar 2018 16:59:59 +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, 12 Mar 2018 16:59:59 +0100 From: Philippe CORNU To: Thierry Reding CC: David Airlie , Rob Herring , "Mark Rutland" , "dri-devel@lists.freedesktop.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Andrzej Hajda , "Yannick FERTRE" , Benjamin Gaignard , Vincent ABRIOU , Alexandre TORGUE Subject: Re: [PATCH v2 0/2] drm/panel: Add support for Raydium RM68200 panel Thread-Topic: [PATCH v2 0/2] drm/panel: Add support for Raydium RM68200 panel Thread-Index: AQHTudi0Oyo9EFQFMEm6G8D1U01ilqPMseEA Date: Mon, 12 Mar 2018 15:59:59 +0000 Message-ID: References: <20180302153222.4377-1-philippe.cornu@st.com> <20180312080404.GE23060@ulmo> In-Reply-To: <20180312080404.GE23060@ulmo> 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.47] Content-Type: text/plain; charset="Windows-1252" Content-ID: <0CFB7451E2AADD4BAD2D20AD3F1A7288@st.com> Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-12_09:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thierry, On 03/12/2018 09:04 AM, Thierry Reding wrote: > On Fri, Mar 02, 2018 at 04:32:20PM +0100, Philippe Cornu wrote: >> The Raydium Semiconductor Corporation RM68200 is a 5.5" 720x1280 >> TFT LCD panel connected using a MIPI-DSI video interface. >> >> Version 2: >> - Add Rob Herring Reviewed-by on dt-bindings. >> - Update Kconfig & driver thanks to Thierry Reding comments: no more >> DRV_NAME, DRM_WARN_ONCE instead of DRV_NAME where applicable, use >> backlight_enable/disable() & devm_of_find_backlight(), no extra >> gpio reset to 0, no more msg if successful, use RM68200 instead of >> rm68200 where necessary. >> >> Version 1: >> - Initial commit >> >> Philippe Cornu (2): >> dt-bindings/display/panel: Add support for Raydium rm68200 dsi panel >> drm/panel: Add support for Raydium RM68200 panel driver >> >> .../bindings/display/panel/raydium,rm68200.txt | 25 ++ >> drivers/gpu/drm/panel/Kconfig | 8 + >> drivers/gpu/drm/panel/Makefile | 1 + >> drivers/gpu/drm/panel/panel-raydium-rm68200.c | 437 +++++++++++++++++++++ >> 4 files changed, 471 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/display/panel/raydium,rm68200.txt >> create mode 100755 drivers/gpu/drm/panel/panel-raydium-rm68200.c > > Applied, thanks. There were a few tiny things I wasn't entirely happy > about, but I fixed those up myself. > > Most notable was the use of DRM_WARN_ONCE(), which is bad in this case > because it won't show any subsequent errors, ever again. I think in this > case the proper solution is DRM_ERROR_RATELIMITED(), or erroring out on > the first error, assuming that subsequent operations won't succeed > either. I went with the rate limitation. Big thank you for your nice cleanups and reworks, I will follow those in the future :-) I take the opportunity to thank you also for the merge of the 2 otm8009a patches. Moreover, if you think I need to update otm8009a driver with the same reworks (include order, DRM_ERROR_RATELIMITED, error msg, remove msg if successfull, struct data alignment...), please tell me :) Note: I plan to update it soon with new backlight_enable/disable api... Thank you again, Philippe :-) > > Thierry >