From patchwork Tue Aug 8 19:08:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9888981 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 89097601EB for ; Tue, 8 Aug 2017 19:08:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7AC9A28068 for ; Tue, 8 Aug 2017 19:08:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F6E7289E7; Tue, 8 Aug 2017 19:08:26 +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=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 061D328068 for ; Tue, 8 Aug 2017 19:08:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752030AbdHHTIZ (ORCPT ); Tue, 8 Aug 2017 15:08:25 -0400 Received: from mail-lf0-f47.google.com ([209.85.215.47]:36221 "EHLO mail-lf0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751833AbdHHTIY (ORCPT ); Tue, 8 Aug 2017 15:08:24 -0400 Received: by mail-lf0-f47.google.com with SMTP id o85so18903017lff.3 for ; Tue, 08 Aug 2017 12:08:24 -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=JCu/ZrZ76YcGBVh+RSq8bcqWxFmVxEXCP/N9gBm9s3g=; b=h9JuoGJYcq8k8z66/l7QJu7E6zooc2nBWWCtoDp3xRflMMqawQvFKm2c/dEpDrkn0s OMH37P24ULhXmOJsvoNlyeEXGnqCq14oqGqrOwq8NnTzc7n0SR9DRDLJ/LiQNJixdZvG B+xMwy9ks3LES65ztosHb+mWWLF3/iiZN89Ys= 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=JCu/ZrZ76YcGBVh+RSq8bcqWxFmVxEXCP/N9gBm9s3g=; b=P2qgfLv22dLhcRoq8Ym5g7ljxwdWt6f4WsVuoBAcJV5WUv9bAZBLuW+rSLbrKXPrkT jamr4fHtXbHwD9j3xDMITqUAoGgIHjf+WbQdxj2VNCeMhmS3rhcnIZB7yD2sqYDiy6Zs edZqQoTqneL+YlnKNMnvdfu40pjI3nrVttCj+Um97LdazqGxXW1mCbilud3vAqYHqxwd T8FoemCZa8OIpX2wYsx/40wYpo2qluqnIFRdtM34GPf9NESiKWulJ247T68hgmfL1H1u gAUYqKHBOgrH1zSNMiiu3YN55rVdIbtt3AonCnZ2vDQtB03a9MGF8FwLaoo8DQT0DoTi xtuQ== X-Gm-Message-State: AHYfb5jllgbJwuxDP9pIRfw6OozGswM97FfvgV1utJ4MR8WPNK+MVBnT IE/VAoJ9u4OzaRjg X-Received: by 10.25.167.6 with SMTP id q6mr1952200lfe.162.1502219303632; Tue, 08 Aug 2017 12:08:23 -0700 (PDT) Received: from fabina.bredbandsbolaget.se (c-4b7671d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.118.75]) by smtp.gmail.com with ESMTPSA id h204sm379543lfg.55.2017.08.08.12.08.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Aug 2017 12:08:22 -0700 (PDT) From: Linus Walleij To: Michael Turquette , Stephen Boyd , Philipp Zabel , linux-clk@vger.kernel.org Cc: Janos Laube , Paulius Zaleckas , linux-arm-kernel@lists.infradead.org, Hans Ulli Kroll , Florian Fainelli , Linus Walleij Subject: [PATCH] clk: gemini: hands off PCI OE bit Date: Tue, 8 Aug 2017 21:08:18 +0200 Message-Id: <20170808190818.11740-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.4 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This bit is pin control, and needs to be carefully managed by the new pin control driver. Signed-off-by: Linus Walleij --- drivers/clk/clk-gemini.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/clk/clk-gemini.c b/drivers/clk/clk-gemini.c index b4cf2f699a21..f940e5af845b 100644 --- a/drivers/clk/clk-gemini.c +++ b/drivers/clk/clk-gemini.c @@ -37,7 +37,6 @@ static DEFINE_SPINLOCK(gemini_clk_lock); #define GEMINI_GLOBAL_MISC_CONTROL 0x30 #define PCI_CLK_66MHZ BIT(18) -#define PCI_CLK_OE BIT(17) #define GEMINI_GLOBAL_CLOCK_CONTROL 0x34 #define PCI_CLKRUN_EN BIT(16) @@ -159,9 +158,6 @@ static int gemini_pci_enable(struct clk_hw *hw) regmap_update_bits(pciclk->map, GEMINI_GLOBAL_CLOCK_CONTROL, 0, PCI_CLKRUN_EN); - regmap_update_bits(pciclk->map, - GEMINI_GLOBAL_MISC_CONTROL, - 0, PCI_CLK_OE); return 0; } @@ -169,9 +165,6 @@ static void gemini_pci_disable(struct clk_hw *hw) { struct clk_gemini_pci *pciclk = to_pciclk(hw); - regmap_update_bits(pciclk->map, - GEMINI_GLOBAL_MISC_CONTROL, - PCI_CLK_OE, 0); regmap_update_bits(pciclk->map, GEMINI_GLOBAL_CLOCK_CONTROL, PCI_CLKRUN_EN, 0); }