From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66905C10F14 for ; Thu, 3 Oct 2019 16:56:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3331720673 for ; Thu, 3 Oct 2019 16:56:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570121804; bh=9EFonouCoFEeCUp1NQ3vU4XAw2uFQ6WjoYtragBIyuc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=SCXvZCLQgefzvffAQImLmOnVCDMtYN0lTh6vT3EEbWldMKwlXav/u7QMlxbfEKFu4 jrFyW2k1ApbyqD3l63OhkqXqBA8krf9H9Zoghz1ojM8swXLNPbYysocwjDEnY+Wckn Y3jhde0YOPXcgYyL6K5AB2R9gv4QJUCRGfNEsyS0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405174AbfJCQ4n (ORCPT ); Thu, 3 Oct 2019 12:56:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:38200 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392953AbfJCQuv (ORCPT ); Thu, 3 Oct 2019 12:50:51 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6A89920867; Thu, 3 Oct 2019 16:50:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570121450; bh=9EFonouCoFEeCUp1NQ3vU4XAw2uFQ6WjoYtragBIyuc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PMOvCpS6NR7ORXS0aAdE5RVmPVely2Oqlk7kq3Vi8aeDmo62qKNtRVmowDs4Ij8tc 67ioBshxX38MyZPJO4NmtVq+/lxX7MBqw+IyUvjZv+HcMJMXcRhOt5DLGab170Tivq U3K+xCUiHu83K7V+uK59s/lCfEHWYhWtpvQXlWyA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Robin Murphy , Liang Chen , Shawn Lin , Heiko Stuebner Subject: [PATCH 5.3 283/344] arm64: dts: rockchip: limit clock rate of MMC controllers for RK3328 Date: Thu, 3 Oct 2019 17:54:08 +0200 Message-Id: <20191003154607.843614713@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191003154540.062170222@linuxfoundation.org> References: <20191003154540.062170222@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Shawn Lin commit 03e61929c0d227ed3e1c322fc3804216ea298b7e upstream. 150MHz is a fundamental limitation of RK3328 Soc, w/o this limitation, eMMC, for instance, will run into 200MHz clock rate in HS200 mode, which makes the RK3328 boards not always boot properly. By adding it in rk3328.dtsi would also obviate the worry of missing it when adding new boards. Fixes: 52e02d377a72 ("arm64: dts: rockchip: add core dtsi file for RK3328 SoCs") Cc: stable@vger.kernel.org Cc: Robin Murphy Cc: Liang Chen Signed-off-by: Shawn Lin Signed-off-by: Heiko Stuebner Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 3 +++ 1 file changed, 3 insertions(+) --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -801,6 +801,7 @@ <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; fifo-depth = <0x100>; + max-frequency = <150000000>; status = "disabled"; }; @@ -812,6 +813,7 @@ <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; fifo-depth = <0x100>; + max-frequency = <150000000>; status = "disabled"; }; @@ -823,6 +825,7 @@ <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; fifo-depth = <0x100>; + max-frequency = <150000000>; status = "disabled"; };