Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp281734pxb; Wed, 4 Nov 2020 22:58:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJw3cS6j30praLK1ZO8TSAp+SxXoS7Q7WVmzqG99/Du2ho7jpNxsPez+KFA3MRJRVn780ni6 X-Received: by 2002:a05:6402:3066:: with SMTP id bs6mr1103886edb.79.1604559512375; Wed, 04 Nov 2020 22:58:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604559512; cv=none; d=google.com; s=arc-20160816; b=ZUBdlsjudoPbbXEY0up2V4NE3WysyT2B6J1viYBuHFregD5NbyYq4+osOWIY1G2lsO 3zvmlL9M62UT/SRfeotxSIpPa/teYT910aLZV+yjjkKZMF1CaLfZ9nbo3rEMVhRGC0KN F0/4CguqNJ2u6Q8xhLRX9soa0OtZD2UvObwSE1lJB3k+9UKfMdgb56xSjGT39B50Q4mS jgj2JrmILcC37R1ZOCXfsToY0FIiSwzE+jQV+fW15NX0Uq2Qx0t6Cbvfgr3ELq7y6Ao9 c7+GfXTc801KvR+vD6Pr8OIYV1z0NTgQosghq7beFWl4qOioSqgBQ9+axTkewZ5CuvyJ b+mQ== 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:from:in-reply-to :references:mime-version:dkim-signature; bh=EwC6aaL5scs/P7pPY4FBOZM78H0SX2GDzgejVIvtuSI=; b=KkIIfJgpVVsTOFjOWsg0+kA2zgrCiqIgsH6RPUWlY0Ab0J1sP1/yc8X3G/zRwUHgBQ GRATI9j4OVyXqCv1wAh5h3+Oo3KeQDioQh6xKAiJGX8sLbfomkv+r3Uo01RMtSoTsC/3 0B0JhWhGDYc51e5c7lKt9ziOZdjYY7qJhaXSwo4xMKgg32PPtU1U57D9y78Oxumh8WIU 8ntISAG2E4HOoQPbz6sz7eNYgLvkhdYCAvpzb6jCg6Uy8d083IlMaXJdQcKQ4UGiJX88 WDCjZiioOoGI5ruKG73x9vahhTxb47Pz/T5HDy0poJ5jIBlcRjwcV/umh87wigVGEpxM CDTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=fGjMpbie; 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 n10si451104ejr.7.2020.11.04.22.58.09; Wed, 04 Nov 2020 22:58:32 -0800 (PST) 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=fGjMpbie; 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 S1726737AbgKEG4l (ORCPT + 99 others); Thu, 5 Nov 2020 01:56:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725287AbgKEG4l (ORCPT ); Thu, 5 Nov 2020 01:56:41 -0500 Received: from mail-oo1-xc41.google.com (mail-oo1-xc41.google.com [IPv6:2607:f8b0:4864:20::c41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C5CBC0613D1 for ; Wed, 4 Nov 2020 22:56:41 -0800 (PST) Received: by mail-oo1-xc41.google.com with SMTP id l26so178115oop.9 for ; Wed, 04 Nov 2020 22:56:41 -0800 (PST) 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; bh=EwC6aaL5scs/P7pPY4FBOZM78H0SX2GDzgejVIvtuSI=; b=fGjMpbieMBYGTP8eXkgUOsId8oCd1W0FvaKudufpR/oS4DI1DbaCiew8igvijFxBwS EHhoyWaghz1rNg9gKQCAQEMN3BvUTuPkhwCLnk+EQobkdb1tXrYj5a6rBuBQ9F39Dtu2 VId+sax2ltEsuv9c8Q5RCbyHOAWv1FbLTXg3Y6Kxeguv4tq/CGHIJ5pl5IMERreUSAD6 UM7T1zFhlnlo2IpL2n6yFmJuAaptDx4lxL3h/VKMT/l7r47IVPkX3DEsgSi/n94y6fle ImOYBhqXAjxHdO7nOj+r4aj8mZCPgD+HXicU4xsdbx3245xjMpmp6wc7bZmCqDJpgBra 17xw== 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; bh=EwC6aaL5scs/P7pPY4FBOZM78H0SX2GDzgejVIvtuSI=; b=kHdGeXSzbYM7v/bFaSqX2J+4Kp8lOBoEpJ3C4ulPWcpHoddQCzcAKWKHj04sWWGkhL VoVg/UXujc0dL+T+5T39p9pkz+f2p5FQU1vrB8GiJB56gxX84KTjOAUOrujrcAYsTVu7 VSbckeswh5Belu4lIR4Qa44lUZ7WxcwmxCtZw6t7glVFx6ev41UCMcVGdjJ/7KguEYny 7HjZdjhFh5iWiFGAO3RCpyAv246o3OcIytzbcaHF+aG2JWr6Aw9uo+670xIXqQSZ5/m3 Dlhj7cQu8uABnHCxV2sxwnTadUiHTMCSWFdOjlM3m6uvfLZBadfFiPdIwuURmAAnGukv 9l+A== X-Gm-Message-State: AOAM532iGFIASBwR4Lhiu2eaEIMGhSo3Gi+dA57sBxcfsSHw1MdnGInI Tnmn61SxtLwM4aSKAtXTNXXtMkqfsYDuP+59Ei9/GA== X-Received: by 2002:a4a:96b0:: with SMTP id s45mr804814ooi.33.1604559400459; Wed, 04 Nov 2020 22:56:40 -0800 (PST) MIME-Version: 1.0 References: <691e24d1c45a4b56b57ce1e02a04268c4253a77d.1602838910.git.zong.li@sifive.com> <160454441626.3965362.17922436443029310228@swboyd.mtv.corp.google.com> In-Reply-To: <160454441626.3965362.17922436443029310228@swboyd.mtv.corp.google.com> From: Zong Li Date: Thu, 5 Nov 2020 14:56:27 +0800 Message-ID: Subject: Re: [PATCH 2/4] clk: sifive: Use common name for prci configuration To: Stephen Boyd Cc: Albert Ou , linux-clk@vger.kernel.org, "linux-kernel@vger.kernel.org List" , linux-riscv , Michael Turquette , Palmer Dabbelt , Paul Walmsley , Yash Shah Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 5, 2020 at 10:46 AM Stephen Boyd wrote: > > Quoting Zong Li (2020-10-16 02:18:24) > > Use generic name CLK_SIFIVE_PRCI instead of CLK_SIFIVE_FU540_PRCI. This > > patch is prepared for fu740 support. > > > > Signed-off-by: Zong Li > > --- > > Looks ok but needs an ack from riscv maintainers to go through clk > tree. I was worried it would break defconfigs but it seems that the arch > selects the config so this should be OK, right? Yes, this config is selected by arch, the defconfig won't be impacted. > > > arch/riscv/Kconfig.socs | 2 +- > > drivers/clk/sifive/Kconfig | 6 +++--- > > drivers/clk/sifive/Makefile | 2 +- > > 3 files changed, 5 insertions(+), 5 deletions(-) > > > > diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs > > index 8a55f6156661..3284d5c291be 100644 > > --- a/arch/riscv/Kconfig.socs > > +++ b/arch/riscv/Kconfig.socs > > @@ -5,7 +5,7 @@ config SOC_SIFIVE > > select SERIAL_SIFIVE if TTY > > select SERIAL_SIFIVE_CONSOLE if TTY > > select CLK_SIFIVE > > - select CLK_SIFIVE_FU540_PRCI > > + select CLK_SIFIVE_PRCI > > select SIFIVE_PLIC > > help > > This enables support for SiFive SoC platform hardware.