From patchwork Wed Apr 25 12:54:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 134274 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp828259lji; Wed, 25 Apr 2018 05:56:14 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/ZpTQNQi3LJiX31/KvRWCP+nyC9GoBHx26sXzZlc2KEBwHheP5F/u4n5FaG/Yo8Mw17i9q X-Received: by 2002:a17:902:bb06:: with SMTP id l6-v6mr11029447pls.255.1524660974723; Wed, 25 Apr 2018 05:56:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524660974; cv=none; d=google.com; s=arc-20160816; b=geEnQSs5ChA0olxcjuO9ovqB2ZtB236zad+ll+RUD+V6KW9Y3MTrRj28WzB719UglF ys4Pmn3+T00U7m0z2aSFt+onMo3wHZqm2IYNvtah7B0ApdSVslR+/ju6V5EMYaREhE7a bITXPVg34gcD9P4W/AkzDmI3i6Gu0gJkn/nzOTHQ/tEykI+pTfspYHYyGRBRvcF96K3P e1lyX7SxTCdJOWEcTk5tYPqRUDtfCPrs5p9LZEGNTLjbXC4ejOF7D7qE5aiWcfY+PeYV yfqpef7rFEc1mI98ouGpz/xfspf6UjOJ+t1hF/WvMB6sGazuZ8PzTG2uzusEgLVHRDdf hmMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=e6k9EpySMKAqbUwO6J0iI+PVpa/M+k9wvAnt4ZjBYlA=; b=BXYntgITXWdo1UlGMMOijsFqP2OZue6mGizMtC9Ugb12i6GYviaJLcB0KtqFzPnjVN 1NHqscgsbDS6q3JFzXfRu3cpda4C3rAkVe5Ba/u8NzOBU5Fb3YDKKh3hYpzjRNOVrvp8 fLSSrek2kVu6cRSn54Ive5w7o7gANmHy0muxymgLI2+ogxJtfPXg6FhUaxS11ZrP3sau +3gR8lNGVS6Y3hONr12iSvb3JOAfa96wx43aBMkPh3QN4d2RNHGsa31VLDPPEaoO1Q5j 216L4+tPCUwDBLqG+c48sgF3Ni56EC88VEU9YkImd+AIGwz6C8Y3oILm3VFnEa4+5qIr 9A4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yR7foJbJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f11-v6si4222705plj.58.2018.04.25.05.56.14; Wed, 25 Apr 2018 05:56:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yR7foJbJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754240AbeDYM4L (ORCPT + 29 others); Wed, 25 Apr 2018 08:56:11 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:65300 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751525AbeDYMzw (ORCPT ); Wed, 25 Apr 2018 08:55:52 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3PCtfeu026421; Wed, 25 Apr 2018 07:55:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1524660941; bh=MTjPX7UZC7iyf9hR7rERi4ULy9ZhDVz1iWkn9TNQW7Q=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=yR7foJbJJBKjySHDoqL4WAUYPx7OJ0LmxNrDCNFd17EGKZ1phV287J0nYmtNgGbSC 024umh5deaDJ33jmGyriIiMCW1HhfNkxEaIHRjL24gzhbYJWYACHYB9qusAAzweyAh +oHz9d9YE5wtfgM/SFWnFMy3KueAxbNbmegf6gBI= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCtfo2024387; Wed, 25 Apr 2018 07:55:41 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 25 Apr 2018 07:55:41 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 25 Apr 2018 07:55:41 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCt1SN021671; Wed, 25 Apr 2018 07:55:38 -0500 From: Kishon Vijay Abraham I To: =?utf-8?q?Beno=C3=AEt_Cousson_?= , Tony Lindgren CC: Jonathan Corbet , Rob Herring , Mark Rutland , , , , , , Subject: [PATCH v3 10/15] ARM: dts: dra7-evm: Model EVM_3V6 regulator Date: Wed, 25 Apr 2018 18:24:44 +0530 Message-ID: <20180425125449.19755-11-kishon@ti.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180425125449.19755-1-kishon@ti.com> References: <20180425125449.19755-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On TI's DRA74x EVM, EVM_3V6 is connected is connected to the VBAT line of the wilink card. Model it here so that it can be used while adding wilink8 WLAN support. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra7-evm.dts | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) -- 2.17.0 diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index f1425b0f3a54..181289a28ca1 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -20,6 +20,16 @@ reg = <0x0 0x80000000 0x0 0x60000000>; /* 1536 MB */ }; + evm_12v0: fixedregulator-evm_12v0 { + /* main supply */ + compatible = "regulator-fixed"; + regulator-name = "evm_12v0"; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + regulator-always-on; + regulator-boot-on; + }; + evm_1v8_sw: fixedregulator-evm_1v8 { compatible = "regulator-fixed"; regulator-name = "evm_1v8"; @@ -54,6 +64,38 @@ regulator-max-microvolt = <1800000>; }; + evm_3v3: fixedregulator-evm3v3 { + /* Output of Cntlr A of TPS43351-Q1 on dra7-evm */ + compatible = "regulator-fixed"; + regulator-name = "evm_3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&evm_12v0>; + regulator-always-on; + regulator-boot-on; + }; + + evm_5v0: fixedregulator-evm_5v0 { + /* Output of Cntlr B of TPS43351-Q1 on dra7-evm */ + compatible = "regulator-fixed"; + regulator-name = "evm_5v0"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&evm_12v0>; + regulator-always-on; + regulator-boot-on; + }; + + evm_3v6: fixedregulator-evm_3v6 { + compatible = "regulator-fixed"; + regulator-name = "evm_3v6"; + regulator-min-microvolt = <3600000>; + regulator-max-microvolt = <3600000>; + vin-supply = <&evm_5v0>; + regulator-always-on; + regulator-boot-on; + }; + extcon_usb2: extcon_usb2 { compatible = "linux,extcon-usb-gpio"; id-gpio = <&pcf_gpio_21 2 GPIO_ACTIVE_HIGH>;