Message ID | 20230411064743.273388-3-changhuang.liang@starfivetech.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2380897vqo; Tue, 11 Apr 2023 00:12:30 -0700 (PDT) X-Google-Smtp-Source: AKy350Yq1XBxi7b4LHLtZUWM9rn/gqVbIp352RoToX40OwVMCrU/SUS/9br7LpMVUHUfyeO/dOxO X-Received: by 2002:a17:902:dacb:b0:1a5:1bb4:ad8b with SMTP id q11-20020a170902dacb00b001a51bb4ad8bmr13359617plx.17.1681197149810; Tue, 11 Apr 2023 00:12:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681197149; cv=none; d=google.com; s=arc-20160816; b=q2TzEuRqS2kO9DYWpel+Tb/GpcMCvWauc7uhh1YxDNj0jGNsL3dPHCI6GLyVgvmp86 3qctxmSKTtjM8YqM4bxri1vmUkTi2pNXn7MTFvQpNS1YaXYeG6DrV11L7VmA49xen8Xt fJG9Q/H9g3QaHQj2yEyrZH0johaE32CxDjJVhkgSGm2228pGm33hCgnUZtv3bNJxc7ha 4BcYdHfoXTlK5IJhfMHDP24TGmhJVvlppj4Xk2W5HZon8CLpGlXB0QamATmaJyDnHuJi hdREdHn1r2FumLiQ7OKuGk6cYG1Adyew9phq1UrssikaQjFKIK72XI7DJ/tYmPEs2X/5 8slw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Ijs19josLc0I+WB5lYYOXU3Y1Lg19pk4IYg29QCT9FI=; b=y3y2Ow98U486cAnRb68qXddAeEqQmScFy7c5svtAqtL2MQqBiPuOahjR8DspU5bLfR 3htgCFmFGSbQ69vTo0uMGds/kWimKpPcOpyzK+5Mmtih0aMT0wANLgnO8Csim7F0to+D 9vO6srejcU7T4IzHIbQHfuNp5gxKxsAM3RLVQ3233/uFpVNtxhqzamswXdBh7nSKQyHX FullMt1ayCxMEXHo+xB0jLCYs735BDA75j0v2jsWx44gMAady29Gmb8cXGrWu46bY+ZL 1y7IBPd9DYkUjUubtRuIQKCKkL+DqyrwDmvXH7kOxLfb+SwWcVNQxsSSTMtYbaR9fNYj fFrA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 35-20020a631963000000b0050fa9bc63cbsi12006046pgz.432.2023.04.11.00.12.16; Tue, 11 Apr 2023 00:12:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230211AbjDKGsD convert rfc822-to-8bit (ORCPT <rfc822;yuanzuo1009@gmail.com> + 99 others); Tue, 11 Apr 2023 02:48:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230166AbjDKGry (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 11 Apr 2023 02:47:54 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 701C0269E; Mon, 10 Apr 2023 23:47:49 -0700 (PDT) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 8123E24E20F; Tue, 11 Apr 2023 14:47:46 +0800 (CST) Received: from EXMBX162.cuchost.com (172.16.6.72) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 11 Apr 2023 14:47:46 +0800 Received: from ubuntu.localdomain (113.72.145.176) by EXMBX162.cuchost.com (172.16.6.72) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 11 Apr 2023 14:47:45 +0800 From: Changhuang Liang <changhuang.liang@starfivetech.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Emil Renner Berthing <kernel@esmil.dk>, Conor Dooley <conor@kernel.org>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu> CC: Walker Chen <walker.chen@starfivetech.com>, Changhuang Liang <changhuang.liang@starfivetech.com>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-riscv@lists.infradead.org> Subject: [PATCH v1 2/7] soc: starfive: Replace SOC_STARFIVE with ARCH_SATRFIVE Date: Mon, 10 Apr 2023 23:47:38 -0700 Message-ID: <20230411064743.273388-3-changhuang.liang@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230411064743.273388-1-changhuang.liang@starfivetech.com> References: <20230411064743.273388-1-changhuang.liang@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [113.72.145.176] X-ClientProxiedBy: EXCAS064.cuchost.com (172.16.6.24) To EXMBX162.cuchost.com (172.16.6.72) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762862982842784754?= X-GMAIL-MSGID: =?utf-8?q?1762862982842784754?= |
Series |
Add JH7110 DPHY PMU support
|
|
Commit Message
Changhuang Liang
April 11, 2023, 6:47 a.m. UTC
Using ARCH_FOO symbol is preferred than SOC_FOO.
Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
---
drivers/soc/starfive/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Mon, Apr 10, 2023 at 11:47:38PM -0700, Changhuang Liang wrote: > Using ARCH_FOO symbol is preferred than SOC_FOO. > Reviewed-by: Conor Dooley <conor.dooley@microchip.com> > Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com> > --- > drivers/soc/starfive/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/soc/starfive/Kconfig b/drivers/soc/starfive/Kconfig > index bdb96dc4c989..1e9b0c414fec 100644 > --- a/drivers/soc/starfive/Kconfig > +++ b/drivers/soc/starfive/Kconfig > @@ -3,8 +3,8 @@ > config JH71XX_PMU > bool "Support PMU for StarFive JH71XX Soc" > depends on PM > - depends on SOC_STARFIVE || COMPILE_TEST > - default SOC_STARFIVE > + depends on ARCH_STARFIVE || COMPILE_TEST > + default ARCH_STARFIVE > select PM_GENERIC_DOMAINS > help > Say 'y' here to enable support power domain support. > -- > 2.25.1 >
On 2023/4/11 14:47, Changhuang Liang wrote: > Using ARCH_FOO symbol is preferred than SOC_FOO. > > Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com> > --- > drivers/soc/starfive/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/soc/starfive/Kconfig b/drivers/soc/starfive/Kconfig > index bdb96dc4c989..1e9b0c414fec 100644 > --- a/drivers/soc/starfive/Kconfig > +++ b/drivers/soc/starfive/Kconfig > @@ -3,8 +3,8 @@ > config JH71XX_PMU > bool "Support PMU for StarFive JH71XX Soc" > depends on PM > - depends on SOC_STARFIVE || COMPILE_TEST > - default SOC_STARFIVE > + depends on ARCH_STARFIVE || COMPILE_TEST > + default ARCH_STARFIVE > select PM_GENERIC_DOMAINS > help > Say 'y' here to enable support power domain support. The subject 'ARCH_SATRFIVE' spelling error. Best regards, Walker
On 2023/4/12 10:11, Walker Chen wrote: > > > On 2023/4/11 14:47, Changhuang Liang wrote: >> Using ARCH_FOO symbol is preferred than SOC_FOO. >> >> Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com> >> --- >> drivers/soc/starfive/Kconfig | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/drivers/soc/starfive/Kconfig b/drivers/soc/starfive/Kconfig >> index bdb96dc4c989..1e9b0c414fec 100644 >> --- a/drivers/soc/starfive/Kconfig >> +++ b/drivers/soc/starfive/Kconfig >> @@ -3,8 +3,8 @@ >> config JH71XX_PMU >> bool "Support PMU for StarFive JH71XX Soc" >> depends on PM >> - depends on SOC_STARFIVE || COMPILE_TEST >> - default SOC_STARFIVE >> + depends on ARCH_STARFIVE || COMPILE_TEST >> + default ARCH_STARFIVE >> select PM_GENERIC_DOMAINS >> help >> Say 'y' here to enable support power domain support. > > The subject 'ARCH_SATRFIVE' spelling error. > OK, will fix it. > Best regards, > Walker
diff --git a/drivers/soc/starfive/Kconfig b/drivers/soc/starfive/Kconfig index bdb96dc4c989..1e9b0c414fec 100644 --- a/drivers/soc/starfive/Kconfig +++ b/drivers/soc/starfive/Kconfig @@ -3,8 +3,8 @@ config JH71XX_PMU bool "Support PMU for StarFive JH71XX Soc" depends on PM - depends on SOC_STARFIVE || COMPILE_TEST - default SOC_STARFIVE + depends on ARCH_STARFIVE || COMPILE_TEST + default ARCH_STARFIVE select PM_GENERIC_DOMAINS help Say 'y' here to enable support power domain support.