Skip to contentSkip to conversation

rockchip: firefly-rk3399: enable rk3399 pinctrl in defconfig

PATCH New Alex Hixon 5 participants 6 messages May 15, 2017 – May 19, 2017

lore
Share & tools
lore

Alex Hixon

author
#0 lore raw

PATCH 1/1 rockchip: firefly-rk3399: enable rk3399 pinctrl in defconfig

The config name enabling the rk3399-pinctrl driver is spelled wrong, so it does not get built. This causes SPL to fail during board init.

Make rk3399-firefly boot by enabling the pinctrl driver via the correct config name.

---
 configs/firefly-rk3399_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/firefly-rk3399_defconfig +1 -1
index f30f131f34..0a4d005975 100644
@@ -39,7 +39,7 @@ CONFIG_ETH_DESIGNWARE=y
 CONFIG_GMAC_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
-CONFIG_ROCKCHIP_RK3399_PINCTRL=y
+CONFIG_PINCTRL_ROCKCHIP_RK3399=y
 CONFIG_DM_PMIC=y
 CONFIG_PMIC_RK8XX=y
 CONFIG_REGULATOR_PWM=y
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 rockchip: firefly-rk3399: enable rk3399 pinctrl in defconfig

Quoted 16 lines · Alex Hixon

The config name enabling the rk3399-pinctrl driver is spelled wrong, so it does not get built. This causes SPL to fail during board init.

Make rk3399-firefly boot by enabling the pinctrl driver via the correct config name.

---
 configs/firefly-rk3399_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/firefly-rk3399_defconfig +0 -0
index f30f131f34..0a4d005975 100644

configs/firefly-rk3399_defconfig CONFIG_ETH_DESIGNWARE=y · line 45

Quoted 8 lines
configs/firefly-rk3399_defconfig +1 -1
@@ -39,7 +39,7 @@ CONFIG_ETH_DESIGNWARE=y
 CONFIG_GMAC_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
-CONFIG_ROCKCHIP_RK3399_PINCTRL=y
+CONFIG_PINCTRL_ROCKCHIP_RK3399=y
 CONFIG_DM_PMIC=y
 CONFIG_PMIC_RK8XX=y
 CONFIG_REGULATOR_PWM=y

Shouldn't the RK3399 pinctrl driver at least by default y? Or imply'd ?

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170515/b2687026/attachment.sig>
#2 lore raw

PATCH 1/1 rockchip: firefly-rk3399: enable rk3399 pinctrl in defconfig

Quoted 13 lines · Tom Rini
Quoted 11 lines · Alex Hixon

The config name enabling the rk3399-pinctrl driver is spelled wrong, so it does not get built. This causes SPL to fail during board init.

Make rk3399-firefly boot by enabling the pinctrl driver via the correct config name.

---
 configs/firefly-rk3399_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines

configs/firefly-rk3399_defconfig CONFIG_ETH_DESIGNWARE=y · line 45

Quoted 13 lines
configs/firefly-rk3399_defconfig +1 -1
index f30f131f34..0a4d005975 100644
@@ -39,7 +39,7 @@ CONFIG_ETH_DESIGNWARE=y
 CONFIG_GMAC_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
-CONFIG_ROCKCHIP_RK3399_PINCTRL=y
+CONFIG_PINCTRL_ROCKCHIP_RK3399=y
 CONFIG_DM_PMIC=y
 CONFIG_PMIC_RK8XX=y
 CONFIG_REGULATOR_PWM=y

Shouldn't the RK3399 pinctrl driver at least by default y? Or imply'd ?

Yes that sounds good!

#3 lore raw

PATCH 1/1 rockchip: firefly-rk3399: enable rk3399 pinctrl in defconfig

In reply to Alex Hixon
Quoted 10 lines

From: Alex Hixon <[email protected]>
Date: Mon, 15 May 2017 22:01:32 +1000

The config name enabling the rk3399-pinctrl driver is spelled wrong, so it does not get built. This causes SPL to fail during board init.

Make rk3399-firefly boot by enabling the pinctrl driver via the correct config name.

Quoted 26 lines
---
 configs/firefly-rk3399_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/firefly-rk3399_defconfig +1 -1
index f30f131f34..0a4d005975 100644
@@ -39,7 +39,7 @@ CONFIG_ETH_DESIGNWARE=y
 CONFIG_GMAC_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
-CONFIG_ROCKCHIP_RK3399_PINCTRL=y
+CONFIG_PINCTRL_ROCKCHIP_RK3399=y
 CONFIG_DM_PMIC=y
 CONFIG_PMIC_RK8XX=y
 CONFIG_REGULATOR_PWM=y
Signature · 6 lines
2.11.0

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot
#4 lore raw

PATCH 1/1 rockchip: firefly-rk3399: enable rk3399 pinctrl in defconfig

In reply to Alex Hixon

Hi Alex,

Thanks for your patch, but this patch is just the same with the one from Heiko[0], right?

Thanks,

- Kever

[0] https://patchwork.ozlabs.org/patch/758272/

Quoted 24 lines · Alex Hixon

The config name enabling the rk3399-pinctrl driver is spelled wrong, so it does not get built. This causes SPL to fail during board init.

Make rk3399-firefly boot by enabling the pinctrl driver via the correct config name.

---
  configs/firefly-rk3399_defconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
configs/firefly-rk3399_defconfig +1 -1
index f30f131f34..0a4d005975 100644
@@ -39,7 +39,7 @@ CONFIG_ETH_DESIGNWARE=y
  CONFIG_GMAC_ROCKCHIP=y
  CONFIG_PINCTRL=y
  CONFIG_SPL_PINCTRL=y
-CONFIG_ROCKCHIP_RK3399_PINCTRL=y
+CONFIG_PINCTRL_ROCKCHIP_RK3399=y
  CONFIG_DM_PMIC=y
  CONFIG_PMIC_RK8XX=y
  CONFIG_REGULATOR_PWM=y
author
#5 lore raw

PATCH 1/1 rockchip: firefly-rk3399: enable rk3399 pinctrl in defconfig

Hi Kever,

Ahh, yup! You're totally right! I didn't see Heiko's patch earlier.

My mistake.

Cheers,
Alex

Quoted 45 lines · Kever Yang

Hi Alex,

Thanks for your patch, but this patch is just the same with the one from Heiko[0], right?

Thanks,

- Kever

[0] https://patchwork.ozlabs.org/patch/758272/

Quoted 26 lines · Alex Hixon

The config name enabling the rk3399-pinctrl driver is spelled wrong, so it does not get built. This causes SPL to fail during board init.

Make rk3399-firefly boot by enabling the pinctrl driver via the correct config name.

---
  configs/firefly-rk3399_defconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
configs/firefly-rk3399_defconfig +1 -1
index f30f131f34..0a4d005975 100644
@@ -39,7 +39,7 @@ CONFIG_ETH_DESIGNWARE=y
  CONFIG_GMAC_ROCKCHIP=y
  CONFIG_PINCTRL=y
  CONFIG_SPL_PINCTRL=y
-CONFIG_ROCKCHIP_RK3399_PINCTRL=y
+CONFIG_PINCTRL_ROCKCHIP_RK3399=y
  CONFIG_DM_PMIC=y
  CONFIG_PMIC_RK8XX=y
  CONFIG_REGULATOR_PWM=y