Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2486573ybd; Mon, 24 Jun 2019 07:16:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvv1A5pDx1IEwLj5nOiE23e0RtAFqRQr3Oe5jDEmlQSenicpVBVst0F8M/eeqLopyzJMTJ X-Received: by 2002:a63:8c0f:: with SMTP id m15mr11201243pgd.441.1561385778521; Mon, 24 Jun 2019 07:16:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561385778; cv=none; d=google.com; s=arc-20160816; b=RJvqh9qto/zYNXXeVuAUIVcfZ8J2qpb51iVB4BxTf9DJZgyBDetFCwqav4ogJLwBqP NLV5L7+2WmAbBkQEcZHG67dLyPQpgZ/HSL2wQp6vHpMYI1KgTmmp67y7oemuicQxN61N zwerfk9mhU4+g/+P4INnaGAo0uyqSZd8VWo2eJMv2R2vUPrR10/AmfkcKQJ81Vn4e9fp XpuC7nTMiR1t2IbpWkqqvaEWD3cEeKRGVU52O/xaXMgF9QntqIoTdFtpcvcMtXf3hPvs psl258toV+kXjZJ7kAyv9NiRV32CgGQP7cTZyopqfPQHcqecP3lm4FI1nWGhibCHYGYJ hgpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=JAY+HO+se6M27BJLGy2WaRXVtQjt3tup0p+M/AykcYU=; b=wR1b7q3lK5HY6NMd0EVrQK290EtyEbVgFCZVo+o5gZJUn3W34jZ+CYo93TNFkYlLYO lHcsKLf78Wc2uJW3KLFeBLt3qb8GdwIDHrLKrQQiuLMhvYV1hL/YCsk8MCG3xD8Z/g7B 3vrRja43IfPSta3eZCRVMaCGlMkjO2UcixWu9sBvtdHSrea/XsC7oQU8ZqHpbNJrRjL1 wLBIknrOVwJPAO9IiEUXZh7qIXD8pzNUl7mAGCRFtYiDohKufeMOvGua59gA9Qk/IfdI AmAPrlhbvOGSSgeqGZei+575owsKEwrARWGVpowX5neYCJq3T/AKTxkFnBUy4QsdqV/P Bxyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WqahhA0v; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n184si10970457pfn.59.2019.06.24.07.16.03; Mon, 24 Jun 2019 07:16:18 -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=@gmail.com header.s=20161025 header.b=WqahhA0v; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731261AbfFXNnA (ORCPT + 99 others); Mon, 24 Jun 2019 09:43:00 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:39732 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728933AbfFXNnA (ORCPT ); Mon, 24 Jun 2019 09:43:00 -0400 Received: by mail-io1-f67.google.com with SMTP id r185so823616iod.6; Mon, 24 Jun 2019 06:43:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JAY+HO+se6M27BJLGy2WaRXVtQjt3tup0p+M/AykcYU=; b=WqahhA0vGT09ygQXdubtYD5Lz8cEW9fjhcYm97RgfF6N2/isRXcUjN3KMzuLlAScL2 uB1+yrJlpzeAGIVXLqeyKk4Vv85+P8jeJFXi+iruawOOdanDNRNg8aoHp1CPiDmlYVSC 6U6VpETeSl0kXNREKCfsI8At3rHRNCu0EpJHK/dETrHs2ALcqFSRc3oLzsWKipgN8xM/ T1+lJaRW9mkfN/FM8N2bu1xaMckb8WFtWM0ymwCaaUbnCX6j5Wl3/3Fcu7P6cZBagDZm qF6gd2YkmuYRFi1rjW+ke9AcQTdaKKhb/17oQHB4k5i+20d0/O1EfWR42JOMSVp5noas SpKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JAY+HO+se6M27BJLGy2WaRXVtQjt3tup0p+M/AykcYU=; b=VYo1nZniLZ+uc3YiobzkbQh2s3ZTLPFBt9y5Dd+pRZ0E4zObzc8QOYpvN+6awrkbTd 7zBWcvLCT68O0PjaIQtL5R+M6Fm5SD8H6fNo8FLURY9aFHUuWvjSKVwSz+ifBmgooqAB KcIRCnek2XJxx1BNJd+YXHMikXD+kowGv86o/u74GUsRd8KfqitLG79zxV1U5wN89Lye 07JsTtLcmT7nfUd/1bXrmnGTKJpgt7oITsXU7eQwJRc0YKU+wKNLJBcnJzy0RTJQ+4ps uLAa4oQxeTfEtQMb5dPoUSRcbmjRkKnHhEY1iFoPywQOLNrrJwiZamLHhzo8g13l3/Kh VE0w== X-Gm-Message-State: APjAAAWXdA8aNWkpIRWnXzW+wpqLlvOcsWIdVY7cWG98RPblV/XWFzE0 3xmQsHtGT0qNzjZDEHgYDaIVQ1NhR+KBz/XM9qI= X-Received: by 2002:a5e:c30f:: with SMTP id a15mr8320747iok.246.1561383779652; Mon, 24 Jun 2019 06:42:59 -0700 (PDT) MIME-Version: 1.0 References: <20190621155845.7079-1-krzk@kernel.org> <20190621155845.7079-3-krzk@kernel.org> <2f58b63e-adf1-7935-8849-f311dc991b84@samsung.com> In-Reply-To: <2f58b63e-adf1-7935-8849-f311dc991b84@samsung.com> From: Anand Moon Date: Mon, 24 Jun 2019 19:12:46 +0530 Message-ID: Subject: Re: [PATCH v2 3/4] ARM: dts: exynos: Add regulator suspend configuration to Odroid XU3/XU4/HC1 family To: Marek Szyprowski Cc: Krzysztof Kozlowski , Kukjin Kim , devicetree , linux-arm-kernel , "linux-samsung-soc@vger.kernel.org" , Linux Kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marek / Krzysztof, On Mon, 24 Jun 2019 at 14:31, Marek Szyprowski wrote: > > Hi Krzysztof, > > On 2019-06-24 09:41, Krzysztof Kozlowski wrote: > > On Mon, 24 Jun 2019 at 09:20, Marek Szyprowski wrote: > >> On 2019-06-23 18:02, Anand Moon wrote: > >>> Thanks for this patch. Please add my > >>> > >>> Tested-by: Anand Moon > >>> > >>> [snip] > >>> > >>> Could you integrate below small changes into this patch. > >>> with these below changes suspend and resume work correctly at my end. > >>> > >>> [1] XU4_suspendresume.patch > >>> > >>> As per S2MPS11B PMIC 1.2.1 Regulator (Features) > >>> Fix the min max value for *Buck7* and *Buck8* > >>> > >>> -- Buck7 (VDD_1.0V_LDO) 1.5 A (1.2 V to 1.5 V, 12.5 mV step, default on 1.35 V) > >>> -- Buck8 (VDD_1.8V_LDO) 2.5 A (1.8 V to 2.1 V, 12.5 mV step, default on 2.0 V) > >> Could you elaborate why such change for Buck7 and Buck8 is needed? > > Anand has here valid point - the constraints in DTS do not match > > hardware manual. This leads to question whether voltage table in > > driver is proper... Another point is the voltage itself. The > > schematics describes them as at specific voltage (1.35 V and 2.0 V) > > but after boot they are 1.2 V and 1.85 V. Maybe this shift comes from > > the problem above. > > > >>> Also add suspend-off for *Buck9* > >>> Buck9 internally controls the power of USB hub. > >>> Adding suspend the this node help proper reset of USB hub on Odroid > >>> XU4 / HC1/ XU3 > >>> during suspend and resume. Below it the logs from my testing. > >> Disabling Buck9 in suspend indeed reduces the power consumed by the > >> board during suspend-to-ram from about 80mA to as little as 7-10mA, what > >> matches the results of OdroidXU3. Thanks for the hint! > > Although I did not get what is the difference in the logs (Anand > > pasted two logs but they look the same) but the power consumption is > > reason is good enough. I would be happy to put in the changelog entire > > consumption difference. I can measure it on XU3-Lite but can you give > > me the XU4 (before and after)?\ > > > HC1: > > next-20190620: 120mA (@5V) > this patchset: 72mA (@5V) > this patchset + fixup from Anand: 7-10mA (@5V) > > XU4 (SDcard): > > next-20190620: 88mA (@5V) > this patchset: 74mA (@5V), sometimes 42mA (@5V) > this patchset + fixup from Anand: 6-9mA (@5V) > > > XU4 (eMMC): > > next-20190620: 100mA (@5V) > this patchset: 72mA (@5V), sometimes 41mA (@5V) > this patchset + fixup from Anand: 6-9mA (@5V) > > > Best regards > -- > Marek Szyprowski, PhD > Samsung R&D Institute Poland > Thanks for this results. Best Regards -Anand