Re: [PATCH 3/4] pinctrl: remove slew-rate parameter from tz1090

2013-06-25 Thread James Hogan
Hi Heiko, On 25/06/13 13:56, Heiko Stübner wrote: As the binding for slew-rate is under discussion and seems to need more tought it will get removed for now, so it doesn't get an offical s/tought/thought/ s/offical/official/ release. Therefore remove it again from the only current user,

Re: [PATCH 0/4] Fix more issues with generic pinconf bindings

2013-06-25 Thread James Hogan
don't mind too much, it can easily be added back again in the future): Reviewed-by: James Hogan james.ho...@imgtec.com Cheers James ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree

Re: [PATCH 3/4] pinctrl: remove slew-rate parameter from tz1090

2013-06-25 Thread James Hogan
On 25/06/13 14:21, Heiko Stübner wrote: Am Dienstag, 25. Juni 2013, 15:05:05 schrieb James Hogan: Hi Heiko, On 25/06/13 13:56, Heiko Stübner wrote: As the binding for slew-rate is under discussion and seems to need more tought it will get removed for now, so it doesn't get an offical s

Re: [PATCH 3/4] pinctrl: remove slew-rate parameter from tz1090

2013-06-25 Thread James Hogan
On 25/06/13 14:32, Linus Walleij wrote: On Tue, Jun 25, 2013 at 3:27 PM, James Hogan james.ho...@imgtec.com wrote: On 25/06/13 14:21, Heiko Stübner wrote: My thoughts were that this code would never be reached when the parsing was removed and to not cause confusion to the driver when

[PATCH v4 1/3] gpio-tz1090: add TZ1090 gpio driver

2013-06-25 Thread James Hogan
Add a GPIO driver for the main GPIOs found in the TZ1090 (Comet) SoC. This doesn't include low-power GPIOs as they're controlled separately via the Powerdown Controller (PDC) registers. The driver is instantiated by device tree and supports interrupts for all GPIOs. Signed-off-by: James Hogan

[PATCH v4 2/3] gpio-tz1090-pdc: add TZ1090 PDC gpio driver

2013-06-25 Thread James Hogan
Add a GPIO driver for the low-power Powerdown Controller GPIOs in the TZ1090 SoC. The driver is instantiated by device tree and supports interrupts for the SysWake GPIOs only. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring rob.herr

[PATCH v4 0/3] Add TZ1090 pinctrl/gpio drivers

2013-06-25 Thread James Hogan
...@calxeda.com Cc: Rob Landley r...@landley.net Cc: devicetree-discuss@lists.ozlabs.org Cc: linux-...@vger.kernel.org James Hogan (3): gpio-tz1090: add TZ1090 gpio driver gpio-tz1090-pdc: add TZ1090 PDC gpio driver gpio-tz1090: convert to use generic irqchip .../devicetree/bindings/gpio/gpio

Re: [PATCH 3/4] pinctrl: remove slew-rate parameter from tz1090

2013-06-25 Thread James Hogan
On 25/06/13 14:22, Linus Walleij wrote: Can't we just try to come up with a patch that nails down the meaning of slew rate in some meaningful manner then? So according to: http://en.wikipedia.org/wiki/Slew_rate a proper expression for slew rate would be dV/dt i.e. something like microvolts

Re: [PATCH v3 2/4] gpio-tz1090: add TZ1090 gpio driver

2013-06-24 Thread James Hogan
On 24/06/13 14:34, Grant Likely wrote: On Thu, 20 Jun 2013 10:26:28 +0100, James Hogan james.ho...@imgtec.com wrote: diff --git a/Documentation/devicetree/bindings/gpio/gpio-tz1090.txt b/Documentation/devicetree/bindings/gpio/gpio-tz1090.txt new file mode 100644 index 000..e017d4b

Re: [PATCH v3 2/4] gpio-tz1090: add TZ1090 gpio driver

2013-06-24 Thread James Hogan
On 24/06/13 15:48, James Hogan wrote: On 24/06/13 14:34, Grant Likely wrote: Similarly, can this driver use the generic irq chip to eliminate the above hooks? hmm, I could probably get away with it for irq callbacks since a bank's IRQ cannot be shared with non-Linux threads/cores. I just

