From patchwork Tue Mar 9 13:31:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 396347 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C855C433E6 for ; Tue, 9 Mar 2021 13:32:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C0DA764F35 for ; Tue, 9 Mar 2021 13:32:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231423AbhCINcN (ORCPT ); Tue, 9 Mar 2021 08:32:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230502AbhCINbm (ORCPT ); Tue, 9 Mar 2021 08:31:42 -0500 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 895C2C06175F for ; Tue, 9 Mar 2021 05:31:42 -0800 (PST) Received: by mail-pf1-x42e.google.com with SMTP id y67so9537598pfb.2 for ; Tue, 09 Mar 2021 05:31:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1GtGC4SBuQ2ZFpLAGRU3Pq+Y262ZpPGaqfYEkH6Dyyw=; b=nF84KLAK6EzWsXH1yHWAfrQcJnhC4o8yyumHI0TBbY+I1ON60qF45+BdPznldjo8f3 d8aoGI31x/rInG8GXv3w9dGS5jD6HzfVDPuDbsWBn96lgcqnRCPK0Vv7XAAGoW0EoBAC KExrBtd2dUdmxFxYPidcuWBVbzJoeFLovTG5c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1GtGC4SBuQ2ZFpLAGRU3Pq+Y262ZpPGaqfYEkH6Dyyw=; b=S/xjlYHJIWAcdhgPP7N1n4k6+PkpI9rgh+OmO3MK6zf6tdnA0LC1CI2iOaN7bK63XS vKv4wC4TN9VGEbtqE3DQ1K9uhPVRRaO3ol2vx9XkaDfCY75HA9rw6hNYwP7mSX92lFvo Dk9IeDwRC4OstTHSUKhr+ObU5VmVeDIRhJiH6evl0xjOYd/OQSZmvbL9BQqq5WZt6VwT /qqtYC8XSPJdn/SLHessOJfL9eIVyDy+KPd199GdJEQ2F8onid27XI2YN60w3AVf20PM tG70/G59AExvZ/+6Iy9lNzQXZi1ZBXLSNaxrm8iL/FWaL4FQ/Xp+wdQgaiDVYf087tZM pb4A== X-Gm-Message-State: AOAM530wdFHDnceNz6eoZHGWCPqX0HP+owQydLwLp7xHP4RPhd7jtI+3 Hu66a195H4ToaGaI/VgF7KgTUlfoqnwYHGWV X-Google-Smtp-Source: ABdhPJwPHn0LnuTNkj++gu3E8wnandxNGTpU86svGpOCxuksTcoujIetoFYAWLu2SylpmgP8eNF68Q== X-Received: by 2002:a63:5b52:: with SMTP id l18mr25527277pgm.304.1615296702060; Tue, 09 Mar 2021 05:31:42 -0800 (PST) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:f936:57e5:154d:e0d9]) by smtp.gmail.com with ESMTPSA id 138sm13678649pfv.192.2021.03.09.05.31.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Mar 2021 05:31:41 -0800 (PST) From: Hsin-Yi Wang To: Wolfram Sang , Bartosz Golaszewski , linux-i2c@vger.kernel.org, Mark Brown Cc: Matthias Brugger , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Bibby Hsieh , Rob Herring , Marek Szyprowski Subject: [PATCH v17 2/3] dt-binding: i2c: mt65xx: add vbus-supply property Date: Tue, 9 Mar 2021 21:31:30 +0800 Message-Id: <20210309133131.1585838-3-hsinyi@chromium.org> X-Mailer: git-send-email 2.30.1.766.gb4fecdf3b7-goog In-Reply-To: <20210309133131.1585838-1-hsinyi@chromium.org> References: <20210309133131.1585838-1-hsinyi@chromium.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Add vbus-supply property for mt65xx. The regulator can be passed into core and turned off during suspend/sleep to reduce power consumption. Signed-off-by: Hsin-Yi Wang --- Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt b/Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt index 7f0194fdd0cc..2c45647e9f0b 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt @@ -32,6 +32,7 @@ Optional properties: - mediatek,have-pmic: platform can control i2c form special pmic side. Only mt6589 and mt8135 support this feature. - mediatek,use-push-pull: IO config use push-pull mode. + - vbus-supply: phandle to the regulator that provides power to SCL/SDA. Example: