- Oct 28, 2013
-
-
jdk@ti.com authored
-
Philippe Proulx authored
Original author of this patch's code is: Matt Ranostay <mranostay@gmail.com> This optional binding extension allows specification of a hwmod and associate hardware reset line which should be deasserted for the device to be functional. The implementation works but is suboptimal. The problem is that this deassertion occurs before clocks are enabled and we are warned that the hard reset failed. Ideally the list of reset lines requested to be deasserted would be cached and used within the hwmod enable sequencing (instead of it just returning if any hardware reset line is asserted). This reset line deassertion step is required to use the PRU-ICSS on AM335x boards.
-
jdk@ti.com authored
-
Peter Korsgaard authored
When booting with CONFIG_ARM_APPENDED_DTB (either because of using an old U-Boot, not wanting the hassle of 2 files or when using Falcon fast boot mode in U-Boot), nothing updates the ethernet hwaddr specified for the CPSW slaves, causing the driver to use a random hwaddr, which is some times troublesome. The am33xx has unique ethernet hwaddrs programmed in the efuse, so it makes more sense to default to these rather than random ones. Add a fixup step which adds mac-address dt properties using the efuse addresses if the DTB didn't contain valid ones. Signed-off-by:
Peter Korsgaard <jacmet@sunsite.dk>
-
jdk@ti.com authored
-
Pantelis Antoniou authored
Turns out that we really need those panel settings. Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Pantelis Antoniou authored
Fix the crash by not making pm_runtime calls while in the irq. Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Darren Etheridge authored
In certain senarios drm will initialize before i2c this means that i2c slave devices like the nxp tda998x will fail to be probed. This patch detects this condition then defers the probe of the slave device and the tilcdc main driver. Signed-off-by:
Darren Etheridge <detheridge@ti.com> Acked-by:
Rob Clark <robdclark@gmail.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Benoit Parrot authored
The preferred_bpp value in currently hard-coded to 16. This causes color corruption on the am335x-evm lcd panel which requires 32 bpp instead. This changes attempts to use the configured bpp value from the DT or built-in panel-info struct. Signed-off-by:
Benoit Parrot <bparrot@ti.com> Acked-by:
Rob Clark <robdclark@gmail.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
jdk@ti.com authored
-
Pantelis Antoniou authored
Makefile changes to support the DT cape definitions. Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
jdk@ti.com authored
-
Philipp Zabel authored
This driver implements a reset controller device that toggle a gpio connected to a reset pin of a peripheral IC. The delay between assertion and de-assertion of the reset signal can be configured via device tree. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by:
Stephen Warren <swarren@nvidia.com>
-
jdk@ti.com authored
-
Pantelis Antoniou authored
Add analogous option to disable_partno; this one doesn't require the presence of a base dts override. Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Pantelis Antoniou authored
Now each cape can declare an exclusive-use property which is a string list of every resource it requires. Attempting to load a cape that uses the same resource will fail.
-
Pantelis Antoniou authored
Allow capes to define priorities, this is important when you need to load built-in capes last, only after all the add-on capes have loaded. Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Pantelis Antoniou authored
Allow capes to be disabled on the kernel command line. Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Matt Ranostay authored
Added a simple MODULE_PARM_DESC for the extra_override option Signed-off-by:
Matt Ranostay <mranostay@gmail.com>
-
Pantelis Antoniou authored
Use this option to force a slot override to load unconditionally. Useful for testing. Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Pantelis Antoniou authored
Wrong test for not-found case lead to crash. Fix. Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Pantelis Antoniou authored
Cape removal wasn't working properly before; fix it. Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Pantelis Antoniou authored
__devinit/__devexit and the like has been purged. Remove them. Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Pantelis Antoniou authored
A cape loader based on DT overlays and DT objects. Beaglebone cape manager implementation. Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Pantelis Antoniou authored
Introduce a cape loader using DT overlays and dynamic DT objects. Makefile and Kconfig fragments. Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
jdk@ti.com authored
-
Pantelis Antoniou authored
When using pinctrl-single to handle i2c initialization, it has to be done early. Whether this is the best way to do so, is an exercise left to the reader.
-
jdk@ti.com authored
-
Pantelis Antoniou authored
Simple solenoid handling using grove i2c. Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Pantelis Antoniou authored
In kernel users need to access the EEPROM using the i2c_client interface. Extend at24 to use it via the command interface. Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
jdk@ti.com authored
-
Koen Kooi authored
Signed-off-by:
Koen Kooi <koen@dominion.thruhere.net>
-
Pantelis Antoniou authored
If the resolve config option has been enabled compile the device tree sources with the appropriate flag to generate the required for resolution __symbols__ node. Note that both arch/arm/Makefile & arch/arm/boot/Makefile need the DTC_FLAGS definition, because when issuing make dtbs the boot Makefile doesn't seem to pick it. Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Pantelis Antoniou authored
Add the capemanager in the bone/beaglebone DTS. Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Pantelis Antoniou authored
Add the I2C definitions for the EEPROM devices on the baseboard and on the possibly connected capes. Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
jdk@ti.com authored
-
Pantelis Antoniou authored
Add a gpio property for controlling reset of the mmc device. eMMC on the beaglebone black requires it. Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Pantelis Antoniou authored
of_find_node_by_name expect to have the parent node reference taken.
-
jdk@ti.com authored
-
Pantelis Antoniou authored
omap hwmod is really sensitive to hwmod misconfiguration. Getting a minor clock wrong always ended up in a crash. Attempt to be more resilient by not assigning variables with error codes and then attempting to use them. Without this patch, missing a clock ends up with something like this: omap_hwmod: ehrpwm0: cannot clk_get opt_clk ehrpwm0_tbclk! Unable to handle kernel NULL pointer dereference at virtual address 0000002a! pgd = c0004000! [0000002a] *pgd=00000000! Internal error: Oops: 5 [#1] SMP ARM! Modules linked in:! CPU: 0 Not tainted (3.8.0-rc2-12157-g76c7825-dirty #291)! PC is at __clk_prepare+0x10/0x70! LR is at clk_prepare+0x1c/0x34! pc : [<c03e37f0>] lr : [<c03e386c>] psr: a0000113! sp : cf04fef8 ip : 22222222 fp : 00000000! r10: ffffffea r9 : 00000000 r8 : 00000000! r7 : fffffffe r6 : 00000001 r5 : fffffffe r4 : fffffffe! r3 : cf041ac0 r2 : cf04ff00 r1 : 22222222 r0 : fffffffe! Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel! Control: 10c5387d Table: 80004019 DAC: 00000015! Process swapper/0 (pid: 1, stack limit = 0xcf04e240)! Stack: (0xcf04fef8 to 0xcf050000)! fee0: cf041ac0 c07749f4! ff00: fffffffe c03e386c c07499cc c073c070 c073d2fc c06d4e4c c073c070 c071cc18! ff20: c06d4c4c 00000000 00000000 c0708284 c06c91bc c0025e28 c073a030 00000001! ff40: c06f5f60 c06f5f40 c06d5324 c06d533c cf04e000 c0008870 c06d5324 c060abe8! ff60: c07082e8 00000002 00000001 c06f5f60 c06f5f40 c077d700 00000099 c04a43d4! ff80: 00000001 00000001 c06c91bc 00000000 00000000 c04a42dc 00000000 00000000! ffa0: 00000000 00000000 00000000 c000d678 00000000 00000000 00000000 00000000! ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000! ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 9e7befee f7bbaaab! [<c03e37f0>] (__clk_prepare+0x10/0x70) from [<c03e386c>] (clk_prepare+0x1c/0x34)! [<c03e386c>] (clk_prepare+0x1c/0x34) from [<c06d4e4c>] (_init+0x200/0x288)! [<c06d4e4c>] (_init+0x200/0x288) from [<c0025e28>] (omap_hwmod_for_each+0x28/0x58)! [<c0025e28>] (omap_hwmod_for_each+0x28/0x58) from [<c06d533c>] (omap_hwmod_setup_all+0x18/0x34)! [<c06d533c>] (omap_hwmod_setup_all+0x18/0x34) from [<c0008870>] (do_one_initcall+0x90/0x160)! [<c0008870>] (do_one_initcall+0x90/0x160) from [<c04a43d4>] (kernel_init+0xf8/0x290)! [<c04a43d4>] (kernel_init+0xf8/0x290) from [<c000d678>] (ret_from_fork+0x14/0x3c)! Code: e92d4038 e2504000 01a05004 0a000015 (e594302c) ! ---[ end trace 1b75b31a2719ed1c ]---! Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b! Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-