Adopt usb ether gadget and rndis driver to adopt driver model
Signed-off-by: Mugunthan V N
---
drivers/usb/gadget/ether.c | 152 ++---
drivers/usb/gadget/rndis.c | 13 +++-
drivers/usb/gadget/rndis.h | 19 --
include/net.h | 8 +++
4
http://lists.denx.de/pipermail/u-boot/2016-February/246827.html
Mugunthan V N (3):
drivers: usb: gadget: ether: do not register usb when DM_USB and
DM_ETH defined
drivers: usb: gadget: ether: remove unused variable tmp
drivers: usb: gadget: ether/rndis: convert driver to adopt d
ernet@4a10
misc[ + ]`-- usb@4740
usb_dev_gen [ + ]|-- usb@47401000
eth [ + ]| `-- usb_ether
usb [ ]`-- usb@47401800
Signed-off-by: Mugunthan V N
---
drivers/usb/gadget/ether.c | 8 ++--
1 file changed, 6 insertions(
tmp variable in eth_bind() is never used any where, so remove it.
Signed-off-by: Mugunthan V N
---
drivers/usb/gadget/ether.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
index bcc8be86a5..e8d9e4a9c9 100644
--- a/drivers/usb
On Wednesday 30 November 2016 05:24 AM, Joe Hershberger wrote:
> On Thu, Nov 17, 2016 at 11:39 PM, Mugunthan V N wrote:
>> Adopt usb ether gadget and rndis driver to adopt driver model
>>
>> Signed-off-by: Mugunthan V N
>> ---
>> drivers/usb/gadget/Kconfi
On Wednesday 30 November 2016 04:43 AM, Joe Hershberger wrote:
> On Sun, Nov 27, 2016 at 11:02 AM, Simon Glass wrote:
>> Hi Mugunthan,
>>
>> On 24 November 2016 at 01:11, Mugunthan V N wrote:
>>> Hi Simon
>>>
>>> On Thursday 24 November 201
Hi Simon
On Thursday 24 November 2016 07:51 AM, Simon Glass wrote:
> Hi Mugunthan,
>
> On 20 November 2016 at 22:38, Mugunthan V N wrote:
>> Hi Simon,
>>
>> On Saturday 19 November 2016 01:04 AM, Simon Glass wrote:
>>> Hi Mugunthan,
>>>
>>&
Signed-off-by: Vignesh R
Reviewed-by: Mugunthan V N
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Simon,
On Saturday 19 November 2016 01:04 AM, Simon Glass wrote:
> Hi Mugunthan,
>
> On 17 November 2016 at 01:09, Mugunthan V N wrote:
>> Convert usb ether gadget to adopt usb driver model
>>
>> Signed-off-by: Mugunthan V N
>> Reviewed-by: Simon Glass
Use net device priv to pass usb ether priv and use it in
net device ops callback.
Signed-off-by: Mugunthan V N
Reviewed-by: Simon Glass
---
drivers/usb/gadget/ether.c | 46 +-
1 file changed, 21 insertions(+), 25 deletions(-)
diff --git a/drivers
Adopt usb ether gadget and rndis driver to adopt driver model
Signed-off-by: Mugunthan V N
---
drivers/usb/gadget/Kconfig | 4 ++
drivers/usb/gadget/ether.c | 153 ++---
drivers/usb/gadget/rndis.c | 13 +++-
drivers/usb/gadget/rndis.h | 19
Consolidate the net device, usb eth device and gadget device
struct to single struct and a single global variable so that the
same can be passed as priv of ethernet driver.
Signed-off-by: Mugunthan V N
Reviewed-by: Simon Glass
---
drivers/usb/gadget/ether.c | 53
USLEEP_RANGE
patches/usb_gadget/v3.00/0006-drivers-usb-gadget-ether-rndis-convert-driver-to-ado.patch
has style problems, please review.
Mugunthan V N (6):
drivers: usb: gadget: ether: adopt to usb driver model
drivers: usb: gadget: ether: access network_started using local
variable
network_started of struct eth_dev can be accessed using local
variable dev and no reason to access it with the global struct.
Signed-off-by: Mugunthan V N
Reviewed-by: Simon Glass
---
drivers/usb/gadget/ether.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a
On Thursday 17 November 2016 01:39 PM, Mugunthan V N wrote:
> This patch series adopts driver model for usb ether gadget
> driver. This series is tested with MUSB driver model conversion
> on AM335x GP evm and AM335x BBB (logs [1]).
Please drop this patch series as not all patches of th
Adopt usb ether gadget and rndis driver to adopt driver model
Signed-off-by: Mugunthan V N
---
drivers/usb/gadget/Kconfig | 4 ++
drivers/usb/gadget/ether.c | 153 ++---
drivers/usb/gadget/rndis.c | 13 +++-
drivers/usb/gadget/rndis.h | 19
prepare driver for driver model migration
Signed-off-by: Mugunthan V N
---
drivers/usb/gadget/ether.c | 73 +-
1 file changed, 52 insertions(+), 21 deletions(-)
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
index 54b8b59b29
Use net device priv to pass usb ether priv and use it in
net device ops callback.
Signed-off-by: Mugunthan V N
Reviewed-by: Simon Glass
---
drivers/usb/gadget/ether.c | 46 +-
1 file changed, 21 insertions(+), 25 deletions(-)
diff --git a/drivers
Consolidate the net device, usb eth device and gadget device
struct to single struct and a single global variable so that the
same can be passed as priv of ethernet driver.
Signed-off-by: Mugunthan V N
Reviewed-by: Simon Glass
---
drivers/usb/gadget/ether.c | 53
network_started of struct eth_dev can be accessed using local
variable dev and no reason to access it with the global struct.
Signed-off-by: Mugunthan V N
Reviewed-by: Simon Glass
---
drivers/usb/gadget/ether.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a
Convert usb ether gadget to adopt usb driver model
Signed-off-by: Mugunthan V N
Reviewed-by: Simon Glass
---
drivers/usb/gadget/ether.c | 36
1 file changed, 36 insertions(+)
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
index
this has to be
fixed all over the file which should be a separate patch.
CHECK: Avoid CamelCase:
#297: FILE: drivers/usb/gadget/rndis.c:1157:
+int rndis_set_param_dev(u8 configNr, struct eth_device *dev, int mtu,
Mugunthan V N (6):
drivers: usb: gadget: ether: adopt to usb driver model
drivers
(Documentation/devicetree/bindings/net/keystone-netcp.txt), still do we
need to document the same in u-boot as well?
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
enable usb driver model for am335x bbb as musb supports
driver model
Signed-off-by: Mugunthan V N
---
configs/am335x_evm_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig
index e5a1696914..7e1cf3213e 100644
--- a/configs
Add usb ether gadget device with usb_ether_init() when
CONFIG_DM_ETH and CONFIG_USB_ETHER are defined.
Signed-off-by: Mugunthan V N
Reviewed-by: Tom Rini
---
arch/arm/cpu/armv7/am33xx/board.c | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/cpu/armv7/am33xx/board.c
b/arch
Since usb ether gadget have support for driver model, so enable
usb ether gadget.
Signed-off-by: Mugunthan V N
Reviewed-by: Tom Rini
---
include/configs/am335x_evm.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index
Add a TI MUSB peripheral driver with driver model support and the
driver will be bound by the MUSB wrapper driver based on the
dr_mode device tree entry.
Signed-off-by: Mugunthan V N
Reviewed-by: Simon Glass
---
drivers/usb/musb-new/musb_uboot.c | 2 +
drivers/usb/musb-new/ti-musb.c| 109
Add a TI MUSB host driver with driver model support and the
driver will be bound by the MUSB wrapper driver based on the
dr_mode device tree entry.
Signed-off-by: Mugunthan V N
Reviewed-by: Tom Rini
---
drivers/usb/musb-new/ti-musb.c | 191 +
1 file
Currently all backend driver ops uses hard coded physical
address, so to adopt the driver to DM, add device pointer to ops
call backs so that drivers can get physical addresses from the
usb driver priv/plat data.
Signed-off-by: Mugunthan V N
Reviewed-by: Tom Rini
---
arch/arm/cpu/armv7/am33xx
MUSB wrapper driver is bound as MISC device and underlying usb
devices are bind to usb drivers based on dr_mode, so probing the
MISC wrapper driver to register musb devices.
Signed-off-by: Mugunthan V N
Reviewed-by: Tom Rini
---
arch/arm/cpu/armv7/am33xx/board.c | 7 +++
1 file changed, 7
Do not register usb devices when CONFIG_DM_USB is define.
Signed-off-by: Mugunthan V N
Reviewed-by: Tom Rini
---
arch/arm/cpu/armv7/am33xx/board.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm/cpu/armv7/am33xx/board.c
b/arch/arm/cpu/armv7/am33xx/board.c
Since OMAP's spl doesn't support DM currently, do not define
CONFIG_DM_USB for spl build.
Signed-off-by: Mugunthan V N
Reviewed-by: Tom Rini
---
include/configs/am335x_evm.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_e
are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
total: 0 errors, 0 warnings, 0 checks, 14 lines checked
Mugunthan V N (10):
configs: am335x: usb: do not define CONFIG_DM_USB for spl
am33xx: board: do not register usb devices when CONFIG_DM_USB is
de
Add a misc driver for MUSB wrapper, so that based on dr_mode the
USB devices can bind to USB host or USB device drivers.
Signed-off-by: Mugunthan V N
Reviewed-by: Tom Rini
---
drivers/usb/musb-new/Kconfig | 9 ++
drivers/usb/musb-new/Makefile | 1 +
drivers/usb/musb-new/ti-musb.c | 64
prepare driver for driver model migration
Signed-off-by: Mugunthan V N
---
drivers/usb/gadget/ether.c | 73 +-
1 file changed, 52 insertions(+), 21 deletions(-)
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
index 54b8b59b29
Convert usb ether gadget to adopt usb driver model
Signed-off-by: Mugunthan V N
Reviewed-by: Simon Glass
---
drivers/usb/gadget/ether.c | 36
1 file changed, 36 insertions(+)
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
index
Add support to detect RGMII link interface from link-interface
device tree entry. Also rename the existing link type enums so
that it provides meaning full interface like SGMII.
Signed-off-by: Mugunthan V N
---
Without this support there is a crash in K2G EVM tftp boot [1].
Verified this with
In AM335x GP EVM, Atheros 8031 phy is used, enable the driver as
AM335x SoC RGMII delay mode has to be enabled in phy as mentioned
in the silicon errata Advisory 1.0.10
Signed-off-by: Mugunthan V N
Acked-by: Joe Hershberger
---
include/configs/am335x_evm.h | 2 ++
1 file changed, 2 insertions
u-boot.git
cpsw-rgmii-v2
Mugunthan V N (3):
drivers: net: phy: atheros: add separate config for AR8031
include: configs: am335x: add Atheros phy support
driver: net: cpsw: add support for RGMII id mode support and RMII
clock source selection
drivers/net/cpsw.c
cpsw driver supports only selection of phy mode in control module
but control module has more setting like RGMII ID mode selection,
RMII clock source selection. So ported to cpsw-phy-sel driver
from kernel to u-boot.
Signed-off-by: Mugunthan V N
Signed-off-by: Lokesh Vutla
Acked-by: Joe
EVMsk second port which uses
AR8031 Giga bit RGMII phy. Fixing this by adding separate config
for AR8031 phy.
Reviewed-by: Sekhar Nori
Signed-off-by: Mugunthan V N
Acked-by: Joe Hershberger
---
drivers/net/phy/atheros.c | 37 -
1 file changed, 36 insertions(+), 1
On Thursday 13 October 2016 09:39 AM, Lokesh Vutla wrote:
>
>
> On Monday 10 October 2016 06:27 PM, Mugunthan V N wrote:
>> cpsw driver supports only selection of phy mode in control module
>> but control module has more setting like RGMII ID mode selection,
>> RMII
In AM335x GP EVM, Atheros 8031 phy is used, enable the driver as
AM335x SoC RGMII delay mode has to be enabled in phy as mentioned
in the silicon errata Advisory 1.0.10
Signed-off-by: Mugunthan V N
---
include/configs/am335x_evm.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include
EVMsk second port which uses
AR8031 Giga bit RGMII phy. Fixing this by adding separate config
for AR8031 phy.
Reviewed-by: Sekhar Nori
Signed-off-by: Mugunthan V N
---
drivers/net/phy/atheros.c | 37 -
1 file changed, 36 insertions(+), 1 deletion(-)
diff --git a
cpsw driver supports only selection of phy mode in control module
but control module has more setting like RGMII ID mode selection,
RMII clock source selection. So ported to cpsw-phy-sel driver
from kernel to u-boot.
Signed-off-by: Mugunthan V N
---
drivers/net/cpsw.c | 153
testing [2].
* DRA 72 Rev B EVM
* DRA 72 Rev C EVM
* DRA 74 EVM
* AM437x GP EVM
* AM335x BBB
* AM335x GP EVM
[1] - http://pastebin.ubuntu.com/23302895/
[2] - git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git cpsw-rgmii
Mugunthan V N (3):
drivers: net: phy: atheros: add separate config
V N (2):
ARM: dts: dra72: add rev C evm support
board: ti: dra7xx: complex definitions should be protected with
parentheses
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/dra72-evm-common.dtsi | 513
arch/arm/dts/dra72-evm-revc.dts| 70
As a standard practice complex definitions should be protected
with parentheses, as it might fail when used in a complex if
statements.
Signed-off-by: Mugunthan V N
---
board/ti/dra7xx/evm.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/board/ti/dra7xx/evm.c b
Add DTS support for dra72 evm Rev C which has the following
changes
* Two ethernet ports now instead of the single one in rev B.
* DP83867 ethernet phy instead of DP838865.
Cc: Vignesh R
Signed-off-by: Mugunthan V N
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/dra72-evm
With commit ceec08f50b6, phy is connected to slave 0, but
changing the phy node was missed, fix it by populating the
phy node to proper cpsw slave node.
Fixes: ceec08f50b6 ("ARM: dts: dra72-evm: Add mode-gpios entry for mac node")
Signed-off-by: Mugunthan V N
Cc: Vignesh R
---
ar
On Monday 15 August 2016 10:53 PM, Karl Beldan wrote:
> ATM when receiving a packet the whole buffer is invalidated, this change
> optimizes this behaviour.
>
> Signed-off-by: Karl Beldan
Reviewed-by: Mugunthan V N
Regards
Mugunthan V N
__
operation at range
>
> Signed-off-by: Karl Beldan
Reviewed-by: Mugunthan V N
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Add support to detect RGMII link interface from link-interface
device tree entry. Also rename the existing link type enums so
that it provides meaningful interface like SGMII.
Signed-off-by: Mugunthan V N
---
Tested this patch on Keystone K2G evm, logs [1]
[1] - http://pastebin.ubuntu.com
of size aligned to PKTALIGN.
>
> Signed-off-by: Lokesh Vutla
> ---
Reviewed-by: Mugunthan V N
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Enable eth driver model for am43xx_evm as cpsw supports
driver model.
This was already added with the commit bc705ea1cf12 but with
commit 4c4e3b37750f to add fit support CONFIG_DM_ETH was missed.
Signed-off-by: Mugunthan V N
Cc: Lokesh Vutla
---
configs/am43xx_evm_defconfig| 1 +
configs
Enable eth driver model for dra7xx_evm as cpsw supports
driver model.
This was already added with the commit 641b936fa5ba but with
commit bd7245849f7c to add fit support CONFIG_DM_ETH was missed.
Signed-off-by: Mugunthan V N
Cc: Lokesh Vutla
---
configs/dra7xx_evm_defconfig | 1 +
1 file
On Wednesday 10 August 2016 07:24 PM, Sekhar Nori wrote:
> The K2G EVM from TI has an SD card slot as
> well as onboard eMMC for data storage.
>
> Enable support for these.
>
> Signed-off-by: Sekhar Nori
Acked-by: Mugunthan V N
Reg
On Wednesday 10 August 2016 07:24 PM, Sekhar Nori wrote:
> K2G can benefit from driver model support in the
> MMC/SD driver it uses: omap_hsmmc
>
> Enable driver model MMC support for K2G.
>
> Signed-off-by: Sekhar Nori
> ---
Acked-by: Mugunthan V N
On Wednesday 10 August 2016 07:24 PM, Sekhar Nori wrote:
> K2G SoC from TI has two MMC/SD controllers.
> Add device tree data for these.
>
> Signed-off-by: Sekhar Nori
> ---
Acked-by: Mugunthan V N
Regards
Mugunthan V N
___
U-Boot
verted'
> priv->cd_inverted = fdtdec_get_bool(fdt, node, "cd-inverted");
> ^
>
> Fix this by accessing cd_inverted only when
> OMAP_HSMMC_USE_GPIO is defined.
>
> Signed-off-by: Sekhar Nori
Acked-by: Mugunthan V N
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
hing cache of size PKTSIZE_ALIGN as similar to what is
> being done in _cpsw_recv.
>
> Signed-off-by: Lokesh Vutla
Tested-by: Mugunthan V N
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
-off-by: Vignesh R
> Reviewed-by: Tom Rini
Reviewed-by: Mugunthan V N
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On Tuesday 02 August 2016 10:14 AM, Vignesh R wrote:
> PCF8575 does not have any registers hence, offset field needs to be
> ignored for i2c read/write. Therefore populate u-boot,i2c-offset-len
> with 0 in PCF8575 DT nodes.
>
> Signed-off-by: Vignesh R
Reviewed-by: Muguntha
f-by: Vignesh R
> Reviewed-by: Tom Rini
> Acked-by: Joe Hershberger
Reviewed-by: Mugunthan V N
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On Tuesday 02 August 2016 10:14 AM, Vignesh R wrote:
> On DRA7, pcf chip present at address 0x21 on i2c1, is used to
> switch between cpsw slave0 and slave1. Hence, enable PCF
> driver for the same.
>
> Signed-off-by: Vignesh R
Reviewed-by: Mugunthan V N
Regard
5.pdf
>
> Signed-off-by: Vignesh R
> Reviewed-by: Tom Rini
> Reviewed-by: Simon Glass
Reviewed-by: Mugunthan V N
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
There is only one ethernet mac address in e-fuse, but there are
multiple slaves in keystone net, so enable random mac address
support.
Signed-off-by: Mugunthan V N
---
configs/k2e_evm_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/k2e_evm_defconfig b/configs
There is only one ethernet mac address in e-fuse, but there are
multiple slaves in keystone net, so enable random mac address
support.
Signed-off-by: Mugunthan V N
---
configs/k2l_evm_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/k2l_evm_defconfig b/configs
multi-port-support/v1.00/0002-drivers-net-keystone_net-add-support-for-multi-slave.patch
has style problems, please review.
Mugunthan V N (5):
drivers: net: keystone_net: fix line termination with semi-colon
drivers: net: keystone_net: add support for multi slave ethernet
configs: k2hk_evm:
Keystone net can have multiple ethernet slaves, currently only
slave 1 is supported by the driver. Register multiple slaves as
individual ethernets to network framework.
Signed-off-by: Mugunthan V N
---
drivers/net/keystone_net.c | 222 -
1 file
Each line should be terminated by semi-colon. It was not caught
earlier as there is a proper statement. Fix it by changing the
comma with semi-colon.
Signed-off-by: Mugunthan V N
---
drivers/net/keystone_net.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net
There is only one ethernet mac address in e-fuse, but there are
multiple slaves in keystone net, so enable random mac address
support.
Signed-off-by: Mugunthan V N
---
configs/k2hk_evm_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/k2hk_evm_defconfig b/configs
On Friday 29 July 2016 02:22 PM, Vignesh R wrote:
> AM571x and AM572x IDK have a spansion s25fl256s QSPI flash on the board
> connected to TI QSPI over CS0. Hence, add QSPI and flash slave
> DT nodes.
>
> Signed-off-by: Vignesh R
Reviewed-by: Mugunthan V N
Regard
On Friday 29 July 2016 02:22 PM, Vignesh R wrote:
> AM571x IDK and AM572x IDK EVMs have spansion s25fl256s QSPI flash on the
> board connected to TI QSPI IP over CS0. Therefore enable QSPI support.
>
> Signed-off-by: Vignesh R
Reviewed-by: Mugunthan V N
Regards
M
On Friday 29 July 2016 02:27 PM, Vignesh R wrote:
>
>
> On Friday 29 July 2016 02:24 PM, Mugunthan V N wrote:
>> On Friday 29 July 2016 12:03 PM, Vignesh R wrote:
>>> AM571x IDK and AM572x IDK EVMs have spansion s25fl256s QSPI flash on the
>>> board connected
configs/am57xx_evm_defconfig
> @@ -41,3 +41,8 @@ CONFIG_SPL_OF_LIBFDT=y
> CONFIG_SPL_LOAD_FIT=y
> CONFIG_OF_LIST="am57xx-beagle-x15 am572x-idk"
> CONFIG_DM_I2C=y
> +CONFIG_DM_SPI=y
> +CONFIG_DM_SPI_FLASH=y
> +CONFIG_SPI_FLASH_SPANSION=y
> +CONFIG_TI_QSPI=y
> +CONF
; ---
Reviewed-by: Mugunthan V N
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On Monday 25 July 2016 03:45 PM, Vignesh R wrote:
> Now that QSPI driver can support 76.8MHz, update the
> CONFIG_SF_DEFAULT_SPEED to the same value.
>
> Signed-off-by: Vignesh R
Reviewed-by: Mugunthan V N
Regards
Mugunthan V N
___
U-
ned-off-by: Vignesh R
> ---
Reviewed-by: Mugunthan V N
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On Monday 25 July 2016 03:45 PM, Vignesh R wrote:
> According to AM572x DM SPRS953A, QSPI bus speed can be 76.8MHz, update
> the driver to use the same.
>
> Signed-off-by: Vignesh R
Reviewed-by: Mugunthan V N
Regards
Mugunthan V N
__
On Thursday 28 July 2016 05:27 PM, Vignesh R wrote:
> AM437x SK and AM437x IDK EVMs have 64MB flash, therefore enable
> CONFIG_SPI_FLASH_BAR to access flash regions above 16MB.
>
> Signed-off-by: Vignesh R
Reviewed-by: Mugunthan V N
Regards
M
On Friday 22 July 2016 07:46 PM, Simon Glass wrote:
> Hi Muganthan,
>
> On 22 July 2016 at 01:35, Mugunthan V N wrote:
>> On Friday 22 July 2016 08:51 AM, Simon Glass wrote:
>>> Hi Mugunthan,
>>>
>>> On 18 July 2016 at 03:40, Mugunthan V N wrote:
>&g
testing on DRA74/DRA72 evm has shown that
> this delay is no longer required.
>
> Signed-off-by: Vignesh R
Reviewed-by: Mugunthan V N
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
R
Reviewed-by: Mugunthan V N
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
h results in sf probe to fail.
> Fix this by not populating priv->cmd with QSPI_RD_SNGL and OR it wih
> priv->cmd as required (similar to the convention followed in the
> driver).
>
> Signed-off-by: Vignesh R
Reviewed-by: Mugunthan V N
Regards
Mugunthan V N
__
On Friday 22 July 2016 08:51 AM, Simon Glass wrote:
> Hi Mugunthan,
>
> On 18 July 2016 at 03:40, Mugunthan V N wrote:
>> parse dt parameter of i2c devices only when CONFIG_OF_CONTROL
>> is enabled.
>>
>> Signed-off-by: Mugunthan V N
>> ---
>> drive
Enable i2c driver model for am57xx_hs_evm as omap i2c
supports driver model.
Signed-off-by: Mugunthan V N
---
configs/am57xx_hs_evm_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am57xx_hs_evm_defconfig b/configs/am57xx_hs_evm_defconfig
index 01a4701..2ccb332 100644
--- a
Enable i2c driver model for am43xx_hs_evm as omap i2c
supports driver model.
Signed-off-by: Mugunthan V N
---
configs/am43xx_hs_evm_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am43xx_hs_evm_defconfig b/configs/am43xx_hs_evm_defconfig
index 68dfb6c..c8ce723 100644
--- a
Enable i2c driver model for am57xx_evm as omap i2c
supports driver model.
Signed-off-by: Mugunthan V N
---
configs/am57xx_evm_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig
index c29a05a..8a8a4c9 100644
--- a/configs
Enable i2c driver model for dra7xx_hs_evm as omap i2c
supports driver model.
Signed-off-by: Mugunthan V N
---
configs/dra7xx_hs_evm_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/dra7xx_hs_evm_defconfig b/configs/dra7xx_hs_evm_defconfig
index eb01f41..faf9cd5 100644
--- a
Enable i2c driver model for dra7xx_evm as omap i2c
supports driver model.
Signed-off-by: Mugunthan V N
---
configs/dra7xx_evm_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig
index 756af63..1d27e52 100644
--- a/configs
Enable i2c driver model for am43xx_evm as omap i2c
supports driver model.
Signed-off-by: Mugunthan V N
---
configs/am43xx_evm_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am43xx_evm_defconfig b/configs/am43xx_evm_defconfig
index cb3de11..0eab4ad 100644
--- a/configs
Enable i2c driver model for am335x_evm as omap i2c
supports driver model.
Signed-off-by: Mugunthan V N
---
configs/am335x_evm_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig
index 696024c..6885230 100644
--- a/configs
Enable i2c driver model for am335x_boneblack_vboot as omap i2c
supports driver model. Also enable CONFIG_DM_I2C_COMPAT for
legacy drivers of i2c devices.
Signed-off-by: Mugunthan V N
---
configs/am335x_boneblack_vboot_defconfig | 1 +
include/configs/ti_armv7_common.h| 8
2
The register offset of i2c_sysc offset is not correct as per
omap5[1]/dra7[2] TRM, correct the offsets as per the
documentation.
[1] - http://www.ti.com/lit/pdf/swpu249
[2] - http://www.ti.com/lit/pdf/spruhz6
Signed-off-by: Mugunthan V N
---
arch/arm/include/asm/arch-omap5/i2c.h | 6 +++---
1
parse dt parameter of i2c devices only when CONFIG_OF_CONTROL
is enabled.
Signed-off-by: Mugunthan V N
---
drivers/i2c/i2c-uclass.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/i2c/i2c-uclass.c b/drivers/i2c/i2c-uclass.c
index 50b99ea..20b30ff 100644
--- a/drivers
Convert omap i2c driver to adopt i2c driver model
Signed-off-by: Mugunthan V N
---
drivers/i2c/omap24xx_i2c.c | 99 ++
1 file changed, 99 insertions(+)
diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c
index 8dea5fa..0006343 100644
Since omap's spl doesn't support DM currently, do not define
DM_I2C for spl build.
Signed-off-by: Mugunthan V N
---
include/configs/ti_armv7_common.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/configs/ti_armv7_common.h
b/include/configs/ti_armv7_common.h
ind
Prepare the driver for DM conversion.
Signed-off-by: Mugunthan V N
---
drivers/i2c/omap24xx_i2c.c | 308 +
1 file changed, 175 insertions(+), 133 deletions(-)
diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c
index a7f3fb4..8dea5fa
The register offset of i2c_sysc offset is not correct as per
omap4 TRM [1], correct the offsets as per the documentation.
[1] - http://www.ti.com/lit/ug/swpu235ab/swpu235ab.pdf
Signed-off-by: Mugunthan V N
---
arch/arm/include/asm/arch-omap4/i2c.h | 6 +++---
1 file changed, 3 insertions(+), 3
1 - 100 of 667 matches
Mail list logo