ARM: ti: dra71: Add support for dra71-evm
Subsystems (6)
cover ARM: ti: dra71: Add support for dra71-evm
This series adds support for dra71-evm. This is dependent on the OPP kconfig support series posted recently[1].
Testing:
dra71-evm: http://pastebin.ubuntu.com/23521081/
dra72-evm-revc: http://pastebin.ubuntu.com/23521117/
dra7-evm: http://pastebin.ubuntu.com/23521091/
[1] https://www.mail-archive.com/u-boot at lists.denx.de/msg231685.html
Keerthy (2):
board: ti: dra71x-evm: Add PMIC support
configs: dra7xx: Enable lp873x options
Lokesh Vutla (7):
board: ti: dra71x-evm: Add epprom support
board: ti: dra71x-evm: Add mux settings
ARM: OMAP4+: Add support for getting pbias info from board
ARM: dts: dra7xx: sync DT with latest Linux
ARM: dts: dra71x-evm: Add DT support
configs: dra7xx: hs: Enable DM_ETH
configs: dra7xx: Enable pmic/regulator options
Nishanth Menon (2):
board: ti: dra72: Introduce optimization for rgmii timing for rev C
configs: ti_omap5_common: Select dtb name for dra71x
arch/arm/dts/Makefile | 2 +- arch/arm/dts/dra7-dspeve-thermal.dtsi | 27 ++ arch/arm/dts/dra7-evm.dts | 507 ++++++++++++++++------ arch/arm/dts/dra7-iva-thermal.dtsi | 27 ++ arch/arm/dts/dra7.dtsi | 717 ++++++++++++++++++++++++++------ arch/arm/dts/dra71-evm.dts | 230 ++++++++++ arch/arm/dts/dra72-evm-common.dtsi | 353 +++++++++------- arch/arm/dts/dra72-evm-revc.dts | 30 +- arch/arm/dts/dra72-evm-tps65917.dtsi | 134 ++++++ arch/arm/dts/dra72-evm.dts | 37 +- arch/arm/dts/dra7xx-clocks.dtsi | 425 ++++++++++--------- arch/arm/include/asm/arch-omap5/clock.h | 8 + arch/arm/include/asm/omap_common.h | 1 + arch/arm/include/asm/omap_mmc.h | 2 +- arch/arm/mach-omap2/omap4/hwinit.c | 13 + arch/arm/mach-omap2/omap5/hw_data.c | 16 + arch/arm/mach-omap2/omap5/hwinit.c | 34 ++ board/ti/dra7xx/evm.c | 69 ++- board/ti/dra7xx/mux_data.h | 275 ++++++++++-- configs/dra7xx_evm_defconfig | 6 +- configs/dra7xx_hs_evm_defconfig | 10 +- drivers/mmc/omap_hsmmc.c | 33 +- drivers/power/palmas.c | 21 +- include/configs/ti_omap5_common.h | 2 + include/dt-bindings/clk/ti-dra7-atl.h | 40 ++ include/dt-bindings/pinctrl/dra.h | 26 ++ include/palmas.h | 13 +- 27 files changed, 2354 insertions(+), 704 deletions(-) create mode 100644 arch/arm/dts/dra7-dspeve-thermal.dtsi create mode 100644 arch/arm/dts/dra7-iva-thermal.dtsi create mode 100644 arch/arm/dts/dra71-evm.dts create mode 100644 arch/arm/dts/dra72-evm-tps65917.dtsi create mode 100644 include/dt-bindings/clk/ti-dra7-atl.h
Signature · 1 line
2.10.1
PATCH 1/11 board: ti: dra71x-evm: Add epprom support
The dra71x-evm is a board based on TI's DRA718 processor targeting BOM-optimized entry infotainment systems such as display audio and is a software compatible derivative of the highly successful DRA74 and DRA72 processor families. More information can be found here[1].
Add epprom detection for dra71-evm.
[1] http://www.ti.com/product/dra718
--- board/ti/dra7xx/evm.c | 5 +++++ 1 file changed, 5 insertions(+)
board/ti/dra7xx/evm.c +5 -0
@@ -36,6 +36,7 @@#define board_is_dra74x_evm () board_ti_is("5777xCPU")#define board_is_dra72x_evm () board_ti_is("DRA72x-T") +#define board_is_dra71x_evm () board_ti_is("DRA79x,D")#define board_is_dra74x_revh_or_later () (board_is_dra74x_evm() && \ (strncmp("H", board_ti_get_rev(), 1) <= 0))#define board_is_dra72x_revc_or_later () (board_is_dra72x_evm() && \
@@ -469,6 +470,8 @@ int board_late_init(void)if (is_dra72x ()) {if (board_is_dra72x_revc_or_later ()) name ="dra72x-revc" ; +else if (board_is_dra71x_evm ()) + name ="dra71x" ;else name ="dra72x" ; }else {
@@ -509,6 +512,8 @@ void do_board_detect(void) bname ="DRA74x EVM" ; }else if (board_is_dra72x_evm ()) { bname ="DRA72x EVM" ; + }else if (board_is_dra71x_evm ()) { + bname ="DRA71x EVM" ; }else {/* If EEPROM is not populated */ if (is_dra72x ())
Signature · 1 line
2.10.1
PATCH 1/11 board: ti: dra71x-evm: Add epprom support
Quoted 10 lines · Lokesh Vutla
The dra71x-evm is a board based on TI's DRA718 processor targeting BOM-optimized entry infotainment systems such as display audio and is a software compatible derivative of the highly successful DRA74 and DRA72 processor families. More information can be found here[1].
Add epprom detection for dra71-evm.
[1] http://www.ti.com/product/dra718
Signed-off-by Lokesh Vutla <[email protected]>
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/20161126/f5ba2310/attachment.sig>
PATCH 1/11 board: ti: dra71x-evm: Add epprom support
In reply to Lokesh VutlaQuoted 11 lines · Lokesh Vutla
The dra71x-evm is a board based on TI's DRA718 processor targeting BOM-optimized entry infotainment systems such as display audio and is a software compatible derivative of the highly successful DRA74 and DRA72 processor families. More information can be found here[1].
Add epprom detection for dra71-evm.
[1] http://www.ti.com/product/dra718
Signed-off-by Lokesh Vutla <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
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/20161204/d33e4588/attachment.sig>
PATCH 2/11 board: ti: dra71x-evm: Add mux settings
In reply to Lokesh VutlaAdd mux and iodelay settings for dra71x-evm.
Data generated using PCT_DRA71x_SR2.0_v1.0.0.0 version (June 2016).
--- board/ti/dra7xx/evm.c | 7 +- board/ti/dra7xx/mux_data.h | 200 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 206 insertions(+), 1 deletion(-)
board/ti/dra7xx/evm.c +6 -1
@@ -562,7 +562,12 @@ void recalibrate_iodelay(void)case DRA722_ES2_0 : pads = dra72x_core_padconf_array_common; npads =ARRAY_SIZE (dra72x_core_padconf_array_common); -if (board_is_dra72x_revc_or_later ()) { +if (board_is_dra71x_evm ()) { + pads = dra71x_core_padconf_array; + npads =ARRAY_SIZE (dra71x_core_padconf_array); + iodelay = dra71_iodelay_cfg_array; + niodelays =ARRAY_SIZE (dra71_iodelay_cfg_array); + }else if (board_is_dra72x_revc_or_later ()) { delta_pads = dra72x_rgmii_padconf_array_revc; delta_npads =ARRAY_SIZE (dra72x_rgmii_padconf_array_revc);
board/ti/dra7xx/mux_data.h +200 -0
212 lines not on this page · raw message
Signature · 1 line
2.10.1
PATCH 2/11 board: ti: dra71x-evm: Add mux settings
Quoted 4 lines · Lokesh Vutla
Add mux and iodelay settings for dra71x-evm.
Data generated using PCT_DRA71x_SR2.0_v1.0.0.0 version (June 2016).Signed-off-by Lokesh Vutla <[email protected]>
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/20161126/784c9f81/attachment.sig>
PATCH 2/11 board: ti: dra71x-evm: Add mux settings
In reply to Lokesh VutlaQuoted 5 lines · Lokesh Vutla
Add mux and iodelay settings for dra71x-evm.
Data generated using PCT_DRA71x_SR2.0_v1.0.0.0 version (June 2016).Signed-off-by Lokesh Vutla <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
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/20161204/62f2e154/attachment.sig>
PATCH 3/11 board: ti: dra72: Introduce optimization for rgmii timing for rev C
In reply to Lokesh VutlaFrom: Nishanth Menon <[email protected]>
Rev C version of EVM does require IODelay to be configured for RGMII pins in MANUAL_1 configuration. Update the same based on PG2.0 initial simulation values.
Data based on PCT_DRA72x_SR2.0_SR1.0_v1.3.0.7
--- board/ti/dra7xx/mux_data.h | 75 ++++++++++++++++++++++++++++++---------------- 1 file changed, 50 insertions(+), 25 deletions(-)
board/ti/dra7xx/mux_data.h +50 -25
@@ -193,30 +193,30 @@ const struct pad_conf_entry dra72x_rgmii_padconf_array_revb[] = {const struct pad_conf_entry dra72x_rgmii_padconf_array_revc[] = { {VIN2A_FLD0 , (M14 |PIN_INPUT )},/* vin2a_fld0.gpio3_30 */ - {RGMII0_TXC , (M0 |PIN_OUTPUT )},/* rgmii0_txc.rgmii0_txc */ - {RGMII0_TXCTL , (M0 |PIN_OUTPUT )},/* rgmii0_txctl.rgmii0_txctl */ - {RGMII0_TXD3 , (M0 |PIN_OUTPUT )},/* rgmii0_txd3.rgmii0_txd3 */ - {RGMII0_TXD2 , (M0 |PIN_OUTPUT )},/* rgmii0_txd2.rgmii0_txd2 */ - {RGMII0_TXD1 , (M0 |PIN_OUTPUT )},/* rgmii0_txd1.rgmii0_txd1 */ - {RGMII0_TXD0 , (M0 |PIN_OUTPUT )},/* rgmii0_txd0.rgmii0_txd0 */ - {RGMII0_RXC , (M0 |PIN_INPUT_PULLDOWN )},/* rgmii0_rxc.rgmii0_rxc */ - {RGMII0_RXCTL , (M0 |PIN_INPUT_PULLDOWN )},/* rgmii0_rxctl.rgmii0_rxctl */ - {RGMII0_RXD3 , (M0 |PIN_INPUT_PULLDOWN )},/* rgmii0_rxd3.rgmii0_rxd3 */ - {RGMII0_RXD2 , (M0 |PIN_INPUT_PULLDOWN )},/* rgmii0_rxd2.rgmii0_rxd2 */ - {RGMII0_RXD1 , (M0 |PIN_INPUT_PULLDOWN )},/* rgmii0_rxd1.rgmii0_rxd1 */ - {RGMII0_RXD0 , (M0 |PIN_INPUT_PULLDOWN )},/* rgmii0_rxd0.rgmii0_rxd0 */ - {VIN2A_D12 , (M3 |PIN_OUTPUT )},/* vin2a_d12.rgmii1_txc */ - {VIN2A_D13 , (M3 |PIN_OUTPUT )},/* vin2a_d13.rgmii1_txctl */ - {VIN2A_D14 , (M3 |PIN_OUTPUT )},/* vin2a_d14.rgmii1_txd3 */ - {VIN2A_D15 , (M3 |PIN_OUTPUT )},/* vin2a_d15.rgmii1_txd2 */ - {VIN2A_D16 , (M3 |PIN_OUTPUT )},/* vin2a_d16.rgmii1_txd1 */ - {VIN2A_D17 , (M3 |PIN_OUTPUT )},/* vin2a_d17.rgmii1_txd0 */ - {VIN2A_D18 , (M3 |PIN_INPUT_PULLDOWN )},/* vin2a_d18.rgmii1_rxc */ - {VIN2A_D19 , (M3 |PIN_INPUT_PULLDOWN )},/* vin2a_d19.rgmii1_rxctl */ - {VIN2A_D20 , (M3 |PIN_INPUT_PULLDOWN )},/* vin2a_d20.rgmii1_rxd3 */ - {VIN2A_D21 , (M3 |PIN_INPUT_PULLDOWN )},/* vin2a_d21.rgmii1_rxd2 */ - {VIN2A_D22 , (M3 |PIN_INPUT_PULLDOWN )},/* vin2a_d22.rgmii1_rxd1 */ - {VIN2A_D23 , (M3 |PIN_INPUT_PULLDOWN )},/* vin2a_d23.rgmii1_rxd0 */ + {RGMII0_TXC , (M0 |PIN_OUTPUT |MANUAL_MODE )},/* rgmii0_txc.rgmii0_txc */ + {RGMII0_TXCTL , (M0 |PIN_OUTPUT |MANUAL_MODE )},/* rgmii0_txctl.rgmii0_txctl */ + {RGMII0_TXD3 , (M0 |PIN_OUTPUT |MANUAL_MODE )},/* rgmii0_txd3.rgmii0_txd3 */ + {RGMII0_TXD2 , (M0 |PIN_OUTPUT |MANUAL_MODE )},/* rgmii0_txd2.rgmii0_txd2 */ + {RGMII0_TXD1 , (M0 |PIN_OUTPUT |MANUAL_MODE )},/* rgmii0_txd1.rgmii0_txd1 */ + {RGMII0_TXD0 , (M0 |PIN_OUTPUT |MANUAL_MODE )},/* rgmii0_txd0.rgmii0_txd0 */ + {RGMII0_RXC , (M0 |PIN_INPUT_PULLDOWN |MANUAL_MODE )},/* rgmii0_rxc.rgmii0_rxc */ + {RGMII0_RXCTL , (M0 |PIN_INPUT_PULLDOWN |MANUAL_MODE )},/* rgmii0_rxctl.rgmii0_rxctl */ + {RGMII0_RXD3 , (M0 |PIN_INPUT_PULLDOWN |MANUAL_MODE )},/* rgmii0_rxd3.rgmii0_rxd3 */ + {RGMII0_RXD2 , (M0 |PIN_INPUT_PULLDOWN |MANUAL_MODE )},/* rgmii0_rxd2.rgmii0_rxd2 */ + {RGMII0_RXD1 , (M0 |PIN_INPUT_PULLDOWN |MANUAL_MODE )},/* rgmii0_rxd1.rgmii0_rxd1 */ + {RGMII0_RXD0 , (M0 |PIN_INPUT_PULLDOWN |MANUAL_MODE )},/* rgmii0_rxd0.rgmii0_rxd0 */ + {VIN2A_D12 , (M3 |PIN_OUTPUT |MANUAL_MODE )},/* vin2a_d12.rgmii1_txc */ + {VIN2A_D13 , (M3 |PIN_OUTPUT |MANUAL_MODE )},/* vin2a_d13.rgmii1_txctl */ + {VIN2A_D14 , (M3 |PIN_OUTPUT |MANUAL_MODE )},/* vin2a_d14.rgmii1_txd3 */ + {VIN2A_D15 , (M3 |PIN_OUTPUT |MANUAL_MODE )},/* vin2a_d15.rgmii1_txd2 */ + {VIN2A_D16 , (M3 |PIN_OUTPUT |MANUAL_MODE )},/* vin2a_d16.rgmii1_txd1 */ + {VIN2A_D17 , (M3 |PIN_OUTPUT |MANUAL_MODE )},/* vin2a_d17.rgmii1_txd0 */ + {VIN2A_D18 , (M3 |PIN_INPUT_PULLDOWN |MANUAL_MODE )},/* vin2a_d18.rgmii1_rxc */ + {VIN2A_D19 , (M3 |PIN_INPUT_PULLDOWN |MANUAL_MODE )},/* vin2a_d19.rgmii1_rxctl */ + {VIN2A_D20 , (M3 |PIN_INPUT_PULLDOWN |MANUAL_MODE )},/* vin2a_d20.rgmii1_rxd3 */ + {VIN2A_D21 , (M3 |PIN_INPUT_PULLDOWN |MANUAL_MODE )},/* vin2a_d21.rgmii1_rxd2 */ + {VIN2A_D22 , (M3 |PIN_INPUT_PULLDOWN |MANUAL_MODE )},/* vin2a_d22.rgmii1_rxd1 */ + {VIN2A_D23 , (M3 |PIN_INPUT_PULLDOWN |MANUAL_MODE )},/* vin2a_d23.rgmii1_rxd0 */ {XREF_CLK2 , (M5 |PIN_INPUT_PULLDOWN )},/* xref_clk2.atl_clk2 */ };
@@ -428,7 +428,32 @@ const struct iodelay_cfg_entry dra72_iodelay_cfg_array_revc[] = { {0x0170, 0, 0}, /* CFG_GPMC_A16_OUT */ {0x0174, 2251, 1217}, /* CFG_GPMC_A17_IN */ {0x0188, 0, 0}, /* CFG_GPMC_A18_OUT */ - {0x0374, 0, 0}, /* CFG_GPMC_CS2_OUT */ + {0x0374, 121, 0}, /* CFG_GPMC_CS2_OUT */ + {0x06F0, 413, 0}, /* CFG_RGMII0_RXC_IN */ + {0x06FC, 27, 2296}, /* CFG_RGMII0_RXCTL_IN */ + {0x0708, 3, 1721}, /* CFG_RGMII0_RXD0_IN */ + {0x0714, 134, 1786}, /* CFG_RGMII0_RXD1_IN */ + {0x0720, 40, 1966}, /* CFG_RGMII0_RXD2_IN */ + {0x072C, 0, 2057}, /* CFG_RGMII0_RXD3_IN */ + {0x0740, 0, 60}, /* CFG_RGMII0_TXC_OUT */ + {0x074C, 0, 60}, /* CFG_RGMII0_TXCTL_OUT */ + {0x0758, 0, 60}, /* CFG_RGMII0_TXD0_OUT */ + {0x0764, 0, 0}, /* CFG_RGMII0_TXD1_OUT */ + {0x0770, 0, 60}, /* CFG_RGMII0_TXD2_OUT */ + {0x077C, 0, 120}, /* CFG_RGMII0_TXD3_OUT */ + {0x0A70, 0, 0}, /* CFG_VIN2A_D12_OUT */ + {0x0A7C, 170, 0}, /* CFG_VIN2A_D13_OUT */ + {0x0A88, 150, 0}, /* CFG_VIN2A_D14_OUT */ + {0x0A94, 0, 0}, /* CFG_VIN2A_D15_OUT */ + {0x0AA0, 60, 0}, /* CFG_VIN2A_D16_OUT */ + {0x0AAC, 60, 0}, /* CFG_VIN2A_D17_OUT */ + {0x0AB0, 530, 0}, /* CFG_VIN2A_D18_IN */ + {0x0ABC, 71, 1099}, /* CFG_VIN2A_D19_IN */ + {0x0AC8, 2229, 10}, /* CFG_VIN2A_D1_IN */ + {0x0AD4, 142, 1337}, /* CFG_VIN2A_D20_IN */ + {0x0AE0, 114, 1517}, /* CFG_VIN2A_D21_IN */ + {0x0AEC, 171, 1331}, /* CFG_VIN2A_D22_IN */ + {0x0AF8, 0, 1328}, /* CFG_VIN2A_D23_IN */ }; const struct iodelay_cfg_entry dra71_iodelay_cfg_array[] = {
Signature · 1 line
2.10.1
PATCH 3/11 board: ti: dra72: Introduce optimization for rgmii timing for rev C
Quoted 9 lines · Lokesh Vutla
From: Nishanth Menon <[email protected]>
Rev C version of EVM does require IODelay to be configured for RGMII pins in
MANUAL_1configuration. Update the same based on PG2.0 initial simulation values.
Data based on PCT_DRA72x_SR2.0_SR1.0_v1.3.0.7Signed-off-by Nishanth Menon <[email protected]>Signed-off-by Lokesh Vutla <[email protected]>
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/20161126/3c0420a0/attachment.sig>
PATCH 3/11 board: ti: dra72: Introduce optimization for rgmii timing for rev C
In reply to Lokesh VutlaQuoted 10 lines · Lokesh Vutla
From: Nishanth Menon <[email protected]>
Rev C version of EVM does require IODelay to be configured for RGMII pins in
MANUAL_1configuration. Update the same based on PG2.0 initial simulation values.
Data based on PCT_DRA72x_SR2.0_SR1.0_v1.3.0.7Signed-off-by Nishanth Menon <[email protected]>Signed-off-by Lokesh Vutla <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
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/20161204/0c8ae325/attachment.sig>
PATCH 4/11 board: ti: dra71x-evm: Add PMIC support
In reply to Lokesh VutlaFrom: Keerthy <[email protected]>
Add the pmic_data for LP873x PMIC which is used to power up dra71x-evm.
Note: As per the DM[1] DRA71x supports only OP_NOM. So, updating the efuse registers only to use OPP_NOM irrespective of any CONFIG_DRA7_<VOLT>_OPP_{NOM,od,high} is defined.
[1] http://www.ti.com/product/DRA718/technicaldocuments
--- arch/arm/include/asm/arch-omap5/clock.h | 8 +++++ arch/arm/include/asm/omap_common.h | 1 + arch/arm/mach-omap2/omap5/hw_data.c | 16 ++++++++++ board/ti/dra7xx/evm.c | 52 +++++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+)
arch/arm/include/asm/arch-omap5/clock.h +8 -0
@@ -324,6 +324,9 @@/* Standard offset is 0.5v expressed in uv */ #define PALMAS_SMPS_BASE_VOLT_UV 500000 +/* Offset is 0.73V for LP873x */ +#define LP873X_BUCK_BASE_VOLT_UV 730000 +/* TPS659038 */ #define TPS659038_I2C_SLAVE_ADDR 0x58#define TPS659038_REG_ADDR_SMPS12 0x23
@@ -338,6 +341,11 @@#define TPS65917_REG_ADDR_SMPS2 0x27#define TPS65917_REG_ADDR_SMPS3 0x2F +/* LP873X */ +#define LP873X_I2C_SLAVE_ADDR 0x60 +#define LP873X_REG_ADDR_BUCK0 0x6 +#define LP873X_REG_ADDR_BUCK1 0x7 +#define LP873X_REG_ADDR_LDO1 0xA/* TPS */ #define TPS62361_I2C_SLAVE_ADDR 0x60
arch/arm/include/asm/omap_common.h +1 -0
@@ -600,6 +600,7 @@ extern struct omap_sys_ctrl_regs const omap5_ctrl;extern struct omap_sys_ctrl_regs const dra7xx_ctrl;extern struct pmic_data tps659038; +extern struct pmic_data lp8733;void hw_data_init (void );
arch/arm/mach-omap2/omap5/hw_data.c +16 -0
@@ -336,6 +336,22 @@ struct pmic_data tps659038 = { .gpio_en = 0, }; +/* The LP8732 and LP8733 are software-compatible, use common struct */ +struct pmic_data lp8733 = { + .base_offset =LP873X_BUCK_BASE_VOLT_UV , + .step =5000 ,/* 5 mV represented in uV */ +/* +* Offset codes 0 - 0x13 Invalid. +* Offset codes 0x14 0x17 give 10mV steps +* Offset codes 0x17 through 0x9D give 5mV steps +* So let us start with our operating range from .73V +*/ + .start_code =0x17 , + .i2c_slave_addr =0x60 , + .pmic_bus_init = gpi2c_init, + .pmic_write = palmas_i2c_write_u8, +}; +struct vcores_data omap5430_volts = { .mpu.value[OPP_NOM ] =VDD_MPU , .mpu.addr =SMPS_REG_ADDR_12_MPU ,
board/ti/dra7xx/evm.c +52 -0
68 lines not on this page · raw message
Signature · 1 line
2.10.1
PATCH 4/11 board: ti: dra71x-evm: Add PMIC support
Quoted 5 lines · Lokesh Vutla
From: Keerthy <[email protected]>
Add the
pmic_datafor LP873x PMIC which is used to power up dra71x-evm.
Quoted 8 lines
Note: As per the DM[1] DRA71x supports only
OP_NOM. So, updating the efuse registers only to useOPP_NOMirrespective of any CONFIG_DRA7_<VOLT>_OPP_{NOM,od,high} is defined.[1] http://www.ti.com/product/DRA718/technicaldocuments
Signed-off-by Keerthy <[email protected]>Signed-off-by Lokesh Vutla <[email protected]>
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/20161126/ee06a097/attachment.sig>
PATCH 4/11 board: ti: dra71x-evm: Add PMIC support
In reply to Lokesh VutlaQuoted 9 lines · Lokesh Vutla
From: Keerthy <[email protected]>
Add the
pmic_datafor LP873x PMIC which is used to power up dra71x-evm.Note: As per the DM[1] DRA71x supports only
OP_NOM. So, updating the efuse registers only to useOPP_NOMirrespective of any CONFIG_DRA7_<VOLT>_OPP_{NOM,od,high} is defined.
Quoted 5 lines
[1] http://www.ti.com/product/DRA718/technicaldocuments
Signed-off-by Keerthy <[email protected]>Signed-off-by Lokesh Vutla <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
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/20161204/f77862ec/attachment.sig>
PATCH 5/11 ARM: OMAP4+: Add support for getting pbias info from board
In reply to Lokesh VutlaPalmas driver assumes it is always TPS659xx regulator on all DRA7xx based boards to enable mmc regulator. This is not true always like in case of DRA71x-evm. So get this information based on the board.
--- arch/arm/include/asm/omap_mmc.h | 2 +- arch/arm/mach-omap2/omap4/hwinit.c | 13 +++++++++++++ arch/arm/mach-omap2/omap5/hwinit.c | 34 ++++++++++++++++++++++++++++++++++ drivers/mmc/omap_hsmmc.c | 33 ++------------------------------- drivers/power/palmas.c | 21 ++++++++++++++++++++- include/palmas.h | 13 ++++++++++++- 6 files changed, 82 insertions(+), 34 deletions(-)
arch/arm/include/asm/omap_mmc.h +1 -1
@@ -167,5 +167,5 @@ struct hsmmc {int omap_mmc_init (int dev_index,uint host_caps_mask,uint f_max,int cd_gpio,int wp_gpio); - +void vmmc_pbias_config (uint voltage);#endif /* OMAP_MMC_H_ */
arch/arm/mach-omap2/omap4/hwinit.c +13 -0
@@ -12,6 +12,7 @@* SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> +#include <palmas.h> #include <asm/armv7.h> #include <asm/arch/cpu.h> #include <asm/arch/sys_proto.h>
@@ -175,3 +176,15 @@ void v7_outer_cache_disable(void) omap_smc1(OMAP4_SERVICE_PL310_CONTROL_REG_SET, 0); }#endif /* !CONFIG_SYS_L2CACHE_OFF */ + +void vmmc_pbias_config (uint voltage) +{ +u32 value =0 ; + + value =readl ((*ctrl)->control_pbiaslite); + value &= ~(MMC1_PBIASLITE_PWRDNZ |MMC1_PWRDNZ ); +writel (value, (*ctrl)->control_pbiaslite); + value =readl ((*ctrl)->control_pbiaslite); + value |=MMC1_PBIASLITE_VMODE |MMC1_PBIASLITE_PWRDNZ |MMC1_PWRDNZ ; +writel (value, (*ctrl)->control_pbiaslite); +}
arch/arm/mach-omap2/omap5/hwinit.c +34 -0
@@ -13,6 +13,7 @@* SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> +#include <palmas.h> #include <asm/armv7.h> #include <asm/arch/cpu.h> #include <asm/arch/sys_proto.h>
@@ -451,3 +452,36 @@ void v7_arch_cp15_set_acr(u32 acr, u32 cpu_midr, u32 cpu_rev_comb,#endif omap_smc1 (OMAP5_SERVICE_ACR_SET , acr); } + +#if defined(CONFIG_PALMAS_POWER ) +void vmmc_pbias_config (uint voltage) +{ +u32 value =0 ; +struct vcores_data const *vcores = *omap_vcores; + + value =readl ((*ctrl)->control_pbias); + value &= ~SDCARD_PWRDNZ ; +writel (value, (*ctrl)->control_pbias); +udelay (10 );/* wait 10 us */ + value &= ~SDCARD_BIAS_PWRDNZ ; +writel (value, (*ctrl)->control_pbias); + +if (vcores->core.pmic->i2c_slave_addr ==0x60 ) { +if (voltage ==LDO_VOLT_3V0 ) + voltage =0x19 ; +else if (voltage ==LDO_VOLT_1V8 ) + voltage =0xa ; +lp873x_mmc1_poweron_ldo (voltage); + }else { +palmas_mmc1_poweron_ldo (voltage); + } + + value =readl ((*ctrl)->control_pbias); + value |=SDCARD_BIAS_PWRDNZ ; +writel (value, (*ctrl)->control_pbias); +udelay (150 );/* wait 150 us */ + value |=SDCARD_PWRDNZ ; +writel (value, (*ctrl)->control_pbias); +udelay (150 );/* wait 150 us */ +} +#endif
drivers/mmc/omap_hsmmc.c +2 -31
@@ -110,30 +110,6 @@ static void omap4_vmmc_pbias_config(struct mmc *mmc) }#endif -#if defined(CONFIG_OMAP54XX ) && defined(CONFIG_PALMAS_POWER ) -static void omap5_pbias_config (struct mmc *mmc) -{ -u32 value =0 ; - - value =readl ((*ctrl)->control_pbias); - value &= ~SDCARD_PWRDNZ ; -writel (value, (*ctrl)->control_pbias); -udelay (10 );/* wait 10 us */ - value &= ~SDCARD_BIAS_PWRDNZ ; -writel (value, (*ctrl)->control_pbias); - -palmas_mmc1_poweron_ldo (); - - value =readl ((*ctrl)->control_pbias); - value |=SDCARD_BIAS_PWRDNZ ; -writel (value, (*ctrl)->control_pbias); -udelay (150 );/* wait 150 us */ - value |=SDCARD_PWRDNZ ; -writel (value, (*ctrl)->control_pbias); -udelay (150 );/* wait 150 us */ -} -#endif -static unsigned char mmc_board_init (struct mmc *mmc) {#if defined(CONFIG_OMAP34XX )
@@ -173,14 +149,10 @@ static unsigned char mmc_board_init(struct mmc *mmc) &prcm_base->iclken1_core);#endif -#if defined(CONFIG_OMAP44XX ) +#if defined(CONFIG_OMAP54XX ) || defined(CONFIG_OMAP44XX )/* PBIAS config needed for MMC1 only */ if (mmc->block_dev.devnum ==0 ) -omap4_vmmc_pbias_config (mmc); -#endif -#if defined(CONFIG_OMAP54XX ) && defined(CONFIG_PALMAS_POWER ) -if (mmc->block_dev.devnum ==0 ) -omap5_pbias_config (mmc); +vmmc_pbias_config (LDO_VOLT_3V0 );#endif return 0 ;
@@ -214,7 +186,6 @@ void mmc_init_stream(struct hsmmc *mmc_base)writel (readl (&mmc_base->con) & ~INIT_INITSTREAM , &mmc_base->con); } -static int omap_hsmmc_init_setup (struct mmc *mmc) {struct hsmmc *mmc_base;
drivers/power/palmas.c +20 -1
@@ -23,7 +23,26 @@ void palmas_init_settings(void)#endif } -int palmas_mmc1_poweron_ldo (void ) +#if defined(CONFIG_OMAP54XX ) +int lp873x_mmc1_poweron_ldo (uint voltage) +{ +if (palmas_i2c_write_u8 (LP873X_LDO1_ADDR ,LP873X_LDO1_VOLTAGE , + voltage)) { +printf ("lp873x: could not set LDO1 voltage.\n" ); +return 1 ; + } +/* TURN ON LDO1 */ +if (palmas_i2c_write_u8 (LP873X_LDO1_ADDR ,LP873X_LDO1_CTRL , +LP873X_LDO_CTRL_EN |LP873X_LDO_CTRL_RDIS_EN )) { +printf ("lp873x: could not turn on LDO1.\n" ); +return 1 ; + } +return 0 ; + +} +#endif + +int palmas_mmc1_poweron_ldo (uint voltage) {u8 val =0 ;
include/palmas.h +12 -1
@@ -24,6 +24,16 @@#define LDO1_CTRL 0x50#define LDO1_VOLTAGE 0x51 +/* LDO1 control/voltage for LP873x */ +#define LP873X_LDO1_ADDR 0x60 +#define LP873X_LDO1_CTRL 0x9 +#define LP873X_LDO1_VOLTAGE 0xa +#define LP873X_LDO_VOLT_3V0 0x19 +#define LP873X_LDO_VOLT_1V8 0xa +#define LP873X_LDO_CTRL_EN (0x1 << 0) +#define LP873X_LDO_CTRL_EN_PINCTRL (0x1 << 1) +#define LP873X_LDO_CTRL_RDIS_EN (0x1 << 2) +/* LDO2 control/voltage */ #define LDO2_CTRL 0x52#define LDO2_VOLTAGE 0x53
@@ -119,7 +129,8 @@ static inline int palmas_i2c_read_u8(u8 chip_no, u8 reg, u8 *val) }void palmas_init_settings (void ); -int palmas_mmc1_poweron_ldo (void ); +int palmas_mmc1_poweron_ldo (uint voltage); +int lp873x_mmc1_poweron_ldo (uint voltage);int twl603x_mmc1_set_ldo9 (u8 vsel);int twl603x_audio_power (u8 on);int twl603x_enable_bb_charge (u8 bb_fields);
Signature · 1 line
2.10.1
PATCH 5/11 ARM: OMAP4+: Add support for getting pbias info from board
Quoted 7 lines · Lokesh Vutla
Palmas driver assumes it is always TPS659xx regulator on all DRA7xx based boards to enable mmc regulator. This is not true always like in case of DRA71x-evm. So get this information based on the board.
Signed-off-by Lokesh Vutla <[email protected]>Signed-off-by Vignesh R <[email protected]>Signed-off-by Nishanth Menon <[email protected]>
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/20161126/da97ab1c/attachment.sig>
PATCH 5/11 ARM: OMAP4+: Add support for getting pbias info from board
In reply to Lokesh VutlaQuoted 8 lines · Lokesh Vutla
Palmas driver assumes it is always TPS659xx regulator on all DRA7xx based boards to enable mmc regulator. This is not true always like in case of DRA71x-evm. So get this information based on the board.
Signed-off-by Lokesh Vutla <[email protected]>Signed-off-by Vignesh R <[email protected]>Signed-off-by Nishanth Menon <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
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/20161204/90394d6e/attachment.sig>
PATCH 6/11 ARM: dts: dra7xx: sync DT with latest Linux
In reply to Lokesh VutlaSync all dra7xx based dts files with latest Linux
--- arch/arm/dts/dra7-dspeve-thermal.dtsi | 27 ++ arch/arm/dts/dra7-evm.dts | 507 +++++++++++++++++------- arch/arm/dts/dra7-iva-thermal.dtsi | 27 ++ arch/arm/dts/dra7.dtsi | 717 +++++++++++++++++++++++++++------- arch/arm/dts/dra72-evm-common.dtsi | 353 +++++++++-------- arch/arm/dts/dra72-evm-revc.dts | 30 +- arch/arm/dts/dra72-evm-tps65917.dtsi | 134 +++++++ arch/arm/dts/dra72-evm.dts | 37 +- arch/arm/dts/dra7xx-clocks.dtsi | 425 +++++++++++--------- include/dt-bindings/clk/ti-dra7-atl.h | 40 ++ include/dt-bindings/pinctrl/dra.h | 26 ++ 11 files changed, 1683 insertions(+), 640 deletions(-) create mode 100644 arch/arm/dts/dra7-dspeve-thermal.dtsi create mode 100644 arch/arm/dts/dra7-iva-thermal.dtsi create mode 100644 arch/arm/dts/dra72-evm-tps65917.dtsi create mode 100644 include/dt-bindings/clk/ti-dra7-atl.h
arch/arm/dts/dra7-dspeve-thermal.dtsi new file +27 -0
@@ -0,0 +1,27 @@ +/* + * Device Tree Source for DRA7x SoC DSPEVE thermal + * + * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ + * + * This file is licensed under the terms of the GNU General Public License + * version 2. This program is licensed "as is" without any warranty of any + * kind, whether express or implied. + */ + +#include <dt-bindings/thermal/thermal.h> + +dspeve_thermal: dspeve_thermal { + polling-delay-passive = <250>; /* milliseconds */ + polling-delay = <500>; /* milliseconds */ + + /* sensor ID */ + thermal-sensors = <&bandgap 3>; + + trips { + dspeve_crit: dspeve_crit { + temperature = <125000>; /* milliCelsius */ + hysteresis = <2000>; /* milliCelsius */ + type = "critical"; + }; + }; +};
arch/arm/dts/dra7-evm.dts +370 -137
717 lines not on this page · raw message
arch/arm/dts/dra7-iva-thermal.dtsi new file +27 -0
@@ -0,0 +1,27 @@ +/* + * Device Tree Source for DRA7x SoC IVA thermal + * + * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ + * + * This file is licensed under the terms of the GNU General Public License + * version 2. This program is licensed "as is" without any warranty of any + * kind, whether express or implied. + */ + +#include <dt-bindings/thermal/thermal.h> + +iva_thermal: iva_thermal { + polling-delay-passive = <250>; /* milliseconds */ + polling-delay = <500>; /* milliseconds */ + + /* sensor ID */ + thermal-sensors = <&bandgap 4>; + + trips { + iva_crit: iva_crit { + temperature = <125000>; /* milliCelsius */ + hysteresis = <2000>; /* milliCelsius */ + type = "critical"; + }; + }; +};
arch/arm/dts/dra7.dtsi +584 -133
1,139 lines not on this page · raw message
arch/arm/dts/dra72-evm-common.dtsi +197 -156
484 lines not on this page · raw message
arch/arm/dts/dra72-evm-revc.dts +20 -10
@@ -11,25 +11,35 @@ / { model = "TI DRA722 Rev C EVM"; - memory { + memory at 0 { device_type = "memory"; reg = <0x0 0x80000000 0x0 0x80000000>; /* 2GB */ }; }; -&tps65917_regulators { - ldo2_reg: ldo2 { - /* LDO2_OUT --> VDDA_1V8_PHY2 */ - regulator-name = "ldo2"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - regulator-boot-on; +&i2c1 { + tps65917: tps65917 at 58 { + reg = <0x58>; + + interrupts = <GIC_SPI 2 IRQ_TYPE_NONE>; /* IRQ_SYS_1N */ }; }; +#include "dra72-evm-tps65917.dtsi" + +&ldo2_reg { + /* LDO2_OUT --> VDDA_1V8_PHY2 */ + regulator-always-on; + regulator-boot-on; +}; + &hdmi { - vdda_video-supply = <&ldo2_reg>; + vdda-supply = <&ldo2_reg>; +}; + +&pcf_gpio_21 { + interrupt-parent = <&gpio3>; + interrupts = <30 IRQ_TYPE_EDGE_FALLING>; }; &mac {
arch/arm/dts/dra72-evm-tps65917.dtsi new file +134 -0
134 lines not on this page · raw message
arch/arm/dts/dra72-evm.dts +22 -15
@@ -1,38 +1,45 @@ /* - * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ + * Copyright (C) 2014-2016 Texas Instruments Incorporated - http://www.ti.com/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ -#include <dra72-evm-common.dtsi> - +#include "dra72-evm-common.dtsi" / { model = "TI DRA722"; - compatible = "ti,dra72-evm", "ti,dra722", "ti,dra72", "ti,dra7"; - memory { + memory at 0 { device_type = "memory"; - reg = <0x80000000 0x40000000>; /* 1024 MB */ + reg = <0x0 0x80000000 0x0 0x40000000>; /* 1024 MB */ }; }; +&i2c1 { + tps65917: tps65917 at 58 { + reg = <0x58>; -&cpsw_emac0 { - phy_id = <&davinci_mdio>, <3>; - phy-mode = "rgmii"; + interrupts = <GIC_SPI 2 IRQ_TYPE_NONE>; /* IRQ_SYS_1N */ + }; }; -&dss { - status = "ok"; - - vdda_video-supply = <&ldo5_reg>; -}; +#include "dra72-evm-tps65917.dtsi" &hdmi { vdda-supply = <&ldo3_reg>; }; +&pcf_gpio_21 { + interrupt-parent = <&gpio6>; + interrupts = <11 IRQ_TYPE_EDGE_FALLING>; +}; + &mac { - mode-gpios = <&pcf_gpio_21 4 GPIO_ACTIVE_HIGH>; + slaves = <1>; + mode-gpios = <&pcf_gpio_21 4 GPIO_ACTIVE_HIGH>; +}; + +&cpsw_emac0 { + phy_id = <&davinci_mdio>, <3>; + phy-mode = "rgmii"; };
arch/arm/dts/dra7xx-clocks.dtsi +236 -189
367 lines not on this page · raw message
include/dt-bindings/clk/ti-dra7-atl.h new file +40 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.10.1
Part of the diff is not shown here. View the raw message.
PATCH 6/11 ARM: dts: dra7xx: sync DT with latest Linux
Quoted 3 lines · Lokesh Vutla
Sync all dra7xx based dts files with latest Linux
Signed-off-by Lokesh Vutla <[email protected]>
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/20161126/51c52f7e/attachment.sig>
PATCH 6/11 ARM: dts: dra7xx: sync DT with latest Linux
In reply to Lokesh VutlaQuoted 4 lines · Lokesh Vutla
Sync all dra7xx based dts files with latest Linux
Signed-off-by Lokesh Vutla <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
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/20161204/b0361c8d/attachment.sig>
PATCH 7/11 ARM: dts: dra71x-evm: Add DT support
In reply to Lokesh VutlaAdd DT support for dra71-evm and built it as part of FIT image.
--- arch/arm/dts/Makefile | 2 +- arch/arm/dts/dra71-evm.dts | 230 ++++++++++++++++++++++++++++++++++++++++ board/ti/dra7xx/evm.c | 5 +- configs/dra7xx_evm_defconfig | 2 +- configs/dra7xx_hs_evm_defconfig | 2 +- 5 files changed, 237 insertions(+), 4 deletions(-) create mode 100644 arch/arm/dts/dra71-evm.dts
arch/arm/dts/Makefile +1 -1
@@ -136,7 +136,7 @@ dtb-$(CONFIG_ARCH_SOCFPGA) += \ socfpga_cyclone5_vining_fpga.dtb dtb-$(CONFIG_TARGET_DRA7XX_EVM) += dra72-evm.dtb dra7-evm.dtb \ - dra72-evm-revc.dtb + dra72-evm-revc.dtb dra71-evm.dtb dtb-$(CONFIG_TARGET_AM57XX_EVM) += am57xx-beagle-x15.dtb \ am572x-idk.dtb dtb-$(CONFIG_TARGET_STV0991) += stv0991.dtb
arch/arm/dts/dra71-evm.dts new file +230 -0
230 lines not on this page · raw message
board/ti/dra7xx/evm.c +4 -1
@@ -942,7 +942,10 @@ int ft_board_setup(void *blob, bd_t *bd)int board_fit_config_name_match (const char *name) {if (is_dra72x ()) { -if (board_is_dra72x_revc_or_later ()) { +if (board_is_dra71x_evm ()) { +if (!strcmp (name,"dra71-evm" )) +return 0 ; + }else if (board_is_dra72x_revc_or_later ()) {if (!strcmp (name,"dra72-evm-revc" ))return 0 ; }else if (!strcmp (name,"dra72-evm" )) {
configs/dra7xx_evm_defconfig +1 -1
@@ -47,7 +47,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_OF_CONTROL=y -CONFIG_OF_LIST="dra7-evm dra72-evm dra72-evm-revc" +CONFIG_OF_LIST="dra7-evm dra72-evm dra72-evm-revc dra71-evm" CONFIG_DM=y # CONFIG_BLK is not set CONFIG_DFU_MMC=y
configs/dra7xx_hs_evm_defconfig +1 -1
@@ -49,7 +49,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_OF_CONTROL=y -CONFIG_OF_LIST="dra7-evm dra72-evm" +CONFIG_OF_LIST="dra7-evm dra72-evm dra72-evm-revc dra71-evm" CONFIG_DM=y # CONFIG_BLK is not set CONFIG_DFU_MMC=y
Signature · 1 line
2.10.1
PATCH 7/11 ARM: dts: dra71x-evm: Add DT support
Quoted 3 lines · Lokesh Vutla
Add DT support for dra71-evm and built it as part of FIT image.
Signed-off-by Lokesh Vutla <[email protected]>
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/20161126/b2ba4f91/attachment.sig>
PATCH 7/11 ARM: dts: dra71x-evm: Add DT support
In reply to Lokesh VutlaQuoted 4 lines · Lokesh Vutla
Add DT support for dra71-evm and built it as part of FIT image.
Signed-off-by Lokesh Vutla <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
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/20161204/6386de07/attachment.sig>
PATCH 8/11 configs: ti_omap5_common: Select dtb name for dra71x
In reply to Lokesh VutlaFrom: Nishanth Menon <[email protected]>
Select dtb name for dra71x-evm.
--- include/configs/ti_omap5_common.h | 2 ++ 1 file changed, 2 insertions(+)
include/configs/ti_omap5_common.h +2 -0
@@ -98,6 +98,8 @@"setenv fdtfile dra72-evm-revc.dtb; fi;" \"if test $board_name = dra72x; then " \"setenv fdtfile dra72-evm.dtb; fi;" \ +"if test $board_name = dra71x; then " \ +"setenv fdtfile dra71-evm.dtb; fi;" \"if test $board_name = beagle_x15; then " \"setenv fdtfile am57xx-beagle-x15.dtb; fi;" \"if test $board_name = am572x_idk; then " \
Signature · 1 line
2.10.1
PATCH 8/11 configs: ti_omap5_common: Select dtb name for dra71x
Quoted 5 lines · Lokesh Vutla
From: Nishanth Menon <[email protected]>
Select dtb name for dra71x-evm.
Signed-off-by Nishanth Menon <[email protected]>
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/20161126/73febd7f/attachment.sig>
PATCH 8/11 configs: ti_omap5_common: Select dtb name for dra71x
In reply to Lokesh VutlaQuoted 6 lines · Lokesh Vutla
From: Nishanth Menon <[email protected]>
Select dtb name for dra71x-evm.
Signed-off-by Nishanth Menon <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
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/20161204/71145d65/attachment.sig>
PATCH 9/11 configs: dra7xx: hs: Enable DM_ETH
In reply to Lokesh VutlaEnable DM_ETH for hs boards.
--- configs/dra7xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/dra7xx_hs_evm_defconfig +1 -0
@@ -64,6 +64,7 @@ CONFIG_DM_SPI_FLASH=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_BAR=y CONFIG_SPI_FLASH_SPANSION=y +CONFIG_DM_ETH=y CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=y CONFIG_DM_SERIAL=y
Signature · 1 line
2.10.1
PATCH 9/11 configs: dra7xx: hs: Enable DM_ETH
Quoted 3 lines · Lokesh Vutla
Enable
DM_ETHfor hs boards.Signed-off-by Lokesh Vutla <[email protected]>
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/20161126/01f86be2/attachment.sig>
PATCH 9/11 configs: dra7xx: hs: Enable DM_ETH
In reply to Lokesh VutlaQuoted 4 lines · Lokesh Vutla
Enable
DM_ETHfor hs boards.Signed-off-by Lokesh Vutla <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
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/20161204/bbad4c26/attachment.sig>
PATCH 10/11 configs: dra7xx: Enable pmic/regulator options
In reply to Lokesh VutlaEnable pmic/regulator config options.
--- configs/dra7xx_evm_defconfig | 1 + configs/dra7xx_hs_evm_defconfig | 4 ++++ 2 files changed, 5 insertions(+)
configs/dra7xx_evm_defconfig +1 -0
@@ -40,6 +40,7 @@ CONFIG_CMD_GPIO=y CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y +CONFIG_CMD_PMIC=y CONFIG_CMD_REGULATOR=y CONFIG_CMD_EXT2=y CONFIG_CMD_EXT4=y
configs/dra7xx_hs_evm_defconfig +4 -0
@@ -42,6 +42,7 @@ CONFIG_CMD_GPIO=y CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y +CONFIG_CMD_PMIC=y CONFIG_CMD_REGULATOR=y CONFIG_CMD_EXT2=y CONFIG_CMD_EXT4=y
@@ -65,8 +66,11 @@ CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_BAR=y CONFIG_SPI_FLASH_SPANSION=y CONFIG_DM_ETH=y +CONFIG_DM_PMIC=y +CONFIG_PMIC_PALMAS=y CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=y +CONFIG_DM_REGULATOR_PALMAS=y CONFIG_DM_SERIAL=y CONFIG_SYS_NS16550=y CONFIG_DM_SPI=y
Signature · 1 line
2.10.1
PATCH 10/11 configs: dra7xx: Enable pmic/regulator options
Quoted 3 lines · Lokesh Vutla
Enable pmic/regulator config options.
Signed-off-by Lokesh Vutla <[email protected]>
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/20161126/ea711736/attachment.sig>
PATCH 10/11 configs: dra7xx: Enable pmic/regulator options
In reply to Lokesh VutlaQuoted 4 lines · Lokesh Vutla
Enable pmic/regulator config options.
Signed-off-by Lokesh Vutla <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
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/20161204/4e6744a5/attachment.sig>
PATCH 11/11 configs: dra7xx: Enable lp873x options
In reply to Lokesh VutlaFrom: Keerthy <[email protected]>
DRA71-evm uses LP873x regulator. Enable lp873x PMIC config options.
--- configs/dra7xx_evm_defconfig | 3 +++ configs/dra7xx_hs_evm_defconfig | 3 +++ 2 files changed, 6 insertions(+)
configs/dra7xx_evm_defconfig +3 -0
@@ -66,9 +66,12 @@ CONFIG_SPI_FLASH_SPANSION=y CONFIG_DM_ETH=y CONFIG_DM_PMIC=y CONFIG_PMIC_PALMAS=y +CONFIG_PMIC_LP873X=y CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=y +CONFIG_DM_REGULATOR_GPIO=y CONFIG_DM_REGULATOR_PALMAS=y +CONFIG_DM_REGULATOR_LP873X=y CONFIG_DM_SERIAL=y CONFIG_SYS_NS16550=y CONFIG_DM_SPI=y
configs/dra7xx_hs_evm_defconfig +3 -0
@@ -68,9 +68,12 @@ CONFIG_SPI_FLASH_SPANSION=y CONFIG_DM_ETH=y CONFIG_DM_PMIC=y CONFIG_PMIC_PALMAS=y +CONFIG_PMIC_LP873X=y CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=y +CONFIG_DM_REGULATOR_GPIO=y CONFIG_DM_REGULATOR_PALMAS=y +CONFIG_DM_REGULATOR_LP873X=y CONFIG_DM_SERIAL=y CONFIG_SYS_NS16550=y CONFIG_DM_SPI=y
Signature · 1 line
2.10.1
PATCH 11/11 configs: dra7xx: Enable lp873x options
Quoted 6 lines · Lokesh Vutla
From: Keerthy <[email protected]>
DRA71-evm uses LP873x regulator. Enable lp873x PMIC config options.
Signed-off-by Keerthy <[email protected]>Signed-off-by Lokesh Vutla <[email protected]>
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/20161126/4e22d39d/attachment.sig>
PATCH 11/11 configs: dra7xx: Enable lp873x options
In reply to Lokesh VutlaQuoted 7 lines · Lokesh Vutla
From: Keerthy <[email protected]>
DRA71-evm uses LP873x regulator. Enable lp873x PMIC config options.
Signed-off-by Keerthy <[email protected]>Signed-off-by Lokesh Vutla <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
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/20161204/3dd4c919/attachment.sig>