From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753318AbdC0OkV (ORCPT ); Mon, 27 Mar 2017 10:40:21 -0400 Received: from mirror2.csie.ntu.edu.tw ([140.112.30.76]:40460 "EHLO wens.csie.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751385AbdC0OkE (ORCPT ); Mon, 27 Mar 2017 10:40:04 -0400 From: Chen-Yu Tsai To: Maxime Ripard , David Airlie , Rob Herring , Mark Rutland Cc: Chen-Yu Tsai , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH 0/2] drm/sun4i: Add display backend interrupt to dt binding Date: Mon, 27 Mar 2017 22:38:45 +0800 Message-Id: <20170327143847.16259-1-wens@csie.org> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Maxime, As promised, here is the patch adding the interrupt line for the display backend to the sun5i shared dtsi, and another one adding it to the device tree bindings. The display backend has an undocumented (in the user manual) interrupt that, according to vendor code, is raised when the current scanout is completed. This might be a better fit for DRM/KMS vblank signalling, rather than the TCON's vblank interrupt. If true, it would allow us to cut out the TCON from the crtc in the driver, instead keeping it solely as an encoder, simplifying some of the inter-component code. Regardless, the interrupt line exists and should be added to the device tree. Regards ChenYu Chen-Yu Tsai (2): drm/sun4i: Add display backend interrupt to device tree binding ARM: dts: sun5i: Add interrupt for display backend Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 2 ++ arch/arm/boot/dts/sun5i.dtsi | 1 + 2 files changed, 3 insertions(+) -- 2.11.0 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen-Yu Tsai Subject: [PATCH 0/2] drm/sun4i: Add display backend interrupt to dt binding Date: Mon, 27 Mar 2017 22:38:45 +0800 Message-ID: <20170327143847.16259-1-wens@csie.org> Reply-To: wens-jdAy2FN1RRM@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Maxime Ripard , David Airlie , Rob Herring , Mark Rutland Cc: Chen-Yu Tsai , dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Id: devicetree@vger.kernel.org Hi Maxime, As promised, here is the patch adding the interrupt line for the display backend to the sun5i shared dtsi, and another one adding it to the device tree bindings. The display backend has an undocumented (in the user manual) interrupt that, according to vendor code, is raised when the current scanout is completed. This might be a better fit for DRM/KMS vblank signalling, rather than the TCON's vblank interrupt. If true, it would allow us to cut out the TCON from the crtc in the driver, instead keeping it solely as an encoder, simplifying some of the inter-component code. Regardless, the interrupt line exists and should be added to the device tree. Regards ChenYu Chen-Yu Tsai (2): drm/sun4i: Add display backend interrupt to device tree binding ARM: dts: sun5i: Add interrupt for display backend Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 2 ++ arch/arm/boot/dts/sun5i.dtsi | 1 + 2 files changed, 3 insertions(+) -- 2.11.0 From mboxrd@z Thu Jan 1 00:00:00 1970 From: wens@csie.org (Chen-Yu Tsai) Date: Mon, 27 Mar 2017 22:38:45 +0800 Subject: [PATCH 0/2] drm/sun4i: Add display backend interrupt to dt binding Message-ID: <20170327143847.16259-1-wens@csie.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Maxime, As promised, here is the patch adding the interrupt line for the display backend to the sun5i shared dtsi, and another one adding it to the device tree bindings. The display backend has an undocumented (in the user manual) interrupt that, according to vendor code, is raised when the current scanout is completed. This might be a better fit for DRM/KMS vblank signalling, rather than the TCON's vblank interrupt. If true, it would allow us to cut out the TCON from the crtc in the driver, instead keeping it solely as an encoder, simplifying some of the inter-component code. Regardless, the interrupt line exists and should be added to the device tree. Regards ChenYu Chen-Yu Tsai (2): drm/sun4i: Add display backend interrupt to device tree binding ARM: dts: sun5i: Add interrupt for display backend Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 2 ++ arch/arm/boot/dts/sun5i.dtsi | 1 + 2 files changed, 3 insertions(+) -- 2.11.0