Re: [PATCH 12/22] mfd: sta2x11: drop unused MODULE_ tags from non-modular code

2018-12-04 Thread Davide Ciminaghi
On Mon, Dec 03, 2018 at 10:07:56AM -0500, Paul Gortmaker wrote: > [Re: [PATCH 12/22] mfd: sta2x11: drop unused MODULE_ tags from non-modular > code] On 03/12/2018 (Mon 11:14) Lee Jones wrote: > > > On Sun, 02 Dec 2018, Paul Gortmaker wrote: > > . > > Looking in git history, I was able to

Re: [PATCH 12/22] mfd: sta2x11: drop unused MODULE_ tags from non-modular code

2018-12-04 Thread Davide Ciminaghi
On Mon, Dec 03, 2018 at 10:07:56AM -0500, Paul Gortmaker wrote: > [Re: [PATCH 12/22] mfd: sta2x11: drop unused MODULE_ tags from non-modular > code] On 03/12/2018 (Mon 11:14) Lee Jones wrote: > > > On Sun, 02 Dec 2018, Paul Gortmaker wrote: > > . > > Looking in git history, I was able to

[PATCH 12/26] x86 kernel apic: notify MSI irqdomain(s) on etup/teardown of MSI IRQs

2013-08-07 Thread Davide Ciminaghi
Ciminaghi Acked-by: Giancarlo Asnaghi --- arch/x86/kernel/apic/io_apic.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index 9ed796c..65db413 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel

[PATCH 09/26] kernel irqdomain: export irq_domain_disassociate()

2013-08-07 Thread Davide Ciminaghi
for each msi controller and adding irqs to such domain in native_setup_msi_irqs() via irq_domain_associate() looked like the simplest and safest solution to the problem, but then of course irq_domain_disassociate() must be called by native_teardown_msi_irq(). Signed-off-by: Davide Ciminaghi Acked

[PATCH 22/26] AMBA: pci-amba bridge: extend number of amba devs per pci device

2013-08-07 Thread Davide Ciminaghi
BAR (former mfd device) and multiple devices on multiple PCI BARs (6 msp ports, 2 ports per PCI BAR). Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- drivers/amba/pci-amba.c | 152 +-- 1 files changed, 121 insertions(+), 31 deletions

[PATCH 18/26] x86 STA2X11 platform: add a common probe function for platform devices

2013-08-07 Thread Davide Ciminaghi
is allocated, filled in, and "linked" to the struct sta2x11_instance_data representing the instance to which the probed device belongs. Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- arch/x86/include/asm/sta2x11.h |9 + arch/x86/platform/sta2x11/sta2x1

[PATCH 16/26] x86 STA2X11 platform: add sta2x11_platform_init()

2013-08-07 Thread Davide Ciminaghi
regs, sctl). Finally, of_match_tables are added to the four struct platform_driver. Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- arch/x86/include/asm/sta2x11.h | 17 +- arch/x86/platform/sta2x11/sta2x11.c | 111 ++- 2 files ch

[PATCH 17/26] x86 STA2X11 platform: add sta2x11_instance_data helpers

2013-08-07 Thread Davide Ciminaghi
This patch adds functions to get a pointer to a sta2x11 instance data structure given a pointer to a connext device or device node. Such helpers will be used by the (now empty) common probe function, and maybe by the common clock framework. Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo

[PATCH 19/26] x86 STA2X11 platform: create sta2x11-clock-regs device

2013-08-07 Thread Davide Ciminaghi
This patch creates a virtual platform device each time the apb-soc-regs and sctl devices have been probed for a given sta2x11 instance. This will trigger clock registration for such instance. Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- arch/x86/include/asm/sta2x11.h

[PATCH 13/26] drivers/amba/pci-amba.c: use devicetree for amba device creation.

2013-08-07 Thread Davide Ciminaghi
for each pci express endpoint). A pci-amba bridge node contains an amba bus and all the pci side parts of the pci-amba devices attached to the same pci express endpoint. Finally, each child node of the amba bus represents the amba side of a pci-amba device. Signed-off-by: Davide Ciminaghi Acked

[PATCH 21/26] AMBA: pci-amba bridge: improve code readability

2013-08-07 Thread Davide Ciminaghi
This patch moves the code fixing up irq numbers for amba devices to a separate function (fixup_amba_irqs()). Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- drivers/amba/pci-amba.c | 97 +- 1 files changed, 53 insertions(+), 44

[PATCH 20/26] x86 STA2X11 platform: remove useless pr_info()'s

2013-08-07 Thread Davide Ciminaghi
Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- arch/x86/platform/sta2x11/sta2x11.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/x86/platform/sta2x11/sta2x11.c b/arch/x86/platform/sta2x11/sta2x11.c index 57ed10d..b3e9cec 100644 --- a/arch/x86

[PATCH 14/26] gpio: remove sta2x11-gpio

2013-08-07 Thread Davide Ciminaghi
The Connext chip has 4 gpio cells looking very similar to those of the Nomadik, whose gpio/pinctrl driver (already featuring devicetree support) will be used instead of the sta2x11 specific one. Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- drivers/gpio/Kconfig|8

