From patchwork Tue Dec 17 08:51:24 2019 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: 181845 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp5458069ile; Tue, 17 Dec 2019 00:50:23 -0800 (PST) X-Google-Smtp-Source: APXvYqwF/pzMerzgm0uOS1XVoNLttlY86DS1i4rUmSKYReSj1fi7R8ye6n6uzAiesuENlhA2HEjw X-Received: by 2002:a9d:6181:: with SMTP id g1mr37617390otk.104.1576572623725; Tue, 17 Dec 2019 00:50:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576572623; cv=none; d=google.com; s=arc-20160816; b=zYxxnf0Sz1l/hXTVL1BmTZmlhzJ5+piKU2yaY+0CBHypZuTYEBv5qqCQQvo+rquMWM mnaa6IWhymLWeAqrz01+vL/iMfBu7Ct1K7kQKKZBLG4U76bT3b3MS3O9jtSU3lo43zV4 2CiLxIYyAYR9Dkvjun2/qt08J6bAsxVh6XKqfzV2QEhzCJTPuhevqgNJTyaXqNc/EPhK PH795h5sT/n9mcDERZG6MLHJD3JeNJAh1Zm4ZdJC1L4F+xWg072Zk5+o9Td/59Tbpk0/ 9MPEnzg2OREX5anzjOscP50FEzKjgw6+rGSioF/iKIQyGFhXjGG7aVy4j6lixrrX7KKI qyAA== 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; bh=7VWSQNU7kHSJwi7TH4NML4wI3nW2GubcarW9HzOBN7Q=; b=MZphnnd2EDcz+pLLEbmjJdJku8FaQ3mMAaKGM1GRi5I967Ta0hob5DxrJuhd/1YEdN B/1YdbcPB43CZzDSKvnGVPgrWnZeJNMt+7t3PN7e/FmdBnVGpGTKxx9OxLrzSn8MnemL I115iNl/uGaEAPZyz4kSMk3E9u5vDY+7uxDNg9S8Nk9FG5SNTlM0flVqVERY43WH0XFe oz/0SCiN1tK6vcCG6KZu+cAMwDLIy9FirRv7NLCjPKCzIJ/1VET0NhnU7vl4AGbT8IQx v6Y4feqpac5a/0zWTxMh7B0Vst+t/lLzeKAd3KCrvNOcRLDbxS2rqf4vMQnFYrR6D2Bt 8vMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=N52btY71; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 y4si14265667otk.219.2019.12.17.00.50.23; Tue, 17 Dec 2019 00:50:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-omap-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=N52btY71; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 S1727071AbfLQIuW (ORCPT + 4 others); Tue, 17 Dec 2019 03:50:22 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:49604 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725893AbfLQIuW (ORCPT ); Tue, 17 Dec 2019 03:50:22 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id xBH8oIgj011515; Tue, 17 Dec 2019 02:50:18 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1576572618; bh=7VWSQNU7kHSJwi7TH4NML4wI3nW2GubcarW9HzOBN7Q=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=N52btY71OtDkSnFeBOSSRrRcoW29gHkRieddMJuRupAYEk0B//pL5jf88hLP+ECd7 5G8q/jX0J9gR40qP6qan5hmVqQO1nS5zfGHZDouUD3QGi0B1NVUC5AbIaJKGI4dH70 X49t4DVHOmCdsPOxN0eiYBjhqfSV0Xo2tTOnl9Os= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xBH8oI0S040163 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 17 Dec 2019 02:50:18 -0600 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Tue, 17 Dec 2019 02:50:18 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Tue, 17 Dec 2019 02:50:18 -0600 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id xBH8o6dY062966; Tue, 17 Dec 2019 02:50:15 -0600 From: Kishon Vijay Abraham I To: =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren CC: Rob Herring , Kishon Vijay Abraham I , , , Subject: [PATCH 3/3] ARM: dts: beagle-x15-common: Model 5V0 regulator Date: Tue, 17 Dec 2019 14:21:24 +0530 Message-ID: <20191217085124.22480-4-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191217085124.22480-1-kishon@ti.com> References: <20191217085124.22480-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org On am57xx-beagle-x15, 5V0 is connected to P16, P17, P18 and P19 connectors. On am57xx-evm, 5V0 regulator is used to get 3V6 regulator which is connected to the COMQ port. Model 5V0 regulator here in order for it to be used in am57xx-evm to model 3V6 regulator. Signed-off-by: Kishon Vijay Abraham I --- .../boot/dts/am57xx-beagle-x15-common.dtsi | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) -- 2.17.1 diff --git a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi index 9a94c96b0350..a813a0cf3ff3 100644 --- a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi +++ b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi @@ -29,6 +29,27 @@ reg = <0x0 0x80000000 0x0 0x80000000>; }; + main_12v0: fixedregulator-main_12v0 { + /* main supply */ + compatible = "regulator-fixed"; + regulator-name = "main_12v0"; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + regulator-always-on; + regulator-boot-on; + }; + + evm_5v0: fixedregulator-evm_5v0 { + /* Output of TPS54531D */ + compatible = "regulator-fixed"; + regulator-name = "evm_5v0"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&main_12v0>; + regulator-always-on; + regulator-boot-on; + }; + vdd_3v3: fixedregulator-vdd_3v3 { compatible = "regulator-fixed"; regulator-name = "vdd_3v3";