Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1735788pxb; Fri, 22 Oct 2021 06:44:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAJoWPHV/Igw2J468WcvckLKB6k/BTBg9DHWKUlO6IDQMw533onZQ2jSU5wzwpsx2UDDCx X-Received: by 2002:a17:902:da85:b0:13e:f80f:4e19 with SMTP id j5-20020a170902da8500b0013ef80f4e19mr11409127plx.26.1634910254465; Fri, 22 Oct 2021 06:44:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634910254; cv=none; d=google.com; s=arc-20160816; b=vRqjYyZ/YnwZDJl8cS5yuKm4o+l0Iqdvld6V9LOsZBlAPcvRmuib+JIcs5xizJfs9E g2ArZHHrS2BiIVXuj35gR1RvmWwFkaR+Pme3G1MTik64pKo8VivsmxmMNUUpJ6jwzE/y gU0oM7nQHsq6ghp8p00pdgA3VT4urb5CLUhCzwUxsZKoO8Yg+5hbq8faBQbWrV757TXa U8pxKTwt5c5L5rSl4rlCxSHHGUy5pfrdyHL503FckbtRqnGO07vibZhIWdvO+5eCeGqi rtlhfqUKPf+rt6+4ZXx5DK4Rf3RQpdpwUd49Ft5THwsFawmKDZ2RGOukrVBZbYmxOX6y lEwg== 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; bh=0+jUS6xI/DPxP6ZrnElaJwUrZ90DL/yMXbpKtqC1M5U=; b=G6U8mu/WvANWV4E7rTQWdc+N1tAoFq2jlzDkkjulmNO2KHTsbvqGSeadozZoc9c0aD GRDLFG31qtlnanWtilTqVjRMh7mIAcjSiUwLqhFaKntFroND1TyrzprY6mgBxQDe9fFo AzQx/8oalGczbZfzyqhr0nDT1Md62km7ohqT3IQ5b7jG5HPMofw/MR2lenAgku0m/yrg sJSaYYLEcFeZI+xwl96B2yThl1wUbePeZgR7xsa4disTw9kT3RK5gzFYncUU/xwV/rcZ PU12ahmSnXD6nYL6FQAGqhhvN7b65Skg25qW7BdtBXmv/qUCvCujUJtxf5i6Gx3X+Vhc WLLw== ARC-Authentication-Results: i=1; mx.google.com; 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 y2si14087769pfa.193.2021.10.22.06.44.00; Fri, 22 Oct 2021 06:44:14 -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; 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 S232853AbhJVNn6 (ORCPT + 99 others); Fri, 22 Oct 2021 09:43:58 -0400 Received: from mail-pg1-f169.google.com ([209.85.215.169]:37656 "EHLO mail-pg1-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230342AbhJVNn5 (ORCPT ); Fri, 22 Oct 2021 09:43:57 -0400 Received: by mail-pg1-f169.google.com with SMTP id s136so3362085pgs.4; Fri, 22 Oct 2021 06:41:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0+jUS6xI/DPxP6ZrnElaJwUrZ90DL/yMXbpKtqC1M5U=; b=ePWHyTMkORA7tnc6JaFty0BLUcKjaPliYWF6AJ5IURM5Q+xuHcL6j9LYabDYaR8Crw QJi6kmT0ydtT4LTOQe5H438PjR4ODwlGWgnCp2PVZWnkSrJiYeiBfpHRZxFwebP0FLCZ ney9hnHW2aMUsgiIHeD2hPgGA14wRMYSwyh1mSSZXotLTxZ8uJNU/4oL+cVStKgYi/tf izgqw9Ie+//H6gC8p8hbyBHJes3xo1ahKz0IdjOj4uKJXxdkGH/xB4xG1cenZj0sYs4i gYjgC5x4UC0Lbqm7ABer2lSOfyPGzMc1x8iGERL2tQo+0gWIqJ4RCyPWYJ397C9K/xnH kUZQ== X-Gm-Message-State: AOAM533aaIEYop69cewIdsrFPFUg/56emo5umgu7GjQIjGxoCPohJnFV yUtYWBySOBdYPTXvKWpU+jlwJ//Awanah7ZVpeo= X-Received: by 2002:a63:7047:: with SMTP id a7mr9320545pgn.458.1634910099521; Fri, 22 Oct 2021 06:41:39 -0700 (PDT) MIME-Version: 1.0 References: <20211021174223.43310-1-kernel@esmil.dk> <20211021174223.43310-10-kernel@esmil.dk> <8735otjjjx.fsf@igel.home> In-Reply-To: <8735otjjjx.fsf@igel.home> From: Emil Renner Berthing Date: Fri, 22 Oct 2021 15:41:28 +0200 Message-ID: Subject: Re: [PATCH v2 09/16] reset: starfive-jh7100: Add StarFive JH7100 reset driver To: Andreas Schwab Cc: linux-riscv , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-clk , "open list:GPIO SUBSYSTEM" , "open list:SERIAL DRIVERS" , Palmer Dabbelt , Paul Walmsley , Rob Herring , Michael Turquette , Stephen Boyd , Thomas Gleixner , Marc Zyngier , Philipp Zabel , Linus Walleij , Greg Kroah-Hartman , Daniel Lezcano , Andy Shevchenko , Jiri Slaby , Maximilian Luz , Sagar Kadam , Drew Fustini , Geert Uytterhoeven , Michael Zhu , Fu Wei , Anup Patel , Atish Patra , Matteo Croce , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 22 Oct 2021 at 15:06, Andreas Schwab wrote: > On Okt 21 2021, Emil Renner Berthing wrote: > > > +config RESET_STARFIVE_JH7100 > > + bool "StarFive JH7100 Reset Driver" > > + depends on SOC_STARFIVE || COMPILE_TEST > > Why does it need to depend on SOC_STARFIVE? It strictly doesn't but most other drivers in the same Kconfig file also depends on ARCH_something or SOC_something. In particular RESET_K210 depends on SOC_CANAAN. I think this is to prevent overwhelming the user with useless choices if they didn't enable the relevant SoC, and for others there are the COMPILE_TEST option. /Emil