Received: by 10.223.185.116 with SMTP id b49csp4120250wrg; Tue, 6 Mar 2018 10:07:26 -0800 (PST) X-Google-Smtp-Source: AG47ELvfG0b30CUqdnps39cCQtQKuz0j7Acdk3pEAa33bjaWDN/8NXzHOPg7vClqy7ehyioa+J+A X-Received: by 2002:a17:902:128c:: with SMTP id g12-v6mr17561282pla.85.1520359646246; Tue, 06 Mar 2018 10:07:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520359646; cv=none; d=google.com; s=arc-20160816; b=zx2T87BNH2Hmm6WSFJDuI17Vt2tS8EwDF0qimj761BklDOLGDh8QjJXoxPfq0bZs2t YSgc2jyhjeWLwlfJF4zOrVceFQNPPZduKbODKQraQs9i8KT+AzfJJnvEoSLzH4+FaBpC c28D8SDIIMxZ+Yuxe97INu0IBBCFopKYG38xmJ9Sg3BXZYzHVhIJ4Ku/5tDM2M5++iVu BSvey1udg0kdOQhSZEPSd0KhE1OVecy72gg0yIVZibtgBLwTp3uz8BpB4IED+i6dWyoy UcEAE0Kk0KBskG5MTNLTW6NAy4IVgs7jbAzv78yzOXVVYLKjHu96pELLPVtA7w3WOgWk 7KRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=CPuWvG058Ci4kogXXvYno1keDZ15c5S4UVhp11jLLwo=; b=SCXgCL8oTTjAqe6CUDZngpUI7ij/dNS4knuAFsZJ2FXX3nudOUHZ5qwpfA4bbhDkBB FIUrosAAgc/cMNwBWLbW2B5wimAwCiNComp1/uUs4uS7ujwj3gRa2gXzI775rkWyi8Yw YvypvBgZ70x/xCzv8M5L2m/Yu27DFjY9JfrSo4PFGtNbN1+FHHDrV8EiU5hMU6ClxgI1 2+lGfVb6ZjG/ZHuey9fimz0V+PHzVuoW4m7+Lhw2EZfMYmvZ/1OErAxZuVEgAsxs8LIQ Vy7eKDVXHuJrdUpTHzYB8SHSvJP/YbFFQnU4DbpvvXgyt1UICM25b/PsUxxcA5T+hHB2 NLGA== ARC-Authentication-Results: i=1; mx.google.com; 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 f66si11613246pfd.138.2018.03.06.10.07.10; Tue, 06 Mar 2018 10:07:26 -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; 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 S932660AbeCFSGT (ORCPT + 99 others); Tue, 6 Mar 2018 13:06:19 -0500 Received: from mga07.intel.com ([134.134.136.100]:47695 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932112AbeCFSGR (ORCPT ); Tue, 6 Mar 2018 13:06:17 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Mar 2018 10:06:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,432,1515484800"; d="scan'208";a="25702608" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.157]) by fmsmga002.fm.intel.com with SMTP; 06 Mar 2018 10:06:14 -0800 Received: by lahna (sSMTP sendmail emulation); Tue, 06 Mar 2018 20:06:13 +0200 Date: Tue, 6 Mar 2018 20:06:13 +0200 From: Mika Westerberg To: Andy Shevchenko Cc: Javier Arteaga , Heikki Krogerus , Linus Walleij , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] pinctrl: intel: Implement intel_gpio_get_direction callback Message-ID: <20180306180613.GA22205@lahna.fi.intel.com> References: <20180306134213.16898-1-javier@emutex.com> <3585081b-70af-5c31-08c0-84e96b6055bc@emutex.com> <1520348165.10722.438.camel@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1520348165.10722.438.camel@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 06, 2018 at 04:56:05PM +0200, Andy Shevchenko wrote: > On Tue, 2018-03-06 at 14:31 +0000, Javier Arteaga wrote: > > (Fix Andy's Cc: - apologies) > > > > On 06/03/2018 13:42, Javier Arteaga wrote: > > > Allows querying GPIO direction from the pad config register. > > > If the pad is not in GPIO mode, return an error. > > > > > > Signed-off-by: Javier Arteaga > > > --- > > > This is needed by the drivers for the UP Squared board, an APL-based > > > platform. (For now, these drivers are out-of-tree.) > > > > > > An earlier version of this patch was reviewed some time ago by Andy > > > Shevchenko outside of the mailing lists: > > > > > > > > Yes, this one look good! > > Reviewed-by: Andy Shevchenko Acked-by: Mika Westerberg