[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <mhng-78a4de2c-8723-4b35-b64e-2e1866ad6743@palmerdabbelt-glaptop>
Date: Tue, 30 Mar 2021 17:24:25 -0700 (PDT)
From: Palmer Dabbelt <palmer@...belt.com>
To: greentime.hu@...ive.com
CC: sboyd@...nel.org, alex.dewar90@...il.com, aou@...s.berkeley.edu,
bhelgaas@...gle.com, devicetree@...r.kernel.org,
erik.danie@...ive.com, hayashi.kunihiko@...ionext.com,
helgaas@...nel.org, hes@...ive.com, jh80.chung@...sung.com,
khilman@...libre.com, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org,
linux-riscv@...ts.infradead.org, lorenzo.pieralisi@....com,
mturquette@...libre.com, p.zabel@...gutronix.de,
Paul Walmsley <paul.walmsley@...ive.com>, robh+dt@...nel.org,
vidyas@...dia.com, zong.li@...ive.com
Subject: Re: [PATCH v2 2/6] clk: sifive: Use reset-simple in prci driver for PCIe driver
On Mon, 29 Mar 2021 20:36:12 PDT (-0700), greentime.hu@...ive.com wrote:
> Stephen Boyd <sboyd@...nel.org> 於 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
Powered by blists - more mailing lists