Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp8334pxf; Tue, 30 Mar 2021 17:26:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwztJEEfTlxLJl/A6v5e/7TYXqrS5OXPOATVOis++V7/lEAeO62MfheDJcCPDzxkLcXut4G X-Received: by 2002:a17:907:119b:: with SMTP id uz27mr754437ejb.464.1617150386771; Tue, 30 Mar 2021 17:26:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617150386; cv=none; d=google.com; s=arc-20160816; b=AKCfVRhxALDSq1FJ3VoxJZPo3kcamTgEaijfShFWmygdkgixkc7ZkQY/9M3kWAdgcR YWUyiiILfXTq9rK/E0O+erBmYsZYYWOoE5QLiDgA+AoEcKJdkplYNJgObpG6zwj/0uOD u/4QLxxS9KeXGVikJsuhtF71iOxzOIe7LlzBvZep+2fDovrNW0u0QyBqsshqkB6FzUE+ fSkdY8veDYovqAHB6pkALaSaac5hyJu5L9S42o0crB2KmdnEMUXxFWk4C/M6gZ24O9Jb Wl0+rHRnJllrd0p72Q2R1xM1/e72P1bduDmmPYXZOqXDXQLclrp4V+KKyyzUaUO1Vd4w fUnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=t8GisNUKhAXhRRmhb5Tmd7cSosC0ChQ5VE6Rcal6IVk=; b=gZlyXDaxkld+qjvcyeOeUtA6ksyDggeq31r/dSL5f0R5f/iWWACEcqP2v8ujYgPz92 PI2r4xMCSvdNM9i8EpDUGatEweCKa7uoBLzxb9myMFsCTSEv3MaaxRJqtQvOJRKRB7fq tdX4ooZGYzuQQZsLJDRWVySEHT/WJUz/cb1H+W/7aJ9U+NAE5Z3wroZJASJYhhVpNtD9 FPr6TtIxYtQCc8EuzdGAu2kJiDWdfRJePh1L124iHnP1EckI81MKAlSbhSiPeW7gOxmi WZbteTdt2/gKul5uBrXAaf23FprmEv9ZPjOyIdsvyHZuPJ14EJDbtywpGITkRO1xowWG p1vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=urdw3ivX; 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 dt15si407948ejc.66.2021.03.30.17.26.03; Tue, 30 Mar 2021 17:26:26 -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=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=urdw3ivX; 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 S232655AbhCaAZE (ORCPT + 99 others); Tue, 30 Mar 2021 20:25:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232126AbhCaAY1 (ORCPT ); Tue, 30 Mar 2021 20:24:27 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35EF7C061764 for ; Tue, 30 Mar 2021 17:24:27 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id x26so13341793pfn.0 for ; Tue, 30 Mar 2021 17:24:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20150623.gappssmtp.com; s=20150623; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=t8GisNUKhAXhRRmhb5Tmd7cSosC0ChQ5VE6Rcal6IVk=; b=urdw3ivXzWShCpZ72V3nD7ok9QIvHP0ke8jFdQ6gOdSvymUjIs2/ErLZOItEsi3Exq Zs/3q45bKVnrvrbSLkghBP8hFtj6qVeMzz3QGjNAbe8vYCKmt67b0HU/a1rimNbVG/bG 9i5i5OG5X0jCsbYssTZKB2kEzfUjkj/Tz2IgeJP/MkJhFphCczFN6i17moOy/H7qOQ3e aI+4KGsS3P5GrnDzdy7q9IblINvwNF1BiXXQaD5XzCxZULPiIcfhxzp7xxrMM0HeWyVS JANPccHlgxQi8ZyQM3ouLqwjeOC7ke9gUVjz5HNCEAVRcxOfa39fRx9hzMCTKz9mMlld ffdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=t8GisNUKhAXhRRmhb5Tmd7cSosC0ChQ5VE6Rcal6IVk=; b=tSul0J07IukKvciD8IjAlF4+5/RfAdwxYk07sFMWKM/SOomLfEx/n/gQU2i21ck+b4 p1PAZGFEHdQRvOoWGC/w9KeQCBeS2TMH/Grv0fhWbBVWU6U/epqy6uuBY3z1fXS75frN rYKen+cl1iPB0Nyz4hTvdtu1HC2maQIT/DDi19huBuBXR3bYbZx+ahETwU3JA3eH5wRt FVNoWU6qS18K2isU1riYlkbaXrAb5cvQKZts+oa55ncXiWNdSAC9F81OiIZ1kpuPVFqi L7BnZIh5g6A1W7xSVgDdlf1FDqyTjNKgPd/EWWE2UpdvRDybcKEtTzXWxsm5bnTwA2pB q/jw== X-Gm-Message-State: AOAM532wUP1WCxil/C3GLw+Bnh7QODls0th0JNKKQ1SlP788eCgQoop4 Kui3mBweSUFM9VstuWAWTVKaLg== X-Received: by 2002:aa7:9687:0:b029:22e:e5ce:95b6 with SMTP id f7-20020aa796870000b029022ee5ce95b6mr502259pfk.53.1617150266450; Tue, 30 Mar 2021 17:24:26 -0700 (PDT) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id p25sm169258pfe.100.2021.03.30.17.24.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Mar 2021 17:24:25 -0700 (PDT) Date: Tue, 30 Mar 2021 17:24:25 -0700 (PDT) X-Google-Original-Date: Tue, 30 Mar 2021 17:06:40 PDT (-0700) Subject: Re: [PATCH v2 2/6] clk: sifive: Use reset-simple in prci driver for PCIe driver In-Reply-To: CC: sboyd@kernel.org, alex.dewar90@gmail.com, aou@eecs.berkeley.edu, bhelgaas@google.com, devicetree@vger.kernel.org, erik.danie@sifive.com, hayashi.kunihiko@socionext.com, helgaas@kernel.org, hes@sifive.com, jh80.chung@samsung.com, khilman@baylibre.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-riscv@lists.infradead.org, lorenzo.pieralisi@arm.com, mturquette@baylibre.com, p.zabel@pengutronix.de, Paul Walmsley , robh+dt@kernel.org, vidyas@nvidia.com, zong.li@sifive.com From: Palmer Dabbelt To: greentime.hu@sifive.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 29 Mar 2021 20:36:12 PDT (-0700), greentime.hu@sifive.com wrote: > Stephen Boyd 於 2021年3月30日 週二 上午3:14寫道: >> >> 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_REALTEK || ARCH_STM32 || ARCH_STRATIX10 || ARCH_SUNXI || ARCH_ZX || ARC >> > + default ARCH_AGILEX || ARCH_ASPEED || ARCH_BITMAIN || ARCH_REALTEK || ARCH_STM32 || ARCH_STRATIX10 || ARCH_SUNXI || ARCH_ZX || ARC || RISCV >> >> 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 Ya, that's better. IIRC I suggested something similar in some other version, but I might have not actually sent the mail. > >> > help >> > This enables a simple reset controller driver for reset lines that >> > that can be asserted and deasserted by toggling bits in a contiguous, >> > @@ -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