From patchwork Fri Feb 18 12:28:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 1594774 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=zJwqbme/; dkim=fail reason="signature verification failed" (2048-bit key) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=NT8CaLS8; 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=) 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 4K0WGC72K2z9sFn for ; Fri, 18 Feb 2022 23:29:07 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C050883AA3; Fri, 18 Feb 2022 13:29:02 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1645187343; bh=x8xIFZzvmqv36D8QFnfb/VDzzL+/CtwezLtQ3AZqiGk=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=zJwqbme/jFW7nIoqvtCF4YGwWRPehvIWC+OrkKlGu+wMuWbwsJxHwem3qSsh/nk9F QHhYbR7QDeFqlHsmFocTW2/BkB9pn2KulXT2NavoPBoLL19CMyybH5JuVxmZUBIAxn FLtGhOxJ/fy7PZGzIPKnmsCIhFoYJ6aNP0Fs5+jmLZVXksJBRcsNJG0N2K0AZ/yKWQ zlrVUvg3GsSCVqV1vQRCEYhcVR8UaBTH89NULzAfX/P+hWMiFNPdGjDVIiUXtO4TeQ UvqbmeJID7XwszM7Vncza5PvVqmVZBSr8o9EzYLDYMi991TsOX/MKz6Gzvr+DKz+hA fzKb/n3iO5KRw== Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: lukma@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 05AEC83885; Fri, 18 Feb 2022 13:28:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1645187340; bh=x8xIFZzvmqv36D8QFnfb/VDzzL+/CtwezLtQ3AZqiGk=; h=From:To:Cc:Subject:Date:From; b=NT8CaLS8ZSZpOjUOrNCNNzx6bdk28uYSAFBva1/i7rWG8w0diMkoUOjCha/XQDJgI XBaASHe+oHxfgvpO8fl65m/LHcddpur80nPA63IT41A7PWzgF1pENrVTV3QJKuI/mE paXA9xIHQJUdiAOv5kGTA8dQ2fXDNLkyCsU8sd8IXib3N9LTOfyvOEP5hdafVgJBdb 01lkxn6h9gs4QsmVzlew1AHoIK9ffatB7ox88p0DfLvQaU6jalUuHKOcBDku/cxW4D j1Jo7+eDqRVgbL3cBJOvBlFCe9J4aCzjWddcsXR1qjKI7i6Kh2oTayR6jp9xbpmNVT O8IMIv9tOsDjQ== From: Lukasz Majewski To: Tom Rini , u-boot@lists.denx.de Cc: Lukasz Majewski , Jaehoon Chung , Peng Fan Subject: [PATCH 1/3] arm: mmc: Add "ti, am335-sdhci" compatible for TI's omap_hsmmc driver Date: Fri, 18 Feb 2022 13:28:41 +0100 Message-Id: <20220218122844.2493-1-lukma@denx.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean In the Linux kernel (v5.16) for this SoC there are two separate drivers - namely sdhci-omap.c and omap_hsmmc.c which have separate set of compatibles. The U-Boot's drivers/mmc/omap_hsmmc.c driver supports both eMMC and SD devices - hence the compatible for SDHCI can be added. After this change the am335x DTS description can be easier ported from Linux kernel. Signed-off-by: Lukasz Majewski Reviewed-by: Jaehoon Chung --- drivers/mmc/omap_hsmmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c index 820065800f..b2f4a4e721 100644 --- a/drivers/mmc/omap_hsmmc.c +++ b/drivers/mmc/omap_hsmmc.c @@ -2019,6 +2019,7 @@ static const struct udevice_id omap_hsmmc_ids[] = { { .compatible = "ti,omap3-hsmmc" }, { .compatible = "ti,omap4-hsmmc" }, { .compatible = "ti,am33xx-hsmmc" }, + { .compatible = "ti,am335-sdhci" }, { .compatible = "ti,dra7-hsmmc", .data = (ulong)&dra7_mmc_of_data }, { } };