Up to 76% off on watches

2014-05-23 Thread Linux
You will be the envy of the people at the office with your new watch http://blakematthews.ca/kgpytya.php -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH] gpio: mxs: implement get_direction callback

2014-11-17 Thread Russell King - ARM Linux
there > > irqs are unsigned. Some functions returning an irq use "int", but > > depending on who you ask this only for error reporting or a relict. > > Use 0 for invalid/unused in mctrl_gpio*. > > afaik, IRQ 0 is valid irq number. No. IRQ0 is not a valid IRQ nu

Re: [PATCH] gpio: mxs: implement get_direction callback

2014-11-17 Thread Russell King - ARM Linux
> >> Use 0 for invalid/unused in mctrl_gpio*. > > > > afaik, IRQ 0 is valid irq number. > Unfortunately, that's right. For instance on atmel processors, irq 0 > is often used. ... which means Atmel SoCs need fixing not to use IRQ0 as a valid interrupt. -- FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RFC 00/15] Resource tracking/allocation framework

2014-12-10 Thread Russell King - ARM Linux
400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RFC 00/15] Resource tracking/allocation framework

2014-12-10 Thread Russell King - ARM Linux
On Wed, Dec 10, 2014 at 06:23:49PM +0100, A H wrote: > 10 gru 2014 17:16 "Russell King - ARM Linux" > napisał(a): > > > > On Wed, Dec 10, 2014 at 04:48:18PM +0100, Andrzej Hajda wrote: > > > 3. There are drivers which can work without specific resource

Re: [RFC 04/15] regulator: add restrack support

2014-12-11 Thread Russell King - ARM Linux
T only. -- FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v5 1/3] gpio: Cygnus: define Broadcom Cygnus GPIO binding

2014-12-17 Thread Russell King - ARM Linux
I, and there's lots of users of it (eg, on Raspberry Pi platforms.) So changing it isn't going to be easy - I'd say that it's impractical. What you're suggesting would be like re-numbering Linux syscalls. -- FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kb

Re: [PATCH v3 5/8] gpio: Add Fujitsu MB86S7x GPIO driver

2015-01-09 Thread Russell King - ARM Linux
repare the clock. -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v5 1/3] gpio: Cygnus: define Broadcom Cygnus GPIO binding

2015-01-13 Thread Russell King - ARM Linux
On Tue, Jan 13, 2015 at 09:06:15AM +0100, Linus Walleij wrote: > On Wed, Dec 17, 2014 at 11:44 AM, Russell King - ARM Linux > wrote: > > On Wed, Dec 17, 2014 at 11:45:01AM +0900, Alexandre Courbot wrote: > >> Actually we are not that far from being able to do completely

Re: [PATCH 1/1] gpio: omap: Fix bad device access with setup_irq()

2015-01-17 Thread Russell King - ARM Linux
e, plain and simple. -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 05/14] ARM: call reset_controller_of_init from default time_init handler

2015-02-15 Thread Russell King - ARM Linux
ly at 10.5Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: configuration for nc pins without pull

2015-03-22 Thread Russell King - ARM Linux
TC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v3 10/15] serial: stm32-usart: Add STM32 USART Driver

2015-03-26 Thread Russell King - ARM Linux
t by enabling the clk */ > > + clk_prepare_enable(stm32port->clk); And remember to check the return value of clk_prepare_enable(). -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the l

Re: [PATCH v4 07/11] ARM: imx: add msl support for imx7d

2015-04-21 Thread Russell King - ARM Linux
= imx7d_init_irq, > + .init_machine = imx7d_init_machine, > + .dt_compat = imx7d_dt_compat, > + .restart= mxc_restart, > +MACHINE_END -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list:

Re: [PATCH v4 08/11] ARM: imx: add gpt system timer support for imx7d

2015-04-21 Thread Russell King - ARM Linux
I'm not expecting you to fix them - but it would be good to get this properly sorted out so that when iMX8 comes along, the same process doesn't happen again. -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v5 07/11] ARM: imx: add msl support for imx7d

2015-04-21 Thread Russell King - ARM Linux
on. > + * */ Something obviously went wrong here. -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org M

Re: [PATCH 0/3] GPIO support for BRCMSTB

2015-06-02 Thread Russell King - ARM Linux
o a stuck IRQ can be rather problematical. -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majo

Re: [PATCH 000/182] Rid struct gpio_chip from container_of() usage

2015-12-09 Thread Russell King - ARM Linux
st.net. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] ARM: sa1100: remove complex GPIO interface

2013-09-24 Thread Russell King - ARM Linux
#include > #include > - > +#include How many more times does it need to be said... I've been saying the same thing for near on five years now and still this happens... -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to maj

Re: [PATCH 2/2] ARM: pxa: delete the custom GPIO header

2013-11-15 Thread Russell King - ARM Linux
h, and now that it doesn't have that, it gets lots of build errors. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Warning masked by BUG() when CONFIG_BUG is enabled

