Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2326875rdb; Fri, 8 Dec 2023 05:13:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFmGTgnB2Gwme7QuGFdTgsXwHR+etjxG+kCGpEKQqTVn7l2SlMjVtbRyB7usZIMMaUdiVMf X-Received: by 2002:a05:6a20:9148:b0:18f:9c4:d33b with SMTP id x8-20020a056a20914800b0018f09c4d33bmr964558pzc.43.1702041191429; Fri, 08 Dec 2023 05:13:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702041191; cv=none; d=google.com; s=arc-20160816; b=VJtLvV5kUl+LUbc+8O7IGYLGpjLzaHejomvs6eAIYOelnV/Tb7lJTt8E9L8yTh4azs hyKpMm/GosUpUPiV4qZF3Op8+BWtWa9gUsQmlE3BRlFShvp3gTMNy1I+IaGMLrfvh6wA OYBz/EXzxJ9d/CHpnMJ3mdUxRDD9Kd3TZVldj5b21FO77afTpMDLve+vumPta3cl/guM QXxMgH6Fs5wnrhBnGA00a/+5aQCWsXV4tzWj6JPdezO5bxReAX+GyiOyKvqhw4tGcF8f sTcpCJDV5dL5grKYMQU64xDAphrOWtbs6Wy5A8OqhbWpJ+oqDezu2aI6WWBucEM+dyrq ZsCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:mime-version :references:in-reply-to:from:dkim-signature; bh=K9zgZeSUkIRgWWjMY0ssDLpumUX4eiD6JCn0PCUYG1U=; fh=zeJYKwePDmGQKHYNPw8XGiDbPrtREKFdKzmIg4X7kVo=; b=qC9ULurZgCboGWXkwLgjETm+yOGFOQjn1y5wBrJQTm4vZKxPaecxUA56wULch4VUNE k25CexKiYGaFEMaGug9lxkFy09kGoODC1MENfjfAWxWwV5pTgNE5ogtnNPJGJyk8BkDw SfU0+5ZiHsD5ATo5eax+uFv3Oo7IH6koSzEdNxFH685RWmLtAowakXC1yM2B/7FSGeB7 df/sqgA2lI0RRzWZovR99ZN6+4g8XCzdFxfHQKsPbZJxdxPpA/j4B+lTgLGBM04TLQ9P SK/FnLd021NuOoy7xElmnQMdnrZYRUgQb6tTex/CAcFqZqI+d90CUFWNk8W4kbeoLWcM KO0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=g7CWAWM7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id c31-20020a630d1f000000b00577475ee5f6si1496549pgl.618.2023.12.08.05.13.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 05:13:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=g7CWAWM7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 53BCE806AFDA; Fri, 8 Dec 2023 05:13:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573772AbjLHNMy (ORCPT + 99 others); Fri, 8 Dec 2023 08:12:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229844AbjLHNMw (ORCPT ); Fri, 8 Dec 2023 08:12:52 -0500 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6926171F for ; Fri, 8 Dec 2023 05:12:57 -0800 (PST) Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 70D8C3F15F for ; Fri, 8 Dec 2023 13:12:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1702041175; bh=K9zgZeSUkIRgWWjMY0ssDLpumUX4eiD6JCn0PCUYG1U=; h=From:In-Reply-To:References:Mime-Version:Date:Message-ID:Subject: To:Cc:Content-Type; b=g7CWAWM7LE9NDgp2iKsRf2J/mJ4VMrzl2ALULKIIOlaUq0QL3AuCpp8Mc7/KuLKGq CVFqMrDV5eY390FzA/fbciqRTAHZhYg1XHD9SJBedYokhXOuh59qgWTbRNRNgyVZOx vhWvHsON3ixKlsEccpdL53XFEX+ZJZEmyq+CFSI/LlR1DSSiE/SbmyHW/cTOsHWQmq fFl+bT62l3Kzrg7cUpaVwKx/omysURH0qUjoAv05MDmCLvtBmQdFXJubGTaI3yHTnB Y190X4LFM/VyKQ2nYYt38a6h0suow/AFwMxpLvilzME7R+1qDKNchC1hzx1wyNSzBS 7WRnbQo7aKCUg== Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-42599db593fso17764601cf.0 for ; Fri, 08 Dec 2023 05:12:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702041174; x=1702645974; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=K9zgZeSUkIRgWWjMY0ssDLpumUX4eiD6JCn0PCUYG1U=; b=cYYVodMU0qKedZuZULcy/ZrqpZ58XHD3gwOQIfWccTkSO8UPL8spYMDEC4BGBevU3B gJrCkskEekfk88VFaJoaeA123UPWzWXVyqqaeDvcPD7OieH8O4lNORSYc5CzeDHUsVYb y/Dy0L54bV6CNWpIvxO4hn5eHN3CvTiH/OP/wVC8HuU2wESIfK0hxHbQt7A43o/ioNP+ PQXvMUusNBnG2gXrkvzGik+HNrNHM63FxU5aqfQtQxCB32qI7U+Hea3plCdYjw+ZrEIM ro4QPFOlYY+wuqMRmf5LTxngmgnPPumAh186SaYvMLAxTi3vmJ4713IPrqglX1FGqycM Bplw== X-Gm-Message-State: AOJu0YydmXKpLUe8tlFfPTfgv03aJBL5gn+azMT1V/W917FbemnPLnLB W3SuL6gohta1BjH0EwwT31UmVGlf9Kf4A+a3ez9XNVU2WEsmV9zantD0WsgVOClec7OFXNy9ZCe DPs27nN1vBW++ixmXQZsHg647IEHwfxL1uVxdLYR6Gtzb3hh6p1jVrCbuKA== X-Received: by 2002:a05:622a:44d:b0:425:4054:bc5e with SMTP id o13-20020a05622a044d00b004254054bc5emr1204030qtx.58.1702041174449; Fri, 08 Dec 2023 05:12:54 -0800 (PST) X-Received: by 2002:a05:622a:44d:b0:425:4054:bc5e with SMTP id o13-20020a05622a044d00b004254054bc5emr1204009qtx.58.1702041174155; Fri, 08 Dec 2023 05:12:54 -0800 (PST) Received: from 348282803490 named unknown by gmailapi.google.com with HTTPREST; Fri, 8 Dec 2023 08:12:53 -0500 From: Emil Renner Berthing In-Reply-To: <20231206115000.295825-2-jeeheng.sia@starfivetech.com> References: <20231206115000.295825-1-jeeheng.sia@starfivetech.com> <20231206115000.295825-2-jeeheng.sia@starfivetech.com> Mime-Version: 1.0 Date: Fri, 8 Dec 2023 08:12:53 -0500 Message-ID: Subject: Re: [PATCH v1 01/16] reset: starfive: Rename file name "jh71x0" to "common" To: Sia Jee Heng , kernel@esmil.dk, conor@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, mturquette@baylibre.com, sboyd@kernel.org, p.zabel@pengutronix.de, emil.renner.berthing@canonical.com, hal.feng@starfivetech.com, xingyu.wu@starfivetech.com Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, leyfoon.tan@starfivetech.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 08 Dec 2023 05:13:08 -0800 (PST) Sia Jee Heng wrote: > StarFive JH8100 shares a similar clock and reset design with JH7110. > To facilitate the reuse of the file and its functionalities, files > containing the "jh71x0" naming convention are renamed to use the > "common" wording. > > Signed-off-by: Sia Jee Heng > Reviewed-by: Ley Foon Tan Reviewed-by: Emil Renner Berthing > --- > drivers/clk/starfive/clk-starfive-jh7110-sys.c | 2 +- > drivers/reset/starfive/Kconfig | 6 +++--- > drivers/reset/starfive/Makefile | 2 +- > .../{reset-starfive-jh71x0.c => reset-starfive-common.c} | 4 ++-- > .../{reset-starfive-jh71x0.h => reset-starfive-common.h} | 6 +++--- > drivers/reset/starfive/reset-starfive-jh7100.c | 2 +- > drivers/reset/starfive/reset-starfive-jh7110.c | 4 ++-- > .../{reset-starfive-jh71x0.h => reset-starfive-common.h} | 4 ++-- > 8 files changed, 15 insertions(+), 15 deletions(-) > rename drivers/reset/starfive/{reset-starfive-jh71x0.c => reset-starfive-common.c} (97%) > rename drivers/reset/starfive/{reset-starfive-jh71x0.h => reset-starfive-common.h} (75%) > rename include/soc/starfive/{reset-starfive-jh71x0.h => reset-starfive-common.h} (81%) > > diff --git a/drivers/clk/starfive/clk-starfive-jh7110-sys.c b/drivers/clk/starfive/clk-starfive-jh7110-sys.c > index 3884eff9fe93..6e45c580c9ba 100644 > --- a/drivers/clk/starfive/clk-starfive-jh7110-sys.c > +++ b/drivers/clk/starfive/clk-starfive-jh7110-sys.c > @@ -14,7 +14,7 @@ > #include > #include > > -#include > +#include > > #include > > diff --git a/drivers/reset/starfive/Kconfig b/drivers/reset/starfive/Kconfig > index d832339f61bc..29fbcf1a7d83 100644 > --- a/drivers/reset/starfive/Kconfig > +++ b/drivers/reset/starfive/Kconfig > @@ -1,12 +1,12 @@ > # SPDX-License-Identifier: GPL-2.0-only > > -config RESET_STARFIVE_JH71X0 > +config RESET_STARFIVE_COMMON > bool > > config RESET_STARFIVE_JH7100 > bool "StarFive JH7100 Reset Driver" > depends on ARCH_STARFIVE || COMPILE_TEST > - select RESET_STARFIVE_JH71X0 > + select RESET_STARFIVE_COMMON > default ARCH_STARFIVE > help > This enables the reset controller driver for the StarFive JH7100 SoC. > @@ -15,7 +15,7 @@ config RESET_STARFIVE_JH7110 > bool "StarFive JH7110 Reset Driver" > depends on CLK_STARFIVE_JH7110_SYS > select AUXILIARY_BUS > - select RESET_STARFIVE_JH71X0 > + select RESET_STARFIVE_COMMON > default ARCH_STARFIVE > help > This enables the reset controller driver for the StarFive JH7110 SoC. > diff --git a/drivers/reset/starfive/Makefile b/drivers/reset/starfive/Makefile > index 7a44b66fb9d5..582e4c160bd4 100644 > --- a/drivers/reset/starfive/Makefile > +++ b/drivers/reset/starfive/Makefile > @@ -1,5 +1,5 @@ > # SPDX-License-Identifier: GPL-2.0 > -obj-$(CONFIG_RESET_STARFIVE_JH71X0) += reset-starfive-jh71x0.o > +obj-$(CONFIG_RESET_STARFIVE_COMMON) += reset-starfive-common.o > > obj-$(CONFIG_RESET_STARFIVE_JH7100) += reset-starfive-jh7100.o > obj-$(CONFIG_RESET_STARFIVE_JH7110) += reset-starfive-jh7110.o > diff --git a/drivers/reset/starfive/reset-starfive-jh71x0.c b/drivers/reset/starfive/reset-starfive-common.c > similarity index 97% > rename from drivers/reset/starfive/reset-starfive-jh71x0.c > rename to drivers/reset/starfive/reset-starfive-common.c > index 55bbbd2de52c..dab454e46bbf 100644 > --- a/drivers/reset/starfive/reset-starfive-jh71x0.c > +++ b/drivers/reset/starfive/reset-starfive-common.c > @@ -1,6 +1,6 @@ > // SPDX-License-Identifier: GPL-2.0-or-later > /* > - * Reset driver for the StarFive JH71X0 SoCs > + * Reset driver for the StarFive SoCs > * > * Copyright (C) 2021 Emil Renner Berthing > */ > @@ -12,7 +12,7 @@ > #include > #include > > -#include "reset-starfive-jh71x0.h" > +#include "reset-starfive-common.h" > > struct jh71x0_reset { > struct reset_controller_dev rcdev; > diff --git a/drivers/reset/starfive/reset-starfive-jh71x0.h b/drivers/reset/starfive/reset-starfive-common.h > similarity index 75% > rename from drivers/reset/starfive/reset-starfive-jh71x0.h > rename to drivers/reset/starfive/reset-starfive-common.h > index db7d39a87f87..266acc4b2caf 100644 > --- a/drivers/reset/starfive/reset-starfive-jh71x0.h > +++ b/drivers/reset/starfive/reset-starfive-common.h > @@ -3,12 +3,12 @@ > * Copyright (C) 2021 Emil Renner Berthing > */ > > -#ifndef __RESET_STARFIVE_JH71X0_H > -#define __RESET_STARFIVE_JH71X0_H > +#ifndef __RESET_STARFIVE_COMMON_H > +#define __RESET_STARFIVE_COMMON_H > > int reset_starfive_jh71x0_register(struct device *dev, struct device_node *of_node, > void __iomem *assert, void __iomem *status, > const u32 *asserted, unsigned int nr_resets, > struct module *owner); > > -#endif /* __RESET_STARFIVE_JH71X0_H */ > +#endif /* __RESET_STARFIVE_COMMON_H */ > diff --git a/drivers/reset/starfive/reset-starfive-jh7100.c b/drivers/reset/starfive/reset-starfive-jh7100.c > index 2a56f7fd4ba7..546dea2e5811 100644 > --- a/drivers/reset/starfive/reset-starfive-jh7100.c > +++ b/drivers/reset/starfive/reset-starfive-jh7100.c > @@ -8,7 +8,7 @@ > #include > #include > > -#include "reset-starfive-jh71x0.h" > +#include "reset-starfive-common.h" > > #include > > diff --git a/drivers/reset/starfive/reset-starfive-jh7110.c b/drivers/reset/starfive/reset-starfive-jh7110.c > index 29a43f0f2ad6..87dba01491ae 100644 > --- a/drivers/reset/starfive/reset-starfive-jh7110.c > +++ b/drivers/reset/starfive/reset-starfive-jh7110.c > @@ -7,9 +7,9 @@ > > #include > > -#include > +#include > > -#include "reset-starfive-jh71x0.h" > +#include "reset-starfive-common.h" > > #include > > diff --git a/include/soc/starfive/reset-starfive-jh71x0.h b/include/soc/starfive/reset-starfive-common.h > similarity index 81% > rename from include/soc/starfive/reset-starfive-jh71x0.h > rename to include/soc/starfive/reset-starfive-common.h > index 47b486ececc5..56d8f413cf18 100644 > --- a/include/soc/starfive/reset-starfive-jh71x0.h > +++ b/include/soc/starfive/reset-starfive-common.h > @@ -1,6 +1,6 @@ > /* SPDX-License-Identifier: GPL-2.0 */ > -#ifndef __SOC_STARFIVE_RESET_JH71X0_H > -#define __SOC_STARFIVE_RESET_JH71X0_H > +#ifndef __SOC_STARFIVE_RESET_COMMON_H > +#define __SOC_STARFIVE_RESET_COMMON_H > > #include > #include > -- > 2.34.1 >