[PATCH v4 0/3] Adding DT support for TI HECC module
From: <hidden>
Date: 2017-02-17 13:45:55
Also in:
linux-can, linux-omap
From: Yegor Yefremov <redacted>
This is an attempt to revive DT support for TI HECC that was started in 2015 [1].
Changes v3 -> v4:
- implement tranciever handling via regulator API (suggested by Marc Kleine-Budde)
- convert the driver to DT only driver, i.e. remove legacy platform struct and header
(suggested by Marc Kleine-Budde)
Changes v2 -> v3:
- rename compatible property to "ti,am3517-hecc" (though there is a stipped
device named 3505, EMAC driver already uses am3517-emac name, so keep this
property consistent)
- use reg-names to specify different HECC I/O mapping (suggested by Tony Lindgren)
- provide fallback offsets and sizes for board files
- convert optional property ti,int_line to ti,use-hecc1int and add proper
description
Changes v1 -> v2:
- change compatible to "ti,am3505
- remove CONFIG_OF
- don't set int_line to 0 explicitly
[1] http://comments.gmane.org/gmane.linux.can/8616
Yegor Yefremov (3):
ARM: dts: AM35x: Add hecc node
can: ti_hecc: Add TI HECC DT binding documentation
can: ti_hecc: Add DT support for TI HECC module
.../devicetree/bindings/net/can/ti_hecc.txt | 33 ++++
arch/arm/boot/dts/am3517.dtsi | 12 ++
drivers/net/can/ti_hecc.c | 166 +++++++++++----------
include/linux/can/platform/ti_hecc.h | 44 ------
4 files changed, 133 insertions(+), 122 deletions(-)
create mode 100644 Documentation/devicetree/bindings/net/can/ti_hecc.txt
delete mode 100644 include/linux/can/platform/ti_hecc.h
--
2.1.4