On Mon, Feb 27, 2017 at 07:59:07PM +1100, Jonathan Gray wrote:
> On Mon, Feb 27, 2017 at 03:34:35AM -0500, Ian Sutton wrote:
> > This patch changes edma(4) to attach via device tree and re-enables it.
>
> Looks like the line wrapping got mangled.
Yes, I had just sent a fixed version :) oops
> I don't see the point in testing ti,hwmods in match.
There are three fdt nodes with the target 'compatible' property:
edma@49000000 {
compatible = "ti,edma3-tpcc";
ti,hwmods = "tpcc";
reg = <0x49000000 0x10000>;
reg-names = "edma3_cc";
interrupts = <0xc 0xd 0xe>;
interrupt-names = "edma3_ccint", "edma3_mperr",
"edma3_ccerrint";
dma-requests = <0x40>;
#dma-cells = <0x2>;
ti,tptcs = <0x2a 0x7 0x2b 0x5 0x2c 0x0>;
ti,edma-memcpy-channels = <0x14 0x15>;
linux,phandle = <0x29>;
phandle = <0x29>;
};
tptc@49800000 {
compatible = "ti,edma3-tptc";
ti,hwmods = "tptc0";
reg = <0x49800000 0x100000>;
interrupts = <0x70>;
interrupt-names = "edma3_tcerrint";
linux,phandle = <0x2a>;
phandle = <0x2a>;
};
tptc@49900000 {
compatible = "ti,edma3-tptc";
ti,hwmods = "tptc1";
reg = <0x49900000 0x100000>;
interrupts = <0x71>;
interrupt-names = "edma3_tcerrint";
linux,phandle = <0x2b>;
phandle = <0x2b>;
};