From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753161AbeDKMn3 (ORCPT ); Wed, 11 Apr 2018 08:43:29 -0400 Received: from mail.bootlin.com ([62.4.15.54]:49655 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753120AbeDKMn1 (ORCPT ); Wed, 11 Apr 2018 08:43:27 -0400 Date: Wed, 11 Apr 2018 14:43:25 +0200 From: Maxime Ripard To: Thierry Reding , Chen-Yu Tsai , Mark Rutland , Rob Herring , Frank Rowand Cc: 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 0/8] drm/sun4i: Allwinner MIPI-DSI support Message-ID: <20180411124325.youvfpws27l2wesf@flea> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4zfwx22vfp4b5ttk" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --4zfwx22vfp4b5ttk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 04, 2018 at 11:57:08AM +0200, Maxime Ripard wrote: > Hi, >=20 > Here is an preliminary version of the MIPI-DSI support for the Allwinner > SoCs. >=20 > This controller can be found on a number of recent SoCs, such as the > A31, A33 or the A64. >=20 > Given the sparse documentation, there's a number of obscure areas, but > the current implementation has been tested with a 4-lanes DSI panel on > an A33. >=20 > The support is a bit rough around the edges at the time, and some artifac= ts > are still shown on the screen for some reasons. Wider testing with > different display will hopefully nail those down. >=20 > This needs the regmap_mmio_attach_clk, on its way to Linus in 4.17. >=20 > Let me know what you think, > Maxime >=20 > Changes from v3: > - Rebased on top of current drm-misc-next > - Switched to SPDX license header > - Made the ECC array const > - Split the big DSI patch into two, one to add the DSI driver and one to > add the TCON bits. > - Removed the dithering code > - Changed the DT labels to remove the indices > - Used sleeps instead of delays in the panel driver > - Used the backlight_enable / _disable functions > - Added Chen-Yu's Reviewed-by >=20 > Changes from v2: > - Added a ports node under the DSI node > - Changed the huarui panel driver to an ili9881c driver > - Changed the panel vendor to bananapi > - Made the init table static in the panel driver > - Dropped the huarui vendor patch for the DT doc. >=20 > Changes from v1: > - Rebased on 4.16-rc1 > - Constified a few function arguments and structures > - Reworked the DT binding example a bit > - Reworked the panel driver to check for DSI return codes, and use DCS > helpers when possible >=20 > Maxime Ripard (8): > drm/sun4i: tcon: Add TRI finish interrupt for vblank > dt-bindings: display: Add Allwinner MIPI-DSI bindings > drm/sun4i: Add Allwinner A31 MIPI-DSI controller support > drm/sun4i: Tie the DSI controller in the TCON > dt-bindings: panel: Add the Ilitek ILI9881c panel documentation > drm/panel: Add Ilitek ILI9881c panel driver > ARM: dts: sun8i: a33: Add the DSI-related nodes > [DO NOT MERGE] arm: dts: sun8i: bpi-m2m: Add DSI display I just pushed the patches 1-4 and 7. I'll wait for some feedback from Thierry for the panel driver. Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --4zfwx22vfp4b5ttk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlrOAuwACgkQ0rTAlCFN r3RtbA/+MY1ciW/H1rpoYuORTd6yp21/tO4dqQXmM6XgDsnOcMbwQKjzSISD282K OJQn3ymle7r12icKlyBqtBkPIRxw7lXpjze9ymKpQ4CS96ge+g09LGOA+p6q5s1J +6H53S2xuLyjpv38Nl3E4F5xWGmKeqLx246mWGbdfBJzk5XUEJTWiPjjHrCFtG6R zxSjXTCy0frvN8t8SLZDdITzb9j4YLw/mE4MG1gaksWi0eAS6UYYK6TuykaVjGpZ 3AOLrQokwzNQzSQzHNmnm6vqZkYXavfFrw4NmDViqz3mb61TffDztbTPSfg/jX2S bkZBEBseqYjjMEtf6uxwxWGRdeebax1aih/buXXDdYwNhmXsVuxPUXKY4vZD8bJA tD8s/ItEz5OMeWYa4u8EzWDx2gg4lC3R/Cl8Wwa1Dvo7dnGfamo2G1UA+B/CyYb6 UYFXjSV9P0cZQsR5z/RL48hFDE2zvxGXc5S38WiBSfQSyQRtPynC8aiHgg+5PnzO CSFrG9qvo/nUaAYn18x5dCXLwt8kMmfEfwtkNyNJvdAyJ/4361JT+0My/dvozvyI v0BLKUoug0E3fnO9TXXNVnbjnnMZwIlD5bup+NtA9mmwPbA3G+ldZxdJPBiba6Jh DDv2h0igQRrHl376RPn88zidMR2/nFycvoc1vIOYQLNU5Oy2nLY= =80pr -----END PGP SIGNATURE----- --4zfwx22vfp4b5ttk-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH v4 0/8] drm/sun4i: Allwinner MIPI-DSI support Date: Wed, 11 Apr 2018 14:43:25 +0200 Message-ID: <20180411124325.youvfpws27l2wesf@flea> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0866289127==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Thierry Reding , Chen-Yu Tsai , Mark Rutland , Rob Herring , Frank Rowand Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Thomas Petazzoni , Daniel Vetter , linux-arm-kernel@lists.infradead.org List-Id: devicetree@vger.kernel.org --===============0866289127== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4zfwx22vfp4b5ttk" Content-Disposition: inline --4zfwx22vfp4b5ttk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 04, 2018 at 11:57:08AM +0200, Maxime Ripard wrote: > Hi, >=20 > Here is an preliminary version of the MIPI-DSI support for the Allwinner > SoCs. >=20 > This controller can be found on a number of recent SoCs, such as the > A31, A33 or the A64. >=20 > Given the sparse documentation, there's a number of obscure areas, but > the current implementation has been tested with a 4-lanes DSI panel on > an A33. >=20 > The support is a bit rough around the edges at the time, and some artifac= ts > are still shown on the screen for some reasons. Wider testing with > different display will hopefully nail those down. >=20 > This needs the regmap_mmio_attach_clk, on its way to Linus in 4.17. >=20 > Let me know what you think, > Maxime >=20 > Changes from v3: > - Rebased on top of current drm-misc-next > - Switched to SPDX license header > - Made the ECC array const > - Split the big DSI patch into two, one to add the DSI driver and one to > add the TCON bits. > - Removed the dithering code > - Changed the DT labels to remove the indices > - Used sleeps instead of delays in the panel driver > - Used the backlight_enable / _disable functions > - Added Chen-Yu's Reviewed-by >=20 > Changes from v2: > - Added a ports node under the DSI node > - Changed the huarui panel driver to an ili9881c driver > - Changed the panel vendor to bananapi > - Made the init table static in the panel driver > - Dropped the huarui vendor patch for the DT doc. >=20 > Changes from v1: > - Rebased on 4.16-rc1 > - Constified a few function arguments and structures > - Reworked the DT binding example a bit > - Reworked the panel driver to check for DSI return codes, and use DCS > helpers when possible >=20 > Maxime Ripard (8): > drm/sun4i: tcon: Add TRI finish interrupt for vblank > dt-bindings: display: Add Allwinner MIPI-DSI bindings > drm/sun4i: Add Allwinner A31 MIPI-DSI controller support > drm/sun4i: Tie the DSI controller in the TCON > dt-bindings: panel: Add the Ilitek ILI9881c panel documentation > drm/panel: Add Ilitek ILI9881c panel driver > ARM: dts: sun8i: a33: Add the DSI-related nodes > [DO NOT MERGE] arm: dts: sun8i: bpi-m2m: Add DSI display I just pushed the patches 1-4 and 7. I'll wait for some feedback from Thierry for the panel driver. Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --4zfwx22vfp4b5ttk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlrOAuwACgkQ0rTAlCFN r3RtbA/+MY1ciW/H1rpoYuORTd6yp21/tO4dqQXmM6XgDsnOcMbwQKjzSISD282K OJQn3ymle7r12icKlyBqtBkPIRxw7lXpjze9ymKpQ4CS96ge+g09LGOA+p6q5s1J +6H53S2xuLyjpv38Nl3E4F5xWGmKeqLx246mWGbdfBJzk5XUEJTWiPjjHrCFtG6R zxSjXTCy0frvN8t8SLZDdITzb9j4YLw/mE4MG1gaksWi0eAS6UYYK6TuykaVjGpZ 3AOLrQokwzNQzSQzHNmnm6vqZkYXavfFrw4NmDViqz3mb61TffDztbTPSfg/jX2S bkZBEBseqYjjMEtf6uxwxWGRdeebax1aih/buXXDdYwNhmXsVuxPUXKY4vZD8bJA tD8s/ItEz5OMeWYa4u8EzWDx2gg4lC3R/Cl8Wwa1Dvo7dnGfamo2G1UA+B/CyYb6 UYFXjSV9P0cZQsR5z/RL48hFDE2zvxGXc5S38WiBSfQSyQRtPynC8aiHgg+5PnzO CSFrG9qvo/nUaAYn18x5dCXLwt8kMmfEfwtkNyNJvdAyJ/4361JT+0My/dvozvyI v0BLKUoug0E3fnO9TXXNVnbjnnMZwIlD5bup+NtA9mmwPbA3G+ldZxdJPBiba6Jh DDv2h0igQRrHl376RPn88zidMR2/nFycvoc1vIOYQLNU5Oy2nLY= =80pr -----END PGP SIGNATURE----- --4zfwx22vfp4b5ttk-- --===============0866289127== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0866289127==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: maxime.ripard@bootlin.com (Maxime Ripard) Date: Wed, 11 Apr 2018 14:43:25 +0200 Subject: [PATCH v4 0/8] drm/sun4i: Allwinner MIPI-DSI support In-Reply-To: References: Message-ID: <20180411124325.youvfpws27l2wesf@flea> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Apr 04, 2018 at 11:57:08AM +0200, Maxime Ripard wrote: > Hi, > > Here is an preliminary version of the MIPI-DSI support for the Allwinner > SoCs. > > This controller can be found on a number of recent SoCs, such as the > A31, A33 or the A64. > > Given the sparse documentation, there's a number of obscure areas, but > the current implementation has been tested with a 4-lanes DSI panel on > an A33. > > The support is a bit rough around the edges at the time, and some artifacts > are still shown on the screen for some reasons. Wider testing with > different display will hopefully nail those down. > > This needs the regmap_mmio_attach_clk, on its way to Linus in 4.17. > > Let me know what you think, > Maxime > > Changes from v3: > - Rebased on top of current drm-misc-next > - Switched to SPDX license header > - Made the ECC array const > - Split the big DSI patch into two, one to add the DSI driver and one to > add the TCON bits. > - Removed the dithering code > - Changed the DT labels to remove the indices > - Used sleeps instead of delays in the panel driver > - Used the backlight_enable / _disable functions > - Added Chen-Yu's Reviewed-by > > Changes from v2: > - Added a ports node under the DSI node > - Changed the huarui panel driver to an ili9881c driver > - Changed the panel vendor to bananapi > - Made the init table static in the panel driver > - Dropped the huarui vendor patch for the DT doc. > > Changes from v1: > - Rebased on 4.16-rc1 > - Constified a few function arguments and structures > - Reworked the DT binding example a bit > - Reworked the panel driver to check for DSI return codes, and use DCS > helpers when possible > > Maxime Ripard (8): > drm/sun4i: tcon: Add TRI finish interrupt for vblank > dt-bindings: display: Add Allwinner MIPI-DSI bindings > drm/sun4i: Add Allwinner A31 MIPI-DSI controller support > drm/sun4i: Tie the DSI controller in the TCON > dt-bindings: panel: Add the Ilitek ILI9881c panel documentation > drm/panel: Add Ilitek ILI9881c panel driver > ARM: dts: sun8i: a33: Add the DSI-related nodes > [DO NOT MERGE] arm: dts: sun8i: bpi-m2m: Add DSI display I just pushed the patches 1-4 and 7. I'll wait for some feedback from Thierry for the panel driver. Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: