On Thu, Sep 04, 2014 at 03:47:15PM +0200, Steffen Trumtrar wrote:
+/*
+ * Physical requirements:
+ * - three free GPIOs for the signals nCONFIG, CONFIGURE_DONE, nSTATUS
+ * - 32 bit per word, LSB first capable SPI master (MOSI + clock)
+ *
+ * Example how to configure this driver via device
On Mon, Sep 08, 2014 at 08:03:48AM +0200, Sascha Hauer wrote:
On Thu, Sep 04, 2014 at 03:47:15PM +0200, Steffen Trumtrar wrote:
+/*
+ * Physical requirements:
+ * - three free GPIOs for the signals nCONFIG, CONFIGURE_DONE, nSTATUS
+ * - 32 bit per word, LSB first capable SPI master (MOSI
On Thu, Sep 04, 2014 at 03:47:17PM +0200, Steffen Trumtrar wrote:
From: Sascha Hauer s.ha...@pengutronix.de
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
---
Changes since v2:
- be sure to clear nce bit to allow HPS configuration
arch/arm/dts/socfpga.dtsi
On Sat, Sep 06, 2014 at 01:21:03PM +0200, Sebastian Block wrote:
Change since v1 (Sascha, thanks for review):
* use xzalloc instead of kzalloc and control check
* correct help and names
* fix coding style issue
* remove verbose and unneeded messages
This adds
Signed-off-by: Antony Pavlov antonynpav...@gmail.com
Cc: Franck Jullien franck.jull...@gmail.com
---
Documentation/boards/openrisc.rst | 51 +++
1 file changed, 51 insertions(+)
diff --git a/Documentation/boards/openrisc.rst
Here is a linker's error message for some configurations:
or1k-elf-ld: barebox section `.eh_frame' will not fit in region `ram'
or1k-elf-ld: region `ram' overflowed by 16868 bytes
This patch increases space reserved for barebox from 256K to 512K
so the error's probability is dramatically
Signed-off-by: Antony Pavlov antonynpav...@gmail.com
Cc: Franck Jullien franck.jull...@gmail.com
---
arch/openrisc/boards/generic/config.h | 5 -
arch/openrisc/boards/generic/generic.c | 24 ++--
2 files changed, 2 insertions(+), 27 deletions(-)
diff --git
Signed-off-by: Antony Pavlov antonynpav...@gmail.com
Cc: Franck Jullien franck.jull...@gmail.com
---
arch/openrisc/Kconfig | 9 +
arch/openrisc/Makefile | 7 +++
arch/openrisc/cpu/barebox.lds.S | 2 ++
arch/openrisc/dts/Makefile | 5 +
This patch series adds device tree support for openrisc generic board.
The barebox mips device tree support is used as a sample.
Changes since v1:
* rebase over latest next;
* add 'Documentation: add OpenRISC or1ksim emulator section'.
Antony Pavlov (7):
openrisc: generic board: reserve
Signed-off-by: Antony Pavlov antonynpav...@gmail.com
Cc: Franck Jullien franck.jull...@gmail.com
---
drivers/net/ethoc.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/ethoc.c b/drivers/net/ethoc.c
index 679e1e5..35d7d46 100644
--- a/drivers/net/ethoc.c
+++
There are some minor changes with original linux-3.16 file:
* the 'model' attribute is added (it used for barebox banner board name);
* all opencores,*-rtlsvn* 'compatible' attribute values are dropped;
these values are not actually used in the device drivers.
Signed-off-by: Antony
Hi Antony,
2014-09-08 8:53 GMT+02:00 Antony Pavlov antonynpav...@gmail.com:
Signed-off-by: Antony Pavlov antonynpav...@gmail.com
Cc: Franck Jullien franck.jull...@gmail.com
---
Documentation/boards/openrisc.rst | 51
+++
1 file changed, 51 insertions(+)
Altera SOCFPGA have a FPGA Manager, that manages and monitors the FPGA portion
of the SoC.
Cc: devicet...@vger.kernel.org
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
.../bindings/firmware/altr,socfpga-fpga-mgr.txt | 19 +++
1 file changed, 19 insertions(+)
From: Juergen Beisert j...@pengutronix.de
This framework handles a list of registered Firmware programming handlers
to unify a firmware programming interface by hiding the details how
to program a specific Firmware in its handler. This is created with FPGAs
in mind but should be usable for other
From: Juergen Beisert j...@pengutronix.de
This handler uses a regular SPI master and a few GPIOs to program an
Altera FPGA in serial mode.
Signed-off-by: Juergen Beisert j...@pengutronix.de
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
Signed-off-by: Steffen Trumtrar
Hi!
Changes since v3:
- minor clean up
- add binding documentation in 5/5
- rebase to v2014.09.0
The interface was tested on a Socfpga SoCkit board with v2014.09.0.
Regards,
Steffen
Juergen Beisert (2):
Add a Firmware programming framework
Firmware: provide a
From: Sascha Hauer s.ha...@pengutronix.de
Altera FPGAs that are programmed via SPI use the passive serial protocol.
Add a simple binding that describes the setup for this usecase.
Cc: devicet...@vger.kernel.org
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
Signed-off-by: Steffen Trumtrar
This commit adds the driver data for the gpio-at91 driver.
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com
---
drivers/pinctrl/pinctrl-at91.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
index d3423d0..29e54cf
Other functions use pin_to_controller to retrieve a at91_gpio_chip structure,
so fix pin_to_controller to return the correct value.
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com
---
drivers/pinctrl/pinctrl-at91.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
We need to retrieve the device id in device tree/non device tree case.
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com
---
drivers/pinctrl/pinctrl-at91.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-at91.c
This commit use the clkdev_add_physbase function, to declare device tree and
non device tree gpio clocks.
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com
---
arch/arm/mach-at91/at91sam9g45.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git
For the devicetree case alias_idx contains the gpio bank number.
dev-id has no meaning in this case.
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
---
drivers/pinctrl/pinctrl-at91.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/pinctrl-at91.c
Otherwise we get a unused function warning each time mach/gpio.h
is included.
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
---
arch/arm/mach-at91/at91sam926x_lowlevel_init.c | 1 -
arch/arm/mach-at91/include/mach/gpio.h | 42 --
2 files changed, 19
Unfortunately the transition to pinctrl for AT91 caused some damage.
The 926x do not compile anymore. Even when this is fixed the boards
won't work since the new pinctrl driver uses of_alias_get_id() even
for the platform case to translate the device into a gpio chip.
Sascha
the gpio mux functions were moved to mach/gpio.h. Add the missing
include.
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
---
arch/arm/mach-at91/at91sam926x_lowlevel_init.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-at91/at91sam926x_lowlevel_init.c
If probed from platform data we have to use dev-id instead.
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
---
drivers/pinctrl/pinctrl-at91.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
index
Hello, I just send patchs, to fix all this issues.
2014-09-08 15:23 GMT+02:00 Sascha Hauer s.ha...@pengutronix.de:
Unfortunately the transition to pinctrl for AT91 caused some damage.
The 926x do not compile anymore. Even when this is fixed the boards
won't work since the new pinctrl driver
This commit adds the driver data for the gpio-at91 driver.
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com
---
drivers/pinctrl/pinctrl-at91.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
index d3423d0..3c6b38c
This commit use the clkdev_add_physbase function, to declare device tree and
non device tree gpio clocks.
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com
---
arch/arm/mach-at91/at91sam9g45.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git
On Mon, Sep 08, 2014 at 03:07:54PM +0200, Raphaël Poggi wrote:
This commit use the clkdev_add_physbase function, to declare device tree and
non device tree gpio clocks.
Signed-off-by: Raphaël Poggi poggi.r...@gmail.com
---
arch/arm/mach-at91/at91sam9g45.c | 13 -
1 file
On Mon, Sep 08, 2014 at 03:07:55PM +0200, Raphaël Poggi wrote:
This commit adds the driver data for the gpio-at91 driver.
Could you explain what exactly this patch fixes? It seems without this
patch the pinctrl part is non functional. Is this correct?
Sascha
Signed-off-by: Raphaël Poggi
31 matches
Mail list logo