On non-PowerPC platforms call to i2c_fsl_set_clk() will try to obtain
I2C clock freqency from i2c_fsl->clk, however that field would not be
initialized if CONFIG_COMMON_CLK is not set. This patch add
conditional compilation directives to make sure that i2c_fsl_set_clk()
is not called if CONFIG_COMM
Some character devices may perform meaningful operations in their
implementation of close() -- a good example would be socfpga.c which
checks if the FPGA was programmed succesfully in it's close() method
-- so ignoring return value of this call may cause false positives in
checking exit status for
All points of failure in the code of i2c_fsl_probe() happen after the
allocation of i2c_fsl, so all of them have to perform necessary
cleanup setups in case of failure.
Signed-off-by: Andrey Smirnov
---
drivers/i2c/busses/i2c-imx.c | 12
1 file changed, 8 insertions(+), 4 deletions(
i.MX6 is fully DT enabled and the already selected
COMMON_CLK_OF_PROVIDER needs OFTREE support to build properly.
Fixes:
arch/arm/mach-imx/clk-imx6.c: In function 'imx6_ccm_probe':
arch/arm/mach-imx/clk-imx6.c:500:2: error:
invalid use of undefined type 'struct clk_onecell_data'
arch/arm/mach-
Fixes:
In file included from include/gpio.h:4:0,
from drivers/video/simple-panel.c:26:
fatal error: mach/gpio.h: No such file or directory
Signed-off-by: Lucas Stach
---
drivers/video/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/Kconfig b/drivers/vid
Fixes symbol clashes with the IPUv3 driver:
In function `ipu_ch_param_write_field':
drivers/video/imx-ipu-v3/ipu-common.c:103: multiple definition of
`ipu_ch_param_write_field'
drivers/video/imx-ipu-fb.c:359: first defined here
In function `ipu_cpmem_set_format_rgb':
drivers/video/imx-ipu-v3/ipu-
Fixes:
In function `register_fbconsole':
drivers/video/fbconsole.c:425: undefined reference to `console_register
Signed-off-by: Lucas Stach
---
drivers/video/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 9a520c586971..bb8bbb539481
Fixes:
In file included from include/gpio.h:4:0,
from drivers/video/simple-panel.c:26:
fatal error: mach/gpio.h: No such file or directory
Signed-off-by: Lucas Stach
---
drivers/video/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/Kconfig b/drivers/vid
Hi!
On Thu, Aug 13, 2015 at 09:58:51AM -0700, Raj Swaminathan wrote:
> Hi Lucas,
>
> I am using Altera's cyclone 5 SoCFPGA.
>
> Barebox version 2015.04.0
> Linux is rocketboards version 3.18.0
>
Why are you using exactly these versions? Just curious.
> I put some debug statements into the cod
Am Donnerstag, den 13.08.2015, 09:58 -0700 schrieb Raj Swaminathan:
> Hi Lucas,
>
> I am using Altera's cyclone 5 SoCFPGA.
>
> Barebox version 2015.04.0
> Linux is rocketboards version 3.18.0
>
Barebox is using the mainline kernel DTs, I don't know if the downstream
Rocketboards kernel is able t
Change the set_parent/get_parent functions for clock-gates to work
with the Linux kernel DT bindings.
Signed-off-by: Steffen Trumtrar
---
drivers/clk/socfpga.c | 73 ---
1 file changed, 52 insertions(+), 21 deletions(-)
diff --git a/drivers/clk/so
The gpio-driver was developed when the bindings where not stable.
As these have changed in the meantime, the driver has to be updated to
the status quo.
Signed-off-by: Steffen Trumtrar
---
drivers/gpio/gpio-dw.c | 79 +++---
1 file changed, 55 insertio
Instead of using internal devicetree files, use the official ones from
/dts/src/arm.
Signed-off-by: Steffen Trumtrar
---
arch/arm/dts/socfpga.dtsi | 659 +
arch/arm/dts/socfpga_cyclone5.dtsi | 78
arch/arm/dts/socfpga_cyclone5_socdk.dts
This is a DW driver not IMX; fix variable name.
Signed-off-by: Steffen Trumtrar
---
drivers/gpio/gpio-dw.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpio/gpio-dw.c b/drivers/gpio/gpio-dw.c
index e582eb6d91ca..362f365fa6a1 100644
--- a/drivers/gpio/gpio-dw.c
14 matches
Mail list logo