From nobody Thu Aug 10 07:22:13 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RLyzp2cB4z4qFfZ; Thu, 10 Aug 2023 07:22:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RLyzn6rvHz4M0Z; Thu, 10 Aug 2023 07:22:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691652134; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XZxL+gUyeMMJtTCBwNmUI+SUmV4iU7DlvQ0VFOPfTjg=; b=O084CLsoIIcLyJt8sALttP5Kpb7mZUepIe1NHWX2Bhtsew1UlDwItxnwD0uR/ps3/Mb9Rw 1AL1cuOXpNGfyEmQPsMvMoVmLE32Icbo4+DwSGeBVV0/JH9EpFsdpVPNuWHYkT1Iiv3wVg fdr4E7xzM7e3qafsLjKhFLlUDaHWF21hKQke9g/Ivar4qTP2hvQHyaxD/87b7twiee7Dym 6ja6tA/fitD7Yhsm0EAVJRKlYb6LShwxakhKm9mWVpklC7tGTsLa8Dvdaso/xEuumu9cH0 HgN42kzpNy4EALoXCHabgZZvZCzLbo+7YF8xZOjuewlA2Ok334s1kcUk0+BL2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691652134; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XZxL+gUyeMMJtTCBwNmUI+SUmV4iU7DlvQ0VFOPfTjg=; b=YBSjhZjavv/JfuTiNFm8Lfo44X/Dj0RLjBTMxjzdWkXENPudqO/Q/AP+orDRvA52T1KRpA dYFo6bgA00rPsBT5e/L6DJCaDzjswWcg1II36S0K4peZc6jCbHevnWGZ7mtkY68Js5cvE8 /H67MbcRitw0lY9nA5tKe9JTMvUJBvpGFr++opb89cXqiPJO9TFk2aW7dlie0gkMFLpUg7 6yy0UCqNlK00nP+/sTd8zsCmdPRmc3A7yYmWGmj7iQl8z9131NpBHVCWIx47hJE6HLfv7/ KfbMj14ej3amuw+xP6hsTQ0+eyIEQCqGJdgs2UDew1wHaxc4Dx53b7ipDSoOJw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691652134; a=rsa-sha256; cv=none; b=Gl4E1Cc2ZaGwHdKFWw3sCmDZRqTNXjlU+xtdkrNs89Zby3/GmzeU/jXt06sIpv8u/Ac5xQ CCRX+aamJj35EMjWoXZhZFqWybKCi//Z97S35bGtw1DiVKrXdATTGX1HJx1Zn2myE50lp5 uJl0KO2UR3IZwrVVzb7UChsaWvSR4yVP6e3lYa2mTJKWXO6Y7fkPA+oEYparqMTo6CELLT eO0bRmEi7HZoId52tg44JoB8C7tXkV0SsCe2bYeG131JlcJgxuuUAPjr4efucE1Urecd6C ojEQKk60CIqEMU5w7dJk+jNdVquFj5Jk38NXlA8X4gNYcWC3Fb81Ixdml7XOcw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RLyzn5pQlzpCY; Thu, 10 Aug 2023 07:22:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37A7MDae024213; Thu, 10 Aug 2023 07:22:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37A7MDHB024210; Thu, 10 Aug 2023 07:22:13 GMT (envelope-from git) Date: Thu, 10 Aug 2023 07:22:13 GMT Message-Id: <202308100722.37A7MDHB024210@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: b426119a45d0 - main - sdhci: xilinx: Add compatible and quirks for ZynqMP List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b426119a45d09a44ebb5645e026cc61e810244e8 Auto-Submitted: auto-generated The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=b426119a45d09a44ebb5645e026cc61e810244e8 commit b426119a45d09a44ebb5645e026cc61e810244e8 Author: Emmanuel Vadot AuthorDate: 2022-09-29 08:49:05 +0000 Commit: Emmanuel Vadot CommitDate: 2023-08-10 07:21:55 +0000 sdhci: xilinx: Add compatible and quirks for ZynqMP Sponsored by: Beckhoff Automation GmbH & Co. KG MFC after: 2 weeks --- sys/dev/sdhci/sdhci_fdt.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/dev/sdhci/sdhci_fdt.c b/sys/dev/sdhci/sdhci_fdt.c index 09338602d2fb..c6319d49ca65 100644 --- a/sys/dev/sdhci/sdhci_fdt.c +++ b/sys/dev/sdhci/sdhci_fdt.c @@ -77,6 +77,7 @@ __FBSDID("$FreeBSD$"); #define SDHCI_FDT_QUALCOMM 4 #define SDHCI_FDT_RK3399 5 #define SDHCI_FDT_RK3568 6 +#define SDHCI_FDT_XLNX_ZMP 7 #define RK3399_GRF_EMMCCORE_CON0 0xf000 #define RK3399_CORECFG_BASECLKFREQ 0xff00 @@ -124,6 +125,7 @@ static struct ofw_compat_data compat_data[] = { { "rockchip,rk3399-sdhci-5.1", SDHCI_FDT_RK3399 }, { "xlnx,zy7_sdhci", SDHCI_FDT_XLNX_ZY7 }, { "rockchip,rk3568-dwcmshc", SDHCI_FDT_RK3568 }, + { "xlnx,zynqmp-8.9a", SDHCI_FDT_XLNX_ZMP }, { NULL, 0 } }; @@ -532,6 +534,9 @@ sdhci_fdt_probe(device_t dev) case SDHCI_FDT_RK3568: device_set_desc(dev, "Rockchip RK3568 fdt SDHCI controller"); break; + case SDHCI_FDT_XLNX_ZMP: + device_set_desc(dev, "ZynqMP generic fdt SDHCI controller"); + break; default: return (ENXIO); }