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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
(), 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
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
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
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
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
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
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
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
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
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
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
(), 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
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
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
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
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
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
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
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
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
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
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
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
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
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
).
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
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
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.
> >
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
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
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
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
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
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
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
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
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
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/
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
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
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:
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|
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:
-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
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
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
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
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
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 |
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
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
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 |
.
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
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
/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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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 |
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
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
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:
-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
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
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
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
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:
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
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 |
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 |
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
.
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
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
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
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 - 100 of 258 matches
Mail list logo