Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3970242pxu; Mon, 21 Dec 2020 00:15:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwzGhzC3p5cw5pNBS4iC9tveROd2l6fWna9TeGMmbWLYRNwOcfg6UMK7Oh1vc9Dbc3wEs9g X-Received: by 2002:aa7:cccf:: with SMTP id y15mr15121146edt.112.1608538501762; Mon, 21 Dec 2020 00:15:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608538501; cv=none; d=google.com; s=arc-20160816; b=aMq2u7rO2L54jv+IeeZXxy/hpcN6qBf0mb4SoNSKhF7+uneAZZhJPGNRlhsuCy+eT8 9iGNc5xeCef233LKix4GtLKMwb6Kq8cIThuTkou4BEDKuCCXm1RcEvNZlG6sj+ULW/bB t+Ou7xMO9HRnXi00RH18EfhjUIbN1nPJ5mBaoLnil0+/qp08jLRxoS+OpLPlV1AFPMoP Y998X9f4vjCKDdPGMksQO/GiKo9N0NjzZUB3IQ3XXjgl0PoVOCsi+ubnkUZvbVN7QLZN 9b9aqBrrJH+fLKL5OkGw+OXwO6+PWrEjZCcupTcbDsafl6HBz5Ixf5vwfYBrBczNuN8A MnEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=W1SmZbMEKDiZCEWiKpzuARIWjlaNV07/xnoz/hmg9d8=; b=X5QZ3RAYg6Il9vwXkPtv8VGYQ+e4Sbauag3sLMMXRzTnQcczs5ycmEGCJc5zOIRtAk 6atam64I40ztX2kKhPdeQYxAINTLe5MimJW6prsuJVH+pI0Y1GIPDxaw/ecQnXsH6FMy c2Ka50FDNBKXUx5ZjP+Y+94CMxcJfkpFyshidbWOVo34ieOBVGTvy2SqdvwSVfflPBav zyTCaYQOsg+PnyATyD07faxHcbelXcl8Tf7KvL4NfzZkAhFB0+vlJYrielB0clIQsHBP eeh2o/Xm7D+9XzVBqcqBWJevtzxXy2vFYGGOLxVZUkmvgO+cc0s4gBK4kQTbOXzVpbaS kUfg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o11si10463896edq.506.2020.12.21.00.14.39; Mon, 21 Dec 2020 00:15:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727214AbgLUINj (ORCPT + 99 others); Mon, 21 Dec 2020 03:13:39 -0500 Received: from honk.sigxcpu.org ([24.134.29.49]:41220 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726275AbgLUINi (ORCPT ); Mon, 21 Dec 2020 03:13:38 -0500 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 07E23FB03; Mon, 21 Dec 2020 09:12:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fd5r-H-sfBqX; Mon, 21 Dec 2020 09:12:54 +0100 (CET) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 331B743FDC; Mon, 21 Dec 2020 09:12:54 +0100 (CET) Date: Mon, 21 Dec 2020 09:12:54 +0100 From: Guido =?iso-8859-1?Q?G=FCnther?= To: "Vaittinen, Matti" Cc: "lgirdwood@gmail.com" , linux-power , "broonie@kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2] regulators: bd718x7: Add enable times Message-ID: <20201221081254.GA2984@bogon.m.sigxcpu.org> References: <41fb2ed19f584f138336344e2297ae7301f72b75.1608316658.git.agx@sigxcpu.org> <7c8457166ec3a69d7999f751fef54413c5c2ed5f.camel@fi.rohmeurope.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7c8457166ec3a69d7999f751fef54413c5c2ed5f.camel@fi.rohmeurope.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Mon, Dec 21, 2020 at 06:08:15AM +0000, Vaittinen, Matti wrote: > > On Fri, 2020-12-18 at 19:38 +0100, Guido G?nther wrote: > > Use the typical startup times from the data sheet so boards get a > > reasonable default. Not setting any enable time can lead to board > > hangs > > when e.g. clocks are enabled too soon afterwards. > > > > This fixes gpu power domain resume on the Librem 5. > > > > Signed-off-by: Guido G?nther > > > > --- > > v2 > > - As per review comment by Matti Vaittinen > > > > https://lore.kernel.org/lkml/beba25e85db20649aa040fc0ae549895c9265f6f.camel@fi.rohmeurope.com/ > > Use defines instead of plain values > > - As per review comment by Mark Brown > > https://lore.kernel.org/lkml/20201216130637.GC4861@sirena.org.uk/ > > Drop cover letter > > --- > > drivers/regulator/bd718x7-regulator.c | 27 ++++++++++++++++++++++++ > > include/linux/mfd/rohm-bd718x7.h | 30 > > Thanks again Guido. > I might have preferred having the defines in bd718x7-regulator.c as > they are not likely to be used outside this file. That would have In fact that's where I had them first, then noticing other regulator related defines in the mfd header. I can shift those around need be. Cheers, -- Guido > strictly limited the change to regulator subsystem. Having them in the > header is still fine with me if it works for Mark & others. (I don't > think these defines need much of changes in the future). > > Reviewed-by: Matti Vaittinen > > > Best Regards > Matti Vaittinen >