From patchwork Fri Jun 9 18:36:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raymond Hackley X-Patchwork-Id: 10570 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1117388vqr; Fri, 9 Jun 2023 11:57:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6iGsLlpO64jczAICtnD+w92ET3nUGad85e6pThnI8+Y3zaetZSsEnxtAMKS8zq0zobN6PQ X-Received: by 2002:a17:902:e80f:b0:1b2:4b28:7929 with SMTP id u15-20020a170902e80f00b001b24b287929mr1887488plg.22.1686337065944; Fri, 09 Jun 2023 11:57:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686337065; cv=none; d=google.com; s=arc-20160816; b=Ve/sl3t9GVGFdT8hkRCmylyoNlkPiRBW+TcyaqV/TUzKNXAwA+TjYuDjyCbJ39TNnL sWFIHkCoIYKcxufY0B8DSt6Ea0qfI7jSHKze5wD/bb8EZZYUn0yrrfz3JafBgHqB/XG9 iCrmXq/fLOWxJcMNF2E51I+TQarKKTzFET24TOBL9N/GnUdNYH2h6MLjUiCh0ky5pBHE 5lKBp5+yjz8K9jGtk1kaVYY0oUL0EvERwm9IGQhlgdZ3z206YPdyxkxgdUMTC8KHZsJb 5P2KNdbYyjngz4Kb5FmMP8rU8oDDLWRpIms4uC7gzvAIOVNShxW+wJ6ygzBwceL2vrt/ X6TQ== 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=O2xfz8MqaF+3TvOEOHx64dA+zVLtNaehtN/98YltK9a40+R4s/Z3x3nSGjHhxS8xgM IYJUbJIxAQU9R1UFfsnxWigDZgJxdxvggLiyKD23JfXm7tkmCrn0FgfiZy14E5LEOi0z 3We5hKIL3tqh8CH5TqFBWxwO9p39e5HXf7vecWoDg3oILM7E+Gg8Vb0vlb/whUoubWz4 QP16GeVLvhPTaWLAhAoOc1A683aScThTPpCZBS7+g3c20QCB4Zbvbr3+++bHQHI/wVRE 19rCpk9+MVhCgHQV3Q54ITWdfb9kap48V2LPA2uUoz8VwSSgja5LEYhm8pwCFKxlF231 6dZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=GDkj0e4Y; 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 j12-20020a170902da8c00b001b231cb6f22si189518plx.111.2023.06.09.11.57.33; Fri, 09 Jun 2023 11:57:45 -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=GDkj0e4Y; 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 S231980AbjFISht (ORCPT + 99 others); Fri, 9 Jun 2023 14:37:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231771AbjFIShb (ORCPT ); Fri, 9 Jun 2023 14:37:31 -0400 Received: from mail-4325.protonmail.ch (mail-4325.protonmail.ch [185.70.43.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5138A3C34; Fri, 9 Jun 2023 11:37:17 -0700 (PDT) Date: Fri, 09 Jun 2023 18:36:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1686335835; x=1686595035; 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=GDkj0e4YcK/k1MkYVYVM0O0q+8qmFCLOC0i+keM0nC1jzGHmfGugU5gnfahcA9q3c 0DE4DpPpLLsYosXJGxfdIHrk8GVzPAqOfcBbQI4xs1AQeWu6x0dLAdzmslyJZ+i41y +pfmlMnmyiKfE4aOO9VdZ8+RZCnyczrEUVep3B/vS3x+Yv4WUF90CxlWiJg8KZaFRQ oSa48X4kp+apvcrutYTwwDAUl1x+jUCoui/RaI/hEh/+1RtGUOyV2odyqH5Tajl8TG 7EsAvWzyr4oi29a1yhsmCOq3OIhW6PMBstRC8MAX7pyXv9nh0nM81UXGftV7Gt3YwL g4h37ftONB1bw== 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: [RESEND PATCH v3 0/2] NFC: nxp-nci: Add pad supply voltage pvdd-supply Message-ID: <20230609183639.85221-1-raymondhackley@protonmail.com> Feedback-ID: 49437091:user:proton MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,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?1768252574774373071?= 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.