From patchwork Fri Dec 1 07:49:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 843392 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=goldelico.com header.i=@goldelico.com header.b="VXe2WZ8V"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3yp60p4tPPz9t9n for ; Fri, 1 Dec 2017 18:51:38 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751699AbdLAHuM (ORCPT ); Fri, 1 Dec 2017 02:50:12 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.219]:33215 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751677AbdLAHuJ (ORCPT ); Fri, 1 Dec 2017 02:50:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1512114607; s=domk; d=goldelico.com; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date: Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH:Accept-Language: Auto-Submitted:Cc:Date:From:Message-ID:References:Reply-To:Resent-Cc: Resent-Date:Resent-From:Resent-To:Sender:Subject:To: Content-Alternative:Content-Description:Content-Disposition: Content-Duration:Content-Features:Content-ID:Content-Language: Content-Location:Content-MD5:Content-Transfer-Encoding:Content-Type: MIME-Version; bh=ooAwRmXWAlcOoQWVe8uNqP9sFT+s+klrIDpNbtjuHZM=; b=VXe2WZ8VHFEfXIIzgiS17HJXze5fydh1Kej/V6cfkAZ01q6moUvtYKrsiFfvm5aUuK E3y0qYpCfC43V+dopGPEhu2y1M+ip/vPrQ7Bl/aq/Jqp1KxWepa9UTu8cQnRAjSTzu24 mtZ/+y8WlCzu4tsmNoBnBPFdb1XjjN4NyH5KU= X-RZG-AUTH: :JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj4Qpw87WiuNN2FDaY X-RZG-CLASS-ID: mo00 Received: from localhost.localdomain (p57AE00F8.dip0.t-ipconnect.de [87.174.0.248]) by smtp.strato.de (RZmta 42.10 DYNA|AUTH) with ESMTPSA id V027catB17ncHRs (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Fri, 1 Dec 2017 08:49:38 +0100 (CET) From: "H. Nikolaus Schaller" To: Rob Herring , Mark Rutland , =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Russell King , Arnd Bergmann , Greg Kroah-Hartman , "H. Nikolaus Schaller" , Kevin Hilman , =?utf-8?q?Andreas_F=C3=A4rber?= , Thierry Reding , Jonathan Cameron Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, letux-kernel@openphoenux.org, kernel@pyra-handheld.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 0/5] misc serdev: new serdev based driver for Wi2Wi w2sg00x4 GPS module Date: Fri, 1 Dec 2017 08:49:33 +0100 Message-Id: X-Mailer: git-send-email 2.12.2 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Changes V5: * clarified to keep it in drivers/misc and not create a new group drivers/gps * fix formatting of new entry in omap3-gta04.dtsi (suggested by Tony Lindgren) * removed MODULE_ALIAS (suggested by Andrew F. Davis) * some more formatting, code&style fixes (suggested by Andrew F. Davis) * apply __maybe_unused for PM (suggested by Andrew F. Davis) * fixed copyright and author records (suggested by Andrew F. Davis) 2017-11-15 22:38:01: Changes V4: * removed all pdata remains (suggested by Arnd Bergmann and Rob Herring) * fixed minor issues and subject/commit messages (suggested by Rob Herring) * added one missing Signed-off-By: (suggested by Andreas Färber) * added SPDX header (suggested by Rob Herring) 2017-11-15 16:19:17: Changes V3: * worked in suggestions by kbuild test robot * added misc+serdev to the subject 2017-11-12 22:00:02: Changes V2: * reduced to submit only w2sg00x4 GPS driver code * add DT node for GTA04 device to make use of the driver * split into base code and a debugging Kconfig option (brings device into false power state after boot) * worked in comments by kbuild robot and Rob Herring 2017-05-21 12:44:07: RFC V1 * RFC concerning new serdev based drivers for Wi2Wi w2sg00x4 GPS module and w2cbw003 bluetooth Years long history of getting this devices supported (original work by Neil Brown). H. Nikolaus Schaller (5): dt-bindings: define vendor prefix for Wi2Wi, Inc. dt-bindings: gps: add w2sg00x4 bindings documentation (GPS module with UART)) misc serdev: Add w2sg0004 (gps receiver) power control driver DTS: gta04: add uart2 child node for w2sg00x4 misc serdev: w2sg0004: add debugging code and Kconfig .../devicetree/bindings/gps/wi2wi,w2sg0004.txt | 24 + .../devicetree/bindings/vendor-prefixes.txt | 1 + arch/arm/boot/dts/omap3-gta04.dtsi | 7 + drivers/misc/Kconfig | 18 + drivers/misc/Makefile | 1 + drivers/misc/w2sg0004.c | 590 +++++++++++++++++++++ 6 files changed, 641 insertions(+) create mode 100644 Documentation/devicetree/bindings/gps/wi2wi,w2sg0004.txt create mode 100644 drivers/misc/w2sg0004.c Acked-by: Tony Lindgren