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: 13047206 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05901C4332F for ; Thu, 17 Nov 2022 19:05:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234962AbiKQTFb (ORCPT ); Thu, 17 Nov 2022 14:05:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232532AbiKQTFa (ORCPT ); Thu, 17 Nov 2022 14:05:30 -0500 X-Greylist: delayed 9011 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 17 Nov 2022 11:05:29 PST Received: from mail-4027.protonmail.ch (mail-4027.protonmail.ch [185.70.40.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3AAB4C27C for ; 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 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org 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.