{"id":812996,"url":"http://patchwork.ozlabs.org/api/patches/812996/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-arc/patch/20170912182045.20941-1-Eugeniy.Paltsev@synopsys.com/","project":{"id":48,"url":"http://patchwork.ozlabs.org/api/projects/48/?format=json","name":"Linux ARC development","link_name":"linux-arc","list_id":"linux-snps-arc.lists.infradead.org","list_email":"linux-snps-arc@lists.infradead.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170912182045.20941-1-Eugeniy.Paltsev@synopsys.com>","list_archive_url":null,"date":"2017-09-12T18:20:45","name":"ARC: [plat-axs10x]: DTS: fix sdio ciu frequency","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"ed3b949ce89226b21c72300895713ffdfd120bb7","submitter":{"id":69220,"url":"http://patchwork.ozlabs.org/api/people/69220/?format=json","name":"Eugeniy Paltsev","email":"Eugeniy.Paltsev@synopsys.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linux-arc/patch/20170912182045.20941-1-Eugeniy.Paltsev@synopsys.com/mbox/","series":[{"id":2754,"url":"http://patchwork.ozlabs.org/api/series/2754/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-arc/list/?series=2754","date":"2017-09-12T18:20:45","name":"ARC: [plat-axs10x]: DTS: fix sdio ciu frequency","version":1,"mbox":"http://patchwork.ozlabs.org/series/2754/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/812996/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/812996/checks/","tags":{},"related":[],"headers":{"Return-Path":"<linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"uNoX7dfS\"; \n\tdkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xsCmG1C2Dz9s3T\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 13 Sep 2017 04:21:18 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1drpoC-00085E-Gm; Tue, 12 Sep 2017 18:21:16 +0000","from us01smtprelay-2.synopsys.com ([198.182.47.9]\n\thelo=smtprelay.synopsys.com)\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1drpo9-00083K-0p for linux-snps-arc@lists.infradead.org;\n\tTue, 12 Sep 2017 18:21:14 +0000","from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238])\n\tby smtprelay.synopsys.com (Postfix) with ESMTP id D6D8B24E038E;\n\tTue, 12 Sep 2017 11:20:49 -0700 (PDT)","from mailhost.synopsys.com (localhost [127.0.0.1])\n\tby mailhost.synopsys.com (Postfix) with ESMTP id C308CB3B;\n\tTue, 12 Sep 2017 11:20:49 -0700 (PDT)","from localhost.internal.synopsys.com (unknown [10.121.8.106])\n\tby mailhost.synopsys.com (Postfix) with ESMTP id EABACAFF;\n\tTue, 12 Sep 2017 11:20:47 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:\n\tSubject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:\n\tResent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:\n\tReferences:List-Owner; bh=s6CsALr82i11/TmljZA/YBTpzCllQoGf312qJ/WXcwk=;\n\tb=uNo\n\tX7dfSLiOSWuPkmnBQsEOnLT51EDHjZrWdObXXusk3P1tejyVWBaLN7rFNpDRxuFaXu58sKsw02ydz\n\tm5V9h+cwfrVasaJuJu6svTqmsejyYbAJbrto9Ft44SaPKih0iouk3kDHgfLJM29+G3pEhmaD1WRpj\n\tLqTMp8Qk2TfJJVmxuBW1y93IHRGdhDuU8qNctRw8MhhT+igaVG+LnolX/CB4Lueld5b5RVftUhFHN\n\tjN9r8RBz2vzMSPhf9PUaWToHYbOi/EG7bhkSCbnwPPOe6pSg/a46y7fUI0Mq6DKU5s4d52sshFywu\n\tTmKo751bCwvFGmLtkMXvsy75ncAoSUw==;","From":"Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>","To":"linux-snps-arc@lists.infradead.org","Subject":"[PATCH] ARC: [plat-axs10x]: DTS: fix sdio ciu frequency","Date":"Tue, 12 Sep 2017 21:20:45 +0300","Message-Id":"<20170912182045.20941-1-Eugeniy.Paltsev@synopsys.com>","X-Mailer":"git-send-email 2.9.3","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170912_112113_081711_420F7C88 ","X-CRM114-Status":"UNSURE (   6.60  )","X-CRM114-Notice":"Please train this message.","X-Spam-Score":"-1.9 (-)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-1.9 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno trust [198.182.47.9 listed in list.dnswl.org]","X-BeenThere":"linux-snps-arc@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"Linux on Synopsys ARC Processors\n\t<linux-snps-arc.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-snps-arc>, \n\t<mailto:linux-snps-arc-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-snps-arc/>","List-Post":"<mailto:linux-snps-arc@lists.infradead.org>","List-Help":"<mailto:linux-snps-arc-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-snps-arc>, \n\t<mailto:linux-snps-arc-request@lists.infradead.org?subject=subscribe>","Cc":"devicetree@vger.kernel.org, Vineet Gupta <Vineet.Gupta1@synopsys.com>,\n\tAlexey Brodkin <Alexey.Brodkin@synopsys.com>,\n\tlinux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,\n\tEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-snps-arc\" <linux-snps-arc-bounces@lists.infradead.org>","Errors-To":"linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"},"content":"DW sdio controller has external ciu clock divider controlled\nvia register in SDIO IP. It divides sdio_ref_clk\n(which comes from CGU) by 16 for default. So default mmcclk\nclock (which comes to sdk_in) is 25000000 Hz.\n\nSo fix wrong current value (50000000 Hz) to actual 25000000 Hz.\n\nSigned-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>\n---\n arch/arc/boot/dts/axs10x_mb.dtsi | 9 ++++++++-\n 1 file changed, 8 insertions(+), 1 deletion(-)","diff":"diff --git a/arch/arc/boot/dts/axs10x_mb.dtsi b/arch/arc/boot/dts/axs10x_mb.dtsi\nindex 0ff7e07..7bdf581 100644\n--- a/arch/arc/boot/dts/axs10x_mb.dtsi\n+++ b/arch/arc/boot/dts/axs10x_mb.dtsi\n@@ -44,7 +44,14 @@\n \n \t\t\tmmcclk: mmcclk {\n \t\t\t\tcompatible = \"fixed-clock\";\n-\t\t\t\tclock-frequency = <50000000>;\n+\t\t\t\t/*\n+\t\t\t\t * DW sdio controller has external ciu clock divider\n+\t\t\t\t * controlled via register in SDIO IP. It divides\n+\t\t\t\t * sdio_ref_clk (which comes from CGU) by 16 for\n+\t\t\t\t * default. So default mmcclk clock (which comes\n+\t\t\t\t * to sdk_in) is 25000000 Hz.\n+\t\t\t\t */\n+\t\t\t\tclock-frequency = <25000000>;\n \t\t\t\t#clock-cells = <0>;\n \t\t\t};\n \n","prefixes":[]}