mfd: atmel-flexcom: Create include file with macros used by DT bindings
authorCyrille Pitchen <cyrille.pitchen@atmel.com>
Mon, 28 Sep 2015 09:13:24 +0000 (11:13 +0200)
committerLee Jones <lee.jones@linaro.org>
Fri, 30 Oct 2015 17:19:47 +0000 (17:19 +0000)
commit8343284d61a3e71812b116867dab00a170964630
tree57d32f66ccd35d1be0881f3e5b437f144b0e77d9
parentf3a654c5198b1de3e6241ab6a9d5c52295504970
mfd: atmel-flexcom: Create include file with macros used by DT bindings

This patch defines some macros to be used as value for the
"atmel,flexcom-mode" DT property. This value is then written into
the Operating Mode (OPMODE) bit field of the Flexcom Mode Register.

Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/dt-bindings/mfd/atmel-flexcom.h [new file with mode: 0644]