Received: by 10.213.65.16 with SMTP id m16csp222364imf; Mon, 12 Mar 2018 01:05:33 -0700 (PDT) X-Google-Smtp-Source: AG47ELspkfhuEIGRLbMYNO3LIY60SF1uvJI8QHOexB9QzGGF+wpSLNWIvKrwfUqwlt2t7TqYZmNu X-Received: by 2002:a17:902:b185:: with SMTP id s5-v6mr7214659plr.109.1520841933606; Mon, 12 Mar 2018 01:05:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520841933; cv=none; d=google.com; s=arc-20160816; b=vNVTca1dAbc2p/l08n1dgRLJzcAe/hoXr10VviYcva7V/mSEabbIPcGS82M2iYelOH 1EOPXWCAQB/ArHeQDTyT4RrZIYWHTB/BrU9/f+1vE3Ihx3e6wUNPD+HEkf+J5tz19iDh AYj56Sz7gt8FBIW5r4Oc8vW0Y/vO4zEOF5ze/W//5DofR3FxXILxZUVodfMY/RcIGBYz AZPRrVRkR6+bhR1EJCSANKm+5NJk98R4ieoI8WabAeeeWzESj+lGPMOLRiix1OJt+6Xf OCfSggpCyUOvvB4KNJ/ZxAWujw85BkU8sfc3YAWd1MYqCv/2W2n8IBvqvXme+qgdXtX/ /cbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=t9u9kixbDNRne+HSWVC5h5EFsam1KqmKByf+YkCm9P0=; b=jW3KGyNYYuahpeD7VnbIIcswGQGvZtRC/ul7tXGkJB5kmWNmclbNGuqn5OSNP73Wh/ /eLzm0BplJchEa7UEdPCgKoc4DkbIOfezxpStqeVEtoF7f/rg6D2BDMkWxYPlzz/Urna Scj5V8g6rRDXWRbWW7e2ho9aOkJqRr8Te7DpCVm/QeFphv2dmHw1QFAmP45xDoLw2Mzd 40ZADfm/VypYs71WSvpYz7nI6Z5O7J5NvHuS/kJGMQ7EkQQS3K98+DHJMRKGk8n9IZ8+ deon6Up3Sk3QaMJKSy7GmVVHq5ETin2ipNX1uYwdJunh2YITDSujLTn0dcTB7dycsBoW dicA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=t6+lmP2b; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x11-v6si5786817plm.218.2018.03.12.01.05.19; Mon, 12 Mar 2018 01:05:33 -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=@gmail.com header.s=20161025 header.b=t6+lmP2b; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752358AbeCLIEO (ORCPT + 99 others); Mon, 12 Mar 2018 04:04:14 -0400 Received: from mail-qt0-f193.google.com ([209.85.216.193]:37015 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751773AbeCLIEI (ORCPT ); Mon, 12 Mar 2018 04:04:08 -0400 Received: by mail-qt0-f193.google.com with SMTP id a23so6453203qtm.4; Mon, 12 Mar 2018 01:04:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=t9u9kixbDNRne+HSWVC5h5EFsam1KqmKByf+YkCm9P0=; b=t6+lmP2b2wCpeP2HRlunOelpY0KDHr6bnzjgQWFO5JqnW+FWiuFUNHUYdCsDALY2uI TdS8s5UmcPqRN1i4Mq1dWVZ1le3lYbp0T6jxEoodNXhQUDOzwdUaERFhgI5Q4lEXzUCS P1ReQrAYNzEPNE2jYfe6A9moP9tmAkDHub5kDoXLdF5jkMW154yW+yLqz4T82HHYiT4i b4fBxRI8ojmZXpAmlJTtDXQUaHG4a5OdzA0Edb3NUGuYJ/lh0hCLABl9f/0REnAHgxEl dpvZ+vpB3b8TsdxcjmVEc3QHkxD9WqOfOrSFaUWMZ+YzhMEYujcFakOm5xG2kbFywUQi p91w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=t9u9kixbDNRne+HSWVC5h5EFsam1KqmKByf+YkCm9P0=; b=NsqJpd4eTiZQI+T+ra4U/hN1Xaq4JQiwqDEB6qgVoZiI5F+D9nOwf0dtrSesff7jgJ Ix3CwfHqo1l8EMk77W6IBNDjr9SIy5lj2MzhP2V8xTIN6/Bg3UtmIazF5KIGYO2TjoiY 1K5RSBIXgdg4oqZufqnubztIu9emURBcwIk+B2q+arHMTwCcu1Rcxu84Nv5knV8QVjVl fDN7rgubZLa/1Jsa8gw2k9Baak3Em8srmq1acer38WSYN6reZxcIFAj5ZBh0YBF0XJJQ 5sH0AiAWC8MENk7pDLKlNeTmAJwj99SZojjvxHCMweQsFq/maGk3MMKLcz/rqdbiZATj PA2g== X-Gm-Message-State: AElRT7GqHXvVI9BB2P9oKTGcEbfYBj3ohtntppcx/gvJyVA7B5nUSlTA bbliFF5c7AXzRsfaL1SZfsM= X-Received: by 10.200.46.83 with SMTP id s19mr6584477qta.153.1520841847104; Mon, 12 Mar 2018 01:04:07 -0700 (PDT) Received: from localhost (p200300E41F1A6C00A7FFE15449086C5C.dip0.t-ipconnect.de. [2003:e4:1f1a:6c00:a7ff:e154:4908:6c5c]) by smtp.gmail.com with ESMTPSA id o63sm995462qtd.83.2018.03.12.01.04.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Mar 2018 01:04:06 -0700 (PDT) Date: Mon, 12 Mar 2018 09:04:04 +0100 From: Thierry Reding To: Philippe Cornu 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 Message-ID: <20180312080404.GE23060@ulmo> References: <20180302153222.4377-1-philippe.cornu@st.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sfyO1m2EN8ZOtJL6" Content-Disposition: inline In-Reply-To: <20180302153222.4377-1-philippe.cornu@st.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --sfyO1m2EN8ZOtJL6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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. >=20 > Version 1: > - Initial commit >=20 > Philippe Cornu (2): > dt-bindings/display/panel: Add support for Raydium rm68200 dsi panel > drm/panel: Add support for Raydium RM68200 panel driver >=20 > .../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/raydi= um,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. Thierry --sfyO1m2EN8ZOtJL6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlqmNHAACgkQ3SOs138+ s6FJPxAAkcVyNFgq6clEHSv/FUN5JRrV8NAYLAomWppOAD46e/9EekeQEPiPJ1zS UWcUDu/xySAH+FlkIgecDeO6v+V2F56qBEkrRyxqXTGtBffv2Q/p/jDioDGUniMA 63eSn4OUeHv4FEAyx1k92gdCxKdNwGMFINMkMvAOha3MryXGp4UpRfkiv3jFDJdG 6XQyUSV4UCtw33GA32kkCMSINNFZZHtxGuav6MUe4ZV32wYNca3dNnuBDTb7Ucu6 oJyZvyiX56ZrHd1mWW3ehR5ilt+5fobZjzNwnUiipdVLO3j+aWjHzm5xxNrw0C3a HPiQuN2oCF5Y7umnMpLVX/0jJPMKzCNV51nZJsWU3s1AoZ9jA5eqrrisVWGnlZC8 f5Wkms/1zjX8pIgsejD/QEZinKHr0SaX899MOPG4nbfBdtx52gNFVRiYereicmRe YBvzDVxpQPlsKHR0N8vVCm+jjXcdi2UeFMgTlCmm7WIyExvU/MDzXB6hPquWW6zN A9VF6lOUKIBw0q5dsg4VMa533p2LDvmeW0akXtL+nO6IZqJfAHKj2+wb6KZkayUV J6iiDwvYPw2Q6ovmCtvcytH+S88CEiYMzt50g8B32H7SGSkeBIUlfIpBifiNwQT4 sn7l1ieNAEThrOkv4mLL20g2PYdDBARFp+VaGoCMpT7as96zcD4= =w22k -----END PGP SIGNATURE----- --sfyO1m2EN8ZOtJL6--