Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2113591ybd; Mon, 24 Jun 2019 00:43:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqyUdrA3ghJJITIpsH/dyUd5Te60RBuqodNGOn0QQKZewXA+CSyE2Ff65VykE7mTurbUTmbt X-Received: by 2002:a17:902:8d89:: with SMTP id v9mr119759563plo.99.1561362193674; Mon, 24 Jun 2019 00:43:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561362193; cv=none; d=google.com; s=arc-20160816; b=z/hylLa84yeb0XgJLtR/3UlX25b5vJe3SXtd5pf6oNuB/ssDpCZra56SoSLj8+LdXy 54UQgAFPxXALkq0KG1bvp9hiUre8962gqVbsEihoP9yIXcVsS4vZZE4HEWIJzuyWIrpU OO/3Eqqbf9Fr96unw/gjKh7UwBsQISQ5XHA/ILO/WUFOEHYxROifVVbh2ROUKZflfwKk WLWS7r54G5bvRT2fsWCibAFvIslmZxlSpPrTDp/YdXyxuc2vBt+1NKyW4rP1wdYzus/8 RlCmpFRwpFdkjYiq5YH6fTr6QZypUA/fuwYCtlV/lBDcHlEPQsWA3l41DfacWNvVhA2F y+pg== 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=hgU0FiXH/12MWlRFeT9kkL3ay2gw2Tx0bzG57TPodI8=; b=VZlfoWL78EpUE6Fjxz9Cp1umC7+Iv4dIHCbfzg/KP1jrjuZtLxIMsxmk/pZBqFK+Do TvEOpin/r7lH+3Hr1JCWqRmrbSGegSb+UVQYJzTkSgTWW3TDHfPVdPqIOmGYjbPZO7FF al9gm47QXCE++fo+ieC7uYamElMLdPQwdvO4CvITeX7KJKXimwpppkQW4SEePhhReo+l M6rBv+c9WDkOcyzAlgzyrUyPOVtDGTmbrUQj9TQxXM6V1oA0tCfvSDaKow2MOkSAbJNA P8zCTvp2kqI8Zrn6PWTOH41ohZEzP89zimlZ+2YPtZqcGagqp5yizCt1UFjv+ZEcaund Wq1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2qjE1E6+; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t14si6448303pfq.88.2019.06.24.00.42.57; Mon, 24 Jun 2019 00:43:13 -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=@kernel.org header.s=default header.b=2qjE1E6+; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727749AbfFXHlm (ORCPT + 99 others); Mon, 24 Jun 2019 03:41:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:42968 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726077AbfFXHlm (ORCPT ); Mon, 24 Jun 2019 03:41:42 -0400 Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CCDB8208CA; Mon, 24 Jun 2019 07:41:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561362101; bh=L6gUqCG8drdlw0JNPTw4WV1Q9+mlMVk9+r+rpW2w7AE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=2qjE1E6++y+RdD7bONTE2cclIYxf/d21bmpIOBDi5ItxCTulU6+cCP4QmSQYO6Q99 YIp4tfIVt/RGRZdcKgp4rTNKKLxQx8VeMV8NJBA7JpbJSx9t0sPtfTX5tbxN5YUqPf EWglztaz5Ph5WxfmAmG0DeQeohJ89YkYuATaiUtk= Received: by mail-lj1-f177.google.com with SMTP id p17so11612660ljg.1; Mon, 24 Jun 2019 00:41:40 -0700 (PDT) X-Gm-Message-State: APjAAAWy02DJO3EKyZyRNz48xUG3DS+Bka/xPuEooUDBY9j3omCL+DBo OzH02R35294DViDwAZGcejAixRiQ4RZ9ylKB5+0= X-Received: by 2002:a2e:8155:: with SMTP id t21mr28115717ljg.80.1561362099155; Mon, 24 Jun 2019 00:41:39 -0700 (PDT) MIME-Version: 1.0 References: <20190621155845.7079-1-krzk@kernel.org> <20190621155845.7079-3-krzk@kernel.org> In-Reply-To: From: Krzysztof Kozlowski Date: Mon, 24 Jun 2019 09:41:27 +0200 X-Gmail-Original-Message-ID: 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: Anand Moon , 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 On Mon, 24 Jun 2019 at 09:20, Marek Szyprowski wrote: > > Hi Anand, > > 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)? Best regards, Krzysztof