From patchwork Mon Feb 12 13:33:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 10212959 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7209A60329 for ; Mon, 12 Feb 2018 13:34:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 610A228B51 for ; Mon, 12 Feb 2018 13:34:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5526A28C72; Mon, 12 Feb 2018 13:34:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 69BF928B51 for ; Mon, 12 Feb 2018 13:34:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=NW1wTeHXrHCMypO8sTc/aSeY83mKYzbU+PTYeiuEbLM=; b=ULQfMex4SIc8ZLOA1obBpEuCxW gg94UsSNjPDHI7DR3tp5GEetQn74ys4oqS4OyYvRtoPwnfbpRmVyNudPD9bt2LutYGmdUo/pXg2ua L1WzL6bKTnGJV9R6vUrViMsRR7SPWJQZ/v6Rkfui9ucPUWXTjgHFbtdCUTczz18Sxsf8L1aOz8ICo KblaAHx4Ud13VZC4XuZdwSeUmd3pWDsYya7RHFl0+HM6JYUMKS3ei5vnhMWc4gxcgmh6VY3Rkkcg3 2zj19Dm3M9EffMEZeaktcsUsVnglhPF+2KHvH6Fo8I/H3eoZdpvRFyz6/ZY6U8gGpyVfB893CFLg1 mbKiy4qg==; Received: from [198.137.202.133] (helo=bombadil.infradead.org) by casper.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1elEEz-0004DV-Hs for patchwork-linux-arm@patchwork.kernel.org; Mon, 12 Feb 2018 13:33:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=NW1wTeHXrHCMypO8sTc/aSeY83mKYzbU+PTYeiuEbLM=; b=Nag Vcl4aCSwjAIIWY3x8xPSjqeWqrkd1Ng+JDr4zzM35omBak9h3j1uSXT5mSNwZhVXrJl1NDbBerMTm hezc+IZaWw0+ckWPnyvh1TdJNv8ZfCVFwrHpocnqwyK7UptQq2m/KkGbqWWHQSDQAK8DMdLCd3X8J jyHpgbgLl+zxyFvZKSX+532RxaAcbIpHqoa3PP2ngDjO+4+D9VbjjDSJxu6Dneu+XPUkiGAOBCSy8 XjUqS65LqrcfASCoLKcUllUYV6EZTzMrxfnNvXESYq6g6a5gqOubvTRth8Rp24rNLDEqZEWzVrKh1 vHGA66J5H4DQNnqdHoHa8su3g6IcEUw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1elEEw-00072K-EQ; Mon, 12 Feb 2018 13:33:50 +0000 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1elEEt-0006hS-6d for linux-arm-kernel@lists.infradead.org; Mon, 12 Feb 2018 13:33:48 +0000 Received: by mail-lf0-x242.google.com with SMTP id w10so7662256lfc.9 for ; Mon, 12 Feb 2018 05:33:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=MfBXF1j9fq2zpcBcMf7X8LMs+frFFiWWTjnJMII30Wg=; b=c+6pUnu01WgdpMpEP1bklNPjNe3h3PPkaV1rb1b7LEGmSOwp5sAlHgjXnyd1lomWa4 fwJ07YW+2XeK6A0WbztDWu45o1qWkKY3svKBboPldMbhy2pA0R+kfVgLnxHDZTSs2xSw 5gCKw3UMLoRUogYuowVH9dMyUPbP4BQ/q7SXY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=MfBXF1j9fq2zpcBcMf7X8LMs+frFFiWWTjnJMII30Wg=; b=KRy0XGfD3P2dGYdavrb5grK5/Ba3xvJ0ck310P4QMf5eZYbbtRaskofj+2q6NAk75D /K+fTx/HGhx3zDkjJoQrhrc1wOspemoHADa0HHMt/puxQTEnY6psVVzJt5hA93s5IXjO I0stkmCReseTAREOGXLMHht7KH/sJSdZ1L1gDvVDm86UqF2I7zKlfC1C3AxDnCjY3s4w 5Lq4OY/z+28/pm7/VRy3hxfqBHsWVc2BLz6M3+uWGP3NMQWeh0wbaIy7Dtxw5QJwRSZL ZYoKiEB/t5K5Ym5EjqtQ8/DOdnJpbt719GZTHJ0VY0Ur8gSc+Mo3FVDQGwoI6KGUY9VI jKLw== X-Gm-Message-State: APf1xPD4xY7NY761rc634/kSviKkR0vJs35/h9q53hsd2bDNMi9uJKkr glR4ahSzul8LbPe9krxHPhSmmQ== X-Google-Smtp-Source: AH8x2241e+IbcLnau3n2cqszfNGyIeQyXv2m//4gvaQ7gSaOPihXgqwBzEV0qsQBQcLAN9xQd/zx3A== X-Received: by 10.25.80.92 with SMTP id z28mr4186770lfj.34.1518442413813; Mon, 12 Feb 2018 05:33:33 -0800 (PST) Received: from berserk.kos.to (91-157-170-157.elisa-laajakaista.fi. [91.157.170.157]) by smtp.gmail.com with ESMTPSA id c25sm1591056lja.73.2018.02.12.05.33.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Feb 2018 05:33:32 -0800 (PST) From: riku.voipio@linaro.org To: linux-clk@vger.kernel.org, Michael Turquette , Stephen Boyd Subject: [PATCH] clk: enable hi655x common clk automatically Date: Mon, 12 Feb 2018 15:33:29 +0200 Message-Id: <20180212133329.10518-1-riku.voipio@linaro.org> X-Mailer: git-send-email 2.15.1 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ulf Hansson , Riku Voipio , Daniel Lezcano , Wei Xu , John Stultz , arnd@linaro.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Riku Voipio Without COMMON_CLK_HI655X Wifi and bluetooth are non-functional on Hikey. As suggested by Arnd, enable the driver automatically when the parent driver is selected. With sensible defaults in place, we can leave other choices for EXPERT. Cc: John Stultz Cc: Ulf Hansson Cc: Wei Xu Cc: Daniel Lezcano Suggested-by: Arnd Bergmann Signed-off-by: Riku Voipio --- Previous discussion at https://patchwork.kernel.org/patch/9767143/ --- drivers/clk/Kconfig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 98ce9fc6e6c0..448ce83b334d 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -55,8 +55,10 @@ config COMMON_CLK_RK808 by control register. config COMMON_CLK_HI655X - tristate "Clock driver for Hi655x" - depends on MFD_HI655X_PMIC || COMPILE_TEST + tristate "Clock driver for Hi655x" if EXPERT + depends on (MFD_HI655X_PMIC || COMPILE_TEST) + depends on REGMAP + default MFD_HI655X_PMIC ---help--- This driver supports the hi655x PMIC clock. This multi-function device has one fixed-rate oscillator, clocked