Received: by 10.192.165.148 with SMTP id m20csp542005imm; Wed, 25 Apr 2018 04:00:22 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+sYJDt3JdKG5l2VbNiuIxM2mqLS/vl64ADGiQiDteSDpmgQSW+VzCyXNy6aq9Jt78uj+qU X-Received: by 10.99.116.76 with SMTP id e12mr23243450pgn.270.1524654022648; Wed, 25 Apr 2018 04:00:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524654022; cv=none; d=google.com; s=arc-20160816; b=MPP+fcdpnsyKiJSNcYwi2PY54ssKW4716v1a9/SxBNIYJWnUITK3u/7o8AG0xw0SMT 6XOddwHzrTEc7gpcKRemfSlsbfrInkgyhiNz34+xq81xl674Lrpd7W03blD2NEVJhKDz aXxfLcxQQBENEomdMs9ScUu4MqGx1fNij5aVSrvKz/Jo+0v9yoocfHfl68ewgH3kDLds 5GrUorqSXXC1YNHmb/4tKNqifG6LKRJv2FAlRyLPiRdjf4bSZY7dUiPoDCauoDe28MEY jDOK8XCeXTs4BGXCaMX3NuHhwv1Kmu0dRR5dpu5ZwePqoA7VHVmLW1rlW8hJa1UDTcJn j8/A== 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:arc-authentication-results; bh=rrpdfXGAKDSlbODtRwIaql+fd/+pgBiHjgQRwIzn9Sg=; b=EYCDo+/4B/MuemkVGQs11VB+Bjg9lKVr4YqYVrnKZi599rFK6dERuCJT6GQNO/pMY2 qmuFY+us+jkcr+czf8iHbKXtjKkSC5eTNojCp/LIgRWA7if2YTchtdTKvoARiq8EHxjn 4qDtfu2VG/S6fa2dCNq2gD+aIgHlmc8S4r8s/O1/ORC9NaZ7i1VPPjzoKWjEycJpCFJ9 JhsLL2msiKelBj4YIKbajp1u4ZQpbcdoabY2bgmjNkqjPYlwRJmh/mwy+e8icAjhYsFk fYqTZ0ElkiSyDgC9QbHawbWER/hODn9KttOBFfVyzeNjLMBUPgsp5X08Jdp71o2Ke57/ e0wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=vJEYo+e3; 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 g3-v6si14845714plp.471.2018.04.25.04.00.08; Wed, 25 Apr 2018 04:00:22 -0700 (PDT) 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=fail header.i=@gmail.com header.s=20161025 header.b=vJEYo+e3; 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 S1754240AbeDYK7E (ORCPT + 99 others); Wed, 25 Apr 2018 06:59:04 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:44107 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754124AbeDYK7A (ORCPT ); Wed, 25 Apr 2018 06:59:00 -0400 Received: by mail-lf0-f66.google.com with SMTP id g203-v6so24777289lfg.11; Wed, 25 Apr 2018 03:58:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=rrpdfXGAKDSlbODtRwIaql+fd/+pgBiHjgQRwIzn9Sg=; b=vJEYo+e3yLbU3LcpFc1GeliO2hiQyw0O69JawnLGsivan+KumyLAsEQL7Jvjkc7nK/ YSvochRquF3+aEpTb7EoRwYtH+Y6v60lj9EVIzrWrxCmMB1dMJaNmbF06MaZg9Tv/ozN EWidGLLy/IY334/CpNFHx3t8mHuruJB7QWEGnv9wFoJCEmasenHZOTRPtalEqir+snz2 UD/1F2Ku8mVPw8FCXoLwAwO/VPNFIH62dG8LNr0dQyYx55wwe+Zr/dIoIEfA8nQGuECs DkmWndzpKDwT0p0wKFRPyJ04uzU09vUFg9vmUrYIB2F6OhxOC0Z/5rZ87ea9aAl0Gg6f K1Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=rrpdfXGAKDSlbODtRwIaql+fd/+pgBiHjgQRwIzn9Sg=; b=UwtlTu8tamx9MR+zWPO3CRw0HWBTrqEeE5vwOW4dzEkU1JP0aWuDYTSWNaio+e/0q6 gwKOjgrZ2B9wRuBS5YJdo8dnezrnAlq22DCVkYdiJe4cqwxnccM6zpD3WAUjI+8R/bDn U8KGMZynNPPx9BRglPmrMy47OnKB/ro6blJAzMFpLoSYu0YB6sMn0uOtJpWVIahENxwB mATQnup+sB/s8MWzlC1rfx4MGrxYPIA6Zc8EJ2aM4tU9GeO0whwKBib9kISnzWD6HYBo +MiZgbhlogFFat/0cA2vb5MGT+Z/QWNeuDfREr4/26j9V7pl69F8Xi0xZNPC6MpT/y4H oM+w== X-Gm-Message-State: ALQs6tDi280Px8L1VEcRKJwlXwindaVxHybVCrOaaJlI9/kHcM/ItrJf X3lNVaQuQ7k2SoqALHrNVhE= X-Received: by 10.46.50.11 with SMTP id y11mr2321402ljy.119.1524653938950; Wed, 25 Apr 2018 03:58:58 -0700 (PDT) Received: from xi.terra (c-8bb2e655.07-184-6d6c6d4.cust.bredbandsbolaget.se. [85.230.178.139]) by smtp.gmail.com with ESMTPSA id w79-v6sm763210lfi.49.2018.04.25.03.58.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Apr 2018 03:58:58 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.90_1) (envelope-from ) id 1fBI8Q-000066-NK; Wed, 25 Apr 2018 12:58:50 +0200 Date: Wed, 25 Apr 2018 12:58:50 +0200 From: Johan Hovold To: Greg Kroah-Hartman Cc: Johan Hovold , Rob Herring , Mark Rutland , Andreas Kemnade , Arnd Bergmann , "H . Nikolaus Schaller" , Pavel Machek , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 3/7] gnss: add generic serial driver Message-ID: <20180425105850.GQ4615@localhost> References: <20180424163458.11947-1-johan@kernel.org> <20180424163458.11947-4-johan@kernel.org> <20180425085749.GC13295@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180425085749.GC13295@kroah.com> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 25, 2018 at 10:57:49AM +0200, Greg Kroah-Hartman wrote: > On Tue, Apr 24, 2018 at 06:34:54PM +0200, Johan Hovold wrote: > > Add a generic serial GNSS driver (library) which provides a common > > implementation for the gnss interface and power management (runtime and > > system suspend). This allows GNSS drivers for specific chip to be > > implemented by simply providing a set_power() callback to handle three > > states: ACTIVE, STANDBY and OFF. > > > > Signed-off-by: Johan Hovold > > --- > > drivers/gnss/Kconfig | 7 + > > drivers/gnss/Makefile | 3 + > > drivers/gnss/serial.c | 288 ++++++++++++++++++++++++++++++++++++++++++ > > drivers/gnss/serial.h | 47 +++++++ > > 4 files changed, 345 insertions(+) > > create mode 100644 drivers/gnss/serial.c > > create mode 100644 drivers/gnss/serial.h > > > > diff --git a/drivers/gnss/Kconfig b/drivers/gnss/Kconfig > > index 103fcc70992e..f8ee54f99a8d 100644 > > --- a/drivers/gnss/Kconfig > > +++ b/drivers/gnss/Kconfig > > @@ -9,3 +9,10 @@ menuconfig GNSS > > > > To compile this driver as a module, choose M here: the module will > > be called gnss. > > + > > +if GNSS > > + > > +config GNSS_SERIAL > > + tristate > > + > > Maybe a real help entry? Or is this only selected from child drivers? > I haven't gotten that far in the series, sorry... Correct, it's only selected by child drivers. Johan