Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1579105pxb; Mon, 8 Mar 2021 00:41:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJxIZ00FVdSpNYpt49sEMP2J2/M6UTrgKOfyiuStQz4P/VskeERJgb9tf8GfZkUY2s1Syo7g X-Received: by 2002:aa7:dc04:: with SMTP id b4mr4410200edu.221.1615192898437; Mon, 08 Mar 2021 00:41:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615192898; cv=none; d=google.com; s=arc-20160816; b=YW43qBXXtkHa9VxgqRa6EFLjp4VMH+HFEwLBkkbVHX1eEFBXrJJ16DaltmGfKAuA9G GRvFSDYLeOY47OSVH/ULwtASdUrmi5YhmjdUijFzKM+LNYYuQGrizBJIDRpVRnmpvkZf L7ZQM52iU9w3FdRT0mtwrblNS84Glxeo627GQ5dpBkdMkHIZqwxZx+tb6nqaGu733gZa hVJ5xRP9w4tUzU7wTkDhzHT7iroMz61kJdbEplq3Zd9UGuYGqDllnN5AceitOEw8CCxk +AovT4b4OBgOCD6hbw5/4JPWVKJnh2bEhJd0MqAQS0qsDf0Bkr/zGh9cKaiFgo++CeI5 E5rQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FHYldnLHVjUCtTPUMHFVsgGiL0sQpC3TJ8ogHG6aen8=; b=tsHQqUjX40MO9Aft1S/7CJJ/gzp8zAx3o60DKXuYcK7Y/75MK8vgBpiswSUYFg0fAZ EttD2cP3CY1SCESaJe6CVfZlN49JyseYTnOxuQOR56sazVpCMDNS04Mvh7i8G+2IBcaP j3sCl6bmEFpP+UCYDbc5Bp/muoKMD/24i1keEY8WCd/YU4cCPSBH6XmUxcmr5D0LhKBt zWdETHiCQkPelTCQkROQX6TlXALljaNOOBO1/g6m9gErm5N+r/db0xittcat94Fxaxkq X51Pdu2s2qb15gN+r+S9MNK/Us2oMXWcRdpSmiNPKGBb/wI4AQmbXCiO5enVQ3fELlb4 b8jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=kf5mR4d+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u20si6292197ejr.511.2021.03.08.00.41.14; Mon, 08 Mar 2021 00:41:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=kf5mR4d+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234189AbhCHEgW (ORCPT + 99 others); Sun, 7 Mar 2021 23:36:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234183AbhCHEgQ (ORCPT ); Sun, 7 Mar 2021 23:36:16 -0500 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A05B2C06174A for ; Sun, 7 Mar 2021 20:36:16 -0800 (PST) Received: by mail-pj1-x1036.google.com with SMTP id kk2-20020a17090b4a02b02900c777aa746fso2385107pjb.3 for ; Sun, 07 Mar 2021 20:36:16 -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=FHYldnLHVjUCtTPUMHFVsgGiL0sQpC3TJ8ogHG6aen8=; b=kf5mR4d+LR5JbmXKw7GBAbezQrJuBbdr23XLj7F4h0q19tZUWG1P3AbEmDtzUGrnZZ QIPpIARW/MuIw3pbo79B7vjypi5C1e/tuJuU40TMB7Z3pesGzJWkJjAohZ2KJdLH+7eK x5rimKui7iYlNXUZegTL0pvXUDliEdJbc8fIw= 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=FHYldnLHVjUCtTPUMHFVsgGiL0sQpC3TJ8ogHG6aen8=; b=BPY9amiD4c90xEeAjahh2YCcjoo5z/TEAo9OXPqHOEF4GOolZg/ttiacKKDFEfmtzv Fz2vo15fPFKa8eWh5kfhk/o+Y7DvamwBqHE9ysBp8wXe38Pj4W5Oovq07+vLKtmyXLiQ N0Kp+GKu84obOjq2WsWv4xooOsROEqB8C9YQ+9tcn2eH0CzjcoIOrtwtl9ospqfSlmoS ZMaiQxABCRylmSkG7T3mAGTY78LNx9/RMEFp4X8IuAW1TrxI0Q63tMmTvAh24G1WGeNx LmKEtYsM/duKnuaCltf1KVrsqKVbEp4m7umRB0yJrmVxJg6oU4jw+FNML3m/VIyWBTJ3 pnzw== X-Gm-Message-State: AOAM530X4QKHefwx9py1ysWu+2oFpAlQIDmnlpgOubXUx1nQyu4CRNUq FjrvHEsrMb8CkQOzpi2dJRVCYw== X-Received: by 2002:a17:90a:d590:: with SMTP id v16mr22232876pju.118.1615178176205; Sun, 07 Mar 2021 20:36:16 -0800 (PST) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:5da1:da1b:5bcf:2d46]) by smtp.gmail.com with ESMTPSA id q2sm8191562pfu.215.2021.03.07.20.36.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Mar 2021 20:36:15 -0800 (PST) From: Hsin-Yi Wang To: Wolfram Sang , Bartosz Golaszewski , linux-i2c@vger.kernel.org Cc: Matthias Brugger , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Bibby Hsieh , Marek Szyprowski Subject: [PATCH v16 1/2] dt-binding: i2c: add bus-supply property Date: Mon, 8 Mar 2021 12:36:06 +0800 Message-Id: <20210308043607.957156-2-hsinyi@chromium.org> X-Mailer: git-send-email 2.30.1.766.gb4fecdf3b7-goog In-Reply-To: <20210308043607.957156-1-hsinyi@chromium.org> References: <20210308043607.957156-1-hsinyi@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bibby Hsieh In some platforms, they disable the power-supply of i2c due to power consumption reduction. This patch add bus-supply property. Signed-off-by: Bibby Hsieh Acked-by: Rob Herring Signed-off-by: Hsin-Yi Wang --- Documentation/devicetree/bindings/i2c/i2c.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c.txt b/Documentation/devicetree/bindings/i2c/i2c.txt index df41f72afc87..88972bd62ce1 100644 --- a/Documentation/devicetree/bindings/i2c/i2c.txt +++ b/Documentation/devicetree/bindings/i2c/i2c.txt @@ -130,6 +130,9 @@ wants to support one of the below features, it should adapt these bindings. - wakeup-source device can be used as a wakeup source. +- bus-supply + phandle to the regulator that provides power to SCL/SDA. + Binding may contain optional "interrupts" property, describing interrupts used by the device. I2C core will assign "irq" interrupt (or the very first interrupt if not using interrupt names) as primary interrupt for the slave. -- 2.30.1.766.gb4fecdf3b7-goog