pandora-kernel.git
10 years agoLinux-omap rebuilt: Rebuilt with updated patches for v3.18
Tony Lindgren [Thu, 11 Sep 2014 22:02:19 +0000 (15:02 -0700)]
Linux-omap rebuilt: Rebuilt with updated patches for v3.18

$ git checkout -b tmp-rebuild-1410472934 linus
$ git merge -m "Merge omap-for-v3.18/tmp-merge" omap-for-v3.18/tmp-merge
$ git merge -s ours master
$ git checkout master
$ git merge tmp-rebuild-1410472934

To view the changes since the last rebuild, please do
$ git diff 1792702ac3568379e30e5d97ee4a3742628daffc..eeaf09ae2bdd67b64dd075690711dcba2dcf5604 arch/arm/*omap*/

10 years agoMerge tag 'dt-for-v3.18' into omap-for-v3.18/tmp-merge
Tony Lindgren [Thu, 11 Sep 2014 21:35:58 +0000 (14:35 -0700)]
Merge tag 'dt-for-v3.18' into omap-for-v3.18/tmp-merge

Changes for .dts files for omaps for v3.18 merge window:

- Updates for gta04 to add gta04a3 model
- Add support for Tehnexion TAO3530 boards
- Regulator names for beaglebone
- Pinctrl related updates for omap5, dra7 and am437
- Model name fix for sbc-t54
- Enable mailbox for various omaps

Conflicts:
arch/arm/mach-omap2/board-generic.c

10 years agoMerge tag 'mailbox-for-v3.18' into omap-for-v3.18/tmp-merge
Tony Lindgren [Thu, 11 Sep 2014 21:35:31 +0000 (14:35 -0700)]
Merge tag 'mailbox-for-v3.18' into omap-for-v3.18/tmp-merge

Mailbox related changes for omaps to get it to work with
device tree.

10 years agoMerge tag 'intc-for-v3.18' into omap-for-v3.18/tmp-merge
Tony Lindgren [Thu, 11 Sep 2014 21:35:25 +0000 (14:35 -0700)]
Merge tag 'intc-for-v3.18' into omap-for-v3.18/tmp-merge

Interrupt code related clean-up for omap2 and 3 to make
it ready to move to drivers/irqchip. Note that this series
does not yet move the interrupt code to drivers, that will
be posted separately as a follow-up series.

Note that this branch has a dependency to patches both
in fixes-v3.18-not-urgent and soc-for-v3.18 and is based on
a merge. Without doing the merge, off-idle would not work
properly for git bisect.

10 years agoMerge tag 'soc-for-v3.18' into omap-for-v3.18/tmp-merge
Tony Lindgren [Thu, 11 Sep 2014 21:35:19 +0000 (14:35 -0700)]
Merge tag 'soc-for-v3.18' into omap-for-v3.18/tmp-merge

SoC related changes for omaps for v3.18 merge window:

- PM changes to make the code easier to use on newer SoCs
- PM changes for newer SoCs suspend and resume and wake-up events
- Minor clean-up to remove dead Kconfig options

Note that these have a dependency to the fixes-v3.18-not-urgent
tag and is based on a commit in that series.

10 years agoMerge tag 'fixes-v3.18-not-urgent' into omap-for-v3.18/tmp-merge
Tony Lindgren [Thu, 11 Sep 2014 21:35:12 +0000 (14:35 -0700)]
Merge tag 'fixes-v3.18-not-urgent' into omap-for-v3.18/tmp-merge

Fixes for omaps that were not considered urgent enough
for the -rc cycle:

- Fixes for .dts files to differentiate panda and beaglebone versions
- Powerdomain fixes from Nishant Menon mostly for newer omaps
- Fixes for __initconst and of_device_ids const usage

10 years agoMerge tag 'fixes-v3.17-rc4' into omap-for-v3.18/tmp-merge
Tony Lindgren [Thu, 11 Sep 2014 21:35:06 +0000 (14:35 -0700)]
Merge tag 'fixes-v3.17-rc4' into omap-for-v3.18/tmp-merge

Few regression fixes for omaps for the -rc cycle:

- Fix for omap_l3_noc bus code
- Serial console fix for cm-t53
- NAND timings fix for dra7-evm

10 years agoarm: omap: intc: switch over to linear irq domain intc-for-v3.18
Felipe Balbi [Tue, 9 Sep 2014 00:54:58 +0000 (17:54 -0700)]
arm: omap: intc: switch over to linear irq domain

now that we don't need to support legacy board-files,
we can completely switch over to a linear irq domain
and make use of irq_alloc_domain_generic_chips() to
allocate all generic irq chips for us.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: get rid of ifdef hack
Felipe Balbi [Tue, 9 Sep 2014 00:54:57 +0000 (17:54 -0700)]
arm: omap: irq: get rid of ifdef hack

we don't need the ifdef if we have omap_nr_pending
telling us how many pending registers we have
on current platform. This solves a possible
problem where we could try to handle bogus
interrupts on OMAP2 and OMAP3 if using single
zImage kernel, because we would end up reading
the following pending FIQ register.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: introduce omap_nr_pending
Felipe Balbi [Tue, 9 Sep 2014 00:54:57 +0000 (17:54 -0700)]
arm: omap: irq: introduce omap_nr_pending

that variable will tell us how many INTC_PENDING_IRQn
registers we have. It'll be used on a following patch
to cleanup omap_intc_handle_irq() a bit.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: remove nr_irqs argument
Felipe Balbi [Tue, 9 Sep 2014 00:54:55 +0000 (17:54 -0700)]
arm: omap: irq: remove nr_irqs argument

we can set our global omap_nr_irqs early on
and drop the extra argument to omap_init_irq().

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: remove unnecessary header
Felipe Balbi [Tue, 9 Sep 2014 00:54:54 +0000 (17:54 -0700)]
arm: omap: irq: remove unnecessary header

There's no need for that header to be included.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: drop omap2_intc_handle_irq()
Felipe Balbi [Tue, 9 Sep 2014 00:54:52 +0000 (17:54 -0700)]
arm: omap: irq: drop omap2_intc_handle_irq()

that was just a no-op wrapper around omap_intc_handle_irq
anyway.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: drop omap3_intc_handle_irq()
Felipe Balbi [Tue, 9 Sep 2014 00:54:52 +0000 (17:54 -0700)]
arm: omap: irq: drop omap3_intc_handle_irq()

now that we're calling set_handle_irq() from
init_irq(), we can safely drop all callers to
omap3_intc_handle_irq() and its definition.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: call set_handle_irq() from .init_irq
Felipe Balbi [Tue, 9 Sep 2014 00:54:52 +0000 (17:54 -0700)]
arm: omap: irq: call set_handle_irq() from .init_irq

the idea is that board-files won't need to set
.handle_irq on their machine_descs, which lets
us drop a little more pointless code.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: move some more code around
Felipe Balbi [Tue, 9 Sep 2014 00:54:51 +0000 (17:54 -0700)]
arm: omap: irq: move some more code around

We want .init_irq to call set_irq_handle() for
legacy platforms. Note that this code will also
be dropped once omap2/3 devices are completely
moved to DT.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: boot: dts: omap2/3/am33xx: drop ti,intc-size
Felipe Balbi [Tue, 9 Sep 2014 00:54:49 +0000 (17:54 -0700)]
arm: boot: dts: omap2/3/am33xx: drop ti,intc-size

we are now infering number of IRQ lines based
on correct compatible flag, which renders this
binding completely useless.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: drop ti,intc-size support
Felipe Balbi [Tue, 9 Sep 2014 00:54:48 +0000 (17:54 -0700)]
arm: omap: irq: drop ti,intc-size support

we don't need that anymore since specific
devices are passing correct compatible flags.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: boot: dts: am33xx/omap3: fix intc compatible flag
Felipe Balbi [Tue, 9 Sep 2014 00:54:48 +0000 (17:54 -0700)]
arm: boot: dts: am33xx/omap3: fix intc compatible flag

that way, our intc driver can figure out how
many IRQ lines INTC has.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: use compatible flag to figure out number of IRQ lines
Felipe Balbi [Tue, 9 Sep 2014 00:54:47 +0000 (17:54 -0700)]
arm: omap: irq: use compatible flag to figure out number of IRQ lines

so far, only am33xx has 128 lines, all other devices
have only 96.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: add specific compatibles for omap3 and am33xx devices
Felipe Balbi [Tue, 9 Sep 2014 00:54:46 +0000 (17:54 -0700)]
arm: omap: irq: add specific compatibles for omap3 and am33xx devices

with this, we can use a compatible flag to figure
out how many irq lines are wired up, no need for
our TI-specific ti,intc-size binding.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: drop .handle_irq and .init_irq fields
Felipe Balbi [Tue, 9 Sep 2014 00:54:45 +0000 (17:54 -0700)]
arm: omap: irq: drop .handle_irq and .init_irq fields

now we can safely drop those fields from our machine_desc.

While at that, also drop the now unused omap_intc_of_init()
definition.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: use IRQCHIP_DECLARE macro
Felipe Balbi [Tue, 9 Sep 2014 00:54:43 +0000 (17:54 -0700)]
arm: omap: irq: use IRQCHIP_DECLARE macro

IRQCHIP_DECLARE macro is used to declare the same
of_device_id structure for irqchips, it's just
a helper. No functional changes.

Note that we're temporarily including irqchip.h
with its full path, until we move this driver
to drivers/irqchip/.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: call set_handle_irq() from intc_of_init
Felipe Balbi [Tue, 9 Sep 2014 00:54:43 +0000 (17:54 -0700)]
arm: omap: irq: call set_handle_irq() from intc_of_init

this will let us drop .handle_irq and .init_irq fields
from our generic machine_descs.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: make intc_of_init static
Felipe Balbi [Tue, 9 Sep 2014 00:54:43 +0000 (17:54 -0700)]
arm: omap: irq: make intc_of_init static

nobody uses that function outside of this file,
so we don't need to expose it.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: reorganize code a little bit
Felipe Balbi [Tue, 9 Sep 2014 00:54:42 +0000 (17:54 -0700)]
arm: omap: irq: reorganize code a little bit

no functional changes, just moving code around.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: always define omap3 support
Felipe Balbi [Tue, 9 Sep 2014 00:54:40 +0000 (17:54 -0700)]
arm: omap: irq: always define omap3 support

remove ifdef around omap3 INTC support. This
will make it easier to reuse code for PM.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: rename omap3_intc_regs
Felipe Balbi [Tue, 9 Sep 2014 00:54:38 +0000 (17:54 -0700)]
arm: omap: irq: rename omap3_intc_regs

just to make it clearer that it can
be used on all omaps.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: remove unnecessary base_addr argument
Felipe Balbi [Tue, 9 Sep 2014 00:54:37 +0000 (17:54 -0700)]
arm: omap: irq: remove unnecessary base_addr argument

omap_intc_handle_irq now had an unnecessary
base_addr argument. Let's remove it and fix
all callers.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: switch over to intc_readl on omap_intc_handle_irq
Felipe Balbi [Tue, 9 Sep 2014 00:54:37 +0000 (17:54 -0700)]
arm: omap: irq: switch over to intc_readl on omap_intc_handle_irq

an almost blind conversion from readl_relaxed
to our newly introduced intc_readl().

While at that, also remove some hardcoded
register addresses.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: remove unused macro
Felipe Balbi [Tue, 9 Sep 2014 00:54:37 +0000 (17:54 -0700)]
arm: omap: irq: remove unused macro

no functional changes.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: remove rest of irq_banks usage
Felipe Balbi [Tue, 9 Sep 2014 00:54:35 +0000 (17:54 -0700)]
arm: omap: irq: remove rest of irq_banks usage

now we can finally remove the pointless irq_banks
array.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: add a global omap_nr_irqs variable
Felipe Balbi [Tue, 9 Sep 2014 00:54:34 +0000 (17:54 -0700)]
arm: omap: irq: add a global omap_nr_irqs variable

this will cache number of irqs. Also in preparation
for removal of irq_banks array.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: start to remove irq_banks array
Felipe Balbi [Tue, 9 Sep 2014 00:54:32 +0000 (17:54 -0700)]
arm: omap: irq: start to remove irq_banks array

We have a single bank in that array, this patch
is in preparation to remove that array. It just
shifts everything to a new set of functions
for register IO while also removing old ones.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: define INTC_ILR0 register
Felipe Balbi [Tue, 9 Sep 2014 00:54:32 +0000 (17:54 -0700)]
arm: omap: irq: define INTC_ILR0 register

this is currently used as a hardcoded 0x100
offset.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: make omap_irq_base global
Felipe Balbi [Tue, 9 Sep 2014 00:54:31 +0000 (17:54 -0700)]
arm: omap: irq: make omap_irq_base global

This is in preparation for removing the pointless
irq_banks array.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoMerge branch 'omap-for-v3.18/fixes-not-urgent' into omap-for-v3.18/intc-v2
Tony Lindgren [Thu, 11 Sep 2014 20:03:25 +0000 (13:03 -0700)]
Merge branch 'omap-for-v3.18/fixes-not-urgent' into omap-for-v3.18/intc-v2

10 years agoARM: OMAP2+: make of_device_ids const fixes-v3.18-not-urgent
Uwe Kleine-König [Wed, 10 Sep 2014 08:26:17 +0000 (10:26 +0200)]
ARM: OMAP2+: make of_device_ids const

of_device_ids (i.e. compatible strings and the respective data) are not
supposed to change at runtime. All functions working with of_device_ids
provided by <linux/of.h> work with const of_device_ids. So mark the
non-const function parameters and structs for OMAP2+ as const, too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: omap2: make arrays containing machine compatible strings const
Uwe Kleine-König [Thu, 11 Sep 2014 19:29:01 +0000 (21:29 +0200)]
ARM: omap2: make arrays containing machine compatible strings const

The definition

