Message ID | 20211105173945.92446-12-sean.anderson@seco.com |
---|---|
State | Superseded |
Delegated to: | Peng Fan |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=secospa.onmicrosoft.com header.i=@secospa.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-secospa-onmicrosoft-com header.b=5nRrBax4; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Hm79j54kTz9sCD for <incoming@patchwork.ozlabs.org>; Sat, 6 Nov 2021 04:42:01 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1515683751; Fri, 5 Nov 2021 18:40:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=seco.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=secospa.onmicrosoft.com header.i=@secospa.onmicrosoft.com header.b="5nRrBax4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1057E8373A; Fri, 5 Nov 2021 18:40:24 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on0625.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::625]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id DDC7A8373E for <u-boot@lists.denx.de>; Fri, 5 Nov 2021 18:40:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=seco.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sean.anderson@seco.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OExxrgUE3IAWTHZU1g3gIi2HFswoRzCuaqdLQq2/I2bi+xzk6hHLdkp7BaYpAsWeK6M8ZO+uOvlKICUtviRYN6nQrM17R5wnHX+L6wGMlulildoh4smYTcXQ86vuJALQ7idtvFrPh+jk4ZPEfE3rMZmouKLxcO5XillhUhISIEigrdaeWNNvyM1XhebnUluFTk5O0hD/DGZpI7j0zZh+m5lta1+X6GLbaXPZTUf8M9w0COveBfsAcvO+NSBIzj/PHtvdIpsX/4UcmuLiJ0ni1OnGic5AHyxNgRVK1u/agKRxvD07PkJgekn4I+g7n9o2wqf8Ev4jeibpEjcVV09uZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fMDG3ytGbbUQfAWZw9DRPt862ZCDReygSPTCWf+XWU0=; b=f3n3Djru78roRqzRacmynsHaur72KgGAzythljBtQBk0bHI7pb+JNAkOvCQpf1yog2zbFTbTRb1TsvNpNbihCGa9iPa41ktDEOhGnGmsrBnYck077+jfM44AFM4olyxysnLus1hz9OYZdERtI7zBkEBe5EAow8xwY3C8n8Mup5BW4m6jjHWgmCO1SMWKRxZw1ysDCBqCjJVZE4nDPPHu9dSWco8YHAZJExE2E6wrNMNJHgsrzS6V6Kczx9hgKyvKI3AQHLOjsV3qlRHMQ5NaljLd1wSvihQ9DK/8LS0E7MjI5hVda1/UwLkj1rMRAdejKzXBY/LmCktEaxJGgD0RLw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=seco.com; dmarc=pass action=none header.from=seco.com; dkim=pass header.d=seco.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secospa.onmicrosoft.com; s=selector2-secospa-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fMDG3ytGbbUQfAWZw9DRPt862ZCDReygSPTCWf+XWU0=; b=5nRrBax43q0D7ocqO0pJYgGoDIEqXmBetHQD/MScFix8ite2OjHA2nmmiEUrFicBXp5XHtnuYLRWnPpekID9Slny63TYRSVGxcATgsDlLGfQquvCs2M2tvVBpnTfsb+H8NafKQxZeKryj2BGvwBLNXSojt4yUM/9oZviD7gXVqA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=seco.com; Received: from DB7PR03MB4523.eurprd03.prod.outlook.com (2603:10a6:10:19::27) by DB7PR03MB3804.eurprd03.prod.outlook.com (2603:10a6:5:30::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.19; Fri, 5 Nov 2021 17:40:15 +0000 Received: from DB7PR03MB4523.eurprd03.prod.outlook.com ([fe80::a9aa:f363:66e:fadf]) by DB7PR03MB4523.eurprd03.prod.outlook.com ([fe80::a9aa:f363:66e:fadf%6]) with mapi id 15.20.4649.021; Fri, 5 Nov 2021 17:40:15 +0000 From: Sean Anderson <sean.anderson@seco.com> To: u-boot@lists.denx.de, Peng Fan <peng.fan@nxp.com>, Jaehoon Chung <jh80.chung@samsung.com> Cc: Haibo Chen <haibo.chen@nxp.com>, Yangbo Lu <yangbo.lu@nxp.com>, Fabio Estevam <festevam@gmail.com>, Michael Walle <michael@walle.cc>, Sean Anderson <sean.anderson@seco.com> Subject: [PATCH 11/11] mmc: fsl_esdhc_imx: set sysctl register for clock initialization Date: Fri, 5 Nov 2021 13:39:44 -0400 Message-Id: <20211105173945.92446-12-sean.anderson@seco.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211105173945.92446-1-sean.anderson@seco.com> References: <20211105173945.92446-1-sean.anderson@seco.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MN2PR17CA0012.namprd17.prod.outlook.com (2603:10b6:208:15e::25) To DB7PR03MB4523.eurprd03.prod.outlook.com (2603:10a6:10:19::27) MIME-Version: 1.0 Received: from plantagenet.inhand.com (50.195.82.171) by MN2PR17CA0012.namprd17.prod.outlook.com (2603:10b6:208:15e::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10 via Frontend Transport; Fri, 5 Nov 2021 17:40:13 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 86c9f7b8-02c9-4f12-b9fa-08d9a083532f X-MS-TrafficTypeDiagnostic: DB7PR03MB3804: X-Microsoft-Antispam-PRVS: <DB7PR03MB38042160E92DDC55F6B880A8968E9@DB7PR03MB3804.eurprd03.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:298; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: T75cxLoQlj1iPE7JHehL0di5iR5lrSLoobsw5UALPNSvaYdtcVTCHUc6CAzx2d1uZ5dKpMLDoIxTNXJ8cFQxVyepS7a8jzl1fDkV1ykLmYNHsNUJfDu8EjKMCE2r1G4j3CiW5NxHNmh8a7tSIjqiFLAFghtJwkPCH5yPX9G05GQuCA+hEqTBCQDRrS+0b2jwyI1K3ZQEgN9OKNfxbnyei385Udp2kwszfx2yrs5XGBC6oJWQXFTBGg/dmA0vH2h5XrnXs3d465Eobxjfq3gC7lDAD5InTzfjc2GHCIJY0pywqlgOU2FNM0+2i8PlKCRrqiYb9mCmsVIa7lsw06jP1OKZUS7KLgySly+wb/ftvIM0NMhamYQ3hOrM6+ZgIwoAOlhHw7+komWEet+gDj1hBbdZ0FTBwz1ENxka8EeN26JkMNkgXf3C8qpqgAFWRAkEqQpWD/hG1tByjvCx6TWJ1anqWgUSR75k3S92NJFSlr8iXbgx5NDfW8NwxrydPKOJWg19qBYWX3ftx7AXjl6DzinGJTDgHlMuNLMUGLbG3ZjN28/RrJ+fSrsY7DacExuD/YssCZrYYerpXyYOnJVtXjIztrjruPiYvbL+2unK0/bzHOlmKup9gHFwcjZ2SA/0o4/XD6AXzjxly6ApEnVlRCAQzuM6sDrraawdH0W+bPBJTgqWn5RvkDArALzfOjcDulG7tY+WT2Lug+HHqJiwsw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR03MB4523.eurprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(2906002)(52116002)(66476007)(6512007)(83380400001)(6666004)(5660300002)(66556008)(54906003)(66946007)(2616005)(316002)(110136005)(38350700002)(38100700002)(8676002)(6506007)(8936002)(44832011)(86362001)(956004)(1076003)(186003)(6486002)(36756003)(508600001)(107886003)(4326008)(26005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 14vGlBoB5xmon5GUGIkQLHSl47UCEtVVoDrbXcwzuAsagtHHX+5l94YKc+9smhxiz6FDjIupMI+2mt6Q/ondhm1x9bhjJmaVJr618MGUizlkF3zFb+OltpDiwoM0UWc9f/Eb4klF/RDJnXp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ypc47WTl5BX+zGdaXI4RbTDxRzfQ4D5aJwGi5JAgL1oRccZlfTox4IrB0m7t7VgQjq3Ry+qiNNTi+iB6hyyrY6EAVEkbEHFkv57UxXxwo5AWRcFrYEEjxlLBZFJPuyjXc1gOfFFhPdr5yrsPPAMB9lNEtQUoskqWJYy1Ey3Ny9rVczetuvqcJYWUgZQDkCjO0EUAMbxpMv3WdGYLxeQUwLYZVFiwWDqfZ89s6fVO6yE9fT/kFvUlyt84S9nwhU/ruU8xyF0Xy6zXLmarf0OKaAa0rWwR3Vokglloq9MTBjwa7IXUrLtg82aL/wvGwIR3QEzF0XNK1KRSu1FWcQmmF8EQPEqQIZwWCxTnNCsFnnCZ+i1h36NspAT3Ks15qmSnKf824/R+hoXvVnexNrAMLyvIGdCquxA6a1zzo1XtkE= X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: 86c9f7b8-02c9-4f12-b9fa-08d9a083532f X-MS-Exchange-CrossTenant-AuthSource: DB7PR03MB4523.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Nov 2021 17:40:14.8781 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: bebe97c3-6438-442e-ade3-ff17aa50e733 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ZVqV0RTtfZXjooxXeKBkd621OgC0AWeUcqUdQNh07/DaXHps0loUdfpXZedb8q79H3OMFDW88IBQmvWPsp/ZXg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR03MB3804 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
fsl_esdhc_imx: port several patches from fsl_esdhc
|
expand
|
diff --git a/drivers/mmc/fsl_esdhc_imx.c b/drivers/mmc/fsl_esdhc_imx.c index 886a489777..fc92ac3826 100644 --- a/drivers/mmc/fsl_esdhc_imx.c +++ b/drivers/mmc/fsl_esdhc_imx.c @@ -1022,7 +1022,7 @@ static int esdhc_init_common(struct fsl_esdhc_priv *priv, struct mmc *mmc) #endif /* Set the initial clock speed */ - mmc_set_clock(mmc, 400000, MMC_CLK_ENABLE); + set_sysctl(priv, mmc, 400000); /* Disable the BRR and BWR bits in IRQSTAT */ esdhc_clrbits32(®s->irqstaten, IRQSTATEN_BRR | IRQSTATEN_BWR);