Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1509430pxb; Thu, 4 Mar 2021 13:15:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJyX12KumpHbHX29pv+jIdwJRo3NQT+7QLChE8eWJ3besKNxyward4nphAYds5aiBuFf0wzY X-Received: by 2002:a05:6402:2cd:: with SMTP id b13mr6559184edx.55.1614892554652; Thu, 04 Mar 2021 13:15:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614892554; cv=none; d=google.com; s=arc-20160816; b=whqXN2Nc6fTo+hw0+CynL0IW4Rp89i53BqgHXVQq/YQryh8zb70dxwThjiulsTOpVT cdXP3yM+vnNk4P5Psx2r1OS28xxmQHMn+bN6k4fRn4Hfk0MqEEeKxO/axYY9ugFB4CBF zh2Csy8UqsXlPSclJgeMRzchF6E/o35aEq2VrBsZ5mbwOvfMZ+77SvCErqm39wr9f+RN K8HqoiGdhXyqQMCkeirFUq5lOUeg6ny/7heQFLRq8aUFS6DQRGUjZKPm13wL49duhuHm NxUh+nzIweGpzJYinBCAlBonIaihAkMlRfX3bKZpIuRK5YaFW/wEY28/WugwOh6NHkr8 P7Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=4qCl2xTMEnGwHMZihEf6F2RLD0MFzn8n767BOSW3ZLY=; b=u6aT1irxB7JrK0pT1yJfuVn8Mp7fbCfngxvEQIgK73abPnH+w0jC0cHTFue93c+fh7 jlbQ8eRhw9GbbINgcWJQ6YbWB8rjrOf7lRMt2ldd47fWf16T2H/0ZHedbX4pIIdu1GRV ZoiTdmtuUCxi5UVQiFftc7BRJ9thJtBQDk5VDBfvIfuVgyhgchTt+37SdAO9PhybsG2C A4pHskjT1ss2o2AN8vWfvx6Wbzk6BCivFNT7b5ML4d/QRBYxwxVBpvVoc71LqlkWoIX7 ad8hOUtQ9L7KMQh7sr5Nzq97tyrP+k/qMs6ZBdNgg7H6EYLlPkYRtBKoHl0/bSEMXJvX mk9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BTDWTl9G; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jg13si187257ejc.669.2021.03.04.13.15.32; Thu, 04 Mar 2021 13:15:54 -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; dkim=pass header.i=@linaro.org header.s=google header.b=BTDWTl9G; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358403AbhCCMGS (ORCPT + 99 others); Wed, 3 Mar 2021 07:06:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1451608AbhCCGKW (ORCPT ); Wed, 3 Mar 2021 01:10:22 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43B25C061756 for ; Tue, 2 Mar 2021 22:09:42 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id m1so5047090wml.2 for ; Tue, 02 Mar 2021 22:09:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=4qCl2xTMEnGwHMZihEf6F2RLD0MFzn8n767BOSW3ZLY=; b=BTDWTl9GOreLmZ99H7YpSxoCsdIGP0UpXFOj2rko3R8s/1aCDQBa6S1fXptXgN++5r 31JbnhHu89/UMruITL6C+lfaQrZE+7uoAeu6wPNHKmXObekmOYkWEgKXr38xJOYG3hsL U7fc61CHWHQN/ko9psybOPR080Wh1/hs6X3KC6pzgVa2ay3jYnrd8ykDcFoQW8GusOnu 1+jJ9S9Xi1yqm112/oUxVOWYVifzj6voHwgw3r/itHtjDN9I+8kk2Zo4Fwbg02f8kEWu SEjA/AuxYZaUEgASqOzdLkqs7Ngw1eU70gzI6/RZw52edxiNoQ1GsItvf57utuDCbjNK 62eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=4qCl2xTMEnGwHMZihEf6F2RLD0MFzn8n767BOSW3ZLY=; b=H+Wc50htuCKxbfmVj1yZ0uNkOssQ+w5t4H/3PoU21cfVgR0V6jhtq7ZxLhXYRNkCjg wPiK4gHukKeZlAJJKY9YLGgwQMgZSBvpRBl6IwVxRRnX0OQRJNwuMCo7/O/A6q+lPB45 +vavKiIlWOpYN0+HLgWwAaYfB2nsyUpsbLRXoEenoFvulVwenDGXrINuy3Fo9Dk2xl9N bf6NzCGJWmaG0T+pXQFtouHUwZ0DhRM6BHbjAhIyhjI0db9sBHgVNXG/tJtM2pgUVAwg HJQI+6MXN3ktiRn5KxzrdRenJxs3fvIx/6j2uHEBjdGBe6SmRK1WxIlVgkVzN5+1MNb7 dPAw== X-Gm-Message-State: AOAM5338q2XIKn6botwnbkGwQUGSnSDOBWwOWG8iSwidQlXTWGBGyKjC 7mrI0vZgLxi8wG6RUJhOmvdksw== X-Received: by 2002:a7b:c7ca:: with SMTP id z10mr1307886wmk.117.1614751780934; Tue, 02 Mar 2021 22:09:40 -0800 (PST) Received: from [192.168.0.41] (lns-bzn-59-82-252-144-192.adsl.proxad.net. [82.252.144.192]) by smtp.googlemail.com with ESMTPSA id u20sm4088170wru.6.2021.03.02.22.09.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Mar 2021 22:09:40 -0800 (PST) Subject: Re: [PATCH v2 9/9] phy/drivers/stm32: Use HZ macros To: Vinod Koul Cc: rafael@kernel.org, andriy.shevchenko@linux.intel.com, linux-kernel@vger.kernel.org, Kishon Vijay Abraham I , Maxime Coquelin , Alexandre Torgue , Amelie Delaunay , Etienne Carriere , Chunfeng Yun , "moderated list:ARM/STM32 ARCHITECTURE" , "moderated list:ARM/STM32 ARCHITECTURE" References: <20210224144222.23762-1-daniel.lezcano@linaro.org> <20210224144222.23762-9-daniel.lezcano@linaro.org> From: Daniel Lezcano Message-ID: <207d37f7-f99f-03ab-7914-d2b82977a95f@linaro.org> Date: Wed, 3 Mar 2021 07:09:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/03/2021 06:40, Vinod Koul wrote: > On 02-03-21, 18:03, Daniel Lezcano wrote: >> On 02/03/2021 17:32, Vinod Koul wrote: >>> On 24-02-21, 15:42, Daniel Lezcano wrote: >>>> HZ unit conversion macros are available in units.h, use them and >>>> remove the duplicate definition. >>>> >>>> Signed-off-by: Daniel Lezcano >>>> --- >>>> drivers/phy/st/phy-stm32-usbphyc.c | 2 +- >>>> 1 file changed, 1 insertion(+), 1 deletion(-) >>>> >>>> diff --git a/drivers/phy/st/phy-stm32-usbphyc.c b/drivers/phy/st/phy-stm32-usbphyc.c >>>> index a54317e96c41..02dd12bb4692 100644 >>>> --- a/drivers/phy/st/phy-stm32-usbphyc.c >>>> +++ b/drivers/phy/st/phy-stm32-usbphyc.c >>>> @@ -14,6 +14,7 @@ >>>> #include >>>> #include >>>> #include >>>> +#include >>>> >>>> #define STM32_USBPHYC_PLL 0x0 >>>> #define STM32_USBPHYC_MISC 0x8 >>>> @@ -48,7 +49,6 @@ static const char * const supplies_names[] = { >>>> #define PLL_FVCO_MHZ 2880 >>>> #define PLL_INFF_MIN_RATE_HZ 19200000 >>>> #define PLL_INFF_MAX_RATE_HZ 38400000 >>>> -#define HZ_PER_MHZ 1000000L >>> >>> I dont see this in units.h, can you send this once it is merged upstream >> >> Actually, it is the first patch of the series. >> >> I asked Rafael if he can merge the entire series. > > Pls cc folks on cover at least so that they are aware. Yeah, sorry for that. I tend to rely too much on the default 'cccmd'. -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog