[PATCH v2 net-next 0/3] Add new capability and parse from DT
From: Neil Armstrong
Date: Tue Dec 08 2015 - 08:52:22 EST
The first patch introduces a new capability bit to disable usage of the
USRIO register on platform not implementing it thus avoiding some external
imprecise aborts on ARM based platforms.
The two last patchs implements a DT fallback to get the software defined
capabilities from DT in the case of the generic compatible form is used.
These properties will permit support of future implementations of macb/gem
without the need for adding new static structures in the code.
v1: http://lkml.kernel.org/r/1449485914-12883-1-git-send-email-narmstrong@xxxxxxxxxxxx
v2: switch to CAPS_* bit and add all software CAPS_* as DT properties
Neil Armstrong (3):
net: ethernet: cadence-macb: Add disabled usrio caps
net: ethernet: cadence-macb: Add fallback to read DT provided caps
bindings: ethernet: macb: Add optional caps properties
Documentation/devicetree/bindings/net/macb.txt | 10 ++++
drivers/net/ethernet/cadence/macb.c | 72 +++++++++++++++++++++-----
drivers/net/ethernet/cadence/macb.h | 1 +
3 files changed, 71 insertions(+), 12 deletions(-)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/