From nobody Wed Dec 08 10:21:32 2021 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 B4C6818D0137; Wed, 8 Dec 2021 10:21:32 +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 4J8CrD2kmMz4r1w; Wed, 8 Dec 2021 10:21:32 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 305CC119C6; Wed, 8 Dec 2021 10:21:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1B8ALWqB041539; Wed, 8 Dec 2021 10:21:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B8ALWN5041538; Wed, 8 Dec 2021 10:21:32 GMT (envelope-from git) Date: Wed, 8 Dec 2021 10:21:32 GMT Message-Id: <202112081021.1B8ALWN5041538@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Wojciech Macek Subject: git: 44a95c49c2d7 - main - sdhci_fsl_fdt: Add LS1012A compat string 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: wma X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 44a95c49c2d72710ae451c9386139216638141c5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638958892; 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=ILaq51hPbNHh2kTE0h6ztjM1/BtVIXHVgjUjk5lQBOo=; b=RCNPAe+uXlJRNLY8ULGOJUlsh/IAnQMRCK0k9wRdI75Xy732NWt7EvD0Z+HIO+ThTwDuXJ jLbJNtIpGmf+5/kzXWVmgvOiqOlFdg1um5mqG3w14t3/THVdM05UbZCw0Nj1nmjrKN2juB Vp5Zv5a5bC6KHqWt2K6Vaefc7r+0SOeppOBNw1l2xbz3v9nvqiS2Wx7LY9U3ekfmDtOApp qnbiQw+fYdT1lpKrVnHWROq0/aCOckUSnkIuSPneAzg7u8miWyYT15CifyPC5I5GsczZH+ l/TiW5z+BYSUaDhzxvLe6dzfcPlVVeMkcjBHt6hYAF9HkKlFE6+hfebfCIj1Vw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638958892; a=rsa-sha256; cv=none; b=KKWgjNRdmiJDPH6gUi/6yHyx4nclXq9dVfL/ySCPh3ZpIH6o2XkTDmxrw8aRqghkP9TTXS s0pNgqZbslC/yhYy9+IeVFo+JZUUo3G90k1ntImnFKG7y6Tl1OMyZFP7Y/XQZFSOpQL4fk Z6iMK1R/XM6uQFevS1kwU+vn/Ell3ziKwdbALYTJryqQqQmQalJnqlNX7Y/rUfQhqL90wF ehJwbyItRbhP4accrSwJIZpOxvO7LmXIKE56g0hBNFtWON2PhzHR0sEvCuLtdDA1N8UdyK dva6w6KKWOyX5xqSNuRsrODoHrm6j8U7D+IL12XpUsxhE4p/WGEzMR9Bj+R1GQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wma: URL: https://cgit.FreeBSD.org/src/commit/?id=44a95c49c2d72710ae451c9386139216638141c5 commit 44a95c49c2d72710ae451c9386139216638141c5 Author: Hubert Mazur AuthorDate: 2021-12-07 07:34:26 +0000 Commit: Wojciech Macek CommitDate: 2021-12-08 10:21:02 +0000 sdhci_fsl_fdt: Add LS1012A compat string Add compat string for LS1012A board and fill SoC specific structure data. Reviewed by: manu, mw Obtained from: Semihalf Sponsored by: Alstom Group Differential Revision: https://reviews.freebsd.org/D33318 --- sys/dev/sdhci/sdhci_fsl_fdt.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/dev/sdhci/sdhci_fsl_fdt.c b/sys/dev/sdhci/sdhci_fsl_fdt.c index af89cd344b0a..2d6c7115ff1e 100644 --- a/sys/dev/sdhci/sdhci_fsl_fdt.c +++ b/sys/dev/sdhci/sdhci_fsl_fdt.c @@ -129,6 +129,12 @@ struct sdhci_fsl_fdt_soc_data { uint8_t errata; }; +static const struct sdhci_fsl_fdt_soc_data sdhci_fsl_fdt_ls1012a_soc_data = { + .quirks = 0, + .baseclk_div = 1, + .errata = 0 +}; + static const struct sdhci_fsl_fdt_soc_data sdhci_fsl_fdt_ls1028a_soc_data = { .quirks = SDHCI_QUIRK_DONT_SET_HISPD_BIT | SDHCI_QUIRK_BROKEN_AUTO_STOP | SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK, @@ -147,6 +153,7 @@ static const struct sdhci_fsl_fdt_soc_data sdhci_fsl_fdt_gen_data = { }; static const struct ofw_compat_data sdhci_fsl_fdt_compat_data[] = { + {"fsl,ls1012a-esdhc", (uintptr_t)&sdhci_fsl_fdt_ls1012a_soc_data}, {"fsl,ls1028a-esdhc", (uintptr_t)&sdhci_fsl_fdt_ls1028a_soc_data}, {"fsl,ls1046a-esdhc", (uintptr_t)&sdhci_fsl_fdt_ls1046a_soc_data}, {"fsl,esdhc", (uintptr_t)&sdhci_fsl_fdt_gen_data},