Age | Commit message (Collapse) | Author |
|
With the move from the 3.14.52 to the 4.1 kernel the way the weim
node defines chipselects changed.
A phandle to the gpr node is needed.
Only the following 4 configuration can be specified in the ranges property:
CS0(128M), CS1 (0M), CS2(0M), CS3(0M)
CS0(64M), CS1(64M), CS2(0M), CS3(0M)
CS0(64M), CS1(32M), CS2(32M), CS3(0M)
CS0(32M), CS1(32M), CS2(32M), CS3(32M)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
With /sys/class/pwm a more versatile interface to pwm exists now.
PWM<A>: pwmchip3 export 0
PWM<B>: pwmchip1 export 0
PWM<C>: pwmchip4 export 0
PWM<B>: pwmchip2 export 0
e.g. configure a 1kHz 25% on PWM<C>:
(period and duty cycle in nano seconds)
$ cd /sys/class/pwm/pwmchip3
$ echo 0 > export
$ echo 1000000 > pwm0/period
$ echo 250000 > pwm0/duty_cycle
$ echo 1 > pwm0/enable
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Use the device evalspi for spidev nodes.
This prevents a lot of useless warnings that spidev should not be used.
see commit 5c27aa11b23c3b6960e46f5cb5dee37c842bb8b6
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Enable ADV7280 decoder for iMX6 modules. ADV7280 and ADV7180 have
same addresses viz. 0x21 respectively, changing the ADV7280 address
to 0x20 would result in a conflict with MAX9526. As a result enable
ADV7280 by default and disable ADV7180.
Signed-off-by: Sanchayan Maity <sanchayan.maity@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit b7798ad9dccd6b1f54a0c1bbbfa3290934dc5d9b)
|
|
According to the datasheet the SPI clock (for read) must not exceed
1 / 55ns for i.MX6Q/D and 1 / 43ns for i.MX6DL/S.
Reflect that correctly in the device tree.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit c34080f3883684576b7629b3571dc9a1e018d511)
|
|
Synchronize with imx6dl-colibri-eval-v3.dts.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 60bc22ab87825d102639ab5977a8340861e4a7ac)
|
|
This allows for easier disabling of unused cameras.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 67c38ded18b74f229dd8c692bb1e8a51badee608)
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 1d87bfe7dcb69a9af7b2ce58cf9d810167042933)
|