Re: [PATCH v3 1/4] pinctrl-tz1090: add TZ1090 pinctrl driver

2013-06-24 Thread James Hogan
On 24/06/13 16:04, Linus Walleij wrote: On Thu, Jun 20, 2013 at 11:26 AM, James Hogan james.ho...@imgtec.com wrote: Add a pin control driver for the main pins on the TZ1090 SoC. This doesn't include the low-power pins as they're controlled separately via the Powerdown Controller (PDC

Re: [PATCH] of: Specify initrd location using 64-bit

2013-06-21 Thread James Hogan
...@redhat.com Cc: Aurelien Jacquiot a-jacqu...@ti.com Cc: James Hogan james.ho...@imgtec.com Cc: Michal Simek mon...@monstr.eu Cc: Ralf Baechle r...@linux-mips.org Cc: Jonas Bonn jo...@southpole.se Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Paul Mackerras pau...@samba.org Cc: x

[PATCH v3 2/4] gpio-tz1090: add TZ1090 gpio driver

2013-06-20 Thread James Hogan
Add a GPIO driver for the main GPIOs found in the TZ1090 (Comet) SoC. This doesn't include low-power GPIOs as they're controlled separately via the Powerdown Controller (PDC) registers. The driver is instantiated by device tree and supports interrupts for all GPIOs. Signed-off-by: James Hogan

[PATCH v3 3/4] pinctrl-tz1090-pdc: add TZ1090 PDC pinctrl driver

2013-06-20 Thread James Hogan
onto the ir_mod_stable_out and ir_mod_power_out functions respectively. If no function is set they remain in GPIO mode. These muxes can be overridden by requesting them as GPIOs. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring rob.herr

[PATCH v3 0/4] Add TZ1090 pinctrl/gpio drivers

2013-06-20 Thread James Hogan
...@calxeda.com Cc: Rob Landley r...@landley.net Cc: devicetree-discuss@lists.ozlabs.org Cc: linux-...@vger.kernel.org James Hogan (4): pinctrl-tz1090: add TZ1090 pinctrl driver gpio-tz1090: add TZ1090 gpio driver pinctrl-tz1090-pdc: add TZ1090 PDC pinctrl driver gpio-tz1090-pdc: add TZ1090 PDC

[PATCH v3 4/4] gpio-tz1090-pdc: add TZ1090 PDC gpio driver

2013-06-20 Thread James Hogan
Add a GPIO driver for the low-power Powerdown Controller GPIOs in the TZ1090 SoC. The driver is instantiated by device tree and supports interrupts for the SysWake GPIOs only. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring rob.herr

[PATCH 2/7] metag: *.dts: include using preprocessor

2013-06-20 Thread James Hogan
Include *.dtsi files from *.dts using the preprocessor to set a good example for future device tree files. Files included in the old way don't get pre-processed. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: devicetree-discuss@lists.ozlabs.org --- arch/metag/boot/dts/skeleton.dts

[PATCH 1/7] metag: add dt-bindings/ symlink

2013-06-20 Thread James Hogan
for DT bindings) merged in v3.10-rc1. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Stephen Warren swar...@nvidia.com Cc: Michal Marek mma...@suse.cz Cc: Shawn Guo shawn@linaro.org Cc: Rob Herring rob.herr...@calxeda.com Cc: linux-kbu...@vger.kernel.org Cc: devicetree-discuss

Re: [PATCH v7 0/3] SH pinctrl DT support

2013-06-20 Thread James Hogan
On 18/06/13 10:05, Linus Walleij wrote: On Tue, Jun 18, 2013 at 10:51 AM, James Hogan james.ho...@imgtec.com wrote: Should we be standardizing the pins/groups/function properties too, since the strings are pretty much passed straight through? The usage seems pretty similar between

[PATCH v3] irq-imgpdc: add ImgTec PDC irqchip driver

