Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9090919pxu; Mon, 28 Dec 2020 06:24:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJybxwCpYQkpJrrgpMxd6PhYBgfzTQk+yU7mQvs5AHbV2oSwSWr9PPJg+14h1iTGLus9t44W X-Received: by 2002:a17:906:a015:: with SMTP id p21mr33452622ejy.49.1609165496889; Mon, 28 Dec 2020 06:24:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609165496; cv=none; d=google.com; s=arc-20160816; b=qm69WARU9/24jrXyeSeKd9XuAzOg1H3r2Lcz2Ys0yikCIaaUkxTEXOvYryrAt85bnA zweoXdSSaC4sXMx7XFpChUQOAgO3A/HpfsMVbTfiEoUuCoEpXIyF+i696z/9goxjqYgZ v9qyncSjmbIb3MaIhT1yR1j8Zg1GsKKHBtfl4UA36+Y7fQt9+OwzGoChIMJ5lJozd/Qo wV8Uk8JflFsNs0FvNJz2hTVvk7BfsVbpTPLTQVyD+RmUciyqffQu2RJqZ7tME5EivsaJ 2E2/zXslwj1mTkpovazbJ4vwEKNoAybPVPf4Vue8Jo2/0ZFWuncUZj45ibF7tL0chVI9 Pnow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=b3Iz6FaEcvWpZtDcU5+lwZdbvM4cpbJVj0aJ49AlhQk=; b=epga65VDx7XH3TyBG2+Ppo6QZclGXNlfVu9MNLZeQsNDTITpnh6G/rxNyOkU3Nawy3 ON09nyR8n6aHVPFLi803vPwJ/+uu9ofFhkHfQesUgQeQX/Tp8mmPQRJ40mKNU21s7esj zqXKFHZvP8jUnM3l4Sjrfiq5flazfitEpsKwd9l3o/Z+uCyevfQ0BEsr3ud3SW8nlPtk 5MwWqaUHXza9GKhucUghfLoSRqXNM04euhlxYBnPanVeOFFQr3GqJUASiDawke7i71zm Nu1/TFv06wQvYJA13EmY2pEN5EcwEILhJqbG26KrXMiiFLzUr0InRFWjO/5ub9NgDyAI Cm1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=G1MlboQg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u21si20637736edx.350.2020.12.28.06.24.33; Mon, 28 Dec 2020 06:24:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=G1MlboQg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502699AbgL1OWh (ORCPT + 99 others); Mon, 28 Dec 2020 09:22:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:57978 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502696AbgL1OWg (ORCPT ); Mon, 28 Dec 2020 09:22:36 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id D35CC2245C; Mon, 28 Dec 2020 14:22:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609165341; bh=hPjhXAoIm/w9iNN0/IKZTd6AgKR4XWkQMRic0MeKI+o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=G1MlboQgl3fTrl6Gb7x2Ity6rx/Il5lY/hfJDG6ijtzZRk3/6B3NawaQyxHuXMY0W VM/6acbkrHXfsbyAJ2cziwt9+31w/5LNV1ndZ2aPShj3WPf4S/I+ZczOBmBAAhvIfD tmwfh2MYCKg778LsTjT4iBgyQLH1r890OuMTLoAk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Claudiu Beznea , Alexandre Belloni , Stephen Boyd , Sasha Levin Subject: [PATCH 5.10 496/717] clk: at91: sam9x60: remove atmel,osc-bypass support Date: Mon, 28 Dec 2020 13:48:14 +0100 Message-Id: <20201228125044.728604509@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexandre Belloni [ Upstream commit 01324f9e88b5cfc1f4c26eef66bdcb52596c9af8 ] The sam9x60 doesn't have the MOSCXTBY bit to enable the crystal oscillator bypass. Fixes: 01e2113de9a5 ("clk: at91: add sam9x60 pmc driver") Reported-by: Claudiu Beznea Signed-off-by: Alexandre Belloni Link: https://lore.kernel.org/r/20201202125816.168618-1-alexandre.belloni@bootlin.com Reviewed-by: Claudiu Beznea Tested-by: Claudiu Beznea Signed-off-by: Stephen Boyd Signed-off-by: Sasha Levin --- drivers/clk/at91/sam9x60.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/clk/at91/sam9x60.c b/drivers/clk/at91/sam9x60.c index 3c4c956035954..c8cbec5308f02 100644 --- a/drivers/clk/at91/sam9x60.c +++ b/drivers/clk/at91/sam9x60.c @@ -174,7 +174,6 @@ static void __init sam9x60_pmc_setup(struct device_node *np) struct regmap *regmap; struct clk_hw *hw; int i; - bool bypass; i = of_property_match_string(np, "clock-names", "td_slck"); if (i < 0) @@ -209,10 +208,7 @@ static void __init sam9x60_pmc_setup(struct device_node *np) if (IS_ERR(hw)) goto err_free; - bypass = of_property_read_bool(np, "atmel,osc-bypass"); - - hw = at91_clk_register_main_osc(regmap, "main_osc", mainxtal_name, - bypass); + hw = at91_clk_register_main_osc(regmap, "main_osc", mainxtal_name, 0); if (IS_ERR(hw)) goto err_free; main_osc_hw = hw; -- 2.27.0