Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp6236ybp; Thu, 3 Oct 2019 09:24:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqw09UKvUwW/liDyjHlc06Wcsc+GLuoI8hQ0Zp9T30j7XAINwiLIbol299y6JZ8RtClxY+03 X-Received: by 2002:a17:906:1e16:: with SMTP id g22mr8611581ejj.14.1570119871949; Thu, 03 Oct 2019 09:24:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570119871; cv=none; d=google.com; s=arc-20160816; b=zwVB6QNXsxkjtvpZA4jP/Y1dbkVHT6huG1lI7ecNdFQOBBH579sYX/hOHupd6SQ3Mv zEkCPs2XwByWuxzvzt4zpXUzkzy2yEKM2Uul37MWHtVKmkmw9ZJNtpIzEHZueX83cEcM sGDzGSY3VVPFIDI4L/F8r3ULMkUFkyRVTTDjpCjPnqxthjZ1Mtc5FkYbrVoFWsYg7tyh FSjnESfydpvLdx6x387RYCcBtBj6k5Wq2WbLZYCkcOYxge6kF/wrYReS0ACtNgzOfUU5 KbaxVwnhAOVArrrDwUvf8b++hAMMdmTkOkSIhmfVkveiH/oMfM0O9YyPg18o0eOiDIjd BJ8Q== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=6iBz7+CU6oQiRDosLTGiHIf4tOHtpZ5xxwOmzCcGEh4=; b=XKaj006OBrbaXUORL3NUDXkTW6ziAYcKTJ0xvd0gWo81kSXqmC+Yo/6p9ht4rxWTql 7KIS9QeCdD4G8ebTRgvDG+ke3YEhQj3Y8jEvtAa7vJUdD/gaqETdG9TVc/ztHYg+1unH 9xVnrdiY7VgSsaTYoeG2iOHdteYfx5hYIeaAJhGg1RpSWbF9emPcFbHvwz743HEGYaid sOIvWmNixe/LD841V/c0GQEUItL6ZE9KW4/8C9DcYSB52yMrtStWVbuwCD2ttHT5FhmZ 6QF/mD2Eo3v+qoiLpxbPRUczd8wbqLzZjKb+7JVsW+tzwXA3PntsGZIF2+m8c9RreKTi +y8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2BOeS51U; 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 j4si1465806ejv.67.2019.10.03.09.24.07; Thu, 03 Oct 2019 09:24:31 -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; dkim=pass header.i=@kernel.org header.s=default header.b=2BOeS51U; 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 S2389429AbfJCQWc (ORCPT + 99 others); Thu, 3 Oct 2019 12:22:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:51098 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389604AbfJCQW3 (ORCPT ); Thu, 3 Oct 2019 12:22:29 -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 94B3020659; Thu, 3 Oct 2019 16:22:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570119748; bh=L4iHwNNQ+VpVyye05jVg5B/av2eLHE7sYt/XPCWYMvY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2BOeS51UkuTjPBrAnwFwxh6S33SLxaYDFhapLbenQJOzvJRODZVjY/oB7Rrn/pnkl YXr/zQBkKGLhwZOyJ07PEsS/iVFRJgIOrYaQUSayQNhG4LefpclI3HezK4CQ6SeM0e 3wVnKoPeyyVo5xFFi+2Rf7MPNf+1+rjhpsx0v0Mc= 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 4.19 178/211] arm64: dts: rockchip: limit clock rate of MMC controllers for RK3328 Date: Thu, 3 Oct 2019 17:54:04 +0200 Message-Id: <20191003154527.079940059@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191003154447.010950442@linuxfoundation.org> References: <20191003154447.010950442@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 @@ -708,6 +708,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"; }; @@ -719,6 +720,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"; }; @@ -730,6 +732,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"; };