Received: by 10.192.165.148 with SMTP id m20csp1883359imm; Thu, 3 May 2018 07:00:28 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpeUxuiWJtjkpyZpj/m1RYrd7QolujWIMuws0PEvlL1tevz3XpABZ1y4eAe+DyrtsyAjRYj X-Received: by 2002:a17:902:6b47:: with SMTP id g7-v6mr24063776plt.251.1525356028456; Thu, 03 May 2018 07:00:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525356028; cv=none; d=google.com; s=arc-20160816; b=QQhrg9VNAH9+EME+hdyRCPdnRbPcFzACXwkBA7VBisNyxNHgZJxXgrC2RwS+J7DrwF 49CAnXA/8LlkN4mqOmilUUiPQRixY1WTWHeWaGOBbTg4ZczoPBUmGlGlSRx2/nMzi4CT TeUtEPwLBzed/wHtCpJvqhvGjETmgh42TsP+1wJUt95M0M6nvJy5xu7ZrNUfFoRTYFXQ fHnPm5qx+hSvVgR52MMmNjVBDVqhQz2GKR+0YNcxnCO8JML5m1MjHDzsr+vCZw1eMEza TGbUCpwmNR098DPcPkGodC+EcDNNUCNI1VAT6mkYsX9STKgvoqZIlqDflR5rVyWplts9 4hHw== 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:arc-authentication-results; bh=g+w7kgdBf3d976p7/uiXDGusFLY9FMtpLG7rNc7Eh8M=; b=Oimmld73lx8X4dG46EF84cCUvOxkJI1QMmZcJuwjjKuvXsqiSpol+POu7wNwjF2l+Y YqTd7i6oGonrvn9Pzl4fbq7x5NnHl3zXq8KLIK+JlTzFI4YSi6sWaj418NhiLuZ+JR2q uVvLSc144B/lhKFs/BhZlhjP5UNMdL353Oo6sBH6MWXU+7hzn3pyGb+KYAWnM9nLRFwc mCbXu+O5ljlgdKAKu0IbKrrQLoh8hSdAHVnCq1IYVrDmmJagxG0Iyfm/weFkGpkQCM5W wtHya3cYrz1sADgw0q+F68/qTBSUAQCog9qRwF64gbfPoXf1s/JhHGcf51nHdV0L1x2g 31Fg== 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 p11-v6si4720728pgn.267.2018.05.03.06.59.44; Thu, 03 May 2018 07:00:28 -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 S1751195AbeECN7R (ORCPT + 99 others); Thu, 3 May 2018 09:59:17 -0400 Received: from mail.bootlin.com ([62.4.15.54]:55566 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750947AbeECN7Q (ORCPT ); Thu, 3 May 2018 09:59:16 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 1D30A20723; Thu, 3 May 2018 15:59:14 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id E22632036F; Thu, 3 May 2018 15:59:03 +0200 (CEST) Date: Thu, 3 May 2018 15:59:04 +0200 From: Maxime Ripard To: Thierry Reding Cc: Chen-Yu Tsai , Mark Rutland , Rob Herring , Frank Rowand , dri-devel@lists.freedesktop.org, Gustavo Padovan , Daniel Vetter , Maarten Lankhorst , Sean Paul , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Thomas Petazzoni Subject: Re: [PATCH v4 6/8] drm/panel: Add Ilitek ILI9881c panel driver Message-ID: <20180503135904.bxobnijc3qadpz4f@flea> References: <20180426150712.GF31888@ulmo> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qlm2nnhy75vsga56" Content-Disposition: inline In-Reply-To: <20180426150712.GF31888@ulmo> User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --qlm2nnhy75vsga56 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Thierry, Thanks for your review, I'll fix the other things you pointed out. On Thu, Apr 26, 2018 at 05:07:12PM +0200, Thierry Reding wrote: > > +static int ili9881c_send_cmd_data(struct ili9881c *ctx, u8 cmd, u8 dat= a) > > +{ > > + u8 buf[2] =3D { cmd, data }; > > + int ret; > > + > > + ret =3D mipi_dsi_dcs_write_buffer(ctx->dsi, buf, sizeof(buf)); > > + if (ret < 0) > > + return ret; > > + > > + return 0; > > +} >=20 > According to this you're sending DCS commands, but none of the above > look like valid DCS commands. Do you know what's going on here? It looks to me that they are custom DCS commands. > Also, can you include a reference to a datasheet where these > instructions come from? I'm not sure an Excel spreadsheet coming from the panel supplier would be a good thing to include in a driver :) Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --qlm2nnhy75vsga56 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlrrFacACgkQ0rTAlCFN r3Rd5w/+L3D/cUYcXj2rREM7Lt+SiwZWXdV7pIkLbY+MtKn7rxLqPewXTO/oSaoX ylzyDJ+nftxiVJIFf+iU+EyI/zjjvGBeJ+QsMcT0Iqpz3SeR0qdjWTOL7VZ4HaEQ TAexYkBHRhONKuc5g1boRwZ9a0sa8jhAy+C2kQKO+kC018GgU6/jg+TYKux9Sekn jzglGTsIEpq5TJv9XfbzfTJ6zQmL482a+8EIqz66aIY+TbZUjAk3z7Kqac4bM7fl OlyjRSK9Pa5U0O7kxjGsVEyJ45Wgl9UZOnNSfJYeLLqu/H1qyWOOwzuf6oyKnPda q4YdZg8gYqhlZ671AA38M6xlGVmGWL0bvAwPHHEvhbm5ct6ezACeY5kSfBUjpE7e FwdMIniPisqqP+ZHaRq7oi8SNQ6mWx208jL7I+tU9YnI+pptPjKbuyDQJEDC+3l9 k1AA4YE0BORG4PEaLsNwj4kBBRh80EeUbBhfd15kTDwmqXkF/7IOPnjqte22O/Wg KW9O7pStLON1cguU+VvDIYDHmkQx0cgyMc3hJ4J99rlEtPv6q2mVSRBmb4WEVGNI wmkioOUSWN3h46ez2mNTLOK2pK5ED+Jmo6jVxo55K5Elx+h7KiojS+/NzQygA3Ml KqygE4kaJyZiWNFlEH0B7zzOt/SdCqwxngRs6QGtZCtqSzlRzAQ= =CZiK -----END PGP SIGNATURE----- --qlm2nnhy75vsga56--