projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0fa9d7
)
riscv: defconfig: enable gpio support for HiFive Unleashed
author
Sagar Shrikant Kadam
<sagar.kadam@sifive.com>
Tue, 10 Nov 2020 15:22:12 +0000
(07:22 -0800)
committer
Palmer Dabbelt
<palmerdabbelt@google.com>
Thu, 14 Jan 2021 04:59:46 +0000
(20:59 -0800)
Ethernet phy VSC8541-01 on HiFive Unleashed has its reset line
connected to a gpio, so enable GPIO driver's required to reset
the phy.
Signed-off-by: Sagar Shrikant Kadam <sagar.kadam@sifive.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/configs/defconfig
patch
|
blob
|
history
diff --git
a/arch/riscv/configs/defconfig
b/arch/riscv/configs/defconfig
index
d222d35
..
8c3d1e4
100644
(file)
--- a/
arch/riscv/configs/defconfig
+++ b/
arch/riscv/configs/defconfig
@@
-64,6
+64,8
@@
CONFIG_HW_RANDOM=y
CONFIG_HW_RANDOM_VIRTIO=y
CONFIG_SPI=y
CONFIG_SPI_SIFIVE=y
+CONFIG_GPIOLIB=y
+CONFIG_GPIO_SIFIVE=y
# CONFIG_PTP_1588_CLOCK is not set
CONFIG_POWER_RESET=y
CONFIG_DRM=y