2013-06-19 Thread James Hogan
. It also handles the set_wake interrupt operation to enable/disable the appropriate wake event bits. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: Rob Landley r...@landley.net Cc: Thomas Gleixner t

Re: [PATCH v7 0/3] SH pinctrl DT support

2013-06-18 Thread James Hogan
On 18/06/13 09:05, Linus Walleij wrote: On Mon, Jun 17, 2013 at 8:50 PM, Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com wrote: Hello, Here's the seventh (and hopefully final) version of the SuperH and SH Mobile pin controllers (PFC) DT support patch set. The patches have been

Re: [PATCH 0/5] pinctrl: fix some issues with new pinconfig dt parsing

2013-06-14 Thread James Hogan
for some pinconfig params pinctrl: clarify some dt pinconfig options pinctrl: handle zero found dt pinconfig properties better pinctrl: dynamically alloc temp array when parsing dt pinconf options patches 1-4: Reviewed-by: James Hogan james.ho...@imgtec.com Cheers James pinctrl: rockchip

[PATCH 01/10] metag: init common clk and use core clk

2013-06-13 Thread James Hogan
). If found the get_core_freq machine callback is overridden to obtain the core clock frequency using that clock. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Mike Turquette mturque...@linaro.org Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring rob.herr...@calxeda.com Cc: devicetree

[PATCH 00/10] metag: various patches for v3.11

2013-06-13 Thread James Hogan
. These are followed by various fixes from Markos (mostly sparse related). James Hogan (2): metag: init common clk and use core clk metag: log core and timer frequencies from arch code Markos Chandras (8): metag/kernel/irq.c: Declare root_domain as static metag/asm/irq.h: Declare init_IRQ metag

Re: [PATCH v2 1/9] metag: of_platform_populate from arch generic code

2013-06-13 Thread James Hogan
On 24/05/13 17:21, James Hogan wrote: If no init_machine callback is provided, call of_platform_populate() instead. This allows a board/SoC that only needs to call of_platform_populate to omit the callback altogether. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Grant Likely

Re: [PATCH v2 2/9] metag: minimal TZ1090 (Comet) SoC infrastructure

2013-06-13 Thread James Hogan
On 24/05/13 17:21, James Hogan wrote: Add really minimal support for Toumaz Xenif TZ1090 SoC (A.K.A. Comet). This consists of minimal build infrastructure, device tree files, and a defconfig based on meta2_defconfig. This SoC contains a 2-threaded HTP (Meta 2) as the main application

Re: [RFC] pinctrl: generic: Add DT bindings

2013-06-12 Thread James Hogan
On 11/06/13 23:03, Laurent Pinchart wrote: Document DT properties for the generic pinctrl parameters and add a parser function. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- .../bindings/pinctrl/pinctrl-bindings.txt | 29 +++

Re: [PATCH v2 9/9] gpio-tz1090-pdc: add TZ1090 PDC gpio driver

