From patchwork Wed Apr 23 20:34:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 4044811 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 121A09F1F4 for ; Wed, 23 Apr 2014 20:35:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 45419201C0 for ; Wed, 23 Apr 2014 20:35:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0A09220170 for ; Wed, 23 Apr 2014 20:35:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932087AbaDWUe7 (ORCPT ); Wed, 23 Apr 2014 16:34:59 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:39244 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752767AbaDWUe5 (ORCPT ); Wed, 23 Apr 2014 16:34:57 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s3NKYtTI009812; Wed, 23 Apr 2014 15:34:55 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s3NKYtNI012656; Wed, 23 Apr 2014 15:34:55 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Wed, 23 Apr 2014 15:34:55 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s3NKYtQk025599; Wed, 23 Apr 2014 15:34:55 -0500 From: Nishanth Menon To: Tony Lindgren CC: =?UTF-8?q?Beno=C3=AEt=20Cousson?= , , , Nishanth Menon , J Keerthy , Subramaniam Chanderashekarapuram Subject: [PATCH] ARM: dts: dra7-evm: keep TPS core control signals active Date: Wed, 23 Apr 2014 15:34:53 -0500 Message-ID: <1398285293-32106-1-git-send-email-nm@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP SYSEN1, 2 control DDR voltages and REGEN2 actually controls PLLEN (without which platform cannot function). We need to mark in dts that these are supposed to be always on. Palmas REGEN1 and REGEN3(called REGEN2) are unused on the platform. So we let them auto disable themselves by not defining them. Cc: J Keerthy Signed-off-by: Subramaniam Chanderashekarapuram Signed-off-by: Nishanth Menon --- Patch based on v3.15-rc2, also tested on next-20140423 tag: Tested by applying [1] (auto disable unused regulator for regulators that are deferred): Without [1]: http://slexy.org/raw/s21MCHgeJo (no regulators are disabled) with [1]: http://slexy.org/raw/s21c99YY8n (unused regulators auto disabled). - DDR and board shuts off :( With fix: http://slexy.org/raw/s2TH36cThR [1] https://patchwork.kernel.org/patch/2545061/ arch/arm/boot/dts/dra7-evm.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 5babba0..3f94f75 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -209,6 +209,27 @@ regulator-max-microvolt = <3300000>; regulator-boot-on; }; + + sysen1: sysen1 { + /* SYSEN1 ->... EVM_3V3_SW -> DDR VTT */ + regulator-name = "sysen1"; + regulator-boot-on; + regulator-always-on; + }; + + sysen2: sysen2 { + /* SYSEN2 -> ... TPS57112 1v35DDR */ + regulator-name = "sysen2"; + regulator-boot-on; + regulator-always-on; + }; + + regen2: regen2 { + /* Internal REGEN2 is PLLEN */ + regulator-name = "regen2"; + regulator-boot-on; + regulator-always-on; + }; }; }; };