From patchwork Mon Mar 12 10:49:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 10275949 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 190656038F for ; Mon, 12 Mar 2018 10:50:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 053E028996 for ; Mon, 12 Mar 2018 10:50:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED90128B12; Mon, 12 Mar 2018 10:50:12 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4FD8B28996 for ; Mon, 12 Mar 2018 10:50:12 +0000 (UTC) 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=ZsN q3HMLMyquDOckYLYSaJmCgkjtqZIxj2K39ysH3iW8xtqq3os7HVghus0JeTT6mBPSUTghbvtKM4dT h1RikFjADQovp057ELksRizaLy31Hv8a1zsipNVaNa94tVKISWplsQPxQOwzdKKwFs5J29siZmtl0 WGQBACutCCRubDYy4Q0Wjx/eytZ5UHNU/8uJKhTrfx+/rjikEfaOoucIhMRXkPU0jecJk8Xxa8/kA zdvB+zk6U8+WrVJf7YpjxmwUR9xq0CC3Ce3VQ6ShcOmnahAXlVFqqr2D+aGa9WE0cR3WVP1GhhH44 N7DLOgNMTH0/tt56z2Sa0/oOcQw11IQ==; 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 1evL1r-0000Re-0W; Mon, 12 Mar 2018 10:50:07 +0000 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1evL1m-0000DY-Ha for linux-arm-kernel@lists.infradead.org; Mon, 12 Mar 2018 10:50:04 +0000 Received: by mail-lf0-x243.google.com with SMTP id v9-v6so22439272lfa.11 for ; Mon, 12 Mar 2018 03:49:51 -0700 (PDT) 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=PMDoeAdL91N6WkHebpIWZ7aOrJQpLpH90j4BZL6KoAUwgTuvM94PlmbvfVr8CfqfSD SDKhV+ptJaNtxTU5o/MPM0Gtze+MQOAnwJ4NROswURnSEDTlP0eouZmL6ap4fThjjoPb tDeh0c9pZTWJi8DEfzn/q/WBBymXZ7HqcX2FY= 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=EwaegK2q0+DTHLqHaQDuBvlfzG358Nv1RI4NohI0LvSa2ikfk9mxhq73mgyVpqBVaB EzKpQU52O+Ug7fgEpRZHVlxmxU9KvZuy4IgTrPEk87OF5G7Bq2rg6FlGgwdakTtvWT5U beNEQ/aw7ZffizjHBV/+ItzaNDU7t4Lwb5ZoO7Cz16urVekHzkqIlX85bwBcPCE57gc8 ydMtFUOliFtJEm7hm/+IZ1ktERwqnxevCH5jP8462v/anaRFjqMnJuPDzBXjrixbzCd2 EPIQqXcs8gS6qiHOYXNeu73PlmzeVMdW46RT1fayGSHY+RkOtfitbF/Nza0OvJXvYrWS KGeQ== X-Gm-Message-State: AElRT7HErOkodCzaJL2KzHtvNl0kyNyDjTEyh2XAk4GEeBqWZ4PzpnIE ZotFCmVhsIda8NpYFza3sGrW4w== X-Google-Smtp-Source: AG47ELsvEXHZgR8Z9VvTOMQmG0cZgHsO7f9F4zU9/Zq9hMeKzOfCHgqTLqow8GDaPSRB6FM72h5rzw== X-Received: by 10.46.7.26 with SMTP id 26mr5089005ljh.122.1520851789769; Mon, 12 Mar 2018 03:49:49 -0700 (PDT) Received: from berserk.kos.to (91-157-170-157.elisa-laajakaista.fi. [91.157.170.157]) by smtp.gmail.com with ESMTPSA id e97-v6sm523390lfi.10.2018.03.12.03.49.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Mar 2018 03:49:48 -0700 (PDT) From: riku.voipio@linaro.org To: linux-clk@vger.kernel.org, Michael Turquette , Stephen Boyd Subject: [RESEND PATCH] clk: enable hi655x common clk automatically Date: Mon, 12 Mar 2018 12:49:45 +0200 Message-Id: <20180312104945.3001-1-riku.voipio@linaro.org> X-Mailer: git-send-email 2.16.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180312_035002_634435_304A0509 X-CRM114-Status: GOOD ( 11.90 ) 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 Reviewed-by: Ulf Hansson --- 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