.
This commit adds support for handling drive-strength of 12ma, when it's
defined in the DT.
Signed-off-by: Romain Perier <romain.per...@collabora.com>
---
drivers/pinctrl/rockchip/pinctrl_rk3288.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/pinctrl/ro
L).
Fixes: 2454b719fb87 ("rockchip: rk3288: Add pinctrl support for the...")
Signed-off-by: Romain Perier <romain.per...@collabora.com>
---
drivers/pinctrl/rockchip/pinctrl_rk3288.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/pinctrl/rockchip/pinctrl_rk3288.c
We should not handle this pin explicitly from pinctrl. GMAC driver takes
care of it by using a "reset-gpio" in the DT.
This commit removes pull up for GPIO4B0.
Fixes: 2454b719fb87 ("rockchip: rk3288: Add pinctrl support for the...")
Signed-off-by: Romain Perier <roma
X_TCLK pin that
was accidentaly removed while re-working commit 2454b719fb87
("rockchip: rk3288: Add pinctrl support for the...").
Romain Perier (2):
rockchip: rk3288: Remove phy reset GPIO pull up
rockchip: rk3288: Revert MAC_TXCLK in pinctrl for GMAC
drivers/pinctrl/rockchip/pinctrl_rk3288.c
Hello,
Le 11/07/2017 à 15:43, Dr. Philipp Tomsich a écrit :
>> On 10 Jul 2017, at 08:43, Romain Perier <romain.per...@collabora.com> wrote:
>>
>> Le 07/07/2017 à 05:58, Simon Glass a écrit :
>>> +Philipp
>>>
>>> Hi Romain,
>>
Le 07/07/2017 à 05:58, Simon Glass a écrit :
> +Philipp
>
> Hi Romain,
>
> On 3 July 2017 at 01:13, Romain Perier <romain.per...@collabora.com> wrote:
>> Currently, selecting state simple is done by the device driver model,
>> prior probing the driver. The pro
and then gmac_config is never called.
This commits toggles the pinctrl on the right node from the probe
function of the driver.
Signed-off-by: Romain Perier <romain.per...@collabora.com>
---
drivers/net/gmac_rockchip.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/gma
Simons <sjoerd.sim...@collabora.co.uk>
Signed-off-by: Romain Perier <romain.per...@collabora.com>
---
Note: The patch has not been merged during the integration of the GMAC
driver. It fixes the ethernet 1gbs issue (caused by a drive length issue)
Changes in v2:
- Added Signed-off-by wit
-by: Romain Perier <romain.per...@collabora.com>
---
arch/arm/include/asm/arch-rockchip/grf_rk3288.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/arch-rockchip/grf_rk3288.h
b/arch/arm/include/asm/arch-rockchip/grf_rk3288.h
index 7d56b8ced0..fbc4a0d80f
Hi,
That's what I already tried, but I can re-try differently (the delays
were added at specific points, as suggested by Kever, if I remember
correctly. I could try different approach)
Thanks,
Romain
Le 26/01/2017 à 15:24, Simon Glass a écrit :
> Hi,
>
> On 19 January 2017 at 02:5
Hi,
Le 21/01/2017 à 04:51, Simon Glass a écrit :
> On 17 January 2017 at 02:32, Romain Perier <romain.per...@collabora.com>
> wrote:
>> Like the rock2, this board has been tested with back to brom feature.
>> This commits adjusts environment offset regarding if ba
Hi,
no ideas ?
I can try another solution if you want.
Regards,
Romain
Le 09/01/2017 à 09:23, Romain Perier a écrit :
Hi,
Le 09/01/2017 à 08:20, Kever Yang a écrit :
On 01/06/2017 06:52 PM, Romain Perier wrote:
Add Rockchip Engineers to Cc:
Le 06/01/2017 à 11:28, Romain Perier
This commit enables ethernet MAC address randomization on the
firefly-rk3288. It removes the error at startup 'ethernet@ff29
address not set'.
Signed-off-by: Romain Perier <romain.per...@collabora.com>
---
configs/firefly-rk3288_defconfig | 1 +
1 file changed, 1 insertion(+)
diff
This set of patches enables SPL_BACK_TO_BROM feature that has been
tested on this board. That is preferable if all rk3288-based boards use
the same configuration and boot in the same way. Then, it enables
ethernet address randomization.
Romain Perier (2):
Enable ROCKCHIP_SPL_BACK_TO_BROM
Like the rock2, this board has been tested with back to brom feature.
This commits adjusts environment offset regarding if back_to_brom is
enabled or not and uses this feature by default.
Signed-off-by: Romain Perier <romain.per...@collabora.com>
---
configs/firefly-rk3288_defconf
From: Sjoerd Simons
Now that ethernet support works, it can be dropped from the rockchip
TODO
Signed-off-by: Sjoerd Simons
Acked-by: Simon Glass
Acked-by: Joe Hershberger
Signed-off-by:
From: Simon Glass <s...@chromium.org>
Export all functions so that drivers can use them, or not, as the need
arises.
Signed-off-by: Simon Glass <s...@chromium.org>
Signed-off-by: Romain Perier <romain.per...@collabora.com>
Acked-by: Joe Hershberger <joe.hershber...@ni.co
d hook' patch
- Sort includes
- Use debug() instead of printf() for error
- Use function calls instead of fix_mac_speed() hook
- Use new clk interface
Changes in v2:
- Adjust to new hook name
- Fix various coding style nits
Romain Perier (2):
Enable DISTRO_DEFAULTS for Rockchip platforms
ro
From: Simon Glass <s...@chromium.org>
With rockchip we need to make adjustments after the link speed is set but
before enabling received/transmit. In preparation for this, split these
two pieces into separate functions.
Signed-off-by: Simon Glass <s...@chromium.org>
Signed-off-by: R
From: Simon Glass
This is the only RK3399 device without DHCP. Enable it so that we
can use a common BOOT_TARGET_DEVICES setting. It is likely useful to be
able to use USB networking, at least. Full networking can be enabled when
a suitable platform needs it.
Signed-off-by:
This commit enables ethernet MAC address randomization on the rock2. It
removes the error at startup 'ethernet@ff29 address not set'.
Signed-off-by: Romain Perier <romain.per...@collabora.com>
---
Changes in v7:
- Added this commit to the series
configs/rock2_defconfig | 1 +
From: Sjoerd Simons <sjoerd.sim...@collabora.co.uk>
Enable the various configuration option required to get the ethernet
interface up and running on Radxa Rock2 and Firefly.
Signed-off-by: Sjoerd Simons <sjoerd.sim...@collabora.co.uk>
Signed-off-by: Romain Perier <romain.per..
This enables suitable commands needed for booting general purpose
Linux distribution. This is required for example if we want to use PXE
or DHCP as default boot targets, symbols no longer enabled by
config_distro_defaults.h .
Signed-off-by: Romain Perier <romain.per...@collabora.com>
---
C
From: Simon Glass <s...@chromium.org>
This function can fail, so return the error if there is one.
Signed-off-by: Simon Glass <s...@chromium.org>
Signed-off-by: Romain Perier <romain.per...@collabora.com>
Acked-by: Joe Hershberger <joe.hershber...@ni.com>
---
Changes i
From: Sjoerd Simons
Now that at least on the firefly board we have network support, enable
PXE and DHCP boot targets by default.
Signed-off-by: Sjoerd Simons
Acked-by: Simon Glass
Acked-by: Joe Hershberger
joerd.sim...@collabora.co.uk>
Signed-off-by: Simon Glass <s...@chromium.org>
Signed-off-by: Romain Perier <romain.per...@collabora.com>
Acked-by: Joe Hershberger <joe.hershber...@ni.com>
---
Changes in v7: None
Changes in v6:
- Changed Acked-by to Signed-off-by for Romain
Changes in v5:
- Rena
From: Sjoerd Simons <sjoerd.sim...@collabora.co.uk>
To allow other DM drivers to subclass the designware driver various
functions and structures need to be exported. Export these.
Signed-off-by: Sjoerd Simons <sjoerd.sim...@collabora.co.uk>
Signed-off-by: Romain Perier
Hi,
Le 09/01/2017 à 08:20, Kever Yang a écrit :
On 01/06/2017 06:52 PM, Romain Perier wrote:
Add Rockchip Engineers to Cc:
Le 06/01/2017 à 11:28, Romain Perier a écrit :
Hello,
I have a strange behaviour with the SPL on rk3288.
When I build u-boot-rockchip master for the rock2
Add Rockchip Engineers to Cc:
Le 06/01/2017 à 11:28, Romain Perier a écrit :
Hello,
I have a strange behaviour with the SPL on rk3288.
When I build u-boot-rockchip master for the rock2 (rock2_defconfig), I
can easily start u-boot SPL and u-boot from an sdcard (the emmc boot
partition
Hello,
I have a strange behaviour with the SPL on rk3288.
When I build u-boot-rockchip master for the rock2 (rock2_defconfig), I
can easily start u-boot SPL and u-boot from an sdcard (the emmc boot
partition is erased so my board starts in maskrom mode by default)
without any issues.
Now,
From: Sjoerd Simons <sjoerd.sim...@collabora.co.uk>
Enable the various configuration option required to get the ethernet
interface up and running on Radxa Rock2 and Firefly.
Signed-off-by: Sjoerd Simons <sjoerd.sim...@collabora.co.uk>
Signed-off-by: Romain Perier <romain.per..
From: Sjoerd Simons
Now that at least on the firefly board we have network support, enable
PXE and DHCP boot targets by default.
Signed-off-by: Sjoerd Simons
Acked-by: Simon Glass
Acked-by: Joe Hershberger
From: Sjoerd Simons
Now that ethernet support works, it can be dropped from the rockchip
TODO
Signed-off-by: Sjoerd Simons
Acked-by: Simon Glass
Acked-by: Joe Hershberger
Signed-off-by:
From: Simon Glass <s...@chromium.org>
Export all functions so that drivers can use them, or not, as the need
arises.
Signed-off-by: Simon Glass <s...@chromium.org>
Signed-off-by: Romain Perier <romain.per...@collabora.com>
Acked-by: Joe Hershberger <joe.hershber...@ni.co
joerd.sim...@collabora.co.uk>
Signed-off-by: Simon Glass <s...@chromium.org>
Signed-off-by: Romain Perier <romain.per...@collabora.com>
Acked-by: Joe Hershberger <joe.hershber...@ni.com>
---
Changes in v6:
- Changed Acked-by to Signed-off-by for Romain
Changes in v5:
- Rename the driver to gmac_
From: Simon Glass <s...@chromium.org>
With rockchip we need to make adjustments after the link speed is set but
before enabling received/transmit. In preparation for this, split these
two pieces into separate functions.
Signed-off-by: Simon Glass <s...@chromium.org>
Signed-off-by: R
From: Simon Glass <s...@chromium.org>
This function can fail, so return the error if there is one.
Signed-off-by: Simon Glass <s...@chromium.org>
Signed-off-by: Romain Perier <romain.per...@collabora.com>
Acked-by: Joe Hershberger <joe.hershber...@ni.com>
---
Change
>From Romain:
This is a resent of Simon's v4 series. I have changed what was suggested
by David Wu about the driver name (rename gmac_rk3288 to gmac_rockchip).
I have also tested the whole series on a rock2 square board, updated the
configuration files for rock2 and firefly boards and added some
From: Simon Glass
This is the only RK3399 device without DHCP. Enable it so that we
can use a common BOOT_TARGET_DEVICES setting. It is likely useful to be
able to use USB networking, at least. Full networking can be enabled when
a suitable platform needs it.
Signed-off-by:
>From Simon:
This v3 patch is an update on Sjoerd's original v2 series from Feburary.
I have dealt with the changes requested at the time, and adjusted the way
that the speed change is handled.
Tested on firefly-rk3288, rock2.
Original cover letter:
To add support I've taken a slightly different
From: Sjoerd Simons <sjoerd.sim...@collabora.co.uk>
To allow other DM drivers to subclass the designware driver various
functions and structures need to be exported. Export these.
Signed-off-by: Sjoerd Simons <sjoerd.sim...@collabora.co.uk>
Signed-off-by: Romain Perier
>
Acked-by: Joe Hershberger <joe.hershber...@ni.com>
Acked-by: Romain Perier <romain.per...@collabora.com>
---
Changes in v5:
- Added Acked-by for Romain
Changes in v4: None
Changes in v3: None
Changes in v2: None
configs/firefly-rk3288_defconfig | 4
configs/rock2_defconfig
From: Simon Glass <s...@chromium.org>
Export all functions so that drivers can use them, or not, as the need
arises.
Signed-off-by: Simon Glass <s...@chromium.org>
Acked-by: Joe Hershberger <joe.hershber...@ni.com>
Acked-by: Romain Perier <romain.per...@collabora.com>
-
From: Sjoerd Simons
Now that ethernet support works, it can be dropped from the rockchip
TODO
Signed-off-by: Sjoerd Simons
Acked-by: Simon Glass
Acked-by: Joe Hershberger
Signed-off-by:
44 matches
Mail list logo