Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp4853569pjb; Mon, 27 Jul 2020 06:54:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysOZLXqjH6Z3pMBnAKUzCLxUuM2WvOrejd3gPgcKd7myWBSWR+YppfMa3ql22IkDPuOaG5 X-Received: by 2002:a17:906:7005:: with SMTP id n5mr20086605ejj.130.1595858040842; Mon, 27 Jul 2020 06:54:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595858040; cv=none; d=google.com; s=arc-20160816; b=w4bx50RWF5FssD76U3GV6XdJuLWkxW6QFuJ6PVldavUkhYka5HhOlKAG0IPu1eaMnt zsyzSinhQIHp1X/yJ9toI3i999YluIfoc1sR/Mff1XHlhGurVECdacib462tN0fT5hmc fkWTvnR8QIrV+ylcMKaWoL8+poLfHwhOshLnv28SQzHN9GhREd8Bgc0ucdn0k0eX8gwe OQEXQIkT2AiDFxK30l0wEemVyNDwKLRhA5gP7JdGxirice0qFQIQ3RZz4988JqaY1Wgf dEoikyemVgNN8rFVXT4hnJJFO7NczTqscF2kBkx9rqJajMynAsuqsSJMcFVoU9tHdwER 0KQA== 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; bh=dyBt54tE9HNpCn7MfHA5YP/4SLINbBOxbN35N0rBINs=; b=QNVAGDwvyaRrjLPf5JBvCwTkgjHgx3LIps4BKavzutW20VB83QBZz2X/By6I6m5gkL Z7aXzBZoA4z6Xq3XmIfLkNuzpxE36aZXebFWK/v6KQoOCc8paGSR5igpMTAs54ygWWwL xUXLmrDq4hOflv7R2vKK8vbtLp246pNmBS/Vs4VxyVQzO1NLkVY6XJRY6erxg1XKSgyg +PhHJ85ul9j9JsTFEE9zhhIyMzED4vF1/wj/5PHHtEeb4C45SraR3tj9HXClmjF/daov 9qDX3h+xIo3eF9+SUb5rNRx7g7RTStluZcbVbv7O8wPL/t8TjNlWIZSPWpX+8F6Olj7J kV1g== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m23si5510282eji.400.2020.07.27.06.53.39; Mon, 27 Jul 2020 06:54:00 -0700 (PDT) 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728821AbgG0N2l (ORCPT + 99 others); Mon, 27 Jul 2020 09:28:41 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:42216 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728810AbgG0N2l (ORCPT ); Mon, 27 Jul 2020 09:28:41 -0400 Received: by mail-ot1-f68.google.com with SMTP id v21so5015602otj.9; Mon, 27 Jul 2020 06:28:40 -0700 (PDT) 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=dyBt54tE9HNpCn7MfHA5YP/4SLINbBOxbN35N0rBINs=; b=IlwxGG60AiP/v/DeC4spUtO0QJMQdLm3ThLkzZKqumIuJElVjEUrqTgJJiOf8ZW2lN JAX237kM74JxjnmG1dUwMiNvaatwCXOyxs1TErbtaoDbZ5H5zsv6JnOO1wRpvEV4jH7W EElVAC6SFvvIAR0h1wbjJcdsFHlQJ7Jq2TDqyyWorGc9adobzHI+uNfiiwr4hmKVUeUP meX0gTKBV1Fox2A4+VigYHoNkTK2pEgbr2bh5+Ew41iAnh/kg4I+FQeMq9gHPEv4nE1q CxftrLoS0PYNVuoKSjp2J97krQyG2SCHJi1LryP1gT9Wtu+6Mce203/acj7E93Wn7sp+ u8GQ== X-Gm-Message-State: AOAM530NVuCDWaNP35J2ftDoGIKArtiYKts0NF+SO1F3FcEGatQdsgKn 6a6eibU+7QcSqjPlzIf+Ki2z+lM9GxBHCY1Ij/s= X-Received: by 2002:a9d:306:: with SMTP id 6mr10506313otv.167.1595856519954; Mon, 27 Jul 2020 06:28:39 -0700 (PDT) MIME-Version: 1.0 References: <20200720050500.23357-1-akshu.agrawal@amd.com> <20200720050500.23357-2-akshu.agrawal@amd.com> In-Reply-To: <20200720050500.23357-2-akshu.agrawal@amd.com> From: "Rafael J. Wysocki" Date: Mon, 27 Jul 2020 15:28:29 +0200 Message-ID: Subject: Re: [PATCH 1/4] ACPI: APD: Change name from ST to FCH To: Akshu Agrawal Cc: Stephen Boyd , "Rafael J. Wysocki" , Len Brown , "open list:ACPI" , open list 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, Jul 20, 2020 at 7:06 AM Akshu Agrawal wrote: > > AMD SoC general pupose clk is present in new platforms with > same MMIO mappings. We can reuse the same clk handler support > for other platforms. Hence, changing name from ST(SoC) to FCH(IP) > > Signed-off-by: Akshu Agrawal This patch and the [3/4] appear to be part of a larger series which isn't visible to me as a whole. Do you want me to apply them nevertheless? > --- > drivers/acpi/acpi_apd.c | 14 +++++++------- > .../linux/platform_data/{clk-st.h => clk-fch.h} | 10 +++++----- > 2 files changed, 12 insertions(+), 12 deletions(-) > rename include/linux/platform_data/{clk-st.h => clk-fch.h} (53%) > > diff --git a/drivers/acpi/acpi_apd.c b/drivers/acpi/acpi_apd.c > index ba2612e9a0eb..2d99e46add1a 100644 > --- a/drivers/acpi/acpi_apd.c > +++ b/drivers/acpi/acpi_apd.c > @@ -8,7 +8,7 @@ > */ > > #include > -#include > +#include > #include > #include > #include > @@ -79,11 +79,11 @@ static int misc_check_res(struct acpi_resource *ares, void *data) > return !acpi_dev_resource_memory(ares, &res); > } > > -static int st_misc_setup(struct apd_private_data *pdata) > +static int fch_misc_setup(struct apd_private_data *pdata) > { > struct acpi_device *adev = pdata->adev; > struct platform_device *clkdev; > - struct st_clk_data *clk_data; > + struct fch_clk_data *clk_data; > struct resource_entry *rentry; > struct list_head resource_list; > int ret; > @@ -106,7 +106,7 @@ static int st_misc_setup(struct apd_private_data *pdata) > > acpi_dev_free_resource_list(&resource_list); > > - clkdev = platform_device_register_data(&adev->dev, "clk-st", > + clkdev = platform_device_register_data(&adev->dev, "clk-fch", > PLATFORM_DEVID_NONE, clk_data, > sizeof(*clk_data)); > return PTR_ERR_OR_ZERO(clkdev); > @@ -135,8 +135,8 @@ static const struct apd_device_desc cz_uart_desc = { > .properties = uart_properties, > }; > > -static const struct apd_device_desc st_misc_desc = { > - .setup = st_misc_setup, > +static const struct apd_device_desc fch_misc_desc = { > + .setup = fch_misc_setup, > }; > #endif > > @@ -239,7 +239,7 @@ static const struct acpi_device_id acpi_apd_device_ids[] = { > { "AMD0020", APD_ADDR(cz_uart_desc) }, > { "AMDI0020", APD_ADDR(cz_uart_desc) }, > { "AMD0030", }, > - { "AMD0040", APD_ADDR(st_misc_desc)}, > + { "AMD0040", APD_ADDR(fch_misc_desc)}, > #endif > #ifdef CONFIG_ARM64 > { "APMC0D0F", APD_ADDR(xgene_i2c_desc) }, > diff --git a/include/linux/platform_data/clk-st.h b/include/linux/platform_data/clk-fch.h > similarity index 53% > rename from include/linux/platform_data/clk-st.h > rename to include/linux/platform_data/clk-fch.h > index 7cdb6a402b35..850ca776156d 100644 > --- a/include/linux/platform_data/clk-st.h > +++ b/include/linux/platform_data/clk-fch.h > @@ -1,17 +1,17 @@ > /* SPDX-License-Identifier: MIT */ > /* > - * clock framework for AMD Stoney based clock > + * clock framework for AMD misc clocks > * > * Copyright 2018 Advanced Micro Devices, Inc. > */ > > -#ifndef __CLK_ST_H > -#define __CLK_ST_H > +#ifndef __CLK_FCH_H > +#define __CLK_FCH_H > > #include > > -struct st_clk_data { > +struct fch_clk_data { > void __iomem *base; > }; > > -#endif /* __CLK_ST_H */ > +#endif /* __CLK_FCH_H */ > -- > 2.20.1 >