From patchwork Thu Aug 27 09:33:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Q2h1bi1IdW5nIFd1ICjlt6vpp7/lro8p?= X-Patchwork-Id: 253309 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, MIME_BASE64_TEXT, SPF_HELO_NONE, SPF_PASS, UNPARSEABLE_RELAY, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A23DC433E1 for ; Thu, 27 Aug 2020 09:33:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 05BAA20738 for ; Thu, 27 Aug 2020 09:33:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="oSqcIa3/" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727823AbgH0JdN (ORCPT ); Thu, 27 Aug 2020 05:33:13 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:3989 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726826AbgH0JdM (ORCPT ); Thu, 27 Aug 2020 05:33:12 -0400 X-UUID: c92f2ad19b8e434ea14cd62c1dd6f4ac-20200827 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=GDw8qw5Cf2+oW80aLaeL2MYzA4FJZY4c7yqCaOQfvls=; b=oSqcIa3/yC/pN03AO49rxAvpF3Iu+dX+UCKbsCS9Cvu8rkfRhECq1oOur6YOZQrtn++ipnFFbUcx7R6cWUhsRdb+bVjKT8ytBFiM0CgLIF0gcxJS4yxm9iaZI2H4Ok8f6FaPwiJxPZPiW8EK34KGGwMO8iZk3gSBIJD9oRrabuI=; X-UUID: c92f2ad19b8e434ea14cd62c1dd6f4ac-20200827 Received: from mtkcas35.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 1959076118; Thu, 27 Aug 2020 17:33:07 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 27 Aug 2020 17:33:04 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 27 Aug 2020 17:33:05 +0800 From: Chun-Hung Wu To: , Jonathan Hunter , Al Cooper , Adrian Hunter , Florian Fainelli , , Andy Gross , Bjorn Andersson , Michal Simek , Thierry Reding , Chaotian Jing , Mao Yong , Ulf Hansson , Rob Herring , Mark Rutland , Matthias Brugger , Linus Walleij , Pavel Machek , Kate Stewart , Greg Kroah-Hartman , Martin Blumenstingl , Pan Bian , Thomas Gleixner , Allison Randal , Mathieu Malaterre , Asutosh Das , Ritesh Harjani , Stanley Chu , Kuohong Wang CC: , , , , , , , , , Chun-Hung Wu Subject: [PATCH v1 0/2] mmc: cqhci: Add pre_enable() and post_disable() hook function Date: Thu, 27 Aug 2020 17:33:01 +0800 Message-ID: <1598520783-25250-1-git-send-email-chun-hung.wu@mediatek.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-TM-SNTS-SMTP: CCF1C9EE5CC8277C1A06A622833D52EA4C4DF2634262C08F134094BB2ABF89472000:8 X-MTK: N Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This series provides MediaTek cqhci implementations as below: - Add cqhci_host_ops->pre_enable() and cqhci_host_ops->post_disable() - Implement MediaTek's hook functions Chun-Hung Wu (2): mmc: cqhci: add new cqhci_host_ops pre_enable() and post_disable() mmc: mediatek: add pre_enable() and post_disable() hook function drivers/mmc/host/cqhci.c | 6 ++++++ drivers/mmc/host/cqhci.h | 2 ++ drivers/mmc/host/mtk-sd.c | 22 ++++++++++++++++++++++ 3 files changed, 30 insertions(+) -- 1.7.9.5