From patchwork Fri Jun 9 18:27: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: 10568 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1110623vqr; Fri, 9 Jun 2023 11:41:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5RGwOsktSvcumUlykg5EU6NywpyL4VZaId0bBNOikQKyTGqgyeLYVsLgqvd1oGpUXunHS5 X-Received: by 2002:a17:90a:f30e:b0:259:14e7:b737 with SMTP id ca14-20020a17090af30e00b0025914e7b737mr1679488pjb.37.1686336111794; Fri, 09 Jun 2023 11:41:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686336111; cv=none; d=google.com; s=arc-20160816; b=xoSNH9KJcsp06Bf3HWVDTNtjPuMlzh4/6VdRiechbPympNy3nA1BXJF7LOp0aXHD5k w3nNUn5sahOlc3utsxCxyo7RDnMmRzJmgSRQFuCCYe4mkP6Ka1E/WmdVOJwaI+XneN9U 6l9V1hQ2dKs4xlULhr9ghp+of9mKg62jVX+C1xw/gGRsFiDCY7GtzP1MegEvnJAoLtY5 tXmR7qc5Hk6rLZct6AZA89tV7/K8QywuDKkm09OtgmF1F1TsoJPyy9P6sCKHR1GSb6pa DbZ9ZiO9TraM9d/+jCamilMfgy1qXCYofJcs9YAoGMeNe0PTWAK1OoMLDr2KsR+q2bCm ZmIw== 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=ZWzcN/Tm7VxGdb18LHyy/4I9RAaaMI8KoDWSNbJZYMw=; b=LUlxuwYX1cKkrq3ZGbUC5b5G2U9MeWzlJfkYZWZSqU9IbOt/T/a9SCMR8Z8DJAFwyg Ji9c5FVRZNYMVjNzEvUN97XEHqO9R6QCGWlrRqDT20JMtMVxzFBwrC7X+EUC1T7xqO1U mm2h4Mg5zylp/78eS6XJFsYYzu0/Ysj5FUtP+xAnakY2Fv6xNvQa5YP89aDB+1WroQjn QXZZ0eI/D8NNJAB94b0R/UrCVjLfG0y6YVU4VqfryVGOg66OA/UwRIgJbyifrvtUcIuD vM/JyU3zwlMuQZ7JKbMEpVUOOELVlmzg85bo0D995vNJC0thPlxuIq0xMrwwJ5lJJNCC 2Yfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=EjjRfdrT; 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 26-20020a17090a191a00b00259aa59bf3esi4576740pjg.176.2023.06.09.11.41.36; Fri, 09 Jun 2023 11:41:51 -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=EjjRfdrT; 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 S229715AbjFIS1T (ORCPT + 99 others); Fri, 9 Jun 2023 14:27:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229506AbjFIS1S (ORCPT ); Fri, 9 Jun 2023 14:27:18 -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 17B3C35A3; Fri, 9 Jun 2023 11:27:17 -0700 (PDT) Date: Fri, 09 Jun 2023 18:27:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1686335232; x=1686594432; bh=ZWzcN/Tm7VxGdb18LHyy/4I9RAaaMI8KoDWSNbJZYMw=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=EjjRfdrTEJRXwRqzh0tudvMQ2Tm7muCk6nBtud2Il6HJPAUSaYsPMzLyqfXQyioRr sZ7TUTl6fw/WvfZOg6um4ZLvf8LLonlThUbAU2Fv3dvZbzH6VX1/N1yDxgsBir8FIK qFsfDFcmZy9+P0/DSNiKWprGyMuVfj6eudrTHZH1eejzZ8lLPaXB9xEdKpvbes6Z5G C7UGRwUwHKPMBJ1IbGLX9kkjfnW8f8OdtZR72TWA5Ug5i/cA+Rj4Yo3TOR5bzIad6x B56Xicuzj+VwMbs/ozILsb1jNo8LN75H9F/PZobH1gwbG1FIzklEbIr1HC2Xy9w5cz Q9bcVZF52/NjA== 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 v3 0/2] NFC: nxp-nci: Add pad supply voltage pvdd-supply Message-ID: <20230609182639.85034-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?1768251404895561044?= X-GMAIL-MSGID: =?utf-8?q?1768251574624409542?= v3: Fix weird wrapping and drop another unnecessary nxp_nci_i2c_poweroff() 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.