Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754318AbcKHUHV (ORCPT ); Tue, 8 Nov 2016 15:07:21 -0500 Received: from skprod3.natinst.com ([130.164.80.24]:46254 "EHLO ni.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752597AbcKHUHU (ORCPT ); Tue, 8 Nov 2016 15:07:20 -0500 From: Zach Brown To: CC: , , , Subject: [RFC 0/2] mmc: sdhci-pci: Use ACPI to set max frequency of sdio host Date: Tue, 8 Nov 2016 14:07:13 -0600 Message-ID: <1478635635-14953-1-git-send-email-zach.brown@ni.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-11-08_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609300000 definitions=main-1611080363 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 824 Lines: 25 On some boards, max SDIO frequency is limited by trace lengths and other layout choices. We would like a way to specify this limitation so the driver can behave accordingly. This patch set assumes that the limitation has been reported in an ACPI table which the driver can check to get the max frequency. The first patch creates a PCI ID and support for the Intel byt sdio where NI is the subvendor. The second patch uses the ACPI table to set f_max during the new ni_byt_sdio_probe_slot. Zach Brown (2): mmc: sdhci-pci: Add PCI ID for Intel byt sdio host controller sub-vended by NI mmc: sdhci-pci: Use ACPI to get max frequency for Intel byt sdio host controller sub-vended by NI drivers/mmc/host/sdhci-pci-core.c | 50 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) -- 2.7.4