From patchwork Fri Oct 18 08:25:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bibby Hsieh X-Patchwork-Id: 1179202 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@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=devicetree-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 46vfHz0GsHz9sPc for ; Fri, 18 Oct 2019 19:26:07 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2632776AbfJRI0E (ORCPT ); Fri, 18 Oct 2019 04:26:04 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:5827 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2504964AbfJRI0E (ORCPT ); Fri, 18 Oct 2019 04:26:04 -0400 X-UUID: 52791b3d430e43e888e3cd6d0133c139-20191018 X-UUID: 52791b3d430e43e888e3cd6d0133c139-20191018 Received: from mtkmrs01.mediatek.inc [(172.21.131.159)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1801650443; Fri, 18 Oct 2019 16:25:59 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 18 Oct 2019 16:25:56 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 18 Oct 2019 16:25:57 +0800 From: Bibby Hsieh To: Bartosz Golaszewski , CC: , , , , , , Bibby Hsieh Subject: [PATCH v2] dt-binding: eeprom: at24: add supply properties Date: Fri, 18 Oct 2019 16:25:57 +0800 Message-ID: <20191018082557.3696-2-bibby.hsieh@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20191018082557.3696-1-bibby.hsieh@mediatek.com> References: <20191018082557.3696-1-bibby.hsieh@mediatek.com> MIME-Version: 1.0 X-MTK: N Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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: vcc-supply, i2c-supply. Changes since v1: - change supply name - rebase to next Signed-off-by: Bibby Hsieh Acked-by: Bartosz Golaszewski --- Documentation/devicetree/bindings/eeprom/at24.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml index e8778560d966..578487a5d9b7 100644 --- a/Documentation/devicetree/bindings/eeprom/at24.yaml +++ b/Documentation/devicetree/bindings/eeprom/at24.yaml @@ -167,6 +167,14 @@ properties: minimum: 1 maximum: 8 + vcc-supply: + description: + phandle of the regulator that provides the supply voltage. + + i2c-sypply: + description: + phandle to the regulator that provides power to i2c. + required: - compatible - reg