From patchwork Fri Jun 9 15:41:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raymond Hackley X-Patchwork-Id: 10562 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1045801vqr; Fri, 9 Jun 2023 09:03:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7VaqimpgH5htcRHgSnOte14hTjbKKTkjeRRAMq3kNPa24KM0572qTv4wvXM6ujEvJxAW0L X-Received: by 2002:a05:6a20:104d:b0:10d:951f:58ba with SMTP id gt13-20020a056a20104d00b0010d951f58bamr1367162pzc.52.1686326637249; Fri, 09 Jun 2023 09:03:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686326637; cv=none; d=google.com; s=arc-20160816; b=o95R9SjgIKtbRh3M/juBZyNvTbOElIDKnQiTF4PpQsqx9pwgTArJPjG/SX3wIhJhmU 2qTxRQhDtMlXuh2QVJOY0APT56jVT0uhiQB+R4LqBtaH3i2jn27BTLAYy6v7Bdivzc7Q pO7GdCSXO0BXvO7wxaTbXvLPywm15GkzmhJtCIiLPHGwQekQ4oj0QyNiDiQK3Vq+hune WGSuD7i3Np79+rya0CVPPiKTljjervVZVQo952oKQmBqpvs1eWviLiYFVsqM3t/BBrw2 JfSqSYVsa+5fuASlB9RpKk93w5y7Lsvb5FGSFnipfiwKEwZa/tTNsmjymt2gEqrDeCu7 OXOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:message-id:subject:cc:from:to:dkim-signature:date; bh=MtQCFhQTmoGLEq+XUTxl6fTfKwin0Ngq2howogrI7cE=; b=0tvIczzceVRyq/HRpUZVHwWe1CKjVxO7l67FG/3AiugqyW3+Mfx/XIn5D3MqyIq/tK bA0XgWrNDjsska4vrTWgxVdvvIG6XRBdH9jeT4HHGfUrFgnFwZkwHE/iVegd7+ZowPwh FLt9snQdWjzeKW315rTH1VLOmwh39JCWzx9WbrzVKaf9G9fw3GPTka902fRflMLHs/a0 veOKcxUF6XbR4sBUbFxwiEcC3wdHJMFmu4nahs459m7ome6kr1Pk89rInk+HwB9BPUUw yMXgsnrLZmi9m1SD8EgAyg1sEt2pytjpFO/uErGadR2zKPH+Zj5mw0ZzjBPARSxIChOz bO9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=HrYGRFg8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i3-20020a636d03000000b0053f25fc624bsi2680048pgc.286.2023.06.09.09.03.34; Fri, 09 Jun 2023 09:03:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=HrYGRFg8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241811AbjFIPlf (ORCPT + 99 others); Fri, 9 Jun 2023 11:41:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241852AbjFIPlU (ORCPT ); Fri, 9 Jun 2023 11:41:20 -0400 Received: from mail-0201.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0CE030FD; Fri, 9 Jun 2023 08:41:19 -0700 (PDT) Date: Fri, 09 Jun 2023 15:41:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1686325275; x=1686584475; bh=MtQCFhQTmoGLEq+XUTxl6fTfKwin0Ngq2howogrI7cE=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=HrYGRFg8A5pYNrkpxitLJs4kuowlxq7RSm/uAp8FcxhBoNvHrVAxJassm7zMwN2uT NW1ZBv0jcAgOw30rXPB8ND3a3B5EUi8i95hWzpbyBLyc6QJunl5g36NgeuAGIRlwAx ezMfwf1h0XDq+ev+TKMbvlinMUrMd26skq5QoE5o8W8fRbgoOVVxN0ZgmI1gfTee1I g1iE2Vl1vKVzjZWuZUl4wxFbyxpyuH/e8cGWqFKmwA2n5DOIA4ys714Pr8d7VtASD3 mA3PqJTVQ+lADiwQpmRZu+yyUUbuuiJyjKaHo5TYqGcHa/Y4k/fkdtSuolStvdVrP9 MNGpaHX1D56Pg== To: linux-kernel@vger.kernel.org From: Raymond Hackley Cc: Krzysztof Kozlowski , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Liam Girdwood , Mark Brown , Michael Walle , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Jeremy Kerr , Raymond Hackley , netdev@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 0/2] NFC: nxp-nci: Add pad supply voltage pvdd-supply Message-ID: <20230609154033.3511-1-raymondhackley@protonmail.com> Feedback-ID: 49437091:user:proton MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768241441435732038?= X-GMAIL-MSGID: =?utf-8?q?1768241639987465723?= v2: Use dev_err_probe() and drop unnecessary nxp_nci_i2c_poweroff() PN547/553, QN310/330 chips on some devices require a pad supply voltage (PVDD). Otherwise, the NFC won't power up. Implement support for pad supply voltage pvdd-supply that is enabled by the nxp-nci driver so that the regulator gets enabled when needed.