From patchwork Wed Oct 16 07:51:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bibby Hsieh X-Patchwork-Id: 1177664 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-i2c-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 46tPcq2vSyz9sPT for ; Wed, 16 Oct 2019 18:51:23 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388660AbfJPHvU (ORCPT ); Wed, 16 Oct 2019 03:51:20 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:53981 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726277AbfJPHvT (ORCPT ); Wed, 16 Oct 2019 03:51:19 -0400 X-UUID: a5ab7fe5e67b4b71956dbfa6fa8bc489-20191016 X-UUID: a5ab7fe5e67b4b71956dbfa6fa8bc489-20191016 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1723821946; Wed, 16 Oct 2019 15:51:12 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 16 Oct 2019 15:51:09 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 16 Oct 2019 15:51:09 +0800 From: Bibby Hsieh To: Bartosz Golaszewski , CC: , , , , , , Bibby Hsieh Subject: [PATCH v1] dt-binding: eeprom: at24: add supply properties Date: Wed, 16 Oct 2019 15:51:10 +0800 Message-ID: <20191016075110.8240-2-bibby.hsieh@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20191016075110.8240-1-bibby.hsieh@mediatek.com> References: <20191016075110.8240-1-bibby.hsieh@mediatek.com> MIME-Version: 1.0 X-MTK: N Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org In some platforms, they disable the power-supply of eeprom and i2c due to power consumption reduction. This patch add two supply properties: power-supply, i2c-supply. Signed-off-by: Bibby Hsieh --- Documentation/devicetree/bindings/eeprom/at24.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/eeprom/at24.txt b/Documentation/devicetree/bindings/eeprom/at24.txt index 22aead844d0f..71a534577bcf 100644 --- a/Documentation/devicetree/bindings/eeprom/at24.txt +++ b/Documentation/devicetree/bindings/eeprom/at24.txt @@ -78,6 +78,10 @@ Optional properties: - num-addresses: total number of i2c slave addresses this device takes + - power-supply: phandle of the regulator that provides the supply voltage. + + - i2c-supply: phandle to the regulator that provides power to i2c. + Example: eeprom@52 {