From patchwork Tue Mar 14 21:10:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse T X-Patchwork-Id: 69837 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1988349wrd; Tue, 14 Mar 2023 14:18:11 -0700 (PDT) X-Google-Smtp-Source: AK7set/wMgwTBg18x9wGwJ1VfrGm5qcA6hIT2XgsHCugutzcuQLRpnHSilSPOLUCCEHLw0S/ySsa X-Received: by 2002:a17:90b:1094:b0:23d:1bed:298e with SMTP id gj20-20020a17090b109400b0023d1bed298emr6009416pjb.45.1678828691662; Tue, 14 Mar 2023 14:18:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678828691; cv=none; d=google.com; s=arc-20160816; b=jKOfTY5C6OG6a+Vk7N/H86leioHFCKzRk7COJV1Tde9moeF+CiZ+aR0pxGYRlwpyP7 TEK9TdkyNzPbuWkAoUec2DX/YhDQTtcOySUn7Cex7/pNA8wZEByte574RtZqrdr9fJVF MP7yPXRd9/Nehc/0+zHvbnN+kjPXiCG7PX9Bfy1w3kzgmXE+23wIta32ZTMRkyfZ1o9I s1Tf4e087kd8kajfJ69t++2mkck1nAPxJ6whvFm0vJCRDEJybcxqKe9nTH6M930OZEiq hdOFWmAtaJg5dxa7/zjdiIYQ/Vxyr/nP8DVKZY357j5HoOnZXw4mGDn64ocNXpqaarDA OC9A== 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:date:subject:cc:to:from:dkim-signature; bh=gFGKOv/gsoVIy8/SJ0JWX6aXeqfw2gjMFT5w7VG7REY=; b=RMZqHoPlZ9C14T44UjC3i1UpBJLlalHMemEqenspbGzeI42RMs14fWK4MFBcwu1xoP 3a8j3Mmtt7sLAYbDrHxFS9Gw7u6ISFzdFte7WG060I7i2mZBR11gDXHTZfIKdsl2x7kZ 8IikqqxliVuvrQvm/aoaaDPjoVQccTWRT3GLYYES7f/mUtnVS5nJhDkp/mmNdEBVUura v2ofe4vxJ0ikCG9RHbwe+CHQtWwDvVnOedwNCu6v9lQ7hxamJ+QMmX3Pc3nRGG911Bv+ QQ9OOQCBick9s6y8R774zEG8lau+IzNFU1Ip2QoLc8zvlbjlddCUI4BJ6Rs6hVgBddu0 uDBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pcxc6CU2; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a8-20020a170902ecc800b00194a944fecbsi3858556plh.268.2023.03.14.14.17.56; Tue, 14 Mar 2023 14:18:11 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pcxc6CU2; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230203AbjCNVKs (ORCPT + 99 others); Tue, 14 Mar 2023 17:10:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229769AbjCNVKq (ORCPT ); Tue, 14 Mar 2023 17:10:46 -0400 Received: from mail-qv1-xf2e.google.com (mail-qv1-xf2e.google.com [IPv6:2607:f8b0:4864:20::f2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 096CC18B0D; Tue, 14 Mar 2023 14:10:33 -0700 (PDT) Received: by mail-qv1-xf2e.google.com with SMTP id bo10so13436836qvb.12; Tue, 14 Mar 2023 14:10:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678828232; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=gFGKOv/gsoVIy8/SJ0JWX6aXeqfw2gjMFT5w7VG7REY=; b=pcxc6CU22/fuEYmub2qnTMBjE38I2bfwMO+vN/5//rLZgB+7tjqg1jorWV8aTjG+ul m27De5cQlqk7sCdxMT24ih9wxa6ZHvQWslS5ld9PT+1aOQZm09NawtWp/lZKLMehX5w+ j4mmK8h4+Tz2TVP66HAiuugBfNlKJuQskh5qS2kVDvv5uMixmSpmptLiw7wyMJmzN0eg mV+B0D+krz4SneOEjQQoiadSQdSLzkU5JUaYhkW7Y435hbUjrC/PgnUaVhTNwAdHWk44 zQ8DHVbqwy2z9PTpcWibYzIMmGFWi8Wo8FYgiTLhvlXmkjBU3aKtmloxYZLVnWU3ccS4 ZKHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678828232; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gFGKOv/gsoVIy8/SJ0JWX6aXeqfw2gjMFT5w7VG7REY=; b=fdVpZdi3D8YEZdGF9Yd+2JIghZJx8Q+1+mMX7c9zdprVf5nhfVmPtqnUMVbn5nHs/n Spb8GF6DHMn2AwbDoa82wavDTnNCOpFVtnVZdCfCwQ18JJ8gUWCGY2HLM/MEqrhQNIVV BqVCdCUoaUgZ1vpJ7wAuTFRF63hUtfa9zZQNskFvX5jWpcTJj6GHKBQgyM1ONySEhBUV oTSJd6AQgvOAWZdj2pqSYo4XiN0JLiMlYHwRYRcE6IHmm9mVvtd9inbzX7NpiFmwGz0V kUxIdRjq1qBXW9ulQ2IX6rF6yGA8okHtdk5n107e1XLJNqePoqneaA3gcAOBIIH+QHjg vTDA== X-Gm-Message-State: AO0yUKUoWwPbitczYxysa/QyW9l/nhZbU0xuxZFczDPX/mkMRBZV15i0 +7iNjy0Rhr5L/tkJSb5vHIk= X-Received: by 2002:a05:622a:1ba6:b0:3b8:3a7c:d204 with SMTP id bp38-20020a05622a1ba600b003b83a7cd204mr61380513qtb.58.1678828232116; Tue, 14 Mar 2023 14:10:32 -0700 (PDT) Received: from jesse-desktop.jtp-bos.lab (pool-108-26-182-112.bstnma.fios.verizon.net. [108.26.182.112]) by smtp.gmail.com with ESMTPSA id ef14-20020a05620a808e00b0073b967b9b35sm2429498qkb.106.2023.03.14.14.10.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Mar 2023 14:10:31 -0700 (PDT) From: Jesse Taube X-Google-Original-From: Jesse Taube To: linux-riscv@lists.infradead.org Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Jesse Taube , Damien Le Moal , Stephen Boyd , Randy Dunlap , Palmer Dabbelt , Conor Dooley Subject: [PATCH v1] RISCV: CANAAN: Make K210_SYSCTL depend on CLK_K210 Date: Tue, 14 Mar 2023 17:10:30 -0400 Message-Id: <20230314211030.3953195-1-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760379474458285034?= X-GMAIL-MSGID: =?utf-8?q?1760379474458285034?= CLK_K210 is no longer a dependency of SOC_CANAAN, but K210_SYSCTL depends on CLK_K210. This patch makes K210_SYSCTL depend on CLK_K210. Also fix whitespace errors. Reported-by: Randy Dunlap Link: https://lore.kernel.org/all/42446784-a88b-df09-41e9-5f685b4df6ee@infradead.org Fixes: 3af577f9826f ("RISC-V: stop directly selecting drivers for SOC_CANAAN") Signed-off-by: Jesse Taube Reviewed-by: Damien Le Moal --- drivers/soc/canaan/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/soc/canaan/Kconfig b/drivers/soc/canaan/Kconfig index 2527cf5757ec..caf3705d8917 100644 --- a/drivers/soc/canaan/Kconfig +++ b/drivers/soc/canaan/Kconfig @@ -2,9 +2,9 @@ config SOC_K210_SYSCTL bool "Canaan Kendryte K210 SoC system controller" - depends on RISCV && SOC_CANAAN && OF + depends on RISCV && SOC_CANAAN && OF && COMMON_CLK_K210 default SOC_CANAAN - select PM - select MFD_SYSCON + select PM + select MFD_SYSCON help Canaan Kendryte K210 SoC system controller driver.