2013-11-16 Thread Russell King - ARM Linux
ics. Find something else to attack. Just ensure you always have CONFIG_BUG enabled if you want a system which will produce some kind of report when one of these sites gets hit. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to ma

Re: [PATCH v5 3/7] gpio: davinci: use irqdomain

2013-11-18 Thread Russell King - ARM Linux
u8. u8 tells the compiler that you want the variable to be 8-bit, which seems fine, except the compiler is then at liberty to keep on masking the register back down to 8-bit. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 0/9] ARM: sa1100: Rework IRQ handling

2013-11-19 Thread Russell King - ARM Linux
sa11x0 GPIO driver better be around at that point otherwise things *will* fail. I suspect that means the SA11x0 GPIO driver must be initialised early. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 7/9] ARM: sa1100: move gpio irq handling to GPIO driver

2013-11-22 Thread Russell King - ARM Linux
n this case, it's quite simple. GRER and GFER need to be programmed with the interrupts which we want to be active for _each_ mode of the system. Therefore, if we want to have certain GPIOs triggering wakeups (iow, those GPIOs which have had enable_irq_wake() called on them) but not those which

Re: [PATCH 0/9] ARM: sa1100: Rework IRQ handling

2013-11-22 Thread Russell King - ARM Linux
On Wed, Nov 20, 2013 at 04:45:40AM +0400, Dmitry Eremin-Solenikov wrote: > On Wed, Nov 20, 2013 at 4:20 AM, Russell King - ARM Linux > wrote: > > Also note that we _do_ have sa11x0 platforms which request their GPIOs > > in their arch_initcall callback, so the sa11x0 GPI

Re: [PATCH 0/9] ARM: sa1100: Rework IRQ handling

2013-11-22 Thread Russell King - ARM Linux
On Fri, Nov 22, 2013 at 11:12:05PM +0400, Dmitry Eremin-Solenikov wrote: > On Fri, Nov 22, 2013 at 9:58 PM, Russell King - ARM Linux > wrote: > > On Wed, Nov 20, 2013 at 04:45:40AM +0400, Dmitry Eremin-Solenikov wrote: > >> On Wed, Nov 20, 2013 at 4:20 AM, Russell King -

Re: [PATCH 7/9] ARM: sa1100: move gpio irq handling to GPIO driver

2013-11-22 Thread Russell King - ARM Linux
On Fri, Nov 22, 2013 at 11:46:10PM +0400, Dmitry Eremin-Solenikov wrote: > Hello, > > On Fri, Nov 22, 2013 at 9:45 PM, Russell King - ARM Linux > wrote: > > Therefore, if we want to have certain GPIOs triggering wakeups (iow, > > those GPIOs which have had enable_irq_wa

Re: [PATCH 1/2] gpio: Add driver for AXM55xx SSP chip selects

2014-09-05 Thread Russell King - ARM Linux
list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 00/15] new locomo driver

2014-10-27 Thread Russell King - ARM Linux
On Tue, Oct 28, 2014 at 03:01:53AM +0300, Dmitry Eremin-Solenikov wrote: > Sharp Zaurus SL-5500 and SL-5600 use special companion Gate Array. Current > drivers present in Linux kernel has some problems: > > * It uses custom bus instead of platform bus/mfd core. I believe Greg would

Re: [PATCH 1/9] irq: add irq_set_chained_handler_and_data()

2015-06-17 Thread Russell King - ARM Linux
gt; trivial to change them to > > irq_set_chained_handler_and_data(irq, handler, NULL); > > and then remove irq_set_chained_handler() > > If thats ok for you, then i apply the lot you sent and run the cocci > scripts right at rc1. I have another set of transformations

Re: [PATCH 5/9] arm: twr-k70f120m: basic support for Kinetis TWR-K70F120M

2015-06-23 Thread Russell King - ARM Linux
t it in the defconfig? That doesn't work - defconfigs only provide the answers to _visible_ options. This option won't be visible. -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line &q

Re: [PATCH 3/9] arm: add call to CPU idle quirks handler

2015-06-26 Thread Russell King - ARM Linux
shouldn't go treating it as such. -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/2] gpio: dwapb: Use human understandable gpio numbering.

2015-07-03 Thread Russell King - ARM Linux
a dilution of terms, and we'd now be in need of a new term to describe the '.' at the end of a sentence because of this.) -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the lin

Re: [PATCH 0/3] gpiolib: Initializing GPIOs using DT property gpio-initval

2015-09-07 Thread Russell King - ARM Linux
e line: currently at 9.6Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] pinctrl: mvebu: armada-38x: add suspend/resume support

