From patchwork Thu Nov 17 19:05:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lin, Meng-Bo" X-Patchwork-Id: 1847 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp575989wrr; Thu, 17 Nov 2022 11:11:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf7KNhbkaYurMuTNm4tYPsbt7PiLoF1pEvNtIAvljVMXPNRAkmXcsjfoAB57CA639oT5yd6w X-Received: by 2002:a17:906:1116:b0:7b2:7af1:9958 with SMTP id h22-20020a170906111600b007b27af19958mr3335007eja.288.1668712285499; Thu, 17 Nov 2022 11:11:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668712285; cv=none; d=google.com; s=arc-20160816; b=hVLoZdsZveFD1Kj6+ARrsQk94ux53bqkIhvGj+cWmCY2CZ8hpuF8O0py1CACLo4f8q LKaEpcn93VxtkXt26d9pCM3ZqGny4TRJQVTWeCYMieBL5tyByyCEHWSEknJsZoiUoFIM 8OhNdP41jXVpCljHGuXCmUCSncieHmA9U/UBTzQMSkiXo62QmrJBBTS9gx2w1millqi7 hgCQ7ezjprmSqLFt2lcgOfuqoZTjkTeAa3By0T/YvizutGgGvzet3ysqzWz8qkFFMHeb 0Iz9EEF9XN2C5F9erEaG6h24sU530aXMTcubsKhtr16i7UXIk4p0DuMVIUEuiCcmXwas 7Dfw== 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=yPJuCb1OqNQw6Eu8hBP1cJKuQdzd/t0ti673JW0Nunk=; b=u/9OYqTDMVlPmL4M9+tWtiNtAwQ406YoCUok78M3zPV5eKnco4zk8Ep+OtdeXlitnQ 84arZgnCP3IjAHO6Yz+hkMkigAhTufWncaYrYn5AOMs+3inqycWy/r82q+bxtBOkpQ4m Ys4S729bky5CE0YYTN10llRrjgedBI4YtNR0mSkirKZByM9NXbDvNgoeGQgGuN6rDcnT RQJcstoukPcLdfsfNRChB5Ig9iGrVGNMy+LwKU2L8GzlenBwvEaAdppn4D9sJdP3EfNJ L4ZzPB/HVNsLY3z8mkx/EHeL3awP7Du8vUoGFZPze99Wa0dEStwag2wYL4ytvLr6F1CU +SeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b="stmdFS/Y"; 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 ey10-20020a0564022a0a00b0046151310d6dsi1331569edb.498.2022.11.17.11.11.00; Thu, 17 Nov 2022 11:11:25 -0800 (PST) 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="stmdFS/Y"; 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 S239637AbiKQTFb (ORCPT + 99 others); Thu, 17 Nov 2022 14:05:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234080AbiKQTFa (ORCPT ); Thu, 17 Nov 2022 14:05:30 -0500 X-Greylist: delayed 9023 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 17 Nov 2022 11:05:29 PST Received: from mail-40135.protonmail.ch (mail-40135.protonmail.ch [185.70.40.135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0028E70A36; Thu, 17 Nov 2022 11:05:29 -0800 (PST) Date: Thu, 17 Nov 2022 19:05:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1668711926; x=1668971126; bh=yPJuCb1OqNQw6Eu8hBP1cJKuQdzd/t0ti673JW0Nunk=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=stmdFS/YayGbVNsPFy2y17n38oNaOmh02vIHxJaQRG9gMYfCbA8UJlpfCh0LpHe6I Awiy1kqL9L6ru+/bhKUVjwldodD1OJi3265FMrA50i22MuNB0nIV8yuhxslRiV1A37 LYoCUF6SQiqtoEU5e2vLyxWypIZVhGbZJt61njoUmT8zbYkmzBKG1rTXG3EzhPW268 nn9neFCGoHzGuHExTekP3tj604LnGrTPhK9R69HKq9gAepie4geS/kp5Nt72s79aO+ mw1DC91CPXJ1xcPipGE4EiB15A5GkU7YRqIYEyQdlBjv4P9Tg6At3UM1TfgJWpT6e1 YYzHsc6xY6iqA== To: linux-input@vger.kernel.org From: "Lin, Meng-Bo" Cc: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Linus Walleij , Alistair Francis , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] Input: cyttsp5 - add vddio regulator Message-ID: <20221117190507.87535-1-linmengbo0689@protonmail.com> Feedback-ID: 40467236:user:proton MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=unavailable 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?1749771653430204970?= X-GMAIL-MSGID: =?utf-8?q?1749771653430204970?= The Samsung touchscreen controllers are often used with external pull-up for the interrupt line and the I2C lines, so we might need to enable a regulator to bring the lines into usable state. Otherwise, this might cause spurious interrupts and reading from I2C will fail. Implement support for a "vddio-supply" that is enabled by the cyttsp5 driver so that the regulator gets enabled when needed.