Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1883254ima; Thu, 25 Oct 2018 06:31:44 -0700 (PDT) X-Google-Smtp-Source: AJdET5eLH5He8YRP2brPJ9trZ936wnwNI/0cfyOXrPCMRG/0FmuGvs5z5NindcYj2fsR2gmKlBOl X-Received: by 2002:a63:77ce:: with SMTP id s197mr1486096pgc.89.1540474304551; Thu, 25 Oct 2018 06:31:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540474304; cv=none; d=google.com; s=arc-20160816; b=Q1u8sXMKnCZMP22xtQNYbXx2iC+FM1QSx4g1kmo8gV1ZY+LCn1rvIapk4zs5nGCo0S uCLAZbvhAAnfPSnUn7H9CuCZXkkrUsaTvbJ/UTCEqXEQz9xJQ5KdNeU7qHXhhTCJSek8 RVr96muV+bDBQKCuttkhTm1zjOgPM55kHcovPh7CwUvQaxmAnNWKh3muOI2CJ7CHDL9s 5i2mr6ZXNa0CdXy2nax1H7bBE9OBzkvLi64zEfDFpiJym8+3ggM4BV0mwFIYge9StWcZ xoF1bnKcbJbe0H+aqZ9P+qFs0ZeGzulgOtoZx/QEhxOhyakf95DAa+3XjWruOdUpCA+e sglw== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=PEzT1IGyijySIcUq+H393ef7zyRuIJQPr9COJhqjQlQ=; b=i99WfCQ7ztY5D+X6mp62Ql3FVI+BbNe9Xf2GrJ3g+9/vRHXFq9LxakPnp69X2sgdnI gu2hSsSDR9n/fSSiuUIZPGGXe4k4ubplhlaXg7blod/p9x1ppxXirsUotoK7s0tX9ajv Pc2OLoR9JXj7JT5rkFIWsAOxU2iMi8gYGtex+dwc7MTF38WKdL7M7mfynKtiTBorp0Hf lCc3SyeJ8yQOKNXL4xjkWJ50jip5q+wxox+29ucTo8GimM51s8t3cwTRgBedC2uTMirp 2R291Pbjkp3g4vr8obnqnuFcbv64aTdRRw/nw35yT5/Wz2sxgWEUhax3uHqf1FPClKSu 8PoA== 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 t23-v6si8598099pgi.422.2018.10.25.06.31.17; Thu, 25 Oct 2018 06:31:44 -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 S1727444AbeJYWBu (ORCPT + 99 others); Thu, 25 Oct 2018 18:01:50 -0400 Received: from smtp3-1.goneo.de ([85.220.129.38]:41213 "EHLO smtp3-1.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727234AbeJYWBt (ORCPT ); Thu, 25 Oct 2018 18:01:49 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp3.goneo.de (Postfix) with ESMTP id 5804323F072; Thu, 25 Oct 2018 15:29:01 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.124 X-Spam-Level: X-Spam-Status: No, score=-3.124 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.224, BAYES_00=-1.9] autolearn=ham Received: from smtp3.goneo.de ([127.0.0.1]) by localhost (smtp3.goneo.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ydqys9l-vPVl; Thu, 25 Oct 2018 15:29:00 +0200 (CEST) Received: from lem-wkst-02.lemonage (hq.lemonage.de [87.138.178.34]) by smtp3.goneo.de (Postfix) with ESMTPSA id 3E4BC23EFF1; Thu, 25 Oct 2018 15:29:00 +0200 (CEST) Date: Thu, 25 Oct 2018 15:28:55 +0200 From: Lars Poeschel To: Johan Hovold Cc: Marcel Holtmann , devicetree@vger.kernel.org, Samuel Ortiz , open list , "open list:NFC SUBSYSTEM" Subject: Re: [PATCH v2 1/4] nfc: pn533: add UART phy driver Message-ID: <20181025132854.GA24350@lem-wkst-02.lemonage> References: <20181018144251.30028-1-poeschel@lemonage.de> <6CB47B97-F58D-4162-98C1-8C8C88CE2914@holtmann.org> <20181019085728.GA26696@lem-wkst-02.lemonage> <20181020092733.GV3383@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181020092733.GV3383@localhost> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 20, 2018 at 11:27:33AM +0200, Johan Hovold wrote: > On Fri, Oct 19, 2018 at 10:57:28AM +0200, Lars Poeschel wrote: > > On Thu, Oct 18, 2018 at 05:00:28PM +0200, Marcel Holtmann wrote: > > > > > --- 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. > > > > Yes, absolutely right. I missed that. I will post a follow-up. > > > > BTW a question: > > Only enabling SERIAL_DEV_BUS did not suffice for me. I also had to > > enable SERIAL_DEV_CTRL_TTYPORT, otherwise the probe of the driver was > > not called. This seems a bit odd to me. This option seems unrelated, but > > without it, it did not work. > > > > Should I better depend on SERIAL_DEV_CTRL_TTYPORT then ? > > No, SERIAL_DEV_BUS is the correct (build-time) dependency. > > In principle, your driver will work with any serdev-controller > implementation even if we currently only have one of those in the kernel > (and SERIAL_DEV_CTRL_TTYPORT therefore default to Y whenever > SERIAL_DEV_BUS is selected). Thanks, this makes sense for me now. I will post a follow-up patchset shortly. Regards, Lars