From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752363AbdBFBWh (ORCPT ); Sun, 5 Feb 2017 20:22:37 -0500 Received: from mail-oi0-f66.google.com ([209.85.218.66]:35414 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751165AbdBFBWf (ORCPT ); Sun, 5 Feb 2017 20:22:35 -0500 MIME-Version: 1.0 In-Reply-To: References: <20170204033635.10250-1-robh@kernel.org> <20170204033635.10250-5-robh@kernel.org> From: Fabio Estevam Date: Sun, 5 Feb 2017 23:22:34 -0200 Message-ID: Subject: Re: [PATCH 4/5] drm: convert drivers to use drm_of_find_panel_or_bridge To: Rob Herring Cc: Marek Vasut , David Airlie , Daniel Vetter , Sean Paul , DRI mailing list , "devicetree@vger.kernel.org" , linux-kernel , Frank Rowand , Boris Brezillon , Archit Taneja , Jingoo Han , Inki Dae , Joonyoung Shim , Seung-Woo Kim , Kyungmin Park , Kukjin Kim , Krzysztof Kozlowski , Javier Martinez Canillas , Stefan Agner , Alison Wang , Xinliang Liu , Rongrong Zou , Xinwei Kong , Chen Feng , Philipp Zabel , CK Hu , Matthias Brugger , Mark Yao , Heiko Stuebner , Maxime Ripard , Chen-Yu Tsai , Liviu Dudau , Mali DP Maintainers , Neil Armstrong , Carlo Caione , Kevin Hilman , Rob Clark , Jyri Sarha , Tomi Valkeinen , Eric Anholt , Russell King Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 5, 2017 at 10:01 PM, Fabio Estevam wrote: > > The tda998x_probe() returns success, but tda998x_bind() is never called. > > I am trying to understand what needs to be done in > drivers/gpu/drm/mxsfb/ so that it can bind the tda998x driver. Looks like that converting to component style and adding component_bind_all() does the trick: [ 1.323772] tda998x 2-0070: found TDA19988 [ 1.342381] mxsfb 2220000.lcdif: bound 2-0070 (ops tda998x_ops) From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Estevam Subject: Re: [PATCH 4/5] drm: convert drivers to use drm_of_find_panel_or_bridge Date: Sun, 5 Feb 2017 23:22:34 -0200 Message-ID: References: <20170204033635.10250-1-robh@kernel.org> <20170204033635.10250-5-robh@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Rob Herring Cc: Marek Vasut , David Airlie , Daniel Vetter , Sean Paul , DRI mailing list , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , linux-kernel , Frank Rowand , Boris Brezillon , Archit Taneja , Jingoo Han , Inki Dae , Joonyoung Shim , Seung-Woo Kim , Kyungmin Park , Kukjin Kim , Krzysztof Kozlowski , Javier Martinez Canillas , Stefan Agner List-Id: devicetree@vger.kernel.org On Sun, Feb 5, 2017 at 10:01 PM, Fabio Estevam wrote: > > The tda998x_probe() returns success, but tda998x_bind() is never called. > > I am trying to understand what needs to be done in > drivers/gpu/drm/mxsfb/ so that it can bind the tda998x driver. Looks like that converting to component style and adding component_bind_all() does the trick: [ 1.323772] tda998x 2-0070: found TDA19988 [ 1.342381] mxsfb 2220000.lcdif: bound 2-0070 (ops tda998x_ops) -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html