Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751251AbcCICzy (ORCPT ); Tue, 8 Mar 2016 21:55:54 -0500 Received: from mail-ob0-f176.google.com ([209.85.214.176]:35582 "EHLO mail-ob0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750766AbcCICzp (ORCPT ); Tue, 8 Mar 2016 21:55:45 -0500 MIME-Version: 1.0 In-Reply-To: <1457192586-25596-2-git-send-email-vishnupatekar0510@gmail.com> References: <1457192586-25596-1-git-send-email-vishnupatekar0510@gmail.com> <1457192586-25596-2-git-send-email-vishnupatekar0510@gmail.com> Date: Wed, 9 Mar 2016 09:55:44 +0700 Message-ID: Subject: Re: [PATCH v3 01/13] pinctrl: sunxi: Add A83T R_PIO controller support From: Linus Walleij To: Vishnu Patekar Cc: Rob Herring , Jon Corbet , =?UTF-8?Q?Pawe=C5=82_Moll?= , Mark Rutland , "ijc+devicetree@hellion.org.uk" , Kumar Gala , Maxime Ripard , Russell King - ARM Linux , Emilio Lopez , Jens Kuske , Hans de Goede , Chen-Yu Tsai , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , linux-sunxi , "linux-gpio@vger.kernel.org" , Michael Turquette , Stephen Boyd , Reinder de Haan , linux-clk@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1148 Lines: 42 On Sat, Mar 5, 2016 at 10:42 PM, Vishnu Patekar wrote: > The A83T has R_PIO pin controller, it's same as A23, execpt A83T > interrupt bit is 6th and A83T has one extra pin PL12. > > Signed-off-by: Vishnu Patekar > Acked-by: Chen-Yu Tsai > Acked-by: Rob Herring As partly noted by others: > +config PINCTRL_SUN8I_A83T_R > + def_bool MACH_SUN8I bool > + depends on RESET_CONTROLLER Should it rather select RESET_CONTROLLER? > +static const struct of_device_id sun8i_a83t_r_pinctrl_match[] = { > + { .compatible = "allwinner,sun8i-a83t-r-pinctrl", }, > + {} > +}; > +MODULE_DEVICE_TABLE(of, sun8i_a83t_r_pinctrl_match); Module talk in bool driver. > +static struct platform_driver sun8i_a83t_r_pinctrl_driver = { > + .probe = sun8i_a83t_r_pinctrl_probe, > + .driver = { > + .name = "sun8i-a83t-r-pinctrl", > + .of_match_table = sun8i_a83t_r_pinctrl_match, > + }, > +}; > +module_platform_driver(sun8i_a83t_r_pinctrl_driver); Should be builtin? Yours, Linus Walleij