mirror of https://gitee.com/openkylin/linux.git
Second 3.15 fixes for AT91
- two fixes concerning iio ADC triggers for at91sam9260 and at91sam9g20 one for the "device" file, the other for the DT. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAABAgAGBQJTfjD/AAoJEAf03oE53VmQ1p0IAJL/FmsbXfHLLu8KvQEXMW8W Y3c22v2mHSHpEFjqjFg+LbOkRbFaPTlszSXuKyw7HJPiOygUk/C1i2MUW4WLNlyY fqu+tiAOrcfJ8rapM5ndFdeMZrkyRQIInFEPzOttQJSN4Aczpc6irfMqOOqw0y/s Sf88MiK2YgeXnt5dH6mDYhy29glvspek3w1FmDN3DjmiAdxAUV8bSpOmw2FsFAX7 QJOwkevln+3Ddxnq+NsG/6KxdAl0fj+G3shl4GwALr+hizKypzsFsSGDuyKuAL2o A7e+OFoUWN8eCTJBdP9YA/lVyl83uFMM3tBcHr4Oq8dJk6sQ0GNQcdJuCUBGTBw= =ehhW -----END PGP SIGNATURE----- Merge tag 'at91-fixes2' of git://github.com/at91linux/linux-at91 into fixes Second 3.15 fixes for AT91 - two fixes concerning iio ADC triggers for at91sam9260 and at91sam9g20 one for the "device" file, the other for the DT. * tag 'at91-fixes2' of git://github.com/at91linux/linux-at91: ARM: at91: sam9260: fix compilation issues ARM: at91/dt: sam9260: correct external trigger value Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
commit
756abc8d6d
|
@ -641,7 +641,7 @@ trigger@2 {
|
|||
trigger@3 {
|
||||
reg = <3>;
|
||||
trigger-name = "external";
|
||||
trigger-value = <0x13>;
|
||||
trigger-value = <0xd>;
|
||||
trigger-external;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1308,19 +1308,19 @@ static struct platform_device at91_adc_device = {
|
|||
static struct at91_adc_trigger at91_adc_triggers[] = {
|
||||
[0] = {
|
||||
.name = "timer-counter-0",
|
||||
.value = AT91_ADC_TRGSEL_TC0 | AT91_ADC_TRGEN,
|
||||
.value = 0x1,
|
||||
},
|
||||
[1] = {
|
||||
.name = "timer-counter-1",
|
||||
.value = AT91_ADC_TRGSEL_TC1 | AT91_ADC_TRGEN,
|
||||
.value = 0x3,
|
||||
},
|
||||
[2] = {
|
||||
.name = "timer-counter-2",
|
||||
.value = AT91_ADC_TRGSEL_TC2 | AT91_ADC_TRGEN,
|
||||
.value = 0x5,
|
||||
},
|
||||
[3] = {
|
||||
.name = "external",
|
||||
.value = AT91_ADC_TRGSEL_EXTERNAL | AT91_ADC_TRGEN,
|
||||
.value = 0xd,
|
||||
.is_external = true,
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue