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
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
> ---
> arch/arm/mach-at91/at91sam9g45.c | 13 -
> 1 file changed, 8 insertio
This commit adds the driver data for the gpio-at91 driver.
Signed-off-by: Raphaël Poggi
---
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 100644
--- a/drivers/p
This commit use the clkdev_add_physbase function, to declare device tree and
non device tree gpio clocks.
Signed-off-by: Raphaël Poggi
---
arch/arm/mach-at91/at91sam9g45.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/a
Hello, I just send patchs, to fix all this issues.
2014-09-08 15:23 GMT+02:00 Sascha Hauer :
> 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()
If probed from platform data we have to use dev->id instead.
Signed-off-by: Sascha Hauer
---
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 e212f7a..3c194df 100644
---
the gpio mux functions were moved to mach/gpio.h. Add the missing
include.
Signed-off-by: Sascha Hauer
---
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
b/arch/arm/mach-at91/at91sam926x_lowlevel_
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
-
Otherwise we get a unused function warning each time mach/gpio.h
is included.
Signed-off-by: Sascha Hauer
---
arch/arm/mach-at91/at91sam926x_lowlevel_init.c | 1 -
arch/arm/mach-at91/include/mach/gpio.h | 42 --
2 files changed, 19 insertions(+), 24 deletions(-)
For the devicetree case alias_idx contains the gpio bank number.
dev->id has no meaning in this case.
Signed-off-by: Sascha Hauer
---
drivers/pinctrl/pinctrl-at91.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/pinctrl-at91.c b/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
---
arch/arm/mach-at91/at91sam9g45.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/a
This commit adds the driver data for the gpio-at91 driver.
Signed-off-by: Raphaël Poggi
---
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 100644
--- a/drivers/p
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
---
drivers/pinctrl/pinctrl-at91.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-at91
We need to retrieve the device id in device tree/non device tree case.
Signed-off-by: Raphaël Poggi
---
drivers/pinctrl/pinctrl-at91.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
index 3dc81c7..d3
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 handle
From: Sascha Hauer
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
Signed-off-by: Steffen Trumtrar
---
.../bindings/firmware/altr,passive-serial
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
---
.../bindings/firmware/altr,socfpga-fpga-mgr.txt | 19 +++
1 file changed, 19 insertions(+)
create mode 100644
Docu
From: Sascha Hauer
Signed-off-by: Sascha Hauer
---
arch/arm/dts/socfpga.dtsi | 6 +
arch/arm/mach-socfpga/Makefile| 1 +
arch/arm/mach-socfpga/include/mach/socfpga-regs.h | 2 +
drivers/firmware/Kconfig | 3 +
drivers/
From: Juergen Beisert
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 devices aswell.
A us
From: Juergen Beisert
This handler uses a regular SPI master and a few GPIOs to program an
Altera FPGA in serial mode.
Signed-off-by: Juergen Beisert
Signed-off-by: Sascha Hauer
Signed-off-by: Steffen Trumtrar
---
Notes:
Changes since v3:
- fix some typos
- use USECOND in
Hi Antony,
2014-09-08 8:53 GMT+02:00 Antony Pavlov :
> Signed-off-by: Antony Pavlov
> Cc: Franck Jullien
> ---
> Documentation/boards/openrisc.rst | 51
> +++
> 1 file changed, 51 insertions(+)
>
> diff --git a/Documentation/boards/openrisc.rst
> b/Document
21 matches
Mail list logo