Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1673847rdb; Thu, 25 Jan 2024 02:51:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IH9iYM3D+75GEDIF478t+1h7yuwlYznQqcsmtv1Iz4vRyvcuNFjg34ptzVDazGAHecrhFyY X-Received: by 2002:a17:902:e983:b0:1d5:f383:cfde with SMTP id f3-20020a170902e98300b001d5f383cfdemr525754plb.139.1706179885253; Thu, 25 Jan 2024 02:51:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706179885; cv=pass; d=google.com; s=arc-20160816; b=Pct1gZfAwv8XEmUMTBV0H2LiW9gev9+Hj/3yCmsoBPDGPt8+OdVJ7ekTgeXN2JHAHl dxjBf372hPqzD0OBr9lqD35LHASJor6c+C/zwFaqY7xPOIPrVlO8dSDdqpl/Dd665vC7 znvypZnDMeIdckY/1ZRWlQuXD2IwDGgAXuU7hBuZBfpq/HtyF8xb5ce3SHDUz2hyieEB 1lTFMgJES8AvvydRg8AZ3MsAA4aNvy1Q7tZV0mzbglXgHYfKM4UvcAlt0+gwDQR9buJg d75v+WhXF6iWG/U1JSDuReK2lg1RS7M7m0kW0TrReKkTqKXuNQ0Z7CSYoZDs2s+8StKI sXwQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id; bh=76xjsmxmQbdBwchp0jfcWudwaTgPNpDqLsO2MPqIimM=; fh=4sL3VI20NcMaUgCfBo1sN6wBWu60w9qrXTD1hhVTsmM=; b=FEo10RFDC5Efo1MVjTGE4BGKSRb7mJU+IktPQswjyd6hsWXWFoT8+3MWplt9iLkzXY vR+giXGxbleDZQv7bXh49Jf74gqBjqAsGEP5ZuyS5qoKT74X6DyxcPbBU3Ct5OG4xsLS OUmNLWE5w1dRtBQNgWiac8TEo9ShrG4dWPI3VmfDtIrF40cfaB45J7tRWqH7KglxC0kN dOQ92WzrJuIgNi8CsTK0fpY5t/r2/y6qwAtGs92fCGdktwBBOA+KMH22O6qAs24Rx+47 8XZ7M4e2nxf/NLMAln7RMyYrNhDDjbay/zIWX/6G3OYId7rK348bJhbZldZ49WHRMOtb Eg8g== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-38422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38422-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p18-20020a170902c71200b001d8882dd67dsi1117407plp.143.2024.01.25.02.51.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 02:51:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-38422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38422-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DBC0B28695E for ; Thu, 25 Jan 2024 10:49:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8053C58AB5; Thu, 25 Jan 2024 10:43:56 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B6DD58114 for ; Thu, 25 Jan 2024 10:43:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706179436; cv=none; b=McwaySR7R5Xf+SS43Rcqi7uMccOmLRG1ID5iahwVj00sB0DjFPJxAgvsEo74NxeuLmw5k1iyNkGbLzzdaLFRIO2cgtBzB/NZLKhgSQwBs3QtS1Zg4am4U/PXFkyJb2Or4Q6fT3Ca9xNfWYJcwPKh2SbodagltkWpwWlYMu2EUpc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706179436; c=relaxed/simple; bh=Pq2HycWL5UZIeTfQdGCMuXNRVUInCqTunQ8KIofIoyU=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=XpJYDNXgoPsStjU6r+hPLcumctNkPlQWgDwpy5V6pS7JlArq++sspZhTVm77fQDBx6+wBBnWmD2nxojaXdt+CRRMyqLOzJEhrmiKd02RrlAvy2AU6l3BvSVusIPwPu9AOd1cgJuZ73ekKoCzJS1Q+vWaEmUzJ4dyHdmZur0b4qk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rSxD3-0006Mj-Pz; Thu, 25 Jan 2024 11:43:49 +0100 Received: from [2a0a:edc0:0:900:1d::4e] (helo=lupine) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rSxCz-002GMP-RI; Thu, 25 Jan 2024 11:43:45 +0100 Received: from pza by lupine with local (Exim 4.96) (envelope-from ) id 1rSxCz-0005of-2V; Thu, 25 Jan 2024 11:43:45 +0100 Message-ID: Subject: Re: [PATCH v2 2/4] reset: sophgo: add SG2042 reset generator driver From: Philipp Zabel To: Chen Wang , aou@eecs.berkeley.edu, chao.wei@sophgo.com, conor@kernel.org, krzysztof.kozlowski+dt@linaro.org, palmer@dabbelt.com, paul.walmsley@sifive.com, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, haijiao.liu@sophgo.com, xiaoguang.xing@sophgo.com, guoren@kernel.org, jszhang@kernel.org, inochiama@outlook.com Cc: Chen Wang Date: Thu, 25 Jan 2024 11:43:45 +0100 In-Reply-To: <34650036ea5f1c500da54c67c3a67b91c4419399.1706161530.git.unicorn_wang@outlook.com> References: <34650036ea5f1c500da54c67c3a67b91c4419399.1706161530.git.unicorn_wang@outlook.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4-2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org On Do, 2024-01-25 at 14:11 +0800, Chen Wang wrote: > From: Chen Wang >=20 > Reuse reset-simple driver for the Sophgo SG2042 reset generator. Subject prefix should be "reset: simple: " > Signed-off-by: Chen Wang > --- > drivers/reset/Kconfig | 1 + > drivers/reset/reset-simple.c | 2 ++ > drivers/reset/sophgo/Kconfig | 10 ++++++++++ > 3 files changed, 13 insertions(+) > create mode 100644 drivers/reset/sophgo/Kconfig >=20 [...] > diff --git a/drivers/reset/sophgo/Kconfig b/drivers/reset/sophgo/Kconfig > new file mode 100644 > index 000000000000..9ad96e49e1dd > --- /dev/null > +++ b/drivers/reset/sophgo/Kconfig > @@ -0,0 +1,10 @@ > +# SPDX-License-Identifier: GPL-2.0-only > + > +config RESET_SOPHGO_SG2042 > + bool "Sophgo SG2042 Reset Driver" > + depends on ARCH_SOPHGO || COMPILE_TEST > + select RESET_SIMPLE > + default ARCH_SOPHGO > + help > + This enables the reset controller driver for the Sophgo SG2042 SoC. > + Drop the Kconfig, just add a default y if ARCH_SOPHGO to RESET_SIMPLE. regards Philipp