Received: by 2002:ac0:8c8e:0:0:0:0:0 with SMTP id r14csp967137ima; Wed, 6 Feb 2019 11:20:04 -0800 (PST) X-Google-Smtp-Source: AHgI3IYwHsCStmpO5F3LDBpWJgTrZhd94Vw7cntKbkmX9yr+4cM3fmhOO38hVXVGcnsulObR20FJ X-Received: by 2002:a63:4744:: with SMTP id w4mr10842926pgk.110.1549480804552; Wed, 06 Feb 2019 11:20:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549480804; cv=none; d=google.com; s=arc-20160816; b=yOD9ouvLn+k0oL7x9GEV0QP0gRbIT6o91XrKO179+s8L/b4fuEw8AK2tWv6dDaVEkc k0hcWPYk1bjQlk0/loTGSJV4mqzHR7EaWWz84nUynanFJTKHHuH8/P7ixPgv+UqfXK5y /aG6yzGpZ+1MlSHFB8frPmWUmYiple4Sjdi3vL913zqnyBMJ/XM3nSOPypvDtPoLcwFg yiHwdeyBbkw0eXQnUru93eNvsZ2BG6ImhMxXjjRk33HJduU54nDYiBbgXSND9ktlmn8t sVQky8NOOPa+VAkVDcGBZgG1SnFO3E/F09vBAuZJmf61BEuVdHf22Zv0sB8mI268GTBc M7zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:from:cc:references:message-id :subject:user-agent:in-reply-to:to:content-transfer-encoding :mime-version:dkim-signature; bh=EfpRVZp8K7Y23244+fc9Qe5f1O4Ycgwc2/b9szzLqRs=; b=Xxm+hN+jYrQ1M5rWXFEoEUkXopCh0h/SmCUfmAWvuHTFLO1o6u0Z0989Uu+cXLveEV t9sydNR0w6bUJFAYJPqjCwp+P9KAuf+Hk1QGP8JrgU2VuF8qMkaQzUn/xG+GUdZPVkOk kAa2PdbVfWZwXidSakuh1AJILEiHXK4L7QmUZ9eL5ZwulLRJhA7JqeSEHDDLYDbuuFWZ 2WLv01Ix/5QXYpXC3/AkKKGKQkNAKJp17w5vP4DvnWiG7d//tOhe3srYh9MRfmtAssJc QDMO0deIVsAGkNk1meDHezporWerk5FIYMOaVyO6mqzMijaSPS69ehpg78r32Nf7WtxK GEmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hk86GIdM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h11si2771201plr.175.2019.02.06.11.19.48; Wed, 06 Feb 2019 11:20:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hk86GIdM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726830AbfBFTSg (ORCPT + 99 others); Wed, 6 Feb 2019 14:18:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:55092 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726579AbfBFTSg (ORCPT ); Wed, 6 Feb 2019 14:18:36 -0500 Received: from localhost (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7B94B20B1F; Wed, 6 Feb 2019 19:18:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549480715; bh=5ue2r0PP91E/tWGZA+YxrtG/lBYKmGBGoE6ioBqCvns=; h=To:In-Reply-To:Subject:References:Cc:From:Date:From; b=hk86GIdMazxFH0UEeyn3pBETKKaaQd7kvGEcXHYVXUzvE9+FtCYSlQtGrFiNpY4vT KTL4qZ4a/H55Dw/BI+vwgw6Oxt9M5OLq2ZZCJ9rp40kgFoFPIBWYviqloLa0CO4DOy 23DBykRyLEsLhhk4oHS87MwVWmtjPzMTkjH6c11g= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Jiaxun Yang , linux-mips@vger.kernel.org In-Reply-To: <20190201063540.19636-2-jiaxun.yang@flygoat.com> User-Agent: alot/0.8 Subject: Re: [PATCH v3 1/3] clk: loongson1: add configuration option for loongson1 clks Message-ID: <154948071478.115909.15205970894327083365@swboyd.mtv.corp.google.com> References: <20190128152052.3047-1-jiaxun.yang@flygoat.com> <20190201063540.19636-1-jiaxun.yang@flygoat.com> <20190201063540.19636-2-jiaxun.yang@flygoat.com> Cc: mturquette@baylibre.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, Jiaxun Yang From: Stephen Boyd Date: Wed, 06 Feb 2019 11:18:34 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Jiaxun Yang (2019-01-31 22:35:38) > diff --git a/drivers/clk/loongson1/Kconfig b/drivers/clk/loongson1/Kconfig > new file mode 100644 > index 000000000000..e2220332d797 > --- /dev/null > +++ b/drivers/clk/loongson1/Kconfig > @@ -0,0 +1,27 @@ > +menu "Loongson-1 Clock drivers" > + depends on MACH_LOONGSON32 > + > +config LOONGSON1_CLOCK_COMMON > + bool > + > +config LOONGSON1_CLOCK_LS1B > + bool "Loongson 1B driver" > + default y Should be default CONFIG_LOONGSON1_LS1B? > + select LOONGSON1_CLOCK_COMMON Drop the selects and have the menuconfig make the "COMMON" config option enabled then? > + help > + Support the clocks provided by the clock hardware on Loongson-1B > + and compatible SoCs. > + > + If building for a Loongson-1B SoC, you want to say Y here. > + > +config LOONGSON1_CLOCK_LS1C > + bool "Loongson 1C driver" > + default y And default CONFIG_LOONGSON1_LS1C? > + select LOONGSON1_CLOCK_COMMON > + help > + Support the clocks provided by the clock hardware on Loongson-1C > + and compatible SoCs. > + > + If building for a Loongson-1C SoC, you want to say Y here. > + > +endmenu