Re: [U-Boot] [PATCH v6 13/21] SabreSD: Enable DM_I2C and DM_PMIC

2017-05-22 Thread Fabio Estevam
On Mon, May 22, 2017 at 11:38 AM, Jagan Teki wrote: > No, even the current source doesn't define CONFIG_CMD_PMIC - can you check? But include/configs/mx6sabresd.h has: /* PMIC */ #define CONFIG_POWER #define CONFIG_POWER_I2C #define CONFIG_POWER_PFUZE100 #define CONFIG_POWER_PFUZE100_I2C_ADDR 0

Re: [U-Boot] [PATCH v6 13/21] SabreSD: Enable DM_I2C and DM_PMIC

2017-05-22 Thread Jagan Teki
On Thu, May 18, 2017 at 6:11 PM, Fabio Estevam wrote: > On Thu, May 18, 2017 at 9:22 AM, Fabio Estevam wrote: > >> Last time I tested the pmic commands were gone. Were you able to >> access the PMIC via the 'pmic' commands? > > Just tested your latest version and the 'pmic' command is gone, so >

Re: [U-Boot] [PATCH v6 13/21] SabreSD: Enable DM_I2C and DM_PMIC

2017-05-18 Thread Fabio Estevam
On Thu, May 18, 2017 at 9:22 AM, Fabio Estevam wrote: > Last time I tested the pmic commands were gone. Were you able to > access the PMIC via the 'pmic' commands? Just tested your latest version and the 'pmic' command is gone, so this needs to be fixed. Thanks __

Re: [U-Boot] [PATCH v6 13/21] SabreSD: Enable DM_I2C and DM_PMIC

2017-05-18 Thread Fabio Estevam
Hi Jagan, On Thu, May 18, 2017 at 8:00 AM, Jagan Teki wrote: > From: Jagan Teki > > (1) Enable > DM_I2C > DM_PMIC > DM_PMIC_PFUZE100 > (2) Removed > setup_i2c > power_init_board > > I2C Log: > > => i2c bus > Bus 0: i2c@021a > Bus 1: i2c@021a4000 >08: pfuze1

[U-Boot] [PATCH v6 13/21] SabreSD: Enable DM_I2C and DM_PMIC

2017-05-18 Thread Jagan Teki
From: Jagan Teki (1) Enable DM_I2C DM_PMIC DM_PMIC_PFUZE100 (2) Removed setup_i2c power_init_board I2C Log: => i2c bus Bus 0: i2c@021a Bus 1: i2c@021a4000 08: pfuze100@08, offset len 1, flags 0 Bus 2: i2c@021a8000 => i2c dev 1 Setting bus to 1 => i2c speed