From patchwork Tue Mar 21 15:40:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kochetkov X-Patchwork-Id: 9636981 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 1E80E602CC for ; Tue, 21 Mar 2017 15:40:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 12C3428421 for ; Tue, 21 Mar 2017 15:40:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 07C312842B; Tue, 21 Mar 2017 15:40:57 +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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9F8E428421 for ; Tue, 21 Mar 2017 15:40:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=SmZXMKfcQYV8kE1Wxu8OttagdDaDxirCd5/rKAeIIRU=; b=tFt h+y9b/1gDXBjx83ZN1IAYwizBDV7DgEKPDGZyOAhciahwKjpP4xysbDl6c9+cJAjDYbCiOVvTNOCR kRzmW6wS5lavmKR3ReJ88M99nMt8+QjFcrrEOPcBME97Hc3RKvPFoSLA++FVd/4yCbFm2INzz27nc FxeoZJLnwIawLJrk56E30TKG6gyg/ev6S27aTzMHFXIeKUphMj2VpEy86voxkmXbiRFtPW+wGAn3l 3g+vNyGmHh5xR68MSEcLQd8GwfIvRdKuC2wPE4L5OKsufvDTX7qSFNhtcCjQyKoAa1xVjq1zUMsWS b7w6yGGLeQd/2P3oeqt1h6M1+FOo53A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cqLu4-0004Ut-6t; Tue, 21 Mar 2017 15:40:56 +0000 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqLu0-0004Km-BC; Tue, 21 Mar 2017 15:40:54 +0000 Received: by mail-lf0-x243.google.com with SMTP id r36so13435847lfi.0; Tue, 21 Mar 2017 08:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=LOXcdQYyYaNlEYZFXswbPaO1ywhHQ3ktZc8KneiUxBw=; b=IeFpAc1cBzW0EfYAS1kuWCv8PK3IMN4IZv+7PBbF/dvY+kvWDd28UIyL7nPxuhU8+4 oRrHWDQXJgMmZoDK3Tk4lXCpVnhh/gQS0Uwps7vrH0PRjPyc08b1ucWJoRtUkHuQI/Rx HIrTKVqdA4/NqRwvg5FQMZrDkFVE+EEWGK+OZX+m3DeVQxauSHVxwTeY78x/rruhbE4V fg2FwWVIk1cvQJrdHOFpZIqw0OBFyTnFY0KFUj2N4uSwhvIRdPLSWbgE2s+tlzdTgxBK ev3jco0Csbi8sr3np/Wi11eAnvoUoiPumnfbODEEHv//hvPBqMWWt+hAMVK6RiWSIua0 70IA== 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=LOXcdQYyYaNlEYZFXswbPaO1ywhHQ3ktZc8KneiUxBw=; b=mxN0keIIGNWhDsfbI8pWddc1ML0sDIsokmZvHxAKOGhl5VsmrX8EJlut4EiS0anETr uzsT4R5CWD7csPSPDMDspOylXhC7ZWnxBpeRd2KZuAnPIkmaUvj+06qAtXqzeWfYq/vn 4nFsSAr8RKm/nnYE8dTb79lgtaWKmRXLrWu6wjuwv26gfUSTL3PfwqnKQ7KevKiH8+G8 FCJuATsMZ1jEMJNACiKWvgRThI+f6sLQZqkFudIAaH593OQt9fJ5TmL+nAZbaOUA3p7w 0QRJf5fCCPDL/UWLFenqgbvyrv/crTVrwpIk9guNE5to6WYQmFD9rgJN1DvCKxIlbOb3 npNQ== X-Gm-Message-State: AFeK/H0OajzL4lmjVtv5or5qdfNTPCGXSQOWhtyUFcrgNTVZ5rUlntd6mhB9XP/IEP412Q== X-Received: by 10.25.204.9 with SMTP id c9mr8698830lfg.107.1490110829916; Tue, 21 Mar 2017 08:40:29 -0700 (PDT) Received: from ubuntu.lintech.local ([185.35.119.87]) by smtp.gmail.com with ESMTPSA id s5sm1060455lja.48.2017.03.21.08.40.28 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 21 Mar 2017 08:40:29 -0700 (PDT) From: Alexander Kochetkov To: Heiko Stuebner , Rob Herring , Mark Rutland , Russell King , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: rockchip: increase SD clock frequency on Radxa Rock Date: Tue, 21 Mar 2017 18:40:22 +0300 Message-Id: <1490110822-3310-1-git-send-email-al.kochet@gmail.com> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170321_084052_573848_06B48735 X-CRM114-Status: UNSURE ( 9.23 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexander Kochetkov MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The patch set SD clock frequency to maximum possible to SD-card (50MHz). This change actual clock frequency from 32MHz to 48MHz (speedup 1.5X). Banner line before patch: 'mmc_host mmc0: Bus speed (slot 0) = 32000000Hz (slot req 50000000Hz, actual 32000000HZ div = 0)'. Banner line after patch: 'mmc_host mmc0: Bus speed (slot 0) = 96000000Hz (slot req 50000000Hz, actual 48000000HZ div = 1)' Signed-off-by: Alexander Kochetkov --- arch/arm/boot/dts/rk3188-radxarock.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts index 1da46d1..5b7daa4 100644 --- a/arch/arm/boot/dts/rk3188-radxarock.dts +++ b/arch/arm/boot/dts/rk3188-radxarock.dts @@ -302,6 +302,7 @@ pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>; vmmc-supply = <&vcc_sd0>; + clock-frequency = <50000000>; bus-width = <4>; cap-mmc-highspeed; cap-sd-highspeed;