Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4024055ybl; Mon, 3 Feb 2020 11:04:09 -0800 (PST) X-Google-Smtp-Source: APXvYqx9uycQkIdw6CopqtpJ67hT0OMxP0jdfLYw37xwQ8GrbshhBEEipEcCzFa0UfzbmaOyGVMS X-Received: by 2002:a05:6808:9b4:: with SMTP id e20mr330774oig.37.1580756648935; Mon, 03 Feb 2020 11:04:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580756648; cv=none; d=google.com; s=arc-20160816; b=XA9yuxiXTdy4GO6bB67Yb1cLo2Z9Oi+AoQS5NLB+hrSZXDaPXq4sk7tmJqad0ppti4 YBuO5cjhLTPlcaFXM9B0xi5Y5G2W/Ai/vuniOSHblSxEkyp6TU8awDXojMNmfQVGqxFn xsZT3f0/vDej9dFGrw5Yhu7oUfA50kTgOUr2R/+JBhU7vFOIuoi0CFmcLlsWyTvGI44s xVe8aHDYRtzb4iPxt9fo6EPjleDfgff3d09a2RtnBaIvYiY85ed8KtjgG8bLpJrqg6Fw 0kk/gDge+6VR+7VueXeagN4Nm0YAWQB/HhMXTo3IKdkdQO7e8o802Pm6L8Q9EblhOJX1 /X2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=xgC1uE/NjxWvJWbJCgi+ILVYlwaQmf0YzSBuGHU6w7I=; b=kdIAg0RgovLL/YxK8sd9y2RgpRDPssch7fEBjmmq3UsE/2POAwOpPuxG5iv5U0/EN+ V7prNtkRT50iSXGrbDiHQ/Vukig/bhcZSj7KyBYsleiwgiUcSmmivEuLH1IXhP2GWJQN uA7hA9Mnw3NGC281sbK4U0sXUKyZ6g1W9fd8RmPktFC6FNUTpDc8jLJE14pp7Ze0BTV8 zL2abQM+OQtAcCk+U8ImSsebiAUO5XGRBzuOHXpdqOmjeD+GqzgDfGjyCWK3Pu+D6ofg M5vxoY2mNWGv7t0gAhTCY/1njCxTMU3aHhqwOJHaY4/82PCNBLQwnhX0in+1A9vHN0q9 8cug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Vs76urXR; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h18si9629587otk.227.2020.02.03.11.03.54; Mon, 03 Feb 2020 11:04:08 -0800 (PST) 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=@kernel.org header.s=default header.b=Vs76urXR; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729122AbgBCQ0W (ORCPT + 99 others); Mon, 3 Feb 2020 11:26:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:37294 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729091AbgBCQ0T (ORCPT ); Mon, 3 Feb 2020 11:26:19 -0500 Received: from localhost (unknown [104.132.45.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4B5002051A; Mon, 3 Feb 2020 16:26:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580747178; bh=WUrTKc5YtLb/I/UsRE7CRsbIIlUWvDDl//CIg9ruU80=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Vs76urXRvymualtq5MG18rmS3JRcu21cxvUN3E50t8A+Fq68qW/wjDerIjaADJKU2 Xk1bNPZT+wYfAG39GlUAfS+J0/Oi1exGU4NFGmcFG8hVcmamPLptabWk6GFbtSUPSN pZaPEddEj3krms7tVGyzcaZRWS5uw+gTxS3wGEP0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kishon Vijay Abraham I , Tony Lindgren , Sasha Levin Subject: [PATCH 4.9 42/68] ARM: dts: beagle-x15-common: Model 5V0 regulator Date: Mon, 3 Feb 2020 16:19:38 +0000 Message-Id: <20200203161911.873836426@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200203161904.705434837@linuxfoundation.org> References: <20200203161904.705434837@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kishon Vijay Abraham I [ Upstream commit e17e7c498d4f734df93c300441e100818ed58168 ] 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 Signed-off-by: Tony Lindgren Signed-off-by: Sasha Levin --- .../boot/dts/am57xx-beagle-x15-common.dtsi | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi index 78bee26361f15..552de167f95fe 100644 --- a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi +++ b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi @@ -27,6 +27,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"; -- 2.20.1