17 Sep, 2018
6 commits
-
These comments were copied from the Linux kernel driver in
drivers/platform/x86/intel_scu_ipc.cSigned-off-by: Georgii Staroselskii
Reviewed-by: Andy Shevchenko
Reviewed-by: Bin Meng -
Now that we have I2C#6 working, it's time to add a corresponsing
ACPI binding.Signed-off-by: Georgii Staroselskii
Reviewed-by: Andy Shevchenko
Reviewed-by: Bin Meng -
Now that we have the pinctrl driver for Merrifield in place we can make
use of it and set I2C#6 pins appropriately.Initial configuration came from the firmware. Which quite likely has
been used in the phones, where that is not part of Atom peripheral, is
in use. Thus we need to override the leftover.Signed-off-by: Georgii Staroselskii
Reviewed-by: Andy Shevchenko
Reviewed-by: Bin Meng -
This API is going to be used to configure some pins that are protected
for simple modification.It's not a comprehensive pinctrl driver but can be turned into one
when we need this in the future. Now it is planned to be used only
in one place. So that's why I decided not to pollute the codebase with a
full-blown pinctrl-merrifield nobody will use.This driver reads corresponding fields in DT and configures pins
accordingly.The "protected" flag is used to distinguish configuration of SCU-owned
pins from the ordinary ones.The code has been adapted from Linux work done by Andy Shevchenko
in pinctrl-merrfifield.cSigned-off-by: Georgii Staroselskii
Reviewed-by: Andy Shevchenko
Reviewed-by: Bin Meng
[bmeng: fix build warning]
Signed-off-by: Bin Meng -
This interface will be used to configure properly some pins on
Merrifield that are shared with SCU.scu_ipc_raw_command() writes SPTR and DPTR registers before sending
a command to SCU.This code has been ported from Linux work done by Andy Shevchenko.
Signed-off-by: Georgii Staroselskii
Reviewed-by: Andy Shevchenko
Reviewed-by: Bin Meng -
This will add support for a baud rate of 57600.
Signed-off-by: Christian Gmeiner
Reviewed-by: Bin Meng
15 Sep, 2018
3 commits
-
This commit is breaking several variants of da850, so:
This reverts commit 5f389201dece76b484443773dce2525dc205f5a1.
Signed-off-by: Tom Rini
-
I added in the CONFIG_MISC_INIT_R line by mistake when applying the
previous patch, fix.Signed-off-by: Tom Rini
14 Sep, 2018
3 commits
-
I just stumbled over some cluttered UBIFS messages. It seems some
newline chars are missing in the current U-Boot UBI source.Signed-off-by: Stefan Roese
Cc: Heiko Schocher -
Last user of this driver went away in May 2017, in
commit eb5ba3aefdf0f6 ("i2c: Drop use of CONFIG_I2C_HARD")Signed-off-by: Tuomas Tynkkynen
12 Sep, 2018
24 commits
-
When used with a device tree, this will extract the card detect
and write protect pins from the device tree and configure them
accordingly. This assumes the GPIO_ACTIVE_LOW/HIGH is supported
by da8xx_gpio.Signed-off-by: Adam Ford
-
DM_I2C_COMPAT is somehow being enabled outside of Kconfig, so
this explicitly undefines it in the header file, and brackets
the I2C initialization around an #ifdef to not manually
initialize the I2C controller when the DM_I2C is enabled.Signed-off-by: Adam Ford
Tested-by: Derald D. Woods -
This SOM and kit do not nor have they ever had a twl4030 PMIC.
This patch removes the references to it.Signed-off-by: Adam Ford
-
Enabling DM_PMIC, DM_REGULATOR_FIXED, and DM_REGULATOR_GPIO
gives us the ability to better monitor voltages and enable
hardware through the device tree. The TL4030 (TPS65950) is
not yet migrated to DM, so this patch only enables the fixed
and GPIO controlled regulators.Signed-off-by: Adam Ford
-
With DM enabled, this patch enables DM_SERIAL and removes
the NS16550 initialization from da850_lowlevel since the driver
will take care of that itself.Signed-off-by: Adam Ford
-
With DM_MMC now available, this patch enables DM_MMC for the
omapl138_lcdk in U-Boot and keeps the older style for SPL.Signed-off-by: Peter Howard
Signed-off-by: Adam Ford -
With the updated driver available to support DM_MMC, this patch
enables DM_MMC for da850evm.Signed-off-by: Adam Ford
-
With CONFIG_BLK becoming a requirement, the Davinci MMC driver
needs to be updated with DM_MMC support. Since SPL is tiny and
many boards do not support DM in SPL, this retains the backwards
compatibility for those boards who need to initialize MMC manually
in SPL.Signed-off-by: Peter Howard
Signed-off-by: Adam Ford -
The simple pinctrl driver currently available works with the omap3.
Enabling this will use the device tree to automatically set the
pin-muxing for various drivers.Signed-off-by: Adam Ford
-
The OF_CONTROL and OF_PLATDATA are not really useful without DM.
This patch supports DM_SPL, but it requires manual references
both Serial and MMC.Signed-off-by: Adam Ford
-
The getcd and getwp functions when DM_MMC is enabled are
assumming the DM_GPIO is enabled. In cases (like SPL) where
DM_GPIO may not be enabled, wrap these calls in an #ifdefSigned-off-by: Adam Ford
-
The serial port was being manually configured during SPL build,
however in preparation to allow DM in SPL, this needs to change
to be based on whether or not DM_SERIAL is enabled because, soon
the assumption that SPL means no DM may not be accurate.Signed-off-by: Adam Ford
Reviewed-by: Simon Glass -
boot-common.c checks to see if I2C is enabled in SPL, but
it doens't check for DM_I2C before initializing it. This
will now only initialize the I2C is the DM_I2C is not enabled
to avoid initializing it more than once.Signed-off-by: Adam Ford
Reviewed-by: Simon Glass -
Platforms with limited resources in SPL may enable OF_PLATDATA,
this limits some of the library functions and cannot extract data
from the device tree. This patch adds additional wrappers around
these functions to only allow them when OF_CONTROL is enabled and
OF_PLATDATA is not.Signed-off-by: Adam Ford
Reviewed-by: Simon Glass -
Platforms with limited resources in SPL may enably OF_PLATDATA,
this limits some of the library functions and cannot extract data
from the device tree. This patch adds additional wrappers around
these functions to only allow them when OF_CONTROL is enabled and
OF_PLATDATA is not.Signed-off-by: Adam Ford
-
Platforms with limited resources in SPL may enably OF_PLATDATA,
this limits some of the library functions and cannot extract data
from the device tree. This patch adds additional wrappers around
these functions to only allow them when OF_CONTROL is enabled and
OF_PLATDATA is not.Signed-off-by: Adam Ford
-
The driver was developed with references for more than just
dra7, but never included. At least for omap3, this appears
to be functional.Signed-off-by: Adam Ford
-
The GPIO bank numbers do not appear in the device tree, so this
patch makes the gpio name based on the address
(ie gpio@49054000_31 vs gpio4_31)adam
Signed-off-by: Adam Ford
Tested-by: Derald D. Woods -
With the re-sync from Linux 4.18, several entries in
da850-evm-u-boot.dtsi are no longer necessary, so this patch
removes them.Signed-off-by: Adam Ford
-
Signed-off-by: Adam Ford
-
With DM and device tree support, let's use the GPIO_ACTIVE_HIGH
and GPIO_ACTIVE_LOW from the device tree as they are intended.Signed-off-by: Adam Ford
-
The GPIO banks are broken up into two 16-bit registers for each
bank set. Unfortunately, the math that determines how to shift
blindly shifted by the number of the gpio. This worked for gpio
numbers under 32, but higher gpio's are broken. This fixes the
gpio index, so the bank is passed and the shift amount within
the register is passed now instead of the gpio number.Fixes: 8e51c0f25406("dm: gpio: Add DM compatibility to
GPIO driver for Davinci")Signed-off-by: Adam Ford
-
The DA850-EVM supports booting from NAND when used with the
UI expander board. da850evm_nand will create an ais file
that can be burned to NAND and booted while storing the env in
NAND along with some partitions tables for storing kernel,
dtb and rootfs in NAND.Signed-off-by: Adam Ford
-
At least for now, CONFIG_BLK is working, but this variant of
the da850evm doesn't need/support SPL so it's OK to enable it
here.Signed-off-by: Adam Ford
11 Sep, 2018
4 commits
-
FPGA changes for v2018.11
- add fpga tests to cover fpga commands
- fpga Kconfig cleanup
- fix cmd/fpga.c
- add support for missing fpga loadmk commands
- add fpga fragment to MAINTAINERS -
Add initial defconfig support for AM65x that runs on A53.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla -
Add the minimum dt nodes required to boot. These nodes
will get deleted as kernel gets these nodes added in the
main dts files.Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla