24 Nov, 2014
1 commit
-
Add reset_sata() to the sata driver interface and implement it
for dwc_ahsata. This function cleans up after sata_init(), and
therefore accepts a device number like sata_init() does.
A dummy implementation is provided for the rest of the drivers.Signed-off-by: Nikita Kiryanov
Cc: Simon Glass
Cc: Stefano Babic
21 Nov, 2014
1 commit
-
Add a new thermal uclass for thermal sensor and implement the imx
thermal driver basing on this uclass.Signed-off-by: Ye.Li
Acked-by: Stefano Babic
20 Nov, 2014
1 commit
-
The reset value of "uSDHCx_INT_STATUS_EN" register is changed to 0
on iMX6SX. So the fsl_esdhc driver must update to set the register,
otherwise no state can be detected.Signed-off-by: Ye.Li
17 Nov, 2014
8 commits
-
The User Register in GMAC IP is used to select interface type.
When with GE feature, it is used to select interface between
RGMII and GMII. If without GE feature, it is used to select
interface between MII and RMII.Signed-off-by: Bo Shen
Signed-off-by: Andreas Bießmann -
As in SAMA5D4 SoC, the gf table in ROM code can not be seen.
So, when we try to use PMECC, we need to build it when do
initialization.
Add a macro NO_GALOIS_TABLE_IN_ROM in soc header file. If it
is defined we will build gf table runtime.The PMECC use the BCH algorithm, so based on the build_gf_tables()
function in lib/bch.c, we can build the Galois Field lookup table.Signed-off-by: Josh Wu
Signed-off-by: Bo Shen
Signed-off-by: Andreas Bießmann -
device ready pin is signalling that the device is ready on state 1
not on 0. Simmiliar as it is in drivers/mtd/nand/nand_spl_simple.cSigned-off-by: Heiko Schocher
Reviewed-by: Andreas Bießmann
Reviewed-by: Bo Shen
Acked-by: Scott Wood
Signed-off-by: Andreas Bießmann -
erase one nand block in spl code. keep it simple, as size matters
This is used on the upcoming taurus spl support.Signed-off-by: Heiko Schocher
Acked-by: Scott Wood
Reviewed-by: Bo Shen
Reviewed-by: Andreas Bießmann
Signed-off-by: Andreas Bießmann -
using this driver in SPL code with CONFIG_SPL_NAND_ECC
configured leads in an compileerror. Fix this.Signed-off-by: Heiko Schocher
Reviewed-by: Andreas Bießmann
Reviewed-by: Bo Shen
[fix subject]
Signed-off-by: Andreas Bießmann -
move CONFIG_SYS_SPI_WRITE_TOUT into drivers/spi/atmel_spi.h
and define a default value. Delete this define in the board
config files, where it is possible (all boards use currently
the same value).Signed-off-by: Heiko Schocher
Reviewed-by: Jagannadha Sutradharudu Teki
Reviewed-by: Andreas Bießmann
Signed-off-by: Andreas Bießmann -
When boot up without mac address setting, it will give the warning
message like: "Warning: failed to set MAC address", however when
execute network related command, it still execute them without any
warning information.With this patch, it will exit directly with following information:
"gmac0: mac address is not valid"It also solve the problem after bootup then set mac address and the
mac address won't set to net device issue.Signed-off-by: Bo Shen
Tested-by: Boris Brezillon
Signed-off-by: Andreas Bießmann
15 Nov, 2014
4 commits
-
NEG bit default is '1' for external MDIOs as per FMAN-v3 RM, but on some
platforms, e.g. T2080QDS, this bit is '0', which leads to MDIO failure
on XAUI PHY, so set this bit definitely to align with the RM.Signed-off-by: Shaohui Xie
Acked-by: Joe Hershberger
Reviewed-by: York Sun -
1. use Payload length check disable when enable MAC;
2. add XGMII support for setting MAC interface mode;
3. only enable auto negotiation for Non-XGMII mode;
4. return 0xffff if clause 22 is used to read 10G phy_id;Signed-off-by: Shaohui Xie
Signed-off-by: Roy Zang
Acked-By: Joe Hershberger
Reviewed-by: York Sun
13 Nov, 2014
5 commits
-
Add support for the 2 ehci controllers found on the sun6i (A31) soc.
Signed-off-by: Hans de Goede
Acked-by: Ian Campbell
Acked-by: Marek Vasut -
Add proper Kconfig options to select the usb Vbus gpio-s, besides moving to
Kconfig being the right thing to do, an added advantage of this is that it
allows for boards without Vbus gpio-s.Signed-off-by: Hans de Goede
Acked-by: Ian Campbell -
The A31 uses the AXP221 pmic for various voltages.
Signed-off-by: Oliver Schinagl
Signed-off-by: Hans de Goede
Acked-by: Ian Campbell
--
Changes in v2:
-Rebase
Changes in v3:
-Add support for all dldo and aldo-s
-Add Kconfig option to select building AXP221 and to select voltage of
dldo and aldo-s
Changes in v4:
-Add axp221_setbits helper function
-Use symbolic names for enabled bits in CTRL1 - CTRL3 registers -
This commit moves CONFIG_SH2, CONFIG_SH2A, CONFIG_SH3, CONFIG_SH4
to Kconfig renaming into CONFIG_CPU_SH2, CONFIG_CPU_SH2A,
CONFIG_CPU_SH3, CONFIG_CPU_SH4, respectively because
arch/sh/Kconfig of Linux uses CONFIG_CPU_SH* convention.Signed-off-by: Masahiro Yamada
Cc: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu
12 Nov, 2014
1 commit
11 Nov, 2014
4 commits
-
Support EHCI host driver used on Panasonic UniPhier platform.
Since Device Tree is not supported on UniPhier yet, the base address
of USB cores are passed from board files (platdevice.c).TODO for me:
Move the base address to device trees.Signed-off-by: Masahiro Yamada
Acked-by: Marek Vasut -
Signed-off-by: Masahiro Yamada
Acked-by: Marek Vasut -
The same bit-field macros are defined in include/linux/serial_reg.h
so let's include it and delete duplicated defines.Also, remove unnecessary inclusion of .
Signed-off-by: Masahiro Yamada
10 Nov, 2014
4 commits
-
In case of repeated START condition, the restart has to be kicked
before clear status (MSR register). If it is kicked after clear status,
R-Car I2C may transfer data (TXD register) or receive data (RXD register)
instead of transferring slave address (MAR register).Signed-off-by: Ryo Kataoka
Signed-off-by: Nobuhiro Iwamatsu -
Some slow I2C devices like Power Monitor(ZM7304) at times
do not work well with low timeout value, so I2C bus get stuck
during read cycle with this device, changing it to 100ms from
10ms works fineA lot of other i2c drivers like mxc and i2c drivers of BOOTROM
also use relax timeouts to give sufficient ticks to work well
with slower devicesSigned-off-by: Shaveta Leekha
Signed-off-by: Poonam Aggrwal -
ppc4xx i2c master gets stuck on errors while repeated start is
active. Can be easily reproduced by "i2c md" on an unpopulated
i2c address. There is not stop condition given, scl remains
pulled low.
The only way out seems to be doing a stop manually and then a
soft reset.Signed-off-by: Dirk Eibach
Reviewed-by: Stefan Roese -
Debugging some i2c trouble I saw on my scope that repeated
start is not working properply. The 4xx even held clock pulled down
after transfers. Having a look in the driver I realized
that IIC_CNTL_RPST is set on that part of the transfer that should
begin with a repeated start. But repeated start is about not sending a
stop condition, so IIC_CNTL_RPST has to be set on the last transfer
before the repeated start happens.Signed-off-by: Dirk Eibach
Reviewed-by: Stefan Roese
08 Nov, 2014
6 commits
-
Fix error detected by cppcheck:
[drivers/net/uli526x.c:551]: (error) printf format string requires 3
parameters but only 2 are given.Signed-off-by: Wolfgang Denk
Cc: Roy Zang -
The pmic_spi_free function isn't ever used, and as the frameworks stand
today, cannot be, so remove it. Integrate the probe function into
pmic_reg as it's not really a "probe" today. Finally, add an err label
for the common failure cases.Cc: Lukasz Majewski
Cc: Przemyslaw Marczak
Cc: Stefano Babic
Signed-off-by: Tom Rini
Acked-by: Stefano Babic -
Make sure to keep the MAC address programmed in the SMC911x ADDRH
and ADDRL registers. Linux can read those registers to determine
the MAC address on EEPROM-less configurations.Signed-off-by: Marek Vasut
Cc: Joe Hershberger
Cc: Tom Rini -
Sort drivers/mmc makefile, as requested by wd.
Signed-off-by: Pavel Machek
Acked-by: Chin Liang See -
fix obj-y term
Signed-off-by: Rene Griessl
07 Nov, 2014
5 commits
-
Signed-off-by: Nobuhiro Iwamatsu
CC: Marek Vasut -
CMD_IAAD (Interrupt on Async Advance Doorbell) is bit 6, not bit 5.
While we are here, sort the flags.Signed-off-by: Masahiro Yamada
-
Allow passing in a custom configuration of the gusbcfg register
via platform data.Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Vince Bridgers
Acked-by: Pavel Machek
Cc: Stefan Roese
Reviewed-by: Lukasz Majewski
Tested-by: Lukasz Majewski -
Split the Samsung specific PHY control into a separate file
and compile this into the S3C OTG driver only if used on a
Samsung system.Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Vince Bridgers
Acked-by: Pavel Machek
Cc: Stefan Roese
Reviewed-by: Lukasz Majewski
Tested-by: Lukasz Majewski -
Encapsulate the Samsung PHY control and its register accesses
into the otg_phy_init() and otg_phy_off() functions.Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Vince Bridgers
Cc: Stefan Roese
Acked-by: Pavel Machek
Acked-by: Lukasz Majewski
Tested-by: Lukasz Majewski