[PATCH 10/26] x86 devicetree: add irq domain for msi irqs

2013-08-07 Thread Davide Ciminaghi
An irqdomain is created for each MSI interrupt controller found in the tree. This is to make irq_create_of_mapping() happy later on. Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- .../devicetree/bindings/x86/interrupt.txt | 14 ++ arch/x86/kernel

[PATCH 11/26] x86 devicetree: add functions for handling setup/teardown of MSI irqs

2013-08-07 Thread Davide Ciminaghi
This patch introduces x86_of_new_msi_irq() and x86_of_del_msi_irq(), which shall be invoked by native_setup_msi_irqs() and native_teardown_msi_irq() respectively to add/delete irq numbers to/from the "dummy" msi irqdomain. Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi

[PATCH 06/26] x86 STA2X11: select devicetree related config items.

2013-08-07 Thread Davide Ciminaghi
(), which is part of the irqdomain stuff. Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- arch/x86/Kconfig |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 490b001..0a779eb 100644 --- a/arch/x86/Kconfig +++ b/arch

[PATCH 08/26] OF platform, of_amba_device_create(): add parent resource to parameters.

2013-08-07 Thread Davide Ciminaghi
This is needed when creating pci-amba devices: an amba device's resource shall be child of the corresponding pci device's resource. Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- drivers/of/platform.c | 11 +++ include/linux/of_platform.h |3 ++- 2 files

[PATCH 07/26] OF platform: export of_amba_device_create()

2013-08-07 Thread Davide Ciminaghi
This is needed because the pci-amba bus will create one or more amba devices for each probed pci device. We cannot create all the devices belonging to the same amba bus with just one call to of_platform_populate() Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- drivers

[PATCH 26/26] pinctrl: add support for sta2x11 (via pinctrl-nomadik)

2013-08-07 Thread Davide Ciminaghi
Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- .../devicetree/bindings/pinctrl/ste,nomadik.txt|2 +- drivers/pinctrl/Kconfig|6 +- drivers/pinctrl/Makefile |1 + drivers/pinctrl/pinctrl-nomadik-sta2x11.c

[PATCH 25/26] drivers/clk: sta2x11 common clock framework implementation

2013-08-07 Thread Davide Ciminaghi
mproved because not all the details have been modeled (for instance mmc clocks are actually muxed clocks, not fixed factor). Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- arch/x86/Kconfig|1 + drivers/clk/Makefile|1 + drivers/clk/s

[PATCH 23/26] AMBA: pci-amba bridge: export function creating pci-amba device names

2013-08-07 Thread Davide Ciminaghi
pci_amba_get_dev_name() will be used by the sta2x11 common clock framework to register clkdevs with the same name as the corresponding amba or platform device. Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- drivers/amba/pci-amba.c | 14 ++ include/linux/pci

[PATCH 24/26] x86 STA2X11: add dts for Intel's Northville board

