Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5697034ybi; Tue, 4 Jun 2019 10:36:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqxpUazaeVOX2USf/TiYukZwFW+BhNKTq+Nwd9srdpmEuAxtWLlcLhYmPmoxt3267ntwfz4N X-Received: by 2002:a65:6559:: with SMTP id a25mr36739590pgw.33.1559669771913; Tue, 04 Jun 2019 10:36:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559669771; cv=none; d=google.com; s=arc-20160816; b=NAr7m6KXelbKUyyXvt9Vdz0CTnrDQHyo4Ynk8Q9MQTpmn8Kvf0E8NsZdhXBgRwtlJ8 paT1OmlZhxTx/brw3sXuv5Ju30uiVspnodTMtSGyglhJruyF7pBiSUP3U6et0yO0JZ6H i33KRh7DwivZ92iJj2lNNsTEil1iN8ZNqTjsmPahaXgi18NbEs4LIgpa/hV076iDq+vs TyPXwGQ1D00h489mdygzJhvfmkV41vqHH3F2o0hHk2HMJ2X/is1jU3DU+dYgRhAbwHB9 wz+ojD5OFzvnsqxTyYPUzHn7fHvJysTumqBt8UFff/on4pZACU+7EXeFd6su5CQtCQX4 iAog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Nd2chmg2s51JaOjVY5NvORvJLGFhKz+bxTOWdQPIdX8=; b=jprVdFXSGmspoHVIbHuZ32OmYk+EbCQz7jneA3UWXbkqYK+LOTf9QlLiMDO/i7L7Hw kDCSnkiZAo35qWTgTiXlBsIvJVk+drxZaffb1HmUM1S369dPI0QaW49gDm8w3izMmogb 4X6zKsANZK6cTmYgnTi2aMMhr2QWiHVvl6+nOWWgeOkfEQPD0YcQSpVobvei2X5p9bAK 8fJAEp3MGZ+7IY1RxjvrlFT/HdXO7K5QHshOmhwzYPynRcI3/pL2/Jtz0X31ssN+z9qc 62/fIYjcFAoD/BrKb9LW5B/GeCOKpC1ZyvKxHObIShSU58kRhnEJOQVBTCUZlMb/p8iu qEfA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q33si23058470pgm.287.2019.06.04.10.35.55; Tue, 04 Jun 2019 10:36:11 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726608AbfFDRdz (ORCPT + 99 others); Tue, 4 Jun 2019 13:33:55 -0400 Received: from mx2.suse.de ([195.135.220.15]:39426 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726092AbfFDRdz (ORCPT ); Tue, 4 Jun 2019 13:33:55 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 11759AE03; Tue, 4 Jun 2019 17:33:54 +0000 (UTC) From: Nicolas Saenz Julienne To: stefan.wahren@i2se.com, Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com Cc: mbrugger@suse.de, viresh.kumar@linaro.org, rjw@rjwysocki.net, sboyd@kernel.org, ptesarik@suse.com, linux-rpi-kernel@lists.infradead.org, ssuloev@orpaltech.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, mturquette@baylibre.com, linux-pm@vger.kernel.org, Nicolas Saenz Julienne , linux-kernel@vger.kernel.org Subject: [PATCH 1/4] clk: bcm2835: remove pllb Date: Tue, 4 Jun 2019 19:32:20 +0200 Message-Id: <20190604173223.4229-2-nsaenzjulienne@suse.de> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190604173223.4229-1-nsaenzjulienne@suse.de> References: <20190604173223.4229-1-nsaenzjulienne@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Raspberry Pi's firmware controls this pll, we should use the firmware interface to access it. Signed-off-by: Nicolas Saenz Julienne --- drivers/clk/bcm/clk-bcm2835.c | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c index 770bb01f523e..ccb0319fc2e9 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c @@ -1651,31 +1651,6 @@ static const struct bcm2835_clk_desc clk_desc_array[] = { .fixed_divider = 1, .flags = CLK_SET_RATE_PARENT), - /* PLLB is used for the ARM's clock. */ - [BCM2835_PLLB] = REGISTER_PLL( - .name = "pllb", - .cm_ctrl_reg = CM_PLLB, - .a2w_ctrl_reg = A2W_PLLB_CTRL, - .frac_reg = A2W_PLLB_FRAC, - .ana_reg_base = A2W_PLLB_ANA0, - .reference_enable_mask = A2W_XOSC_CTRL_PLLB_ENABLE, - .lock_mask = CM_LOCK_FLOCKB, - - .ana = &bcm2835_ana_default, - - .min_rate = 600000000u, - .max_rate = 3000000000u, - .max_fb_rate = BCM2835_MAX_FB_RATE), - [BCM2835_PLLB_ARM] = REGISTER_PLL_DIV( - .name = "pllb_arm", - .source_pll = "pllb", - .cm_reg = CM_PLLB, - .a2w_reg = A2W_PLLB_ARM, - .load_mask = CM_PLLB_LOADARM, - .hold_mask = CM_PLLB_HOLDARM, - .fixed_divider = 1, - .flags = CLK_SET_RATE_PARENT), - /* * PLLC is the core PLL, used to drive the core VPU clock. * -- 2.21.0