Re: [PATCH 2/5] ata: ahci_imx: allow hardware parameters to be specified in DT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Russell,

Am Montag, den 23.06.2014, 12:59 +0100 schrieb Russell King:
[...]
> +struct reg_value {
> +	u32 of_value;
> +	u32 reg_value;
> +};
[...]
> +static const struct reg_value gpr13_tx_boost[] = {
> +	{    0, IMX6Q_GPR13_SATA_TX_BOOST_0_00_DB },
> +	{  370, IMX6Q_GPR13_SATA_TX_BOOST_0_37_DB },
> +	{  740, IMX6Q_GPR13_SATA_TX_BOOST_0_74_DB },
> +	{  111, IMX6Q_GPR13_SATA_TX_BOOST_1_11_DB },

I think this .of_value has to be multiplied by 10,
and the same for the following ones:

> +	{  148, IMX6Q_GPR13_SATA_TX_BOOST_1_48_DB },
> +	{  185, IMX6Q_GPR13_SATA_TX_BOOST_1_85_DB },
> +	{  222, IMX6Q_GPR13_SATA_TX_BOOST_2_22_DB },
> +	{  259, IMX6Q_GPR13_SATA_TX_BOOST_2_59_DB },
> +	{  296, IMX6Q_GPR13_SATA_TX_BOOST_2_96_DB },
> +	{  333, IMX6Q_GPR13_SATA_TX_BOOST_3_33_DB },
> +	{  370, IMX6Q_GPR13_SATA_TX_BOOST_3_70_DB },
> +	{  407, IMX6Q_GPR13_SATA_TX_BOOST_4_07_DB },
> +	{  444, IMX6Q_GPR13_SATA_TX_BOOST_4_44_DB },
> +	{  481, IMX6Q_GPR13_SATA_TX_BOOST_4_81_DB },
> +	{  528, IMX6Q_GPR13_SATA_TX_BOOST_5_28_DB },
> +	{  575, IMX6Q_GPR13_SATA_TX_BOOST_5_75_DB }
> +};

regards
Philipp


--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux