From patchwork Mon Mar 20 17:50:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lin, Meng-Bo" X-Patchwork-Id: 665429 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 8036DC7618A for ; Mon, 20 Mar 2023 18:02:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230326AbjCTSC3 (ORCPT ); Mon, 20 Mar 2023 14:02:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230341AbjCTSCB (ORCPT ); Mon, 20 Mar 2023 14:02:01 -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 59B1A2D14D for ; Mon, 20 Mar 2023 10:56:28 -0700 (PDT) Date: Mon, 20 Mar 2023 17:50:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1679334907; x=1679594107; bh=YpXUHqN2Bflx7amgdjF7iQaRJLpF7PEzy98FHyuD0aY=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=VrdyxyrTwRIEZRFp9QwPilHeKxV6/JjzQWzvIs3DEBp2q648vKCWJY01kD4TYKakz 7a//Vx2jgfdCzSE5TyCh4bcRJFkk4bkGS9MBptePOIafA9V3aZ6pnqvEsv+D8rK+6o zxkSl04b/OHsOHd03uTLIAFadqluHuhuiBYb64EROZQUqjJXnXIoSKMT81xtZRR9Ro 1YfabfyIi/hdMx9Ua059ZdIUEb3P6PIl0AcOfOoOmKYQJcSFqtww8VqWzW7IjAUtlq GTonx01y22Vu6GOoOceufrl1eER9igxfedbAORtqppTFoxDsVOGMdSAFVX/n4Wqvb7 mj24XM5EONGZg== To: linux-kernel@vger.kernel.org From: "Lin, Meng-Bo" Cc: Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Nikita Travkin , Stephan Gerhold , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH v2 0/2] leds: aw2013: Add vddio regulator Message-ID: <20230320174949.174600-1-linmengbo0689@protonmail.com> Feedback-ID: 40467236:user:proton MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org v2: Rename vdd to vddio and reword Some LEDs controllers are 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 "vddio-supply" that is enabled by the aw2013 driver so that the regulator gets enabled when needed.