Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2029562imm; Thu, 18 Oct 2018 08:02:32 -0700 (PDT) X-Google-Smtp-Source: ACcGV61HfX9ZPe+S7EMSFPS8xORcMEEBBw2r7Yr8DONxzvnqbe4uQjkCcYv+kMlyW4JG0GGgO/IC X-Received: by 2002:a63:3203:: with SMTP id y3-v6mr29048012pgy.101.1539874952239; Thu, 18 Oct 2018 08:02:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539874952; cv=none; d=google.com; s=arc-20160816; b=fvJ+iw7UvyG8XNSlk+FZizJ9X39U13oSrvGzI1gswdLDwk82IJV6RVh6JAR9O19rbc VFFZlAzeqGslXCeT3GV1EgVLOb/b+g+D1vVGMRLSmc8VWRxrMt99PPGD5Gkb3Tp+LUpX IcMFmnPK9W05AfkdNpA0Xh1VczgdeTuX6FlyvDrovkhObUeO70bzKK0cRJusLlrURZjc uZQzKCM0wGXreZuci/gZbBGuJu6SWpU3WRcwzGBxEzWEx4w9+L+tqXtSW+AXHOXt0cte rZmurXmht98jyNO3mvvfX/xOiqP4WbrbAg3rSWH+/5BzJHRrf7FSUH7qkIf2JvaKRBHF z+UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=LF4PrDluXVbruMMwuFJBwbW5bCcfcStvr5COgrKeiqU=; b=Zm3grloY8gswVapyUnVTrcD++QNPKBrIK6Maly8bo3FEoy4Z9awGmKggtYD3ot1REl 9sqabnbfCXBTuxh6AuVCpE7TYw1eWUmW3pAk2YdoF1oEYnxYdqMf17/xTV1WccKv4R4U j8z22uA5aZ5CwtOiPhrnqhpZL7jHPAoOlH8WHOHEMFbL3fn04XgBpebK7juFqHNcWWzb aPErKvvOpXJygmBRvn4XOwkzx1UUR/wD8vuwFXtJC5TItMbXPJkdoZeuFAPxQtVb+3Bm skePvT8Y2ee60sITC7QroC8LAbzYjpJvVyFtXsEwjeuKl2GXUJrTmNBIGQO7W55zlX3o yZgA== 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 f89-v6si22997357plb.37.2018.10.18.08.02.15; Thu, 18 Oct 2018 08:02:32 -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; 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 S1728259AbeJRXBz convert rfc822-to-8bit (ORCPT + 99 others); Thu, 18 Oct 2018 19:01:55 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:36324 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727303AbeJRXBz (ORCPT ); Thu, 18 Oct 2018 19:01:55 -0400 Received: from marcel-macbook.fritz.box (p4FF9F655.dip0.t-ipconnect.de [79.249.246.85]) by mail.holtmann.org (Postfix) with ESMTPSA id 224BACEF9C; Thu, 18 Oct 2018 17:07:52 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\)) Subject: Re: [PATCH v2 1/4] nfc: pn533: add UART phy driver From: Marcel Holtmann In-Reply-To: <20181018144251.30028-1-poeschel@lemonage.de> Date: Thu, 18 Oct 2018 17:00:28 +0200 Cc: devicetree@vger.kernel.org, Samuel Ortiz , open list , "open list:NFC SUBSYSTEM" Content-Transfer-Encoding: 8BIT Message-Id: <6CB47B97-F58D-4162-98C1-8C8C88CE2914@holtmann.org> References: <20181018144251.30028-1-poeschel@lemonage.de> To: Lars Poeschel X-Mailer: Apple Mail (2.3445.100.39) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lars, > This adds the UART phy interface for the pn533 driver. > The pn533 driver can be used through UART interface this way. > It is implemented as a serdev device. > > Signed-off-by: Lars Poeschel > --- > Changes in v2: > - switched from tty line discipline to serdev, resulting in many > simplifications > - SPDX License Identifier > > drivers/nfc/pn533/Kconfig | 10 ++ > drivers/nfc/pn533/Makefile | 2 + > drivers/nfc/pn533/pn533.h | 8 ++ > drivers/nfc/pn533/uart.c | 283 +++++++++++++++++++++++++++++++++++++ > 4 files changed, 303 insertions(+) > create mode 100644 drivers/nfc/pn533/uart.c > > diff --git a/drivers/nfc/pn533/Kconfig b/drivers/nfc/pn533/Kconfig > index d94122dd30e4..da3ea2dbaa8a 100644 > --- a/drivers/nfc/pn533/Kconfig > +++ b/drivers/nfc/pn533/Kconfig > @@ -25,3 +25,13 @@ config NFC_PN533_I2C > > If you choose to build a module, it'll be called pn533_i2c. > Say N if unsure. > + > +config NFC_PN532_UART > + tristate "NFC PN532 device support (UART)” you are missing the "depends on SERIAL_DEV_BUS” here. > + select NFC_PN533 > + ---help--- > + This module adds support for the NXP pn532 UART interface. > + Select this if your platform is using the UART bus. > + > + If you choose to build a module, it'll be called pn532_uart. > + Say N if unsure. Regards Marcel