2015-10-17 Thread Russell King - ARM Linux
+ > + return 0; > +} > + > +int armada_38x_pinctrl_resume(struct platform_device *pdev) > +{ > + struct mvebu_pinctrl_soc_info *soc = platform_get_drvdata(pdev); Ditto. -- FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [GIT PULL] On-demand device probing

2015-10-19 Thread Russell King - ARM Linux
t;of_node is. Are we supposed to grope around in dev->of_node for the embedded fwnode instead of using dev->fwnode? At the moment, at least to me, fwnode looks like some kind of experimental half-baked thing rather than a real usable solution. -- FTTC broadband for 0.8mile line: currently a

Re: [PATCH] pinctrl: mvebu: armada-38x: add suspend/resume support

2015-10-19 Thread Russell King - ARM Linux
dev_err(&pdev->dev, "unable to alloc driver\n"); + return -ENOMEM; + } + + return mvebu_pinctrl_add(private); +} + int mvebu_pinctrl_remove(struct platform_device *pdev) { - struct mvebu_pinctrl *pctl = platform_get_drvdata(pdev); + void *privat

Re: [GIT PULL] On-demand device probing

2015-10-19 Thread Russell King - ARM Linux
cantly anyway, especially at the "standard" kernel logging level. > One more thing about the breakage we have seen so far is that it's > generally caused by implicit dependencies and hunting those is > probably the second biggest timesink of the linux embedded developer > after fai

Re: [GIT PULL] On-demand device probing

2015-10-19 Thread Russell King - ARM Linux
On Mon, Oct 19, 2015 at 04:10:56PM +0200, Tomeu Vizoso wrote: > On 19 October 2015 at 15:18, Russell King - ARM Linux > wrote: > > On Mon, Oct 19, 2015 at 02:34:22PM +0200, Tomeu Vizoso wrote: > >> ... If a device is available and has > >> a compatible driver, but

Re: [GIT PULL] On-demand device probing

2015-10-19 Thread Russell King - ARM Linux
On Mon, Oct 19, 2015 at 05:00:54PM +0200, Tomeu Vizoso wrote: > On 19 October 2015 at 16:30, Russell King - ARM Linux > wrote: > > I typically see one or two, maybe five maximum on the platforms I have > > here, but normally zero. > > Hmm, I have given a look at our l

Re: [GIT PULL] On-demand device probing

2015-10-19 Thread Russell King - ARM Linux
f the gpiod* interfaces where we _do_ need to use it (DT) harder and more hacky. -- FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [GIT PULL] On-demand device probing

2015-10-19 Thread Russell King - ARM Linux
On Mon, Oct 19, 2015 at 06:21:40PM +0200, Geert Uytterhoeven wrote: > Hi Russell, > > On Mon, Oct 19, 2015 at 5:35 PM, Russell King - ARM Linux > wrote: > >> > What you can do is print those devices which have failed to probe at > >> > late_initcall() time - p

Re: [GIT PULL] On-demand device probing

2015-10-19 Thread Russell King - ARM Linux
On Mon, Oct 19, 2015 at 08:27:44PM +0200, Uwe Kleine-König wrote: > Hello, > > On Mon, Oct 19, 2015 at 04:43:24PM +0100, Russell King - ARM Linux wrote: > > It's a bit ironic that you've chosen GPIO as an example there. The > > "new" GPIO API (the gpiod_

Re: Alternative approach to solve the deferred probe (was: [GIT PULL] On-demand device probing)

2015-10-20 Thread Russell King - ARM Linux
On Mon, Oct 19, 2015 at 06:21:40PM +0200, Geert Uytterhoeven wrote: > Hi Russell, > > On Mon, Oct 19, 2015 at 5:35 PM, Russell King - ARM Linux > wrote: > >> > What you can do is print those devices which have failed to probe at > >> > late_initcall() time - p

Re: Alternative approach to solve the deferred probe

2015-10-21 Thread Russell King - ARM Linux
On Tue, Oct 20, 2015 at 08:58:19PM -0700, Frank Rowand wrote: > On 10/20/2015 8:46 AM, Russell King - ARM Linux wrote: > > On Mon, Oct 19, 2015 at 06:21:40PM +0200, Geert Uytterhoeven wrote: > >> Hi Russell, > >> > >> On Mon, Oct 19, 2015 at 5:35 PM,

Re: Alternative approach to solve the deferred probe

2015-10-21 Thread Russell King - ARM Linux
means people having to spend a long time adding lots of printks to the kernel at lots of -EPROBE_DEFER returning sites or in the relevant drivers, tracing through the code back towards the -EPROBE_DEFER sites to try and track it down. -- FTTC broadband for 0.8mile line: currently at 9.6Mbps d

Re: Alternative approach to solve the deferred probe

2015-10-21 Thread Russell King - ARM Linux
not devices for which their drivers are modules. -- FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Alternative approach to solve the deferred probe

2015-10-21 Thread Russell King - ARM Linux
On Wed, Oct 21, 2015 at 08:36:23AM -0700, Frank Rowand wrote: > On 10/21/2015 1:18 AM, Russell King - ARM Linux wrote: > > On Tue, Oct 20, 2015 at 08:58:19PM -0700, Frank Rowand wrote: > >> On 10/20/2015 8:46 AM, Russell King - ARM Linux wrote: > > < snip >

Re: [GIT PULL] On-demand device probing

2015-10-22 Thread Russell King - ARM Linux
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html