On Mon, Jul 07, 2014 at 05:50:09PM +, Paul Walmsley wrote:
On Mon, 7 Jul 2014, Andre Heider wrote:
On Sun, Jun 29, 2014 at 06:21:34PM +0200, Andre Heider wrote:
this series adds PRUv2 support to uio_pruss through devicetree, makes the
device usable on am33xx and enables
On Sun, Jun 29, 2014 at 06:21:34PM +0200, Andre Heider wrote:
Hi,
this series adds PRUv2 support to uio_pruss through devicetree, makes the
device usable on am33xx and enables it on beaglebone black.
Inspired by old patches from Matt Porter found in a downstream tree.
To archieve
On Mon, Jun 30, 2014 at 10:33:32AM +0100, Mark Rutland wrote:
On Sun, Jun 29, 2014 at 05:21:41PM +0100, Andre Heider wrote:
diff --git a/Documentation/devicetree/bindings/misc/ti,pruss.txt
b/Documentation/devicetree/bindings/misc/ti,pruss.txt
new file mode 100644
index 000..4eacc41
On Mon, Jun 30, 2014 at 10:36:06AM +0100, Mark Rutland wrote:
On Sun, Jun 29, 2014 at 05:21:43PM +0100, Andre Heider wrote:
- /* Power on PRU in case its not done as part of boot-loader */
- gdev-pruss_clk = clk_get(dev, pruss);
- if (IS_ERR(gdev-pruss_clk)) {
- dev_err
On Mon, Jun 30, 2014 at 10:36:42AM +0100, Mark Rutland wrote:
On Sun, Jun 29, 2014 at 05:21:46PM +0100, Andre Heider wrote:
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -409,6 +409,15 @@
ti,hwmods = rtc
On Mon, Jun 30, 2014 at 10:38:09AM +0100, Mark Rutland wrote:
On Sun, Jun 29, 2014 at 05:21:36PM +0100, Andre Heider wrote:
--- a/drivers/uio/uio_pruss.c
+++ b/drivers/uio/uio_pruss.c
@@ -109,9 +109,7 @@ static void pruss_cleanup(struct device *dev, struct
uio_pruss_dev *gdev
(which apparently doesn't yet exist
for this SoC?) and let the driver deassert/assert on probe/remove?
* the platform device path has a clk_enable() / clk_put() calls. Are those
now redundant with the introduced pm_runtime_enable() pm_runtime_disable()
calls?
Thanks,
Andre
Andre Heider (13
Replace kzalloc() by devm_kzalloc() and remove the kfree() calls.
Signed-off-by: Andre Heider a.hei...@gmail.com
---
drivers/uio/uio_pruss.c | 15 ---
1 file changed, 4 insertions(+), 11 deletions(-)
diff --git a/drivers/uio/uio_pruss.c b/drivers/uio/uio_pruss.c
index c28d6e2
Get rid of the repeating dev-dev constructs and prevent introducing
new ones.
Signed-off-by: Andre Heider a.hei...@gmail.com
---
drivers/uio/uio_pruss.c | 37 +++--
1 file changed, 19 insertions(+), 18 deletions(-)
diff --git a/drivers/uio/uio_pruss.c b/drivers
Replace resource_size() followed by ioremap() with
devm_ioremap_resource() and remove the iounmap() call.
Signed-off-by: Andre Heider a.hei...@gmail.com
---
drivers/uio/uio_pruss.c | 20
1 file changed, 4 insertions(+), 16 deletions(-)
diff --git a/drivers/uio/uio_pruss.c b
Signed-off-by: Andre Heider a.hei...@gmail.com
---
Documentation/devicetree/bindings/misc/ti,pruss.txt | 19 +++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/misc/ti,pruss.txt
diff --git a/Documentation/devicetree/bindings/misc/ti
Signed-off-by: Andre Heider a.hei...@gmail.com
---
arch/arm/boot/dts/am33xx.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 4a4e02d..28a7e5d 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts
hwmod's hardreset lines are not deasserted after a reset.
Add the HWMOD_INIT_DEASSERT_HARD_RESET flag to deassert those after a
successful reset.
This is required to get the PRU-ICSS in a usable state on am33xx SoCs.
Signed-off-by: Andre Heider a.hei...@gmail.com
---
arch/arm/mach-omap2
Add support to probe via devicetree.
Signed-off-by: Andre Heider a.hei...@gmail.com
---
drivers/uio/uio_pruss.c | 46 +++---
1 file changed, 39 insertions(+), 7 deletions(-)
diff --git a/drivers/uio/uio_pruss.c b/drivers/uio/uio_pruss.c
index afaf726
Signed-off-by: Andre Heider a.hei...@gmail.com
---
arch/arm/boot/dts/am335x-boneblack.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/am335x-boneblack.dts
b/arch/arm/boot/dts/am335x-boneblack.dts
index 305975d..eeb5c2e 100644
--- a/arch/arm/boot/dts/am335x
Signed-off-by: Andre Heider a.hei...@gmail.com
---
drivers/uio/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/uio/Kconfig b/drivers/uio/Kconfig
index 5a90914..1678387 100644
--- a/drivers/uio/Kconfig
+++ b/drivers/uio/Kconfig
@@ -106,10 +106,10 @@ config
Set HWMOD_INIT_DEASSERT_HARD_RESET to get the PRUSS out of hardreset
upon boot.
Signed-off-by: Andre Heider a.hei...@gmail.com
---
arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c
Replace dma_alloc_coherent() with dmam_alloc_coherent() and remove the
dma_free_coherent() call.
This shaves off 2 vars in the driver data struct.
Signed-off-by: Andre Heider a.hei...@gmail.com
---
drivers/uio/uio_pruss.c | 14 --
1 file changed, 4 insertions(+), 10 deletions
memory region less. This behavior is in line
with downstream patches and userland driver support for this SoC family.
Signed-off-by: Andre Heider a.hei...@gmail.com
---
drivers/uio/uio_pruss.c | 29 ++---
1 file changed, 18 insertions(+), 11 deletions(-)
diff --git
This enables the hwmod's associated clocks and gets the device in a
working state.
Signed-off-by: Andre Heider a.hei...@gmail.com
---
drivers/uio/uio_pruss.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/uio/uio_pruss.c b/drivers/uio/uio_pruss.c
index 2df54ab..28a1c1f
On Mon, Nov 25, 2013 at 10:02:30PM -0700, Stephen Warren wrote:
The DWC2 USB controller in the BCM2835 (Raspberry Pi) needs some non-
default parameters. Select these based on the compatible value from the
DT node. For all other HW, fall back to the default parameters currently
in use.
The
21 matches
Mail list logo