From patchwork Fri Apr 27 12:09:00 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: 134612 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp643212lji; Fri, 27 Apr 2018 05:11:48 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqqPO5vr7sVv/uP57sYLQbObn+eaLwDw2zq/mL3ANgXRJJ6PsQ6Lgt1YMsJN9de2CNk/NuP X-Received: by 2002:a63:65c2:: with SMTP id z185-v6mr1931605pgb.337.1524831108704; Fri, 27 Apr 2018 05:11:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524831108; cv=none; d=google.com; s=arc-20160816; b=FAIYBZfRYLz7VgC/ggi+k95xupSJSXoO2XC+hkZJ7/uRNxT1FG7QgVaZ4vJT2opiEz ihR6A6a06hAe4dWG/iKDI9SgniRJCCUHu7XhQ7o06c3NwHXZ23TRmVKVOoKkhaAFUu6G 2NvYXvZErSlW/3HfuH0q4LkHhaORHbHxb8e8Y6TIYuh/0NZvRAM2U6+ut081wgCjhiPI c0teg5y5RIdGoT6v029U8Iuv1b9DmGBh7aDTzLGNeoRPJ8QfiF0Ik2EiIF7lViBWnlOl CFY+arVvjrDACIeddu679pSgC2A1md73p18fC1QPrwCnXzti7XcfMnNmY8NzXPIrRPG0 9TRg== 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=U8ssS+VdcNKizXCgrnpzo0SCbR5kiugkX/LY5RtxxPPWSAp+4oTUsZX448dnPm3uZd ZcM+xtWQJ5kl0wHHnUQbBHGjoBJ+kq4sw9nmNVcqDT0vOx9kTWqtG/zrjsrH6v7qNJ2P QCee++teRFlxyQUCg01tOH0ROqwMz3tukRqFzH/YNs2fRlkEn6Kb9wh+bO+VJQlxXp13 NGBQhh9IWrEdwaC9Kr776xuILEwDN+ltFcQmkGghUGzXg5PKst2Vry3rjRAGTYln9daA nLM1w5eQ5iV7Nn8qRYOdICfu46B69lzBVgr0QyP3qKzN8mSRoU4wXZYCUWMXj+VfSSwC uevQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nzNtK8W0; 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 f16si1198828pfe.291.2018.04.27.05.11.48; Fri, 27 Apr 2018 05:11:48 -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=nzNtK8W0; 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 S932515AbeD0MLq (ORCPT + 29 others); Fri, 27 Apr 2018 08:11:46 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:15916 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758133AbeD0MJv (ORCPT ); Fri, 27 Apr 2018 08:09:51 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3RC9jmH013720; Fri, 27 Apr 2018 07:09:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1524830985; bh=MTjPX7UZC7iyf9hR7rERi4ULy9ZhDVz1iWkn9TNQW7Q=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=nzNtK8W0d9n2fAajTDN/ZIV4fytX3FOTX0OsyjwedjwPo6/4jfiheEbUNU7djiAz2 y8JpGAr5DFdt4MSJjSXpuBTz7+4+WPg9AUvtzXhNlZ4vFRZJfrLKVXP415uGv9U9nd CtGVMMGJSm2/Z2iIjfQaMCIU9sJi11syAgNIbTkA= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3RC9j6c012899; Fri, 27 Apr 2018 07:09:45 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 27 Apr 2018 07:09:44 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Fri, 27 Apr 2018 07:09:44 -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 w3RC9AjR006789; Fri, 27 Apr 2018 07:09:41 -0500 From: Kishon Vijay Abraham I To: Tony Lindgren CC: Jonathan Corbet , =?utf-8?q?Beno=C3=AEt_Cousson?= , Rob Herring , Mark Rutland , , , , , Subject: [PATCH v4 09/14] ARM: dts: dra7-evm: Model EVM_3V6 regulator Date: Fri, 27 Apr 2018 17:39:00 +0530 Message-ID: <20180427120905.3665-10-kishon@ti.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180427120905.3665-1-kishon@ti.com> References: <20180427120905.3665-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>;