static const char *omap3_boards_compat[] __initconst = {

defines a changable array of constant strings. That is you must not do:

*omap3_boards_compat[0] = 'f';

but

omap3_boards_compat[0] = "another string";

is fine. So the annotation __initconst is wrong and yields a compiler
error when other really const variables are added with __initconst.

As the struct machine_desc member dt_compat is declared as

const char *const *dt_compat;

making the arrays const is the better alternative over changing all
annotations to __initdata.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: OMAP2+: Add sub mailboxes device node information dt-for-v3.18
Suman Anna [Wed, 10 Sep 2014 19:27:23 +0000 (14:27 -0500)]
ARM: dts: OMAP2+: Add sub mailboxes device node information

The sub-mailbox devices are added to the Mailbox DT nodes on
OMAP2420, OMAP2430, OMAP3, AM33xx, AM43xx, OMAP4 and OMAP5
family of SoCs. This data represents the same mailboxes that
used to be represented in hwmod attribute data previously.
The node name is chosen based on the .name field of
omap_mbox_dev_info structure used in the hwmod data.

Cc: "Benoît Cousson" <bcousson@baylibre.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agomailbox/omap: add support for parsing dt devices mailbox-for-v3.18
Suman Anna [Wed, 10 Sep 2014 19:20:59 +0000 (14:20 -0500)]
mailbox/omap: add support for parsing dt devices

Logic has been added to the OMAP2+ mailbox code to parse the
mailbox dt nodes and construct the different sub-mailboxes
associated with the instance. The DT representation of the
sub-mailbox devices is different from legacy platform data
representation to allow flexibility of interrupt configuration
between Tx and Rx fifos (to also possibly allow simplex devices
in the future). The DT representation gathers similar information
that was being passed previously through the platform data, except
for the interrupt type information, which is gathered through driver
compatible match data.

The non-DT support has to be maintained for now to not break
OMAP3 legacy boot, and the legacy-style code will be cleaned
up once OMAP3 is also converted to DT-boot only.

Cc: Jassi Brar <jassisinghbrar@gmail.com>
Cc: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Suman Anna <s-anna@ti.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoDocumentation: dt: add omap mailbox bindings
Suman Anna [Wed, 10 Sep 2014 19:20:58 +0000 (14:20 -0500)]
Documentation: dt: add omap mailbox bindings

Add the device tree bindings document for OMAP2+ mailbox.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agobus: omap_l3_noc: Fix connID for OMAP4 fixes-v3.17-rc4
Nishanth Menon [Wed, 10 Sep 2014 10:20:27 +0000 (05:20 -0500)]
bus: omap_l3_noc: Fix connID for OMAP4

Commit d4d8819e205854c ("bus: omap_l3_noc: fix masterid detection")
did the right thing in dropping the LSB 2 bits which is not part
of the ConnID for NTTP master address. However, as part of that
change, we should also have ensured that existing list of OMAP4 connID
codes are also shifted by 2 bits to ensure that connIDs map to "Table
13-18. ConnID Values" as provided in Technical Reference Manuals for
OMAP4430(Rev AP, April 2014, SWPU220AP) and OMAP4460(Rev AB, April
2014, SWPU234AB)

Fixes: d4d8819e205854c ("bus: omap_l3_noc: fix masterid detection")
Reported-by: Kristian Otnes <kotnes@cisco.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: cm-t54: fix serial console power supply.
Dmitry Lifshitz [Wed, 10 Sep 2014 15:57:19 +0000 (08:57 -0700)]
ARM: dts: cm-t54: fix serial console power supply.

LDO8 regulator is used for act led and serial cosole power supply.

Its DT status is declared as "disabled", however the serial console was
functional until Commit 318dbb02b ("regulator: palmas: Fix SMPS
enable/disable/is_enabled") wich properly turns off LDO8 on boot.

Fix serial cosole power supply (and act led) on boot by turning LDO8 on.

Fixes: 318dbb02b ("regulator: palmas: Fix SMPS enable/disable/is_enabled")
Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Tested-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: dra7-evm: Fix NAND GPMC timings
Roger Quadros [Wed, 10 Sep 2014 15:57:11 +0000 (08:57 -0700)]
ARM: dts: dra7-evm: Fix NAND GPMC timings

The nand timings were scaled down by 2 to account for
the 2x rate returned by clk_get_rate(gpmc_fclk).

As the clock data got fixed by [1], revert back to actual
timings (i.e. scale them up by 2).

Without this NAND doesn't work on dra7-evm.

[1] - commit dd94324b983afe114ba9e7ee3649313b451f63ce
    ARM: dts: dra7xx-clocks: Fix the l3 and l4 clock rates

Fixes: ff66a3c86e00 ("ARM: dts: dra7: add support for parallel NAND flash")
Cc: <stable@vger.kernel.org> [3.16]
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoLinux-omap rebuilt: Rebuilt with fixed up branches for v3.18
Tony Lindgren [Wed, 10 Sep 2014 03:04:17 +0000 (20:04 -0700)]
Linux-omap rebuilt: Rebuilt with fixed up branches for v3.18

$ git checkout -b tmp-rebuild-1410318252 linus
$ git merge -m "Merge omap-for-v3.18/tmp-merge" omap-for-v3.18/tmp-merge
$ git merge -s ours master
$ git checkout master
$ git merge tmp-rebuild-1410318252

To view the changes since the last rebuild, please do
$ git diff 1f9433ea425c7239b2e228773366d94a55d1054c..7745fa03edf02ddbd70052671d4f2c254b850f51 arch/arm/*omap*/

10 years agoMerge branch 'omap-for-v3.18/dt' into omap-for-v3.18/tmp-merge
Tony Lindgren [Wed, 10 Sep 2014 03:02:39 +0000 (20:02 -0700)]
Merge branch 'omap-for-v3.18/dt' into omap-for-v3.18/tmp-merge

10 years agoMerge branch 'omap-for-v3.18/intc' into omap-for-v3.18/tmp-merge
Tony Lindgren [Wed, 10 Sep 2014 03:02:33 +0000 (20:02 -0700)]
Merge branch 'omap-for-v3.18/intc' into omap-for-v3.18/tmp-merge

10 years agoMerge branch 'omap-for-v3.18/soc' into omap-for-v3.18/tmp-merge
Tony Lindgren [Wed, 10 Sep 2014 03:02:25 +0000 (20:02 -0700)]
Merge branch 'omap-for-v3.18/soc' into omap-for-v3.18/tmp-merge

10 years agoMerge branch 'omap-for-v3.18/fixes-not-urgent' into omap-for-v3.18/tmp-merge
Tony Lindgren [Wed, 10 Sep 2014 03:02:19 +0000 (20:02 -0700)]
Merge branch 'omap-for-v3.18/fixes-not-urgent' into omap-for-v3.18/tmp-merge

10 years agoMerge branch 'pull/v3.18/for-dt-pinctrl-updates' of https://github.com/nmenon/linux...
Tony Lindgren [Wed, 10 Sep 2014 02:28:41 +0000 (19:28 -0700)]
Merge branch 'pull/v3.18/for-dt-pinctrl-updates' of https://github.com/nmenon/linux-2.6-playground into omap-for-v3.18/dt

10 years agoARM: OMAP5+: Reuse OMAP4 PM code for OMAP5 and DRA7 soc-for-v3.18
Nishanth Menon [Tue, 9 Sep 2014 17:15:33 +0000 (12:15 -0500)]
ARM: OMAP5+: Reuse OMAP4 PM code for OMAP5 and DRA7

OMAP4, OMAP5 and DRA7 share a lot of common logic and data structures.
These have been enabled in the previous patches, however, this also
means that OMAP5 or DRA7 only builds also need to build OMAP4 logic.
Update to reuse OMAP4 logic.

This fixes the 'undefined reference to 'omap4_pm_init_early'' in
OMAP5 or DRA7 only builds.

Fixes: 6af16a1dac5465c ("ARM: DRA7: Add hook in SoC initcalls to enable pm initialization")
Fixes: 628ed4717000789 ("ARM: OMAP5: Add hook in SoC initcalls to enable pm initialization")
Reported-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: dra7-evm: Mark uart1 rxd as wakeup capable
Nishanth Menon [Sat, 7 Jun 2014 01:53:22 +0000 (20:53 -0500)]
ARM: dts: dra7-evm: Mark uart1 rxd as wakeup capable

Mark rxd as wakeupcapable for 115200n8 no hardware-flow control
configuration. If h/w flow control is being used, then rts/cts
appropriately should be used.

Signed-off-by: Nishanth Menon <nm@ti.com>
10 years agoARM: dts: OMAP5 / DRA7: switch over to interrupts-extended property for UART
Nishanth Menon [Fri, 23 May 2014 05:04:02 +0000 (00:04 -0500)]
ARM: dts: OMAP5 / DRA7: switch over to interrupts-extended property for UART

We've had deeper idle states working on omaps for few years now,
but only in the legacy mode. When booted with device tree, the
wake-up events did not have a chance to work until commit
3e6cee1786a1 ("pinctrl: single: Add support for wake-up interrupts")
that recently got merged. In addition to that we also needed
commit 79d9701559a9 ("of/irq: create interrupts-extended property")
that's now also merged.

Note that there's no longer need to specify the wake-up bit in
the pinctrl settings, the request_irq on the wake-up pin takes
care of that.

Signed-off-by: Nishanth Menon <nm@ti.com>
10 years agoARM: dts: AM437x: switch to compatible pinctrl
Nishanth Menon [Fri, 23 May 2014 04:47:46 +0000 (23:47 -0500)]
ARM: dts: AM437x: switch to compatible pinctrl

Now that ti,am437-padconf is available, switch over to that compatible
property. Retain pinctrl-single for legacy support.

While at it, mark the pinctrl as interrupt controller so that it can
be used with interrupts-extended property for wakeup events.

Signed-off-by: Nishanth Menon <nm@ti.com>
10 years agoARM: dts: DRA7: switch to compatible pinctrl
Nishanth Menon [Fri, 23 May 2014 04:47:46 +0000 (23:47 -0500)]
ARM: dts: DRA7: switch to compatible pinctrl

Now that ti,dra7-padconf is available, switch over to that compatible
property. Retain pinctrl-single for legacy support.

While at it, mark pinctrl as interrupt controller so that it can be used
with interrupts-extended property for wakeup events.

Signed-off-by: Nishanth Menon <nm@ti.com>
10 years agoARM: dts: OMAP5: switch to compatible pinctrl
Nishanth Menon [Fri, 23 May 2014 05:58:08 +0000 (00:58 -0500)]
ARM: dts: OMAP5: switch to compatible pinctrl

Now that ti,omap5-padconf is available, switch over to that compatible
property. Retain pinctrl-single for legacy support.

While at it, mark pinctrl as interrupt controller so that it can be
used with interrupts-extended property for wakeup events.

Signed-off-by: Nishanth Menon <nm@ti.com>
10 years agoLinux-omap rebuilt: Updated to v3.17-rc4 with pending patches for v3.18
Tony Lindgren [Tue, 9 Sep 2014 01:29:15 +0000 (18:29 -0700)]
Linux-omap rebuilt: Updated to v3.17-rc4 with pending patches for v3.18

$ git checkout -b tmp-rebuild-1410226149 linus
$ git merge -m "Merge omap-for-v3.18/tmp-merge" omap-for-v3.18/tmp-merge
$ git merge -s ours master
$ git checkout master
$ git merge tmp-rebuild-1410226149

To view the changes since the last rebuild, please do
$ git diff 74de0ab956770dd33d58e65fe21093a2dd42bf6e..c7521faf832913a4707b549129720e09c018192c arch/arm/*omap*/

10 years agoMerge branch 'omap-for-v3.18/dt' into omap-for-v3.18/tmp-merge
Tony Lindgren [Tue, 9 Sep 2014 01:00:37 +0000 (18:00 -0700)]
Merge branch 'omap-for-v3.18/dt' into omap-for-v3.18/tmp-merge

10 years agoMerge branch 'omap-for-v3.18/intc' into omap-for-v3.18/tmp-merge
Tony Lindgren [Tue, 9 Sep 2014 01:00:30 +0000 (18:00 -0700)]
Merge branch 'omap-for-v3.18/intc' into omap-for-v3.18/tmp-merge

10 years agoMerge branch 'omap-for-v3.18/mailbox' into omap-for-v3.18/tmp-merge
Tony Lindgren [Tue, 9 Sep 2014 01:00:23 +0000 (18:00 -0700)]
Merge branch 'omap-for-v3.18/mailbox' into omap-for-v3.18/tmp-merge

10 years agoMerge branch 'omap-for-v3.18/fixes-not-urgent' into omap-for-v3.18/tmp-merge
Tony Lindgren [Tue, 9 Sep 2014 01:00:15 +0000 (18:00 -0700)]
Merge branch 'omap-for-v3.18/fixes-not-urgent' into omap-for-v3.18/tmp-merge

10 years agoirq: intc: enable IP protection
Felipe Balbi [Tue, 9 Sep 2014 00:55:09 +0000 (17:55 -0700)]
irq: intc: enable IP protection

When PROTECTION bit in enabled in PROTECTION
register, INTC's registers are only accessible
from privileged mode.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoirq: intc: remove unnecesary of_address_to_resource() call
Felipe Balbi [Tue, 9 Sep 2014 00:55:07 +0000 (17:55 -0700)]
irq: intc: remove unnecesary of_address_to_resource() call

of_iomap(), which is called from omap_init_irq_of(),
already takes care of making sure we have a valid
resource to deal with. Because of that, we can
safely remove our explicit call to of_address_to_resource().

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoirq: intc: comment style cleanup
Felipe Balbi [Tue, 9 Sep 2014 00:55:07 +0000 (17:55 -0700)]
irq: intc: comment style cleanup

no functional changes, just making sure comment
follows Coding Style.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoirq: intc: minor improvement to omap_irq_pending()
Felipe Balbi [Tue, 9 Sep 2014 00:55:03 +0000 (17:55 -0700)]
irq: intc: minor improvement to omap_irq_pending()

We already hold the number of Pending registers
in omap_nr_pending. Let's use that instead.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: move irq.c to drivers/irqchip/
Felipe Balbi [Tue, 9 Sep 2014 00:55:00 +0000 (17:55 -0700)]
arm: omap: irq: move irq.c to drivers/irqchip/

Just move the code over as it has no dependencies
on arch/arm/ anymore.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoirqchip: add irq-omap-intc.h header
Felipe Balbi [Tue, 9 Sep 2014 00:54:58 +0000 (17:54 -0700)]
irqchip: add irq-omap-intc.h header

OMAP INTC irqchip driver will be moved under
drivers/irqchip/ soon but we still have a dependency
with mach-omap2 when it comes to idle functions.

In order to make it easy to share those function
prototypes with OMAP PM code, we introduce this new
header.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: intc: switch over to linear irq domain
Felipe Balbi [Tue, 9 Sep 2014 00:54:58 +0000 (17:54 -0700)]
arm: omap: intc: switch over to linear irq domain

now that we don't need to support legacy board-files,
we can completely switch over to a linear irq domain
and make use of irq_alloc_domain_generic_chips() to
allocate all generic irq chips for us.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: get rid of ifdef hack
Felipe Balbi [Tue, 9 Sep 2014 00:54:57 +0000 (17:54 -0700)]
arm: omap: irq: get rid of ifdef hack

we don't need the ifdef if we have omap_nr_pending
telling us how many pending registers we have
on current platform. This solves a possible
problem where we could try to handle bogus
interrupts on OMAP2 and OMAP3 if using single
zImage kernel, because we would end up reading
the following pending FIQ register.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: introduce omap_nr_pending
Felipe Balbi [Tue, 9 Sep 2014 00:54:57 +0000 (17:54 -0700)]
arm: omap: irq: introduce omap_nr_pending

that variable will tell us how many INTC_PENDING_IRQn
registers we have. It'll be used on a following patch
to cleanup omap_intc_handle_irq() a bit.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: remove nr_irqs argument
Felipe Balbi [Tue, 9 Sep 2014 00:54:55 +0000 (17:54 -0700)]
arm: omap: irq: remove nr_irqs argument

we can set our global omap_nr_irqs early on
and drop the extra argument to omap_init_irq().

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: remove unnecessary header
Felipe Balbi [Tue, 9 Sep 2014 00:54:54 +0000 (17:54 -0700)]
arm: omap: irq: remove unnecessary header

There's no need for that header to be included.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: drop omap2_intc_handle_irq()
Felipe Balbi [Tue, 9 Sep 2014 00:54:52 +0000 (17:54 -0700)]
arm: omap: irq: drop omap2_intc_handle_irq()

that was just a no-op wrapper around omap_intc_handle_irq
anyway.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: drop omap3_intc_handle_irq()
Felipe Balbi [Tue, 9 Sep 2014 00:54:52 +0000 (17:54 -0700)]
arm: omap: irq: drop omap3_intc_handle_irq()

now that we're calling set_handle_irq() from
init_irq(), we can safely drop all callers to
omap3_intc_handle_irq() and its definition.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: call set_handle_irq() from .init_irq
Felipe Balbi [Tue, 9 Sep 2014 00:54:52 +0000 (17:54 -0700)]
arm: omap: irq: call set_handle_irq() from .init_irq

the idea is that board-files won't need to set
.handle_irq on their machine_descs, which lets
us drop a little more pointless code.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: move some more code around
Felipe Balbi [Tue, 9 Sep 2014 00:54:51 +0000 (17:54 -0700)]
arm: omap: irq: move some more code around

We want .init_irq to call set_irq_handle() for
legacy platforms. Note that this code will also
be dropped once omap2/3 devices are completely
moved to DT.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: boot: dts: omap2/3/am33xx: drop ti,intc-size
Felipe Balbi [Tue, 9 Sep 2014 00:54:49 +0000 (17:54 -0700)]
arm: boot: dts: omap2/3/am33xx: drop ti,intc-size

we are now infering number of IRQ lines based
on correct compatible flag, which renders this
binding completely useless.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: drop ti,intc-size support
Felipe Balbi [Tue, 9 Sep 2014 00:54:48 +0000 (17:54 -0700)]
arm: omap: irq: drop ti,intc-size support

we don't need that anymore since specific
devices are passing correct compatible flags.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: boot: dts: am33xx/omap3: fix intc compatible flag
Felipe Balbi [Tue, 9 Sep 2014 00:54:48 +0000 (17:54 -0700)]
arm: boot: dts: am33xx/omap3: fix intc compatible flag

that way, our intc driver can figure out how
many IRQ lines INTC has.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: use compatible flag to figure out number of IRQ lines
Felipe Balbi [Tue, 9 Sep 2014 00:54:47 +0000 (17:54 -0700)]
arm: omap: irq: use compatible flag to figure out number of IRQ lines

so far, only am33xx has 128 lines, all other devices
have only 96.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: add specific compatibles for omap3 and am33xx devices
Felipe Balbi [Tue, 9 Sep 2014 00:54:46 +0000 (17:54 -0700)]
arm: omap: irq: add specific compatibles for omap3 and am33xx devices

with this, we can use a compatible flag to figure
out how many irq lines are wired up, no need for
our TI-specific ti,intc-size binding.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: drop .handle_irq and .init_irq fields
Felipe Balbi [Tue, 9 Sep 2014 00:54:45 +0000 (17:54 -0700)]
arm: omap: irq: drop .handle_irq and .init_irq fields

now we can safely drop those fields from our machine_desc.

While at that, also drop the now unused omap_intc_of_init()
definition.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: use IRQCHIP_DECLARE macro
Felipe Balbi [Tue, 9 Sep 2014 00:54:43 +0000 (17:54 -0700)]
arm: omap: irq: use IRQCHIP_DECLARE macro

IRQCHIP_DECLARE macro is used to declare the same
of_device_id structure for irqchips, it's just
a helper. No functional changes.

Note that we're temporarily including irqchip.h
with its full path, until we move this driver
to drivers/irqchip/.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: call set_handle_irq() from intc_of_init
Felipe Balbi [Tue, 9 Sep 2014 00:54:43 +0000 (17:54 -0700)]
arm: omap: irq: call set_handle_irq() from intc_of_init

this will let us drop .handle_irq and .init_irq fields
from our generic machine_descs.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: make intc_of_init static
Felipe Balbi [Tue, 9 Sep 2014 00:54:43 +0000 (17:54 -0700)]
arm: omap: irq: make intc_of_init static

nobody uses that function outside of this file,
so we don't need to expose it.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: reorganize code a little bit
Felipe Balbi [Tue, 9 Sep 2014 00:54:42 +0000 (17:54 -0700)]
arm: omap: irq: reorganize code a little bit

no functional changes, just moving code around.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: always define omap3 support
Felipe Balbi [Tue, 9 Sep 2014 00:54:40 +0000 (17:54 -0700)]
arm: omap: irq: always define omap3 support

remove ifdef around omap3 INTC support. This
will make it easier to reuse code for PM.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: rename omap3_intc_regs
Felipe Balbi [Tue, 9 Sep 2014 00:54:38 +0000 (17:54 -0700)]
arm: omap: irq: rename omap3_intc_regs

just to make it clearer that it can
be used on all omaps.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: remove unnecessary base_addr argument
Felipe Balbi [Tue, 9 Sep 2014 00:54:37 +0000 (17:54 -0700)]
arm: omap: irq: remove unnecessary base_addr argument

omap_intc_handle_irq now had an unnecessary
base_addr argument. Let's remove it and fix
all callers.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: switch over to intc_readl on omap_intc_handle_irq
Felipe Balbi [Tue, 9 Sep 2014 00:54:37 +0000 (17:54 -0700)]
arm: omap: irq: switch over to intc_readl on omap_intc_handle_irq

an almost blind conversion from readl_relaxed
to our newly introduced intc_readl().

While at that, also remove some hardcoded
register addresses.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: remove unused macro
Felipe Balbi [Tue, 9 Sep 2014 00:54:37 +0000 (17:54 -0700)]
arm: omap: irq: remove unused macro

no functional changes.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: remove rest of irq_banks usage
Felipe Balbi [Tue, 9 Sep 2014 00:54:35 +0000 (17:54 -0700)]
arm: omap: irq: remove rest of irq_banks usage

now we can finally remove the pointless irq_banks
array.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: add a global omap_nr_irqs variable
Felipe Balbi [Tue, 9 Sep 2014 00:54:34 +0000 (17:54 -0700)]
arm: omap: irq: add a global omap_nr_irqs variable

this will cache number of irqs. Also in preparation
for removal of irq_banks array.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: start to remove irq_banks array
Felipe Balbi [Tue, 9 Sep 2014 00:54:32 +0000 (17:54 -0700)]
arm: omap: irq: start to remove irq_banks array

We have a single bank in that array, this patch
is in preparation to remove that array. It just
shifts everything to a new set of functions
for register IO while also removing old ones.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: define INTC_ILR0 register
Felipe Balbi [Tue, 9 Sep 2014 00:54:32 +0000 (17:54 -0700)]
arm: omap: irq: define INTC_ILR0 register

this is currently used as a hardcoded 0x100
offset.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: omap: irq: make omap_irq_base global
Felipe Balbi [Tue, 9 Sep 2014 00:54:31 +0000 (17:54 -0700)]
arm: omap: irq: make omap_irq_base global

This is in preparation for removing the pointless
irq_banks array.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: OMAP3+: Add PRM interrupt
Nishanth Menon [Fri, 22 Aug 2014 14:03:50 +0000 (09:03 -0500)]
ARM: dts: OMAP3+: Add PRM interrupt

Provide OMAP3, 4 and OMAP5 with interrupt number for PRM

And for DRA7, provide crossbar number for prm interrupt.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: omap: Remove stray ARCH_HAS_OPP references
Mark Brown [Sat, 6 Sep 2014 10:14:16 +0000 (11:14 +0100)]
ARM: omap: Remove stray ARCH_HAS_OPP references

OPP is now a normal kernel library selected by its users rather than a
feature that architectures need to enable so ARCH_HAS_OPP serves no
function any more - remove the selects.

Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: am335x-boneblack: Add names for remaining regulators
Mark Brown [Fri, 5 Sep 2014 21:12:05 +0000 (22:12 +0100)]
ARM: dts: am335x-boneblack: Add names for remaining regulators

Add regulator-name properties for the regulators that don't have them,
allowing the kernel to display the name from the schematic rather than
the name of the regulator on the PMIC in order to improve diagnostics.

Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>