Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp374148ybl; Fri, 30 Aug 2019 00:50:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqwkl666M5gVHqARrmt1I5IchGMfmlrDPMy0jqoLpvJMV2q1YirX2jlWZK6P4LrySwfpyE3j X-Received: by 2002:a17:902:e589:: with SMTP id cl9mr14338743plb.221.1567151411528; Fri, 30 Aug 2019 00:50:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567151411; cv=none; d=google.com; s=arc-20160816; b=h+Jn+UZGbwleaxIV1FUxQM0CfWIqKbq3Cll43aZr0xWS+PCKtF6a5MaK4I6jpoWxTV NQnU5kPLrSnhPA7bxsOagTZzbdeGWdBCtvXIm3poqAk8Ya0MmvTUdnyldDjdcWg97rIp YuXwE1XYUwpVkvQqWV3xubwowPCS2iwYtNOo/vpDYFacc3MPJeSEOxIasR43pSDtd6Jn ulF7zJFXphNQW0V7eQqyDPsMXftBmsArQTV2auv8QYXPryVWAYfwOlYYPhqtYxMI45Sc X8ELQuwsjAMvLj3VG6r47c01LWpH/jvQlLzcDR+hxBm3xXd5AqTl/p5QWT1Gx/OI3IIZ uQog== 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 :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=wOiPzLG3FhxjtzR8rsBkC79oy13YcSX1rCw5Ip7LvOk=; b=PMNAAT3zo6Cdx0Fh9y61uQoqoX53aOs4dysTtpUOIqRVCrzDIneex4C4ffcNu56tu+ n9jn6mbB/aCSGSHmsY4R049TCV2/wSYULzMGBtTRRyEL3jKzBz5TZ3d9ZYj1tTTWJoQC magtc7HKxq/fVHMkvoNk2wbb1BsX7PrJUoozX1EGB78HqG3+ZIUqu0TcLImsRYz7i/p7 H4bTRwfqNpZOtTVUGSsPyWUHVqAzwVRwLctWS4PvGS1gxQwUiTJ6hdR045B032g1LGhS pL+ybe0hqs3Ls84/0/obQkbLkaXosjuWJwKBeADsOFO07mBlTq6mr4TSRh/ZUNCbgm0i eA8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm3 header.b=QOcqzeZA; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=1H1dbsIz; 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 d74si5380183pfd.164.2019.08.30.00.49.55; Fri, 30 Aug 2019 00:50:11 -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=@aj.id.au header.s=fm3 header.b=QOcqzeZA; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=1H1dbsIz; 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 S1727632AbfH3Hqj (ORCPT + 99 others); Fri, 30 Aug 2019 03:46:39 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:51115 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727054AbfH3Hqj (ORCPT ); Fri, 30 Aug 2019 03:46:39 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 1AFE3210F2; Fri, 30 Aug 2019 03:46:38 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 30 Aug 2019 03:46:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=from :to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm3; bh=wOiPzLG3FhxjtzR8rsBkC79oy1 3YcSX1rCw5Ip7LvOk=; b=QOcqzeZAvNkdX0XrmuI/41pdvneLhtVk+adFkiK8Jd xkjTDB/Z9UdtH6CVT9XFRrU/m178LYhbaH2qF6bmU7Lggshign+2mhLdsXyEWE27 gpaAS4ua+CTurEp0IYTrFRUdowCdzsLTEIfa1fz8cK+Pmo2p5KECYYOfmMDErOsI Ltj1V/zoQw8Xk0PMhZtkZs2IP24Ror++YkMtw957Horncu1zNHSvL+WT3xrx9EQV 2uznitynpymlwI2uLLx4IIfDCHUv6QEYWOexettkzzJi3I4yx02lTJan4o6T5Qmy XNPnVssx/tyE4D4Bxrc0hTculT/caS1QFOApUkJN0xxg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=wOiPzLG3FhxjtzR8r sBkC79oy13YcSX1rCw5Ip7LvOk=; b=1H1dbsIzWAOdpx7lcBsSNh8xQqir/bqpa RoEpc/IGrrncVUYSadJU7HPmajDudhVbyVrpigJNt5KyfoDRBpwBZNj0FdipJ4V3 FVs2kG46zuICyI10xicke0dyWyXq0HlIsppHg3CEW4cJl/Q5RbY4tVmpgfOenWr+ DgHPXTROLbPLr95ZJ0bl7qvSpK6pomU4Atc2eNVhUEZuC4TewLA+WEdJcnuT9qpp +zl+p5xRnTT/+o3K0syw2rE6wfa1oIGs9OaDbrFuUw4CKnR/vXH2h2/kqnMKYuW5 gtUiMsmM7CHNp4REMN7vnO2cOV+pEIze9Mpzdpyb/WlQzMG85cdtQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudeifedguddvudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertd ertddtnecuhfhrohhmpeetnhgurhgvficulfgvfhhfvghrhicuoegrnhgurhgvfiesrghj rdhiugdrrghuqeenucfkphepvddtfedrheejrddvudehrddujeeknecurfgrrhgrmhepmh grihhlfhhrohhmpegrnhgurhgvfiesrghjrdhiugdrrghunecuvehluhhsthgvrhfuihii vgeptd X-ME-Proxy: Received: from localhost.localdomain (203-57-215-178.dyn.iinet.net.au [203.57.215.178]) by mail.messagingengine.com (Postfix) with ESMTPA id D8181D60057; Fri, 30 Aug 2019 03:46:30 -0400 (EDT) From: Andrew Jeffery To: linux-mmc@vger.kernel.org Cc: Andrew Jeffery , adrian.hunter@intel.com, ulf.hansson@linaro.org, joel@jms.id.au, ryanchen.aspeed@gmail.com, openbmc@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] mmc: sdhci-of-aspeed: Fixes for AST2600 eMMC support Date: Fri, 30 Aug 2019 17:16:42 +0930 Message-Id: <20190830074644.10936-1-andrew@aj.id.au> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, The ASPEED SDHCI driver patches sent previously were based on testing on the AST2500. The SD controllers in the 2500 and 2600 had the same register layout according to the documentation, so we added the necessary devicetree compatible string at the same time. Now that I've got access to 2600 hardware with an eMMC chip I have a couple of patches that are fixes enabling support for it. I don't think the first patch is too controversial - in some cases we weren't ensuring the clock was enabled before returning from the set_clock() callback. I'm a bit unsure about the second patch though which enables use of max-frequency in the devicetree, it feels a bit hacky so I'm looking for any suggestions on the approach. Please review! Andrew Andrew Jeffery (2): mmc: sdhci-of-aspeed: Uphold clocks-on post-condition of set_clock() mmc: sdhci-of-aspeed: Allow max-frequency limitation of SDCLK drivers/mmc/host/sdhci-of-aspeed.c | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) -- 2.20.1