Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4063772pxf; Mon, 29 Mar 2021 20:40:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweef7OcxT2UTDqw0Sk3qCDmHy8CJui5Q/BOXM1LGF82k/ZY840BH1MiNkPZ3MeEjWz7UPA X-Received: by 2002:a17:906:2ac1:: with SMTP id m1mr31481992eje.472.1617075615779; Mon, 29 Mar 2021 20:40:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617075615; cv=none; d=google.com; s=arc-20160816; b=yupXUSTIGEnduyzcjy8e/Evx0V/Bh++Cz7PJitVZ4WQBu9OvhkGq1EmqlQ96nh5lA0 FUATZHBMWDA2pVkPKXafqSJpZGz9ncvwR2ymHhIcCojOUW4RbFaJD+TRLhv6IBEvC+OZ bxcXAgN52Veo38bau415VL/X4IBTByAH1EWM6ef4j77J5FQGWC5rSbfs8t4Fy+Hy1YgX d0NSW71+c+raDMN7MCj1Rh6hkYFnKliHed4F8rO3RIYWEw1lFOWOCuhLXmlTMvbFXoVN 5tDFsesaX7OmnGO0O4mSbkR9R5kIoXlDZDu5l15BFHT/70WAmymRyjClocRRszZZarrz iHVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=5oFbwfLQwyYfYwndfNuhqzfmnicAmT4eTuezCa87hZ8=; b=EuWaRIh8j6okCTExRufs8LwjlUOr52ejT/+kY6EMjr9opmL9J2zHKkf/Pli6RKEy2c 4BeMn3cyC/H5JvYKf3+Cct5RYW1cwsFLTKxa/Fxftw6UhC6Ete/YZ6gzdfPwCgyfb7WM gj3g/n3oo4pZnhBnrsaHZv9ZPcHBCpO9FIcTQ+BXu0TAbQdMx87Wujimb/5RHEEjNb9W LgcQwSZiAbvq/G3cz/d5GncrKnSn6QUW3NEDNHdrcCV0WYFrj3BTElWO6MXj9CwIZ7bX vXUr6MK0BQyA11R7RBZoXzqtd4yguaw04+dUvf8OtwxvBUk/+DITXs6mdoTPicQhLugE KNgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=Ig+y6Y+c; 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 y21si14520126edo.16.2021.03.29.20.39.53; Mon, 29 Mar 2021 20:40:15 -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; dkim=pass header.i=@sifive.com header.s=google header.b=Ig+y6Y+c; 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 S231150AbhC3Dgg (ORCPT + 99 others); Mon, 29 Mar 2021 23:36:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230334AbhC3Dg0 (ORCPT ); Mon, 29 Mar 2021 23:36:26 -0400 Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 850B4C061765 for ; Mon, 29 Mar 2021 20:36:25 -0700 (PDT) Received: by mail-qv1-xf34.google.com with SMTP id x16so7545679qvk.3 for ; Mon, 29 Mar 2021 20:36:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=5oFbwfLQwyYfYwndfNuhqzfmnicAmT4eTuezCa87hZ8=; b=Ig+y6Y+c1gyTxgnPBQWPhpOyXg4OoXKv2BE4qr6DHkGfLyEyHrKOUH7MGn1otpkWcN kyE/XgUxXw2odCG9cs8Z01SbUYyCaZ5Lu35u7upzKgWerIlCX9tcG+ej8dGbF4oft59o Jz45nZZMBILlzNrBpaIkRVJbA0/irRVXLZ8M5ZS6fbuk1zvqLF+xmgeATsd8G2M9wchi ZqQaXZAQqhmisluHGosx2pBeGVINB4/GAWUybfaWEiIDOJmmYrmqzWrCWg05rXXqsEwA DRvVz8/su4/18C7RTUF8HDL18/u0ZvAZd8OvyXlYSmkfecn/kES13pwqea31yuVPL438 0pHg== 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:content-transfer-encoding; bh=5oFbwfLQwyYfYwndfNuhqzfmnicAmT4eTuezCa87hZ8=; b=PCmz0vg5+fr1HyAa5Qpf/jBadtiRd85psa6V+sqnyy5xtW9AbsE7nSyPcNC61Icxz1 QEOWYZk+2dhQiS98op0Tb9N8UV8IQjNQSRe9y3qmvnqInocoAY1VOERudevz6E7+vKd8 UuuN1m7GL3xL38auzS00zj+WG4kYm8f2dUaObDHLCfXrDyc9/Zrjj3J1IlxIOLT5fd0U B/ptjArjforeKVx3cwFop6UbkvUKnNmBx+9oQTR/v1FMCMWoCQ37k3DlqsqoBftTgRdI pnsAgzU9ha8TCeg0r0G3MzSn0afOMrvrFmCxNiqggy+QjDDkMzxkAmMSqrfXk+1TdeCL n8bg== X-Gm-Message-State: AOAM532Q4bie2OFvcaV9t7MVVpxNVwchd7J5muwxcdfRNBBkcYVx2z0k 8In0WIW/VWfSnbXGhoeOsJ2Lpm3WZk5jdEJEGyh+/w== X-Received: by 2002:a0c:e9c7:: with SMTP id q7mr28188265qvo.7.1617075384531; Mon, 29 Mar 2021 20:36:24 -0700 (PDT) MIME-Version: 1.0 References: <91d016e59bab9d9175168a63e7bcd81fdb69b549.1615954046.git.greentime.hu@sifive.com> <161704524201.3012082.13807741329367593907@swboyd.mtv.corp.google.com> In-Reply-To: <161704524201.3012082.13807741329367593907@swboyd.mtv.corp.google.com> From: Greentime Hu Date: Tue, 30 Mar 2021 11:36:12 +0800 Message-ID: Subject: Re: [PATCH v2 2/6] clk: sifive: Use reset-simple in prci driver for PCIe driver To: Stephen Boyd Cc: alex.dewar90@gmail.com, Albert Ou , Bjorn Helgaas , devicetree@vger.kernel.org, Erik Danie , hayashi.kunihiko@socionext.com, Bjorn Helgaas , hes@sifive.com, jh80.chung@samsung.com, khilman@baylibre.com, linux-clk@vger.kernel.org, Linux Kernel Mailing List , linux-pci@vger.kernel.org, linux-riscv , lorenzo.pieralisi@arm.com, Michael Turquette , Philipp Zabel , Palmer Dabbelt , Paul Walmsley , robh+dt@kernel.org, vidyas@nvidia.com, Zong Li Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stephen Boyd =E6=96=BC 2021=E5=B9=B43=E6=9C=8830=E6=97= =A5 =E9=80=B1=E4=BA=8C =E4=B8=8A=E5=8D=883:14=E5=AF=AB=E9=81=93=EF=BC=9A > > Quoting Greentime Hu (2021-03-17 23:08:09) > > diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig > > index 71ab75a46491..f094df93d911 100644 > > --- a/drivers/reset/Kconfig > > +++ b/drivers/reset/Kconfig > > @@ -173,7 +173,7 @@ config RESET_SCMI > > > > config RESET_SIMPLE > > bool "Simple Reset Controller Driver" if COMPILE_TEST > > - default ARCH_AGILEX || ARCH_ASPEED || ARCH_BITMAIN || ARCH_REAL= TEK || ARCH_STM32 || ARCH_STRATIX10 || ARCH_SUNXI || ARCH_ZX || ARC > > + default ARCH_AGILEX || ARCH_ASPEED || ARCH_BITMAIN || ARCH_REAL= TEK || ARCH_STM32 || ARCH_STRATIX10 || ARCH_SUNXI || ARCH_ZX || ARC || RISC= V > > This conflicts. Can this default be part of the riscv defconfig instead? > Maybe I should remove this since it has been selected by CLK_SIFIVE_PRCI? config CLK_SIFIVE_PRCI bool "PRCI driver for SiFive SoCs" + select RESET_CONTROLLER + select RESET_SIMPLE > > help > > This enables a simple reset controller driver for reset lines= that > > that can be asserted and deasserted by toggling bits in a con= tiguous, > > @@ -187,6 +187,7 @@ config RESET_SIMPLE > > - RCC reset controller in STM32 MCUs > > - Allwinner SoCs > > - ZTE's zx2967 family > > + - SiFive FU740 SoCs > > > > config RESET_STM32MP157 > > bool "STM32MP157 Reset Driver" if COMPILE_TEST