2013-08-07 Thread Davide Ciminaghi
to boot with a serial console on /dev/ttyAMA1. A shell is also working on the same UART (interrupts are OK for UART's and apparently for most of the other Signed-off-by: Davide Ciminaghi Acked-by: Giancarlo Asnaghi --- arch/x86/platform/sta2x11/northville.dts | 941

[PATCH 24/26] x86 STA2X11: add dts for Intel's Northville board

2013-08-07 Thread Davide Ciminaghi
to boot with a serial console on /dev/ttyAMA1. A shell is also working on the same UART (interrupts are OK for UART's and apparently for most of the other Signed-off-by: Davide Ciminaghi cimina...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- arch/x86/platform/sta2x11

[PATCH 23/26] AMBA: pci-amba bridge: export function creating pci-amba device names

2013-08-07 Thread Davide Ciminaghi
pci_amba_get_dev_name() will be used by the sta2x11 common clock framework to register clkdevs with the same name as the corresponding amba or platform device. Signed-off-by: Davide Ciminaghi cimina...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- drivers/amba/pci-amba.c

[PATCH 26/26] pinctrl: add support for sta2x11 (via pinctrl-nomadik)

2013-08-07 Thread Davide Ciminaghi
Signed-off-by: Davide Ciminaghi cimina...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- .../devicetree/bindings/pinctrl/ste,nomadik.txt|2 +- drivers/pinctrl/Kconfig|6 +- drivers/pinctrl/Makefile |1

[PATCH 25/26] drivers/clk: sta2x11 common clock framework implementation

2013-08-07 Thread Davide Ciminaghi
not all the details have been modeled (for instance mmc clocks are actually muxed clocks, not fixed factor). Signed-off-by: Davide Ciminaghi cimina...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- arch/x86/Kconfig|1 + drivers/clk/Makefile

[PATCH 06/26] x86 STA2X11: select devicetree related config items.

2013-08-07 Thread Davide Ciminaghi
(), which is part of the irqdomain stuff. Signed-off-by: Davide Ciminaghi cimina...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- arch/x86/Kconfig |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 490b001

[PATCH 08/26] OF platform, of_amba_device_create(): add parent resource to parameters.

2013-08-07 Thread Davide Ciminaghi
This is needed when creating pci-amba devices: an amba device's resource shall be child of the corresponding pci device's resource. Signed-off-by: Davide Ciminaghi cimina...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- drivers/of/platform.c | 11 +++ include

[PATCH 07/26] OF platform: export of_amba_device_create()

2013-08-07 Thread Davide Ciminaghi
This is needed because the pci-amba bus will create one or more amba devices for each probed pci device. We cannot create all the devices belonging to the same amba bus with just one call to of_platform_populate() Signed-off-by: Davide Ciminaghi cimina...@gnudd.com Acked-by: Giancarlo Asnaghi

[PATCH 10/26] x86 devicetree: add irq domain for msi irqs

2013-08-07 Thread Davide Ciminaghi
An irqdomain is created for each MSI interrupt controller found in the tree. This is to make irq_create_of_mapping() happy later on. Signed-off-by: Davide Ciminaghi cimina...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- .../devicetree/bindings/x86/interrupt.txt

[PATCH 11/26] x86 devicetree: add functions for handling setup/teardown of MSI irqs

2013-08-07 Thread Davide Ciminaghi
This patch introduces x86_of_new_msi_irq() and x86_of_del_msi_irq(), which shall be invoked by native_setup_msi_irqs() and native_teardown_msi_irq() respectively to add/delete irq numbers to/from the dummy msi irqdomain. Signed-off-by: Davide Ciminaghi cimina...@gnudd.com Acked-by: Giancarlo

[PATCH 20/26] x86 STA2X11 platform: remove useless pr_info()'s

2013-08-07 Thread Davide Ciminaghi
Signed-off-by: Davide Ciminaghi cimina...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- arch/x86/platform/sta2x11/sta2x11.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/x86/platform/sta2x11/sta2x11.c b/arch/x86/platform/sta2x11/sta2x11.c

[PATCH 14/26] gpio: remove sta2x11-gpio

2013-08-07 Thread Davide Ciminaghi
The Connext chip has 4 gpio cells looking very similar to those of the Nomadik, whose gpio/pinctrl driver (already featuring devicetree support) will be used instead of the sta2x11 specific one. Signed-off-by: Davide Ciminaghi cimina...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna

[PATCH 17/26] x86 STA2X11 platform: add sta2x11_instance_data helpers

2013-08-07 Thread Davide Ciminaghi
This patch adds functions to get a pointer to a sta2x11 instance data structure given a pointer to a connext device or device node. Such helpers will be used by the (now empty) common probe function, and maybe by the common clock framework. Signed-off-by: Davide Ciminaghi cimina...@gnudd.com

[PATCH 19/26] x86 STA2X11 platform: create sta2x11-clock-regs device

2013-08-07 Thread Davide Ciminaghi
This patch creates a virtual platform device each time the apb-soc-regs and sctl devices have been probed for a given sta2x11 instance. This will trigger clock registration for such instance. Signed-off-by: Davide Ciminaghi cimina...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com

[PATCH 09/26] kernel irqdomain: export irq_domain_disassociate()

2013-08-07 Thread Davide Ciminaghi
for each msi controller and adding irqs to such domain in native_setup_msi_irqs() via irq_domain_associate() looked like the simplest and safest solution to the problem, but then of course irq_domain_disassociate() must be called by native_teardown_msi_irq(). Signed-off-by: Davide Ciminaghi cimina

[PATCH 22/26] AMBA: pci-amba bridge: extend number of amba devs per pci device

2013-08-07 Thread Davide Ciminaghi
BAR (former mfd device) and multiple devices on multiple PCI BARs (6 msp ports, 2 ports per PCI BAR). Signed-off-by: Davide Ciminaghi cimina...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- drivers/amba/pci-amba.c | 152 +-- 1

[PATCH 18/26] x86 STA2X11 platform: add a common probe function for platform devices

2013-08-07 Thread Davide Ciminaghi
is allocated, filled in, and linked to the struct sta2x11_instance_data representing the instance to which the probed device belongs. Signed-off-by: Davide Ciminaghi cimina...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- arch/x86/include/asm/sta2x11.h |9 + arch

[PATCH 13/26] drivers/amba/pci-amba.c: use devicetree for amba device creation.

2013-08-07 Thread Davide Ciminaghi
for each pci express endpoint). A pci-amba bridge node contains an amba bus and all the pci side parts of the pci-amba devices attached to the same pci express endpoint. Finally, each child node of the amba bus represents the amba side of a pci-amba device. Signed-off-by: Davide Ciminaghi cimina

[PATCH 21/26] AMBA: pci-amba bridge: improve code readability

2013-08-07 Thread Davide Ciminaghi
This patch moves the code fixing up irq numbers for amba devices to a separate function (fixup_amba_irqs()). Signed-off-by: Davide Ciminaghi cimina...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- drivers/amba/pci-amba.c | 97

[PATCH 16/26] x86 STA2X11 platform: add sta2x11_platform_init()

2013-08-07 Thread Davide Ciminaghi
). Finally, of_match_tables are added to the four struct platform_driver. Signed-off-by: Davide Ciminaghi cimina...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- arch/x86/include/asm/sta2x11.h | 17 +- arch/x86/platform/sta2x11/sta2x11.c | 111

[PATCH 12/26] x86 kernel apic: notify MSI irqdomain(s) on etup/teardown of MSI IRQs

2013-08-07 Thread Davide Ciminaghi
Ciminaghi cimina...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- arch/x86/kernel/apic/io_apic.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index 9ed796c..65db413 100644 --- a/arch/x86

Re: [PATCH 2/3] x86, pci sta2x11-fixup: add function to access sta2x11 instance id

2013-03-11 Thread Davide Ciminaghi
On Fri, Mar 08, 2013 at 04:13:34PM +, Arnd Bergmann wrote: > On Friday 08 March 2013, Davide Ciminaghi wrote: > > > > The sta2x11 instance id will be included in clock names to make them > > unique in case of multiple sta2x11's living on the same machine. > >

Re: [PATCH 2/3] x86, pci sta2x11-fixup: add function to access sta2x11 instance id

2013-03-11 Thread Davide Ciminaghi
On Fri, Mar 08, 2013 at 04:13:34PM +, Arnd Bergmann wrote: On Friday 08 March 2013, Davide Ciminaghi wrote: The sta2x11 instance id will be included in clock names to make them unique in case of multiple sta2x11's living on the same machine. Signed-off-by: Davide Ciminaghi cimina

[PATCH 1/3] x86, pci sta2x11-fixup: add clk related field to struct sta2x11_instance

2013-03-08 Thread Davide Ciminaghi
Use struct sta2x11_instance for storing a pointer to an array of struct clk pointers representing the set of clocks belonging to a single connext chip. Since sta2x11_instance is an opaque type, we also add functions to access the new field. Signed-off-by: Davide Ciminaghi --- arch/x86/include

[PATCH 3/3] drivers/clk: sta2x11 common clock framework implementation

2013-03-08 Thread Davide Ciminaghi
Signed-off-by: Davide Ciminaghi --- arch/x86/Kconfig|1 + drivers/clk/Makefile|1 + drivers/clk/sta2x11/Makefile|1 + drivers/clk/sta2x11/clk-audio-pll.c | 150 +++ drivers/clk/sta2x11/clk-soc-pll.c | 96 + drivers/clk/sta2x11

[PATCH 0/3] sta2x11 common clock framework implementation

2013-03-08 Thread Davide Ciminaghi
and running (with its UARTs working at least), of course provided that the pci to amba bridge is there. Multiple instances of the Connext chip should also be supported, even if no test has been done up to now. Thanks and regards Davide Davide Ciminaghi (3): x86, pci sta2x11-fixup: add clk

[PATCH 2/3] x86, pci sta2x11-fixup: add function to access sta2x11 instance id

2013-03-08 Thread Davide Ciminaghi
The sta2x11 instance id will be included in clock names to make them unique in case of multiple sta2x11's living on the same machine. Signed-off-by: Davide Ciminaghi --- arch/x86/pci/sta2x11-fixup.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/x86/pci/sta2x11-fixup.c b/arch

[PATCH 2/3] x86, pci sta2x11-fixup: add function to access sta2x11 instance id

2013-03-08 Thread Davide Ciminaghi
The sta2x11 instance id will be included in clock names to make them unique in case of multiple sta2x11's living on the same machine. Signed-off-by: Davide Ciminaghi cimina...@gnudd.com --- arch/x86/pci/sta2x11-fixup.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/x86/pci

[PATCH 0/3] sta2x11 common clock framework implementation

2013-03-08 Thread Davide Ciminaghi
and running (with its UARTs working at least), of course provided that the pci to amba bridge is there. Multiple instances of the Connext chip should also be supported, even if no test has been done up to now. Thanks and regards Davide Davide Ciminaghi (3): x86, pci sta2x11-fixup: add clk

[PATCH 3/3] drivers/clk: sta2x11 common clock framework implementation

2013-03-08 Thread Davide Ciminaghi
Signed-off-by: Davide Ciminaghi cimina...@gnudd.com --- arch/x86/Kconfig|1 + drivers/clk/Makefile|1 + drivers/clk/sta2x11/Makefile|1 + drivers/clk/sta2x11/clk-audio-pll.c | 150 +++ drivers/clk/sta2x11/clk-soc-pll.c | 96

[PATCH 1/3] x86, pci sta2x11-fixup: add clk related field to struct sta2x11_instance

2013-03-08 Thread Davide Ciminaghi
Use struct sta2x11_instance for storing a pointer to an array of struct clk pointers representing the set of clocks belonging to a single connext chip. Since sta2x11_instance is an opaque type, we also add functions to access the new field. Signed-off-by: Davide Ciminaghi cimina...@gnudd.com

