From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751631AbdHAGtG (ORCPT ); Tue, 1 Aug 2017 02:49:06 -0400 Received: from mail-it0-f52.google.com ([209.85.214.52]:35810 "EHLO mail-it0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751038AbdHAGtD (ORCPT ); Tue, 1 Aug 2017 02:49:03 -0400 MIME-Version: 1.0 In-Reply-To: <1499374158-12388-3-git-send-email-agust@denx.de> References: <1499374158-12388-1-git-send-email-agust@denx.de> <1499374158-12388-3-git-send-email-agust@denx.de> From: Linus Walleij Date: Tue, 1 Aug 2017 08:49:02 +0200 Message-ID: Subject: Re: [PATCH 2/3] gpio: Add FT232H CBUS GPIO driver To: Anatolij Gustschin Cc: Lee Jones , Alan Tull , Moritz Fischer , "linux-gpio@vger.kernel.org" , linux-fpga@vger.kernel.org, "linux-usb@vger.kernel.org" , "linux-kernel@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 On Thu, Jul 6, 2017 at 10:49 PM, Anatolij Gustschin wrote: > Add driver for CBUS pins on FT232H. The driver supports setting > GPIO direction and getting/setting CBUS 0-3 pin value. The CBUS > pins have to be enabled by configuring I/O mode in the FTDI EEPROM. > > Signed-off-by: Anatolij Gustschin (...) > + select GPIO_GENERIC You do not seem to be using this. > +#include This include should not be needed. If it is, something is wrong. > +#include Drivers should only include this. > +#include > +#include > +#include > +#include Why is this needed if the device is abstracted behind an MFD interface? > +#include I.e. this? Apart from these small things it looks like a solid and nice driver, do you plan to merge this into MFD or should I merge it? Since it depends on the Kconfig symbol I guess I can merge it orthogonally if I am sure Lee will pick the MFD part. Yours, Linus Walleij