Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4966241imu; Tue, 15 Jan 2019 08:55:04 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Sa0opdfB7KV/Fz4rkZWAUcq6NYjgvb7UMNTKGImfMRGr5iUsCB/KK3bK9VNU4lceANmMs X-Received: by 2002:a63:160d:: with SMTP id w13mr4691890pgl.43.1547571304328; Tue, 15 Jan 2019 08:55:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547571304; cv=none; d=google.com; s=arc-20160816; b=sNbu52KKgZ427OvMd7Qg0EXk5RHf30J8fsMrJac8n3DlNjThX7hrEqKjuJ5raW7o6r tPHbjAGVZQwvJno+Wbm02RuDaRsoVmp4abILf3YCgvf8w5Vx73oam6/meBkaR9Dz7LVp bAaV8KHasB5srUbYw0vijKPlDdZHwDVTLt2qulFJnQHcQu/Wpbvf5Hhf8kkvw3TL/+XE TYiIasn9K3MLyNXhfqFiSbnuM8+gnYni7Zxja1ytgJmx/+lqeodTBXlMUT0lbdewpz34 CZYwjazezoAT5GRnlaWlx5O0E1FIiAd6fgcWK0CR7mUXxNnuf48GM3ZLztZ6jgjwF2ee nuYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DPx2piChmy+/SUOYeo80iDO4FdF7VQ1h49YoP2F0o3g=; b=0ziffKJfxaeypFdaZdmV9p1KHRPz0fX4XU3ZfvQZA+2Dgfi6TaptX7xvKFOWxY4zPO 5hZejHmGJsrYU7/MhUuoF0amxv7cU389v5gtgMiSBWjixRVlENsGcT/zS8rWtWS5nStU k/rbhQP/SwiltXcuCEXSSCY5InoOtoJe8fJYVdeConfBWP7q7/x8xIz5NGRleRr/hiYe MinnHmcQNf2SIffvVSbs5muqnO9CPCNeh2zdnXyPvPK0VFjdxNwqayr4C9VrEh2yQxkj lX6Kf3ozfQGZQ3bOrzntGYZrNkh4qa92W9v2P5PPW+EF2ZqIbb+MtrneVVlTDkcSIFBI z8Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IGPfbT9X; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j24si3510230pgh.362.2019.01.15.08.54.48; Tue, 15 Jan 2019 08:55:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IGPfbT9X; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730603AbfAOPCf (ORCPT + 99 others); Tue, 15 Jan 2019 10:02:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:35772 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728642AbfAOPCf (ORCPT ); Tue, 15 Jan 2019 10:02:35 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 87A6220656; Tue, 15 Jan 2019 15:02:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547564554; bh=wHmf28uW9OQOmNVh/i0FjaHWdDEu5/NUpQ+B0sdBq/4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IGPfbT9Xxdy/ZmIWFzBUm+hRgreJ+VRw3TUyLw8fHvH/BiPCVByA6VDzufPuU+XmR HSN313Ebd2WjxaYUsRNoJXxnLpH6WpBkD6D7WgxGCSDDEBIedkAiVdBk3puBLAWUu6 IpwEEcqPqyckBcO+KXZJUD8bRDhAvTc0dzjNEOPQ= Date: Tue, 15 Jan 2019 16:02:31 +0100 From: Greg Kroah-Hartman To: Nishad Kamdar Cc: devel@driverdev.osuosl.org, Leonardo =?iso-8859-1?Q?Br=E1s?= , linux-fbdev@vger.kernel.org, YueHaibing , Jani Nikula , Daniel Vetter , Felix Siegel , Matthias Wolf , linux-kernel@vger.kernel.org, Mamta Shukla , Radek =?iso-8859-1?Q?Dost=E1l?= , Renato Soma , dri-devel@lists.freedesktop.org, Tim Cofala , Lee Jones Subject: Re: [PATCH v2] Staging: fbtft: Switch to the gpio descriptor interface Message-ID: <20190115150231.GA3418@kroah.com> References: <20190115044704.GA20989@nishad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190115044704.GA20989@nishad> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 15, 2019 at 10:17:09AM +0530, Nishad Kamdar wrote: > This switches the fbtft driver to use GPIO descriptors > rather than numerical gpios: > > Utilize the GPIO library's intrinsic handling of OF GPIOs > and polarity. If the line is flagged active low, gpiolib > will deal with this. > > Remove gpios from platform device structure. Neither assign > statically numbers to gpios in platform device nor allow > gpios to be parsed as module parameters. > > Signed-off-by: Nishad Kamdar > Changes in v2: > - Merge all patches in a single patch. This is because the > first patch changes par->gpio from an int to a pointer > so all the checks have to be updated in the same patch. > Otherwie it breaks 'git bisect'. The "v2" information goes below the --- line please. Also, I got 2 copies of this, both different, so I have no idea which to apply. Please fix up and resend a v3. thanks, greg k-h