2013-05-31 Thread James Hogan
On 29/05/13 17:12, James Hogan wrote: On 29/05/13 16:38, Linus Walleij wrote: On Fri, May 24, 2013 at 6:21 PM, James Hogan james.ho...@imgtec.com wrote: +Optional properties: +- gpio-ranges: Mapping to pin controller pins + +- interrupts: Individual syswake interrupts (other GPIOs cannot

Re: [PATCH v2 7/9] gpio-tz1090: add TZ1090 gpio driver

2013-05-29 Thread James Hogan
On 29/05/13 16:32, Linus Walleij wrote: On Fri, May 24, 2013 at 6:21 PM, James Hogan james.ho...@imgtec.com wrote: Add a GPIO driver for the main GPIOs found in the TZ1090 (Comet) SoC. This doesn't include low-power GPIOs as they're controlled separately via the Powerdown Controller (PDC

Re: [PATCH v2 9/9] gpio-tz1090-pdc: add TZ1090 PDC gpio driver

2013-05-29 Thread James Hogan
On 29/05/13 16:38, Linus Walleij wrote: On Fri, May 24, 2013 at 6:21 PM, James Hogan james.ho...@imgtec.com wrote: +Optional properties: +- gpio-ranges: Mapping to pin controller pins + +- interrupts: Individual syswake interrupts (other GPIOs cannot interrupt) + + +Example

[PATCH v2 0/9] Add some TZ1090 SoC infrastructure

2013-05-24 Thread James Hogan
...@landley.net Cc: Thomas Gleixner t...@linutronix.de Cc: devicetree-discuss@lists.ozlabs.org Cc: linux-...@vger.kernel.org James Hogan (9): metag: of_platform_populate from arch generic code metag: minimal TZ1090 (Comet) SoC infrastructure irq-imgpdc: add ImgTec PDC irqchip driver pinconf-generic

[PATCH v2 1/9] metag: of_platform_populate from arch generic code

2013-05-24 Thread James Hogan
If no init_machine callback is provided, call of_platform_populate() instead. This allows a board/SoC that only needs to call of_platform_populate to omit the callback altogether. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr

[PATCH v2 3/9] irq-imgpdc: add ImgTec PDC irqchip driver

2013-05-24 Thread James Hogan
. It also handles the set_wake interrupt operation to enable/disable the appropriate wake event bits. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: Rob Landley r...@landley.net Cc: Thomas Gleixner t

[PATCH v2 2/9] metag: minimal TZ1090 (Comet) SoC infrastructure

2013-05-24 Thread James Hogan
boards and digital radios, such as the Minimorph Development Platform. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: Rob Landley r...@landley.net Cc: Arnd Bergmann a...@arndb.de Cc: linux-...@vger.kernel.org

[PATCH v2 8/9] pinctrl-tz1090-pdc: add TZ1090 PDC pinctrl driver

2013-05-24 Thread James Hogan
onto the ir_mod_stable_out and ir_mod_power_out functions respectively. If no function is set they remain in GPIO mode. These muxes can be overridden by requesting them as GPIOs. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr

[PATCH v2 9/9] gpio-tz1090-pdc: add TZ1090 PDC gpio driver

2013-05-24 Thread James Hogan
Add a GPIO driver for the low-power Powerdown Controller GPIOs in the TZ1090 SoC. The driver is instantiated by device tree and supports interrupts for the SysWake GPIOs only. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr

Re: [PATCH RFC 0/2] clk: add metag specific gate/mux clocks

2013-05-17 Thread James Hogan
On 16/05/13 23:22, Stephen Boyd wrote: On 05/16/13 02:56, James Hogan wrote: On 15/05/13 23:31, Stephen Boyd wrote: Can you please Cc the devicetree mailing list when proposing new bindings? Erm, I think it was on Cc (devicetree-discuss@lists.ozlabs.org yeh?) I added them in my reply. Ah

Re: [PATCH 5/8] pinctrl-tz1090: add TZ1090 pinctrl driver

2013-05-16 Thread James Hogan
Hi Linus, On 15/05/13 20:07, Linus Walleij wrote: On Tue, May 14, 2013 at 2:22 PM, James Hogan james.ho...@imgtec.com wrote: I think that's the other way around, i.e. that's talking about mapping several pingroups to the same function. The next paragraph is closer to the problem

Re: [PATCH RFC 0/2] clk: add metag specific gate/mux clocks

2013-05-16 Thread James Hogan
On 15/05/13 23:31, Stephen Boyd wrote: On 05/10/13 08:02, James Hogan wrote: This adds a metag architecture specific clk-gate and clk-mux which extends the generic ones to use global lock2 to protect the register fields. It is common with metag to have an RTOS running on a different thread

Re: [PATCH 5/8] pinctrl-tz1090: add TZ1090 pinctrl driver

2013-05-14 Thread James Hogan
On 14/05/13 12:52, Linus Walleij wrote: On Fri, May 3, 2013 at 5:06 PM, James Hogan james.ho...@imgtec.com wrote: [me] Thus this part of the problem (poking that select bit) should be handled by the pinmux part of the driver. The pinconf part does not need to know about it. Okay, so how

[PATCH] clk: add specified-rate clock

2013-05-10 Thread James Hogan
to handle this. It behaves similar to a fixed rate clock (read-only), except it needs information about a register field (reg, shift, width), and the clock-frequency is a mapping from register field values to clock frequencies. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Mike Turquette

[PATCH] serial: 8250_dw: set clock rate

2013-05-09 Thread James Hogan
(which is the default behaviour of the generic clk-divider), the 8250 core won't allow the highest baud rate to be used, so if an explicit frequency is specified we always report that to the 8250 core. The device tree bindings document is also updated accordingly. Signed-off-by: James Hogan

Re: [PATCH 6/8] gpio-tz1090: add TZ1090 gpio driver

2013-05-03 Thread James Hogan
Hi Linus, On 03/05/13 09:49, Linus Walleij wrote: On Fri, Apr 26, 2013 at 11:22 AM, James Hogan james.ho...@imgtec.com wrote: So basically a bunch of global registers (e.g. pinctrl and gpio) are shared between all 3 cores (up to 4 OSes). The __global_lock2 should do all that is required

Re: [PATCH 5/8] pinctrl-tz1090: add TZ1090 pinctrl driver

2013-05-03 Thread James Hogan
Hi Linus, On 03/05/13 10:13, Linus Walleij wrote: On Fri, Apr 26, 2013 at 1:54 PM, James Hogan james.ho...@imgtec.com wrote: On 25/04/13 23:39, Linus Walleij wrote: On Tue, Apr 23, 2013 at 4:33 PM, James Hogan james.ho...@imgtec.com wrote: +static const struct cfg_param { + const char

Re: [PATCH 5/8] pinctrl-tz1090: add TZ1090 pinctrl driver

2013-05-03 Thread James Hogan
Hi Linus, On 03/05/13 14:03, Linus Walleij wrote: On Fri, May 3, 2013 at 2:23 PM, James Hogan james.ho...@imgtec.com wrote: [Me] If what you need is to set the pin into GPIO mode to drive it to some default state then from pinconf-generic.h you should use one of the existing defines like

Re: [PATCH 6/8] gpio-tz1090: add TZ1090 gpio driver

2013-04-26 Thread James Hogan
Hi Linus, Thanks for reviewing these patches. On 26/04/13 00:01, Linus Walleij wrote: On Tue, Apr 23, 2013 at 4:33 PM, James Hogan james.ho...@imgtec.com wrote: Add a GPIO driver for the main GPIOs found in the TZ1090 (Comet) SoC. This doesn't include low-power GPIOs as they're controlled

Re: [PATCH 5/8] pinctrl-tz1090: add TZ1090 pinctrl driver

2013-04-26 Thread James Hogan
Hi Linus, On 25/04/13 23:39, Linus Walleij wrote: On Tue, Apr 23, 2013 at 4:33 PM, James Hogan james.ho...@imgtec.com wrote: Add a pin control driver for the main pins on the TZ1090 SoC. This doesn't include the low-power pins as they're controlled separately via the Powerdown Controller

Re: [PATCH 3/8] irq-imgpdc: add ImgTec PDC irqchip driver

2013-04-25 Thread James Hogan
Hi Thomas, On 23/04/13 16:09, Thomas Gleixner wrote: On Tue, 23 Apr 2013, James Hogan wrote: +pdc_write(priv, PDC_IRQ_ROUTE, irq_route); +spin_unlock_irqrestore(priv-lock, flags); +} + +static void perip_irq_unmask(struct irq_data *data) +{ +struct pdc_intc_priv *priv

Re: [PATCH 2/8] metag: minimal TZ1090 (Comet) SoC infrastructure

2013-04-25 Thread James Hogan
On 24/04/13 15:51, James Hogan wrote: On 24/04/13 14:26, Catalin Marinas wrote: On 23 April 2013 17:06, James Hogan james.ho...@imgtec.com wrote: It's certainly heading in that direction a lot. For this patchset I could get away with dropping arch/metag/soc/*, and deal with anything

Re: [PATCH 3/8] irq-imgpdc: add ImgTec PDC irqchip driver

2013-04-24 Thread James Hogan
Thanks for the review Thomas! On 23/04/13 16:09, Thomas Gleixner wrote: On Tue, 23 Apr 2013, James Hogan wrote: +/** + * struct pdc_intc_priv - private pdc interrupt data. + * @nr_perips: Number of peripheral interrupt signals. + * @nr_syswakes:Number of syswake signals

Re: [PATCH 2/8] metag: minimal TZ1090 (Comet) SoC infrastructure

2013-04-24 Thread James Hogan
On 24/04/13 14:26, Catalin Marinas wrote: On 23 April 2013 17:06, James Hogan james.ho...@imgtec.com wrote: On 23/04/13 16:25, Arnd Bergmann wrote: On Tuesday 23 April 2013, James Hogan wrote: @@ -46,6 +46,12 @@ core-y+= arch/metag/boot/dts/ core-y

[PATCH 4/8] metag: tz1090: add asm/soc-tz1090/gpio.h

2013-04-23 Thread James Hogan
Add asm/soc-tz1090/gpio.h with definitions to number all the GPIOs available on-chip. This is for use by the pinctrl and GPIO drivers. Signed-off-by: James Hogan james.ho...@imgtec.com --- arch/metag/include/asm/soc-tz1090/gpio.h | 121 +++ 1 file changed, 121

[PATCH 2/8] metag: minimal TZ1090 (Comet) SoC infrastructure

2013-04-23 Thread James Hogan
in a number of development boards and digital radios, such as the Minimorph Development Platform. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: Rob Landley r...@landley.net Cc: Arnd Bergmann a...@arndb.de Cc

[PATCH 0/8] Add some TZ1090 SoC infrastructure

2013-04-23 Thread James Hogan
(at least the first two patches) so all review is very much appreciated. Cc: Arnd Bergmann a...@arndb.de Cc: Thomas Gleixner t...@linutronix.de James Hogan (8): metag: of_platform_populate from arch generic code metag: minimal TZ1090 (Comet) SoC infrastructure irq-imgpdc: add ImgTec PDC irqchip

[PATCH 1/8] metag: of_platform_populate from arch generic code

2013-04-23 Thread James Hogan
If no init_machine callback is provided, call of_platform_populate() instead. This allows a board/SoC that only needs to call of_platform_populate to omit the callback altogether. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr

[PATCH 8/8] gpio-tz1090pdc: add TZ1090 PDC gpio driver

2013-04-23 Thread James Hogan
Add a GPIO driver for the low-power Powerdown Controller GPIOs in the TZ1090 SoC. The driver is instantiated by device tree and supports interrupts for the SysWake GPIOs only. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr

[PATCH 7/8] pinctrl-tz1090-pdc: add TZ1090 PDC pinctrl driver

2013-04-23 Thread James Hogan
onto the ir_mod_stable_out and ir_mod_power_out functions respectively. If no function is set they remain in GPIO mode. These muxes can be overridden by requesting them as GPIOs. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr

[PATCH 3/8] irq-imgpdc: add ImgTec PDC irqchip driver

2013-04-23 Thread James Hogan
. It also handles the set_wake interrupt operation to enable/disable the appropriate wake event bits. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: Rob Landley r...@landley.net Cc: Thomas Gleixner t

[PATCH 6/8] gpio-tz1090: add TZ1090 gpio driver

2013-04-23 Thread James Hogan
Add a GPIO driver for the main GPIOs found in the TZ1090 (Comet) SoC. This doesn't include low-power GPIOs as they're controlled separately via the Powerdown Controller (PDC) registers. The driver is instantiated by device tree and supports interrupts for all GPIOs. Signed-off-by: James Hogan

Re: [PATCH 2/8] metag: minimal TZ1090 (Comet) SoC infrastructure

2013-04-23 Thread James Hogan
Thanks for reviewing Arnd. On 23/04/13 16:25, Arnd Bergmann wrote: On Tuesday 23 April 2013, James Hogan wrote: @@ -46,6 +46,12 @@ core-y+= arch/metag/boot/dts/ core-y += arch/metag/kernel/ core-y

Re: Heads up on a device tree change

2013-02-07 Thread James Hogan
On 06/02/13 14:28, Grant Likely wrote: On Wed, Feb 6, 2013 at 1:32 PM, James Hogan james.ho...@imgtec.com wrote: On 06/02/13 13:11, Grant Likely wrote: - Resources on platform_devices get registered so they appear in /proc/iomem and /proc/ioports and so that device drivers get the added

Re: Heads up on a device tree change

2013-02-06 Thread James Hogan
On 06/02/13 13:11, Grant Likely wrote: Hi Stephen, I've just pushed out a change which cleans up platform device registration to use the same path whether or not the device tree is used. It should be safe, but there is a risk of breakage on powerpc platforms. The patch has two effects of

Re: [PATCH v4 32/71] ARC: [DeviceTree] Basic support

2013-01-30 Thread James Hogan
-by: James Hogan james.ho...@imgtec.com ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

Re: [PATCH v3 32/71] ARC: [DeviceTree] Basic support

2013-01-29 Thread James Hogan
Hi Vineet, arm64 also adds dtbs and $(dtb-y) to targets (at least in linux-next). I think this makes sure that they don't get rebuilt unless they've actually changed. I've also copied this for metag. Did you verify that it makes a difference - at least at my end it's not - the default dtb

[PATCH v4 19/43] metag: Device tree

2013-01-29 Thread James Hogan
Add device tree files to arch/metag. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: devicetree-discuss@lists.ozlabs.org Cc: Sam Ravnborg s...@ravnborg.org --- v4: * move dtb directory into dts and use

Re: [PATCH v3 32/71] ARC: [DeviceTree] Basic support

2013-01-28 Thread James Hogan
Hi Vineet, On 24/01/13 10:50, Vineet Gupta wrote: diff --git a/arch/arc/Makefile b/arch/arc/Makefile index 4d52a3b..90570f9 100644 --- a/arch/arc/Makefile +++ b/arch/arc/Makefile @@ -83,6 +83,9 @@ head-y := arch/arc/kernel/head.o # See arch/arc/Kbuild for content of core part

[PATCH v3 24/44] metag: Internal and external irqchips

2013-01-10 Thread James Hogan
trigger for the current thread. This is demultiplexed in irq-meta-ext.c to individual Linux IRQs for each external SoC interrupt. The external irqchip has devicetree bindings for configuring the number of irq banks and the type of masking available. Signed-off-by: James Hogan james.ho...@imgtec.com

Re: [PATCH v2 06/44] of/vendor-prefixes: add Imagination Technologies

2012-12-06 Thread James Hogan
On 05/12/12 22:28, Grant Likely wrote: On Wed, 5 Dec 2012 16:08:24 +, James Hogan james.ho...@imgtec.com wrote: The powervr prefix which is currently described as Imagination Technologies isn't really appropriate for non-PowerVR hardware, so deprecate it, changing the description

[PATCH v2 06/44] of/vendor-prefixes: add Imagination Technologies

2012-12-05 Thread James Hogan
-by: James Hogan james.ho...@imgtec.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: Rob Landley r...@landley.net Cc: devicetree-discuss@lists.ozlabs.org --- .../devicetree/bindings/vendor-prefixes.txt|3 ++- 1 files changed, 2 insertions(+), 1

[RFC PATCH v1 06/40] of/vendor-prefixes: add Imagination Technologies

2012-11-04 Thread James Hogan
The powervr prefix which is currently described as Imagination Technologies isn't really appropriate for non-PowerVR hardware, so change the description of powervr to PowerVR (Imagination Technologies Ltd.), and add a separate img prefix for Imagination Technologies Ltd.. Signed-off-by: James

Re: [RFC PATCH v1 06/40] of/vendor-prefixes: add Imagination Technologies

2012-11-04 Thread James Hogan
On 01/11/12 01:38, Rob Herring wrote: On 10/31/2012 11:13 AM, James Hogan wrote: @@ -34,7 +35,7 @@ nintendo Nintendo nvidia NVIDIA nxp NXP Semiconductors picochipPicochip Ltd -powervr Imagination Technologies +powervr PowerVR (Imagination Technologies Ltd.) Perhaps