Re: [PATCH] mfd: trivially fix build warning in sta2x11-mfd

2013-02-22 Thread Davide Ciminaghi
naghi Acked-by: Davide Ciminaghi Thanks Davide -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] mfd: trivially fix build warning in sta2x11-mfd

2013-02-22 Thread Davide Ciminaghi
giancarlo.asna...@st.com Acked-by: Davide Ciminaghi cimina...@gnudd.com Thanks Davide -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: [PATCH v4 2/7] pl080.h: moved from arm/include/asm/hardware to include/linux/amba/

2012-12-10 Thread Davide Ciminaghi
On Mon, Dec 10, 2012 at 10:44:09PM +0100, Linus Walleij wrote: > On Mon, Dec 10, 2012 at 2:42 PM, Davide Ciminaghi wrote: > > > From: Alessandro Rubini > > > > The header is used by drivers/dma/amba-pl08x.c, which can be compiled > > under x86, where PL080 exi

[PATCH v4 2/7] pl080.h: moved from arm/include/asm/hardware to include/linux/amba/

2012-12-10 Thread Davide Ciminaghi
From: Alessandro Rubini The header is used by drivers/dma/amba-pl08x.c, which can be compiled under x86, where PL080 exists under a PCI-to-AMBA bridge. This patche moves it where it can be accessed by other architectures, and fixes all users. Signed-off-by: Alessandro Rubini Acked-by:

[PATCH v4 0/7] enable support for AMBA drivers under x86

2012-12-10 Thread Davide Ciminaghi
amba/ watchdog: sp805_wdt depends on ARM mmc: use the new drivers/amba: add support for a PCI bridge x86: add CONFIG_ARM_AMBA, selected by STA2X11 Davide Ciminaghi (1): mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep arch/arm/mach-s3c64xx/dma.c|

[PATCH v4 6/7] drivers/amba: add support for a PCI bridge

2012-12-10 Thread Davide Ciminaghi
From: Alessandro Rubini This is a PCI driver that registers AMBA devices for the range of supported devices. It is currently used by STA2X11, which exports AMBA peripherals under PCIe. The original AMBA drivers work with no changes or minimal ones. Signed-off-by: Alessandro Rubini Acked-by:

[PATCH v4 3/7] watchdog: sp805_wdt depends on ARM

2012-12-10 Thread Davide Ciminaghi
-by: Alessandro Rubini Acked-by: Giancarlo Asnaghi Signed-off-by: Davide Ciminaghi --- drivers/watchdog/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index ad1bb93..c76fc07 100644 --- a/drivers/watchdog/Kconfig +++ b

[PATCH v4 4/7] mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep

2012-12-10 Thread Davide Ciminaghi
Not all the architectures have readsl/writesl, use the more portable ioread32_rep/iowrite32_rep functions instead. Signed-off-by: Davide Ciminaghi --- drivers/mmc/host/mmci.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc

[PATCH v4 5/7] mmc: use the new

2012-12-10 Thread Davide Ciminaghi
From: Alessandro Rubini Signed-off-by: Alessandro Rubini Acked-by: Giancarlo Asnaghi --- drivers/mmc/host/mmci.c |2 +- drivers/mmc/host/msm_sdcc.c |2 +- drivers/mmc/host/mvsdio.c |2 +- drivers/mmc/host/mxcmmc.c |2 +- drivers/mmc/host/pxamci.c |3 +-- 5 files

[PATCH v4 1/7] DMA: PL330: use prefix in reg names to build under x86

2012-12-10 Thread Davide Ciminaghi
refix to all registers, so it can be built by randomconfig after ARM_AMBA appears within x86. No other technical changes have been performed. The patch was build-tested only. Signed-off-by: Alessandro Rubini Acked-by: Giancarlo Asnaghi [Davide Ciminaghi : only registers prefixed] S

[PATCH v4 7/7] x86: add CONFIG_ARM_AMBA, selected by STA2X11

2012-12-10 Thread Davide Ciminaghi
From: Alessandro Rubini The sta2x11 I/O Hub is a bridge from PCIe to AMBA. It reuses a number of amba drivers and needs to activate core bus support. Signed-off-by: Alessandro Rubini Acked-by: Giancarlo Asnaghi --- arch/x86/Kconfig |4 1 file changed, 4 insertions(+) diff --git

[PATCH v4 7/7] x86: add CONFIG_ARM_AMBA, selected by STA2X11

2012-12-10 Thread Davide Ciminaghi
From: Alessandro Rubini rub...@gnudd.com The sta2x11 I/O Hub is a bridge from PCIe to AMBA. It reuses a number of amba drivers and needs to activate core bus support. Signed-off-by: Alessandro Rubini rub...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- arch/x86/Kconfig |

[PATCH v4 1/7] DMA: PL330: use prefix in reg names to build under x86

2012-12-10 Thread Davide Ciminaghi
registers, so it can be built by randomconfig after ARM_AMBA appears within x86. No other technical changes have been performed. The patch was build-tested only. Signed-off-by: Alessandro Rubini rub...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com [Davide Ciminaghi cimina

[PATCH v4 4/7] mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep

2012-12-10 Thread Davide Ciminaghi
Not all the architectures have readsl/writesl, use the more portable ioread32_rep/iowrite32_rep functions instead. Signed-off-by: Davide Ciminaghi cimina...@gnudd.com --- drivers/mmc/host/mmci.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host

[PATCH v4 5/7] mmc: use the new linux/sizes.h

2012-12-10 Thread Davide Ciminaghi
From: Alessandro Rubini rub...@gnudd.com Signed-off-by: Alessandro Rubini rub...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- drivers/mmc/host/mmci.c |2 +- drivers/mmc/host/msm_sdcc.c |2 +- drivers/mmc/host/mvsdio.c |2 +- drivers/mmc/host/mxcmmc.c |

[PATCH v4 3/7] watchdog: sp805_wdt depends on ARM

2012-12-10 Thread Davide Ciminaghi
. Signed-off-by: Alessandro Rubini rub...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com Signed-off-by: Davide Ciminaghi cimina...@gnudd.com --- drivers/watchdog/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog

[PATCH v4 2/7] pl080.h: moved from arm/include/asm/hardware to include/linux/amba/

2012-12-10 Thread Davide Ciminaghi
From: Alessandro Rubini rub...@gnudd.com The header is used by drivers/dma/amba-pl08x.c, which can be compiled under x86, where PL080 exists under a PCI-to-AMBA bridge. This patche moves it where it can be accessed by other architectures, and fixes all users. Signed-off-by: Alessandro Rubini

[PATCH v4 0/7] enable support for AMBA drivers under x86

2012-12-10 Thread Davide Ciminaghi
/amba: add support for a PCI bridge x86: add CONFIG_ARM_AMBA, selected by STA2X11 Davide Ciminaghi (1): mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep arch/arm/mach-s3c64xx/dma.c|2 +- arch/arm/mach-spear3xx/spear3xx.c |2 +- arch

[PATCH v4 6/7] drivers/amba: add support for a PCI bridge

2012-12-10 Thread Davide Ciminaghi
From: Alessandro Rubini rub...@gnudd.com This is a PCI driver that registers AMBA devices for the range of supported devices. It is currently used by STA2X11, which exports AMBA peripherals under PCIe. The original AMBA drivers work with no changes or minimal ones. Signed-off-by: Alessandro

Re: [PATCH v4 2/7] pl080.h: moved from arm/include/asm/hardware to include/linux/amba/

2012-12-10 Thread Davide Ciminaghi
On Mon, Dec 10, 2012 at 10:44:09PM +0100, Linus Walleij wrote: On Mon, Dec 10, 2012 at 2:42 PM, Davide Ciminaghi cimina...@gnudd.com wrote: From: Alessandro Rubini rub...@gnudd.com The header is used by drivers/dma/amba-pl08x.c, which can be compiled under x86, where PL080 exists under

Re: [PATCH 5/8] mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep

2012-12-03 Thread Davide Ciminaghi
On Mon, Dec 03, 2012 at 02:47:54PM +, Will Deacon wrote: > Hi Davide, > > On Fri, Nov 23, 2012 at 03:08:27PM +, Davide Ciminaghi wrote: > > Not all the architectures have readsl/writesl, > > use the more portable ioread32_rep/iowrite32_rep functions instead. > &g

Re: [PATCH 2/8] gpio: pl061 depends on ARM

2012-12-03 Thread Davide Ciminaghi
On Sat, Dec 01, 2012 at 04:11:08PM +0100, Linus Walleij wrote: > On Fri, Nov 23, 2012 at 4:08 PM, Davide Ciminaghi wrote: > > > From: Alessandro Rubini > > > > Commit dece904d (gpio: pl061: use chained_irq_* functions in irq > > handler) introduced chained

Re: [PATCH 2/8] gpio: pl061 depends on ARM

2012-12-03 Thread Davide Ciminaghi
On Sat, Dec 01, 2012 at 04:11:08PM +0100, Linus Walleij wrote: On Fri, Nov 23, 2012 at 4:08 PM, Davide Ciminaghi cimina...@gnudd.com wrote: From: Alessandro Rubini rub...@gnudd.com Commit dece904d (gpio: pl061: use chained_irq_* functions in irq handler) introduced chained_irq_enter

Re: [PATCH 5/8] mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep

2012-12-03 Thread Davide Ciminaghi
On Mon, Dec 03, 2012 at 02:47:54PM +, Will Deacon wrote: Hi Davide, On Fri, Nov 23, 2012 at 03:08:27PM +, Davide Ciminaghi wrote: Not all the architectures have readsl/writesl, use the more portable ioread32_rep/iowrite32_rep functions instead. I've already got a patch

Re: [PATCH 5/8] mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep

2012-11-28 Thread Davide Ciminaghi
On Wed, Nov 28, 2012 at 05:08:27PM +0100, Linus Walleij wrote: > On Fri, Nov 23, 2012 at 4:08 PM, Davide Ciminaghi wrote: > > > Not all the architectures have readsl/writesl, > > use the more portable ioread32_rep/iowrite32_rep functions instead. > > > > S

Re: [PATCH 1/8 v3] DMA: PL330: use prefix in reg names to build under x86

2012-11-28 Thread Davide Ciminaghi
On Sat, Nov 24, 2012 at 04:35:37PM +0530, Jassi Brar wrote: > On 24 November 2012 12:33, Alessandro Rubini wrote: > > My patch: > >>> This driver would not compile if ARM_AMBA is selected under x86, > >>> because "CS" and "DS" are already defined there. But AMBA > >>> is used in the x86 world by

Re: [PATCH 1/8 v3] DMA: PL330: use prefix in reg names to build under x86

2012-11-28 Thread Davide Ciminaghi
On Sat, Nov 24, 2012 at 04:35:37PM +0530, Jassi Brar wrote: On 24 November 2012 12:33, Alessandro Rubini rub...@gnudd.com wrote: My patch: This driver would not compile if ARM_AMBA is selected under x86, because CS and DS are already defined there. But AMBA is used in the x86 world by a

Re: [PATCH 5/8] mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep

2012-11-28 Thread Davide Ciminaghi
On Wed, Nov 28, 2012 at 05:08:27PM +0100, Linus Walleij wrote: On Fri, Nov 23, 2012 at 4:08 PM, Davide Ciminaghi cimina...@gnudd.com wrote: Not all the architectures have readsl/writesl, use the more portable ioread32_rep/iowrite32_rep functions instead. Signed-off-by: Davide Ciminaghi

[PATCH 1/8 v3] DMA: PL330: use prefix in reg names to build under x86

2012-11-23 Thread Davide Ciminaghi
From: Alessandro Rubini This driver would not compile if ARM_AMBA is selected under x86, because "CS" and "DS" are already defined there. But AMBA is used in the x86 world by a PCI-to-AMBA bridge, to be submitted. The patch just adds the "PL330_" prefix to all register and bit fields, so it

[PATCH 3/8 v3] pl080.h: moved from arm/include/asm/hardware to include/linux/amba/

2012-11-23 Thread Davide Ciminaghi
From: Alessandro Rubini The header is used by drivers/dma/amba-pl08x.c, which can be compiled under x86, where PL080 exists under a PCI-to-AMBA bridge. This patche moves it where it can be accessed by other architectures, and fixes all users. Signed-off-by: Alessandro Rubini Acked-by:

Re: [PATCH 1/8] DMA: PL330: use prefix in reg names to build under x86

2012-11-23 Thread Davide Ciminaghi
On Fri, Nov 23, 2012 at 09:21:44PM +0530, viresh kumar wrote: > On Fri, Nov 23, 2012 at 8:38 PM, Davide Ciminaghi wrote: > > From: Alessandro Rubini > > > > This driver would not compile if ARM_AMBA is selected under x86, > > because "CS" and "DS" a

[PATCH v2 0/8] enable support for AMBA drivers under x86

2012-11-23 Thread Davide Ciminaghi
a PCI bridge x86: add CONFIG_ARM_AMBA, selected by STA2X11 Davide Ciminaghi (1): mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep arch/arm/include/asm/hardware/pl080.h | 146 - arch/arm/mach-s3c64xx/dma.c |2 +- arch/arm/mach-spear3xx/spear3xx.c |

[PATCH 2/8] gpio: pl061 depends on ARM

2012-11-23 Thread Davide Ciminaghi
From: Alessandro Rubini Commit dece904d (gpio: pl061: use chained_irq_* functions in irq handler) introduced chained_irq_enter/exit, which is only available for arch/arm and the driver won't compile elsewhere. The dependency is thus made explicit, because AMBA is used in the x86 world by a

[PATCH 5/8] mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep

2012-11-23 Thread Davide Ciminaghi
Not all the architectures have readsl/writesl, use the more portable ioread32_rep/iowrite32_rep functions instead. Signed-off-by: Davide Ciminaghi --- drivers/mmc/host/mmci.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc

[PATCH 7/8] drivers/amba: add support for a PCI bridge

2012-11-23 Thread Davide Ciminaghi
From: Alessandro Rubini This is a PCI driver that registers AMBA devices for the range of supported devices. It is currently used by STA2X11, which exports AMBA peripherals under PCIe. The original AMBA drivers work with no changes or minimal ones. Signed-off-by: Alessandro Rubini Acked-by:

[PATCH 4/8] watchdog: sp805_wdt depends on ARM

2012-11-23 Thread Davide Ciminaghi
-by: Alessandro Rubini Acked-by: Giancarlo Asnaghi Signed-off-by: Davide Ciminaghi --- drivers/watchdog/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index ad1bb93..c76fc07 100644 --- a/drivers/watchdog/Kconfig +++ b

[PATCH 1/8] DMA: PL330: use prefix in reg names to build under x86

2012-11-23 Thread Davide Ciminaghi
From: Alessandro Rubini This driver would not compile if ARM_AMBA is selected under x86, because "CS" and "DS" are already defined there. But AMBA is used in the x86 world by a PCI-to-AMBA bridge, to be submitted. The patch adds the "PL330_" prefix to all register and bit fields, so it can be

[PATCH 6/8] mmc: use the new

2012-11-23 Thread Davide Ciminaghi
From: Alessandro Rubini Signed-off-by: Alessandro Rubini Acked-by: Giancarlo Asnaghi --- drivers/mmc/host/mmci.c |2 +- drivers/mmc/host/msm_sdcc.c |2 +- drivers/mmc/host/mvsdio.c |2 +- drivers/mmc/host/mxcmmc.c |2 +- drivers/mmc/host/pxamci.c |3 +-- 5 files

[PATCH 8/8] x86: add CONFIG_ARM_AMBA, selected by STA2X11

2012-11-23 Thread Davide Ciminaghi
From: Alessandro Rubini The sta2x11 I/O Hub is a bridge from PCIe to AMBA. It reuses a number of amba drivers and needs to activate core bus support. Signed-off-by: Alessandro Rubini Acked-by: Giancarlo Asnaghi --- arch/x86/Kconfig |4 1 file changed, 4 insertions(+) diff --git

[PATCH 3/8] pl080.h: moved from arm/include/asm/hardware to include/linux/amba/

2012-11-23 Thread Davide Ciminaghi
From: Alessandro Rubini The header is used by drivers/dma/amba-pl08x.c, which can be compiled under x86, where PL080 exists under a PCI-to-AMBA bridge. This patche moves it where it can be accessed by other architectures, and fixes all users. Signed-off-by: Alessandro Rubini Acked-by:

[PATCH 3/8] pl080.h: moved from arm/include/asm/hardware to include/linux/amba/

2012-11-23 Thread Davide Ciminaghi
From: Alessandro Rubini rub...@gnudd.com The header is used by drivers/dma/amba-pl08x.c, which can be compiled under x86, where PL080 exists under a PCI-to-AMBA bridge. This patche moves it where it can be accessed by other architectures, and fixes all users. Signed-off-by: Alessandro Rubini

[PATCH 8/8] x86: add CONFIG_ARM_AMBA, selected by STA2X11

2012-11-23 Thread Davide Ciminaghi
From: Alessandro Rubini rub...@gnudd.com The sta2x11 I/O Hub is a bridge from PCIe to AMBA. It reuses a number of amba drivers and needs to activate core bus support. Signed-off-by: Alessandro Rubini rub...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- arch/x86/Kconfig |

[PATCH 6/8] mmc: use the new linux/sizes.h

2012-11-23 Thread Davide Ciminaghi
From: Alessandro Rubini rub...@gnudd.com Signed-off-by: Alessandro Rubini rub...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- drivers/mmc/host/mmci.c |2 +- drivers/mmc/host/msm_sdcc.c |2 +- drivers/mmc/host/mvsdio.c |2 +- drivers/mmc/host/mxcmmc.c |

[PATCH 1/8] DMA: PL330: use prefix in reg names to build under x86

2012-11-23 Thread Davide Ciminaghi
From: Alessandro Rubini rub...@gnudd.com This driver would not compile if ARM_AMBA is selected under x86, because CS and DS are already defined there. But AMBA is used in the x86 world by a PCI-to-AMBA bridge, to be submitted. The patch adds the PL330_ prefix to all register and bit fields, so

[PATCH 4/8] watchdog: sp805_wdt depends on ARM

2012-11-23 Thread Davide Ciminaghi
. Signed-off-by: Alessandro Rubini rub...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com Signed-off-by: Davide Ciminaghi cimina...@gnudd.com --- drivers/watchdog/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog

[PATCH 7/8] drivers/amba: add support for a PCI bridge

2012-11-23 Thread Davide Ciminaghi
From: Alessandro Rubini rub...@gnudd.com This is a PCI driver that registers AMBA devices for the range of supported devices. It is currently used by STA2X11, which exports AMBA peripherals under PCIe. The original AMBA drivers work with no changes or minimal ones. Signed-off-by: Alessandro

[PATCH 5/8] mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep

2012-11-23 Thread Davide Ciminaghi
Not all the architectures have readsl/writesl, use the more portable ioread32_rep/iowrite32_rep functions instead. Signed-off-by: Davide Ciminaghi cimina...@gnudd.com --- drivers/mmc/host/mmci.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host

[PATCH 2/8] gpio: pl061 depends on ARM

2012-11-23 Thread Davide Ciminaghi
From: Alessandro Rubini rub...@gnudd.com Commit dece904d (gpio: pl061: use chained_irq_* functions in irq handler) introduced chained_irq_enter/exit, which is only available for arch/arm and the driver won't compile elsewhere. The dependency is thus made explicit, because AMBA is used in the x86

  1   2   3   >