Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1228570imu; Wed, 16 Jan 2019 15:14:17 -0800 (PST) X-Google-Smtp-Source: ALg8bN4OpUcBgj2VrY7IKYb95FDZBRo4XZ5CRe3GLHQ/ZZW9cWLEuzMHguK6i37nKD6UhjRkEMpB X-Received: by 2002:a17:902:298a:: with SMTP id h10mr12495576plb.312.1547680457358; Wed, 16 Jan 2019 15:14:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547680457; cv=none; d=google.com; s=arc-20160816; b=c64/djwfgDiCPcf/hzXtbF2ePV9OofPsvPVAkHcGzrdDRq36235TEo/iyrXDirfbB2 HCL0GUVdg2z2z+AHZHTgGSizIraDGQjYKUDjk9L/Dw6BgWZa2PGNSLj6UpbRYgaZ8rky gAIpYy5vJztyeMBh+yAbIHZuyNS4Yy9LASkEHX6unPSLIJbGn7e1Ju8UX0MI0GHT5lDk DXagi1aPnnqkiH7LpAE065Pq14OjUGQ6+Ti7h7TQh9agaqzDuRKid4LOGy8ue7hUm8ua NhZC23lXHbi6KKO+GZLS1xyJUOUSKSz6FAz9EiSNXtv0FI6wlrRyPMdCxZUOBV9/RH1M VeDA== 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=Lq/DUbYJ2G6nWARSimae4t5AcHSSmR9jaE2ZCZNOeyo=; b=xXvYfujipjirvep677sQvgoXsT9hg7az8tDPzMRBX5bUKTyXqKXu3ngxn3KuZPUyRk ln9sK6ioidRDhktQbbdyFSnm7PT0qXmWqwtJOXnQYTv5wGc4XSE8CMWJwN/yjxVjE4+Q x84R+fAtp3/Pn3Oa5Enk6Egf6fecPoh+lYXJxFTEVl+mACTTJlQa+em2hkc7C6t4nK1Z dearTABRcLAI2iiFnaGa+m+ugFZOfjg0/9j8AciWB5Nlkqr43UNjTYXBVx5GXH/g6Tm/ kNtruES6A/OtLqASOmgGhsZ6qyDVBOItzUi9RxqwguiyXcofLU2Vh02RQHDL/TWFJG0F dskg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NswJKaXP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l7si7313071pgk.169.2019.01.16.15.14.02; Wed, 16 Jan 2019 15:14:17 -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=@gmail.com header.s=20161025 header.b=NswJKaXP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405324AbfAPRPC (ORCPT + 99 others); Wed, 16 Jan 2019 12:15:02 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:35647 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726732AbfAPRPC (ORCPT ); Wed, 16 Jan 2019 12:15:02 -0500 Received: by mail-pg1-f196.google.com with SMTP id s198so3108477pgs.2; Wed, 16 Jan 2019 09:15:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Lq/DUbYJ2G6nWARSimae4t5AcHSSmR9jaE2ZCZNOeyo=; b=NswJKaXP96srKj6mL04AQNXVJ0GO4Q7ogamuulOO8UkxvWGxCd29gSvY/b5BySi+qO txGECtT3zsFVrIces0pGsi80tttg3STSvp8hgi49YlTTtzvrU/rtMdWuGIGy6NNkYDds erzfe1DULAcRe/JXasWPiUk2F9F9WY63ttdQrd6vwBCaSdm0VO5Ib1eFcA0NifhxSgF+ cVfSnszZajSjGZIJemzGhAzWv+RamFdvOhIpsnxZT+1TZPF1OW1n3NIMWxmd4bWH9Ms1 RFrasXM9iGO02h30Rjsf95cq+s9vCZkCzNlwGbdwS+nLuFUW9tM9x1HRnD3/JscMqQrN W0NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Lq/DUbYJ2G6nWARSimae4t5AcHSSmR9jaE2ZCZNOeyo=; b=ZHCp7VGrCfAfI4zQTBlcVK/2OC33ky/u6kXvom3En5P1yTG8f3aHPKSY4vBUUvAkVV FquSszELGLIvn0X+/Nn+BNUgq0xD4jKd6hlIaEbq8F/Oq8l7pATegaAB8b9O84ZUdi8X LAl8tSuhXNfNoFVhWsvIMaIxlCVbTfOxLMDJLLucazBHF5g0UWgrIpc/0w5L4C2Mu5Hc fdgOUCv4uuZCTpdg5l6KV6WgKbIYNu/mHOYOqaxBDRQrQm8yNFrPfmvcnl1lR0DgC8Q+ j795tB1d0C9gZ7Nit5wp9GpbySZtMDlXmaK6MfPkMNXOt/SQ9DppPkTgnoIRNH20iW1E MMXQ== X-Gm-Message-State: AJcUukfz/xGEWUiaKRJhSfrHhTX6vsxv6o8UAgL8pfEpuhoWChxSZ1kd RGUEquG+30fEza8H1SHI05o= X-Received: by 2002:a63:c904:: with SMTP id o4mr9705041pgg.331.1547658900519; Wed, 16 Jan 2019 09:15:00 -0800 (PST) Received: from nishad ([106.51.25.107]) by smtp.gmail.com with ESMTPSA id 4sm11137509pfq.10.2019.01.16.09.14.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Jan 2019 09:14:59 -0800 (PST) Date: Wed, 16 Jan 2019 22:44:50 +0530 From: Nishad Kamdar To: Greg Kroah-Hartman Cc: devel@driverdev.osuosl.org, Leonardo =?utf-8?B?QnLDoXM=?= , linux-fbdev@vger.kernel.org, YueHaibing , Jani Nikula , Daniel Vetter , Felix Siegel , Matthias Wolf , linux-kernel@vger.kernel.org, Mamta Shukla , Radek =?utf-8?Q?Dost=C3=A1l?= , 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: <20190116171447.GA27175@nishad> References: <20190115044704.GA20989@nishad> <20190115150231.GA3418@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190115150231.GA3418@kroah.com> User-Agent: Mutt/1.9.4 (2018-02-28) 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 04:02:31PM +0100, Greg Kroah-Hartman wrote: > 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. > Sorry for the confusion. I'll fix and resend. > thanks, > > greg k-h Thanks for the review. Regards, Nishad