lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a74e6fbf-5a46-e666-83ee-b0e967362630@ti.com>
Date:   Wed, 13 Jan 2021 17:36:25 +0530
From:   Aswath Govindraju <a-govindraju@...com>
To:     unlisted-recipients:; (no To-header on input)
CC:     Sekhar Nori <nsekhar@...com>,
        Vignesh Raghavendra <vigneshr@...com>,
        Kishon Vijay Abraham I <kishon@...com>,
        Faiz Abbas <faiz_abbas@...com>,
        Ulf Hansson <ulf.hansson@...aro.org>,
        Rob Herring <robh+dt@...nel.org>,
        Adrian Hunter <adrian.hunter@...el.com>,
        <linux-mmc@...r.kernel.org>, <devicetree@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>,
        Aswath Govindraju <a-govindraju@...com>
Subject: Re: [PATCH 2/2] mmc: sdhci_am654: Add Support for TI's AM64 SoC

Hi,

On 13/01/21 5:29 pm, Aswath Govindraju wrote:
> From: Faiz Abbas <faiz_abbas@...com>
> 
> Add support for the controller present on the AM64x SoC.
> 
> There are instances:
> sdhci0: 8bit bus width, max 400 MBps
> sdhci1: 4bit bus width, max 100 MBps
> 
> Signed-off-by: Faiz Abbas <faiz_abbas@...com>
> Signed-off-by: Vignesh Raghavendra <vigneshr@...com>
> Signed-off-by: Kishon Vijay Abraham I <kishon@...com>
> Signed-off-by: Aswath Govindraju <a-govindraju@...com>
> ---

Very sorry forgot to add RESEND tag in the subject. The link to the
original patch,
https://lore.kernel.org/patchwork/patch/1364589/

Thanks,
Aswath

>  drivers/mmc/host/sdhci_am654.c | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
> 
> diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c
> index a64ea143d185..7a34649b0754 100644
> --- a/drivers/mmc/host/sdhci_am654.c
> +++ b/drivers/mmc/host/sdhci_am654.c
> @@ -514,6 +514,26 @@ static const struct sdhci_am654_driver_data sdhci_j721e_4bit_drvdata = {
>  	.flags = IOMUX_PRESENT,
>  };
>  
> +static const struct sdhci_pltfm_data sdhci_am64_8bit_pdata = {
> +	.ops = &sdhci_j721e_8bit_ops,
> +	.quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN,
> +};
> +
> +static const struct sdhci_am654_driver_data sdhci_am64_8bit_drvdata = {
> +	.pdata = &sdhci_am64_8bit_pdata,
> +	.flags = DLL_PRESENT | DLL_CALIB,
> +};
> +
> +static const struct sdhci_pltfm_data sdhci_am64_4bit_pdata = {
> +	.ops = &sdhci_j721e_4bit_ops,
> +	.quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN,
> +};
> +
> +static const struct sdhci_am654_driver_data sdhci_am64_4bit_drvdata = {
> +	.pdata = &sdhci_am64_4bit_pdata,
> +	.flags = IOMUX_PRESENT,
> +};
> +
>  static const struct soc_device_attribute sdhci_am654_devices[] = {
>  	{ .family = "AM65X",
>  	  .revision = "SR1.0",
> @@ -737,6 +757,14 @@ static const struct of_device_id sdhci_am654_of_match[] = {
>  		.compatible = "ti,j721e-sdhci-4bit",
>  		.data = &sdhci_j721e_4bit_drvdata,
>  	},
> +	{
> +		.compatible = "ti,am64-sdhci-8bit",
> +		.data = &sdhci_am64_8bit_drvdata,
> +	},
> +	{
> +		.compatible = "ti,am64-sdhci-4bit",
> +		.data = &sdhci_am64_4bit_drvdata,
> +	},
>  	{ /* sentinel */ }
>  };
>  MODULE_DEVICE_TABLE(of, sdhci_am654_of_match);
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