[PATCH v4 1/2] spi:fsl-dspi:convert to use regmap and big-endian supports

Li.Xiubo at freescale.com Li.Xiubo at freescale.com
Fri Feb 14 02:33:17 EST 2014



> @@ -435,12 +441,20 @@ static const struct dev_pm_ops dspi_pm = {
>  	SET_SYSTEM_SLEEP_PM_OPS(dspi_suspend, dspi_resume)
>  };
> 
> +static struct regmap_config dspi_regmap_config = {
> +	.reg_bits = 32,
> +	.val_bits = 32,
> +	.reg_stride = 4,
> +	.max_register = 0x88,
> +};
> +


If needed, you should add the callbacks like:
	.readable_reg,
	.writeable_reg,
	.volatile_reg,

Otherwise, it looks fine to me, for both patches:
Reviewed-by: Xiubo Li <Li.Xiubo at freescale.com>







More information about the linux-arm-kernel mailing list