arm: socfpga: vining: Drop meaningless comment
PATCH 1/8 arm: socfpga: vining: Drop meaningless comment
The comment is no longer meaningful due to DT conversion, drop it.
--- include/configs/socfpga_vining_fpga.h | 2 -- 1 file changed, 2 deletions(-)
include/configs/socfpga_vining_fpga.h +0 -2
@@ -17,8 +17,6 @@#define CONFIG_LOADADDR 0x01000000#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR -/* Ethernet on SoC (EMAC) */ -/* Extra Environment */ #define CONFIG_HOSTNAME "socfpga_vining_fpga"
Signature · 1 line
2.33.0
PATCH 2/8 arm: socfpga: vining: Increase environment size
Increase the environment size from 4k to 16k to prevent environment from becoming full.
--- configs/socfpga_vining_fpga_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configs/socfpga_vining_fpga_defconfig +1 -1
@@ -1,6 +1,6 @@ CONFIG_ARM=y CONFIG_ARCH_SOCFPGA=y -CONFIG_ENV_SIZE=0x2000 +CONFIG_ENV_SIZE=0x4000 CONFIG_ENV_OFFSET=0x100000 CONFIG_ENV_SECT_SIZE=0x10000 CONFIG_DM_GPIO=y
Signature · 1 line
2.33.0
RE: [PATCH 2/8] arm: socfpga: vining: Increase environment size
Quoted 13 lines
-----Original Message-----
From: Marek Vasut <[email protected]>
Sent: Tuesday, 14 September, 2021 11:26 AM
To: [email protected]
Cc: Marek Vasut <[email protected]>; Lim, Elly Siew Chin <[email protected]>; Simon Goldschmidt <[email protected]>; Chee, Tien Fong <[email protected]>
Subject: [PATCH 2/8] arm: socfpga: vining: Increase environment sizeIncrease the environment size from 4k to 16k to prevent environment from becoming full.
Quoted 8 lines
Signed-off-by Marek Vasut <[email protected]>Cc Siew Chin Lim <[email protected]>Cc Simon Goldschmidt <[email protected]>Cc Tien Fong Chee <[email protected]>--- configs/socfpga_vining_fpga_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Regards,
TF
PATCH 3/8 arm: socfpga: vining: Set USB gadget manufacturer to Softing with capital S
In reply to Marek VasutThis was configured in downstream, so it is likely that most of the custom software used around the device depends on it. Make upstream compatible.
--- configs/socfpga_vining_fpga_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configs/socfpga_vining_fpga_defconfig +1 -1
@@ -91,7 +91,7 @@ CONFIG_DESIGNWARE_SPI=y CONFIG_USB=y CONFIG_USB_DWC2=y CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_MANUFACTURER="softing" +CONFIG_USB_GADGET_MANUFACTURER="Softing" CONFIG_USB_GADGET_VENDOR_NUM=0x0525 CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 CONFIG_USB_GADGET_DWC2_OTG=y
Signature · 1 line
2.33.0
RE: [PATCH 3/8] arm: socfpga: vining: Set USB gadget manufacturer to Softing with capital S
Quoted 14 lines
-----Original Message-----
From: Marek Vasut <[email protected]>
Sent: Tuesday, 14 September, 2021 11:26 AM
To: [email protected]
Cc: Marek Vasut <[email protected]>; Lim, Elly Siew Chin <[email protected]>; Simon Goldschmidt <[email protected]>; Chee, Tien Fong <[email protected]>
Subject: [PATCH 3/8] arm: socfpga: vining: Set USB gadget manufacturer to Softing with capital SThis was configured in downstream, so it is likely that most of the custom software used around the device depends on it. Make upstream compatible.
Quoted 8 lines
Signed-off-by Marek Vasut <[email protected]>Cc Siew Chin Lim <[email protected]>Cc Simon Goldschmidt <[email protected]>Cc Tien Fong Chee <[email protected]>--- configs/socfpga_vining_fpga_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Regards,
TF
PATCH 4/8 arm: socfpga: vining: Set default SPI NOR mode and frequency
In reply to Marek VasutThe SPI NOR bus mode is 0 on this system, update it accordingly. Increase frequency to 40 MHz and enable SFDP parsing, since the flashes on this system support that and it is a huge performance improvement.
--- configs/socfpga_vining_fpga_defconfig | 3 +++ 1 file changed, 3 insertions(+)
configs/socfpga_vining_fpga_defconfig +3 -0
@@ -74,6 +74,9 @@ CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=3 CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=70 CONFIG_MMC_DW=y CONFIG_MTD=y +CONFIG_SF_DEFAULT_MODE=0x0 +CONFIG_SF_DEFAULT_SPEED=40000000 +CONFIG_SPI_FLASH_SFDP_SUPPORT=y CONFIG_SPI_FLASH_SPANSION=y CONFIG_SPI_FLASH_STMICRO=y # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
Signature · 1 line
2.33.0
RE: [PATCH 4/8] arm: socfpga: vining: Set default SPI NOR mode and frequency
Quoted 15 lines
-----Original Message-----
From: Marek Vasut <[email protected]>
Sent: Tuesday, 14 September, 2021 11:26 AM
To: [email protected]
Cc: Marek Vasut <[email protected]>; Lim, Elly Siew Chin <[email protected]>; Simon Goldschmidt <[email protected]>; Chee, Tien Fong <[email protected]>
Subject: [PATCH 4/8] arm: socfpga: vining: Set default SPI NOR mode and frequencyThe SPI NOR bus mode is 0 on this system, update it accordingly. Increase frequency to 40 MHz and enable SFDP parsing, since the flashes on this system support that and it is a huge performance improvement.
Quoted 8 lines
Signed-off-by Marek Vasut <[email protected]>Cc Siew Chin Lim <[email protected]>Cc Simon Goldschmidt <[email protected]>Cc Tien Fong Chee <[email protected]>--- configs/socfpga_vining_fpga_defconfig | 3 +++ 1 file changed, 3 insertions(+)
Regards,
TF
PATCH 5/8 arm: socfpga: vining: Un-disable WDT in DT
In reply to Marek VasutThe WDT on this system should be enabled, make it so.
--- arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi | 4 ---- 1 file changed, 4 deletions(-)
arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi +0 -4
@@ -15,10 +15,6 @@ }; }; -&watchdog0 { - status = "disabled"; -}; - &mmc { status = "disabled"; };
Signature · 1 line
2.33.0
RE: [PATCH 5/8] arm: socfpga: vining: Un-disable WDT in DT
Quoted 12 lines
-----Original Message-----
From: Marek Vasut <[email protected]>
Sent: Tuesday, 14 September, 2021 11:26 AM
To: [email protected]
Cc: Marek Vasut <[email protected]>; Lim, Elly Siew Chin <[email protected]>; Simon Goldschmidt <[email protected]>; Chee, Tien Fong <[email protected]>
Subject: [PATCH 5/8] arm: socfpga: vining: Un-disable WDT in DTThe WDT on this system should be enabled, make it so.
Quoted 8 lines
Signed-off-by Marek Vasut <[email protected]>Cc Siew Chin Lim <[email protected]>Cc Simon Goldschmidt <[email protected]>Cc Tien Fong Chee <[email protected]>--- arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi | 4 ---- 1 file changed, 4 deletions(-)
Regards,
TF
PATCH 6/8 arm: socfpga: vining: Fix UDC controller phandle in DT
In reply to Marek VasutThe USB peripheral controller is the DWC2 controller 1, not 0. Update the phandle to fix UDC support on this board.
--- arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi +1 -1
@@ -11,7 +11,7 @@ /{ aliases { spi0 = "/soc/spi@ff705000"; - udc0 = &usb0; + udc0 = &usb1; }; };
Signature · 1 line
2.33.0
RE: [PATCH 6/8] arm: socfpga: vining: Fix UDC controller phandle in DT
Quoted 13 lines
-----Original Message-----
From: Marek Vasut <[email protected]>
Sent: Tuesday, 14 September, 2021 11:26 AM
To: [email protected]
Cc: Marek Vasut <[email protected]>; Lim, Elly Siew Chin <[email protected]>; Simon Goldschmidt <[email protected]>; Chee, Tien Fong <[email protected]>
Subject: [PATCH 6/8] arm: socfpga: vining: Fix UDC controller phandle in DTThe USB peripheral controller is the DWC2 controller 1, not 0. Update the phandle to fix UDC support on this board.
Quoted 8 lines
Signed-off-by Marek Vasut <[email protected]>Cc Siew Chin Lim <[email protected]>Cc Simon Goldschmidt <[email protected]>Cc Tien Fong Chee <[email protected]>--- arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Regards,
TF
PATCH 7/8 arm: socfpga: vining: Enable DW I2C driver
In reply to Marek VasutThe Designware I2C IP is used to communicate with I2C peripherals on SoCFPGA, and required to access I2C EEPROM on this board. Enable it.
--- configs/socfpga_vining_fpga_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/socfpga_vining_fpga_defconfig +1 -0
@@ -56,6 +56,7 @@ CONFIG_DFU_SF=y CONFIG_SYS_DFU_DATA_BUF_SIZE=0x1000000 CONFIG_DWAPB_GPIO=y CONFIG_DM_I2C=y +CONFIG_SYS_I2C_DW=y CONFIG_LED_STATUS=y CONFIG_LED_STATUS_GPIO=y CONFIG_LED_STATUS0=y
Signature · 1 line
2.33.0
RE: [PATCH 7/8] arm: socfpga: vining: Enable DW I2C driver
Quoted 13 lines
-----Original Message-----
From: Marek Vasut <[email protected]>
Sent: Tuesday, 14 September, 2021 11:26 AM
To: [email protected]
Cc: Marek Vasut <[email protected]>; Lim, Elly Siew Chin <[email protected]>; Simon Goldschmidt <[email protected]>; Chee, Tien Fong <[email protected]>
Subject: [PATCH 7/8] arm: socfpga: vining: Enable DW I2C driverThe Designware I2C IP is used to communicate with I2C peripherals on SoCFPGA, and required to access I2C EEPROM on this board. Enable it.
Quoted 8 lines
Signed-off-by Marek Vasut <[email protected]>Cc Siew Chin Lim <[email protected]>Cc Simon Goldschmidt <[email protected]>Cc Tien Fong Chee <[email protected]>--- configs/socfpga_vining_fpga_defconfig | 1 + 1 file changed, 1 insertion(+)
Regards,
TF
PATCH 8/8 arm: socfpga: vining: Let DWMAC configure PHY reset GPIO
In reply to Marek VasutThe DM DWMAC driver is perfectly capable of configuring the ethernet PHY reset GPIO, let the driver do it instead of doing it in the board file.
--- board/softing/vining_fpga/socfpga.c | 7 ------- 1 file changed, 7 deletions(-)
board/softing/vining_fpga/socfpga.c +0 -7
@@ -23,7 +23,6 @@ DECLARE_GLOBAL_DATA_PTR;*/ int board_late_init (void ) { -const unsigned int phy_nrst_gpio =0 ;const unsigned int usb_nrst_gpio =35 ;int ret;
@@ -33,12 +32,6 @@ int board_late_init(void)/* Address of boot parameters for ATAG (if ATAG is used) */ gd->bd->bi_boot_params =CONFIG_SYS_SDRAM_BASE +0x100 ; - ret =gpio_request (phy_nrst_gpio,"phy_nrst_gpio" ); -if (!ret) -gpio_direction_output (phy_nrst_gpio,1 ); -else -printf ("Cannot remove PHY from reset!\n" ); - ret =gpio_request (usb_nrst_gpio,"usb_nrst_gpio" );if (!ret)gpio_direction_output (usb_nrst_gpio,1 );
Signature · 1 line
2.33.0
RE: [PATCH 8/8] arm: socfpga: vining: Let DWMAC configure PHY reset GPIO
Quoted 14 lines
-----Original Message-----
From: Marek Vasut <[email protected]>
Sent: Tuesday, 14 September, 2021 11:26 AM
To: [email protected]
Cc: Marek Vasut <[email protected]>; Lim, Elly Siew Chin <[email protected]>; Simon Goldschmidt <[email protected]>; Chee, Tien Fong <[email protected]>
Subject: [PATCH 8/8] arm: socfpga: vining: Let DWMAC configure PHY reset GPIOThe DM DWMAC driver is perfectly capable of configuring the ethernet PHY reset GPIO, let the driver do it instead of doing it in the board file.
Quoted 8 lines
Signed-off-by Marek Vasut <[email protected]>Cc Siew Chin Lim <[email protected]>Cc Simon Goldschmidt <[email protected]>Cc Tien Fong Chee <[email protected]>--- board/softing/vining_fpga/socfpga.c | 7 ------- 1 file changed, 7 deletions(-)
Regards,
TF
Quoted 12 lines
-----Original Message-----
From: Marek Vasut <[email protected]>
Sent: Tuesday, 14 September, 2021 11:25 AM
To: [email protected]
Cc: Marek Vasut <[email protected]>; Lim, Elly Siew Chin <[email protected]>; Simon Goldschmidt <[email protected]>; Chee, Tien Fong <[email protected]>
Subject: [PATCH 1/8] arm: socfpga: vining: Drop meaningless commentThe comment is no longer meaningful due to DT conversion, drop it.
Quoted 8 lines
Signed-off-by Marek Vasut <[email protected]>Cc Siew Chin Lim <[email protected]>Cc Simon Goldschmidt <[email protected]>Cc Tien Fong Chee <[email protected]>--- include/configs/socfpga_vining_fpga.h | 2 -- 1 file changed, 2 deletions(-)
Regards,
TF