Bail out of AIPS configuration if OP-TEE has cleared the MTW
("master trusted for write access") bit for the ARM core master
to lock down AIPS configuration.
Signed-off-by: Philipp Zabel
---
arch/arm/mach-imx/imx6.c | 8
1 file changed, 8 insertions(+)
diff --git a/arch/ar
boards as of commit
3fb70de496b3 ("ARM: i.MX: increase barebox partition sizes").
Signed-off-by: Philipp Zabel
---
arch/arm/dts/imx6ull-14x14-evk.dts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/dts/imx6ull-14x14-evk.dts
b/arch/arm/dts/imx6ull-14x14-evk
On Mi, 2025-05-07 at 09:25 +0200, Ahmad Fatoum wrote:
> Hello Sascha,
>
> On 5/6/25 09:51, Sascha Hauer wrote:
> > On Sun, Apr 27, 2025 at 03:44:53PM +0200, Ahmad Fatoum wrote:
>
> > > @@ -189,10 +200,10 @@ static int imx6q_ldb_prepare(struct imx_ldb_channel
> > > *imx_ldb_ch, int di,
> > >
Let fbconsole cover only part of the screen.
Configurable via margin.{left,top,right,bottom} device parameters.
Signed-off-by: Philipp Zabel
---
drivers/video/fbconsole.c | 115 +-
1 file changed, 101 insertions(+), 14 deletions(-)
diff --git a/drivers/video
Annotate framebuffer updates with damage rectangles so drivers may
implement partial updates for displays with an integrated framebuffer.
This can speed up fbconsole.
Signed-off-by: Philipp Zabel
---
v2: call fb_damage() in graphic_utils instead of fbconsole
---
lib/gui/graphic_utils.c | 16
Track framebuffer damage with a simple rectangle that can be used to
issue partial updates during fb_flush. This speeds up fbconsole.
Signed-off-by: Philipp Zabel
---
v2: make rect parameter to fb_damage const
---
drivers/video/mipi_dbi.c | 83 --
drivers
Add an optional fb_damage operation that drivers may use to accumulate
damage on the framebuffer until fb_flush is called. The accumulated
damage can be used to support partial updates for displays with an
integrated framebuffer.
Signed-off-by: Philipp Zabel
---
v2: make rect parameter to
On Mi, 2023-04-05 at 13:13 +0200, Sascha Hauer wrote:
> On Mon, Apr 03, 2023 at 02:18:43PM +0200, Philipp Zabel wrote:
[...]
> > + gu_screen_blit_area(priv->sc, rect.x1, rect.y1,
> > priv->font->width, priv->font->height);
> > + fb_damage
On Di, 2023-04-04 at 14:24 +0200, Ahmad Fatoum wrote:
> On 03.04.23 14:18, Philipp Zabel wrote:
> > Add an optional fb_damage operation that drivers may use to accumulate
> > damage on the framebuffer until fb_flush is called. The accumulated
> > damage can be used to suppor
Add an optional fb_damage operation that drivers may use to accumulate
damage on the framebuffer until fb_flush is called. The accumulated
damage can be used to support partial updates for displays with an
integrated framebuffer.
Signed-off-by: Philipp Zabel
---
drivers/video/fb.c | 6
Annotate framebuffer updates with damage rectangles so drivers may
implement partial updates for displays with an integrated framebuffer.
Signed-off-by: Philipp Zabel
---
drivers/video/fbconsole.c | 32
1 file changed, 28 insertions(+), 4 deletions(-)
diff
Track framebuffer damage with a simple rectangle that can be used to
issue partial updates during fb_flush. This speeds up fbconsole.
Signed-off-by: Philipp Zabel
---
drivers/video/mipi_dbi.c | 83 --
drivers/video/panel-mipi-dbi.c | 1 +
include/video
Allow dynamically switching data size between transfers.
Signed-off-by: Philipp Zabel
---
v2: query max bits-per-word after clk_enable() and device_reset()
---
drivers/spi/stm32_spi.c | 50 -
1 file changed, 39 insertions(+), 11 deletions(-)
diff --git a
If the SPI controller supports switching to 16-bit transfers, there
is no need to swap bytes on little-endian architectures. This also
allows to transfer directly from the 16-bit framebuffer.
Signed-off-by: Philipp Zabel
---
drivers/video/mipi_dbi.c | 3 +--
1 file changed, 1 insertion(+), 2
The spi-stm32 driver now supports the spi_transfer.bits_per_word
override.
Signed-off-by: Philipp Zabel
---
include/spi/spi.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/spi/spi.h b/include/spi/spi.h
index 809ebd8df1a8..d479e4f34f0c 100644
--- a/include/spi/spi.h
Allow SPI hosts to signal per-transfer bits-per-word switching
support and drivers to query it with spi_is_bpw_supported().
Signed-off-by: Philipp Zabel
---
include/spi/spi.h | 31 +++
1 file changed, 31 insertions(+)
diff --git a/include/spi/spi.h b/include/spi
On Thu, Mar 30, 2023 at 12:33:57PM +0200, Philipp Zabel wrote:
> Allow dynamically switching data size between transfers.
>
> Signed-off-by: Philipp Zabel
> ---
> drivers/spi/stm32_spi.c | 50 -
> 1 file changed, 39 insertion
Add request_firmware() and release_firmware() calls that allow drivers
to load a firmware file. Also move the struct firmware definition from
remoteproc.h into firmware.h.
Signed-off-by: Philipp Zabel
Reviewed-by: Ahmad Fatoum
---
v2:
- let request_firmware() stub return -EINVAL instead of
Add a port of the kernel of_get_display_timing() that writes a
struct fb_videomode instead of struct display_timing, which we
don't have.
Signed-off-by: Philipp Zabel
Reviewed-by: Ahmad Fatoum
---
drivers/video/of_display_timing.c | 22 ++
include
ll be used to load a firmware file that contains
the controller configuration.
Example (driver will load sainsmart18.bin):
display@0 {
compatible = "sainsmart18", "panel-mipi-dbi-spi";
...
};
Signed-off-by: Philipp Zabel
Reviewed-by: Ahmad Fatoum
---
drivers/video/Kconfig
Port helper functions for the panel-mipi-dbi driver from the Linux
kernel.
Signed-off-by: Philipp Zabel
---
v2:
- Remove superfluous empty line
- Fix mipi_dbi_enable_flush() comment
- Remove unnecessary regulator checks
- Avoid memcpy to tx_buf if byte swapping can be avoided
- Allocate
Hi Ahmad,
thank you for the review.
On Thu, Mar 30, 2023 at 10:43:54AM +0200, Ahmad Fatoum wrote:
> On 29.03.23 12:56, Philipp Zabel wrote:
[...]
> > +static void mipi_dbi_buf_copy(void *dst, struct fb_info *info, bool swap)
> > +{
> > + u16 *src = (u16 *)info->screen_
If the SPI controller supports switching to 16-bit transfers, there
is no need to swap bytes on little-endian architectures. This also
allows to transfer directly from the 16-bit framebuffer.
Signed-off-by: Philipp Zabel
---
drivers/video/mipi_dbi.c | 3 +--
1 file changed, 1 insertion(+), 2
Allow SPI hosts to signal per-transfer bits-per-word switching
support and drivers to query it with spi_is_bpw_supported().
Signed-off-by: Philipp Zabel
---
include/spi/spi.h | 31 +++
1 file changed, 31 insertions(+)
diff --git a/include/spi/spi.h b/include/spi
The spi-stm32 driver now supports the spi_transfer.bits_per_word
override.
Signed-off-by: Philipp Zabel
---
include/spi/spi.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/spi/spi.h b/include/spi/spi.h
index 809ebd8df1a8..d479e4f34f0c 100644
--- a/include/spi/spi.h
Allow dynamically switching data size between transfers.
Signed-off-by: Philipp Zabel
---
drivers/spi/stm32_spi.c | 50 -
1 file changed, 39 insertions(+), 11 deletions(-)
diff --git a/drivers/spi/stm32_spi.c b/drivers/spi/stm32_spi.c
index 0d7407c279a2
Add request_firmware() and release_firmware() calls that allow drivers
to load a firmware file. Also move the struct firmware definition from
remoteproc.h into firmware.h.
Signed-off-by: Philipp Zabel
---
common/firmware.c | 33 +
include/firmware.h
Port helper functions for the panel-mipi-dbi driver from the Linux
kernel.
Signed-off-by: Philipp Zabel
---
drivers/video/mipi_dbi.c | 242 +++
include/video/mipi_dbi.h | 63 ++
2 files changed, 305 insertions(+)
diff --git a/drivers/video
Add a port of the kernel of_get_display_timing() that writes a
struct fb_videomode instead of struct display_timing, which we
don't have.
Signed-off-by: Philipp Zabel
---
drivers/video/of_display_timing.c | 22 ++
include/fb.h | 2 ++
2 files ch
ll be used to load a firmware file that contains
the controller configuration.
Example (driver will load sainsmart18.bin):
display@0 {
compatible = "sainsmart18", "panel-mipi-dbi-spi";
...
};
Signed-off-by: Philipp Zabel
---
drivers/video/Kconfig | 12 ++
drivers
Hi Ahmad,
On Do, 2022-08-18 at 07:19 +0200, Ahmad Fatoum wrote:
> The newly added feature controller framework has two goals: Avoid
> probing device in barebox that aren't indeed available
This specific wording makes me wonder why this isn't implemented inside
of_device_is_available().
This woul
Hi Ahmad,
On Do, 2022-02-24 at 14:52 +0100, Ahmad Fatoum wrote:
[...]
diff --git a/arch/riscv/boards/riscvemu/defaultenv-
riscvemu/data/tutorial/04-cs0 b/arch/riscv/boards/riscvemu/defaultenv-
riscvemu/data/tutorial/04-cs0
new file mode 100644
index ..0ac452d1b3b5
--- /dev/null
+++ b/a
Skip devices on the EFI bus that do not have a driver assigned.
Fixes: f68a547deebd ("efi: add efi_device hook to be called before an image is
started")
Signed-off-by: Philipp Zabel
---
drivers/efi/efi-device.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
di
On Tue, 2021-11-02 at 09:06 +0100, Sascha Hauer wrote:
> On Mon, Nov 01, 2021 at 06:52:07PM +0100, Ahmad Fatoum wrote:
> > As documented in 90bdf1e5d1e4 ("mci: dw_mmc: match against StarFive MMC
> > compatibles"), it was intended for the reset to remain optional as to
> > not break existing users.
Some sources have been moved into git submodules and SnpDxe was
moved from MdeModulePkg to NetworkPkg.
Signed-off-by: Philipp Zabel
---
Documentation/boards/efi.rst | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/boards/efi.rst b/Documentation/boards
: Ahmad Fatoum
Is this something that should be proposed for the Linux kernel as well?
Reviewed-by: Philipp Zabel
regards
Philipp
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
p;clks IMX6QDL_CLK_PLL5_VIDEO_DIV>;
> };
>
> The issue is explained in detail in EB821 ("LDB Clock Switch Procedure &
> i.MX6 Asynchronous Clock Switching Guidelines") [1].
>
> [1] http://www.nxp.com/files/32bit/doc/eng_bulletin/EB821.pdf
>
> Signe
On Tue, 2019-05-21 at 17:56 +0200, Ahmad Fatoum wrote:
> From: Philipp Zabel
>
> Due to incorrect placement of the clock gate cell in the ldb_di[x]_clk
> tree, the glitchy parent mux of ldb_di[x]_clk can cause a glitch to
> enter the ldb_di_ipu_div divider. If the divider get
On Tue, 2019-05-21 at 17:56 +0200, Ahmad Fatoum wrote:
> From: Philipp Zabel
>
> MMDC CH1 is not used on i.MX6Q, so the handshake needed to change the
> parent of periph2_sel or the divider of mmdc_ch1_axi_podf will never
> succeed.
> Disable the handshake mechanism to
dy changed from reset value: 0
> ccm: ldb_di1_sel already changed from reset value: 0
> This warning is safe to ignore.
>
> Cc: Andrey Smirnov
> Cc: Raphael Poggi
> Cc: Sascha Hauer
> Cc: Lucas Stach
> Cc: Jean-Christophe PLAGNIOL-VILLARD
> Signed-off-by: Ahmad Fatoum
Apart from that,
Reviewed-by: Philipp Zabel
regards
Philipp
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
artition sizes").
Signed-off-by: Philipp Zabel
---
arch/arm/dts/imx6qdl-nitrogen6x.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/dts/imx6qdl-nitrogen6x.dtsi
b/arch/arm/dts/imx6qdl-nitrogen6x.dtsi
index 53fdb722d01a..5c43b16ab168 100644
--- a/arch/arm/dts/imx6qdl-nitr
On i.MX6QP/DP cpu_mx6_is_mx6q/d do not return true anymore.
Use the new cpu_mx6_is_mx6qp/dp to reenable NoC regulator bypass.
Fixes: d4c05d29d484 ("ARM: i.MX6: Add cpu type for 'plus' variants")
Signed-off-by: Philipp Zabel
---
arch/arm/mach-imx/imx6.c | 3 +--
1 file change
On Tue, 2018-05-22 at 09:12 +0200, Sascha Hauer wrote:
> On Fri, May 18, 2018 at 01:54:13PM +0200, Philipp Zabel wrote:
> > Hi Sascha,
> >
> > On Tue, 2018-04-03 at 09:48 +0200, Sascha Hauer wrote:
> > [...]
> > > -static int tftp_stat(struct device_
Hi Sascha,
On Tue, 2018-04-03 at 09:48 +0200, Sascha Hauer wrote:
[...]
> -static int tftp_stat(struct device_d *dev, const char *filename, struct stat
> *s)
> +static struct dentry *tftp_lookup(struct inode *dir, struct dentry *dentry,
> + unsigned int flags)
> {
> -
On Sat, 2018-04-14 at 10:50 -0700, Andrey Smirnov wrote:
> Signed-off-by: Andrey Smirnov
> ---
> arch/arm/mach-imx/imx.c | 49
> +++
> arch/arm/mach-imx/include/mach/reset-reason.h | 17 ++
> 2 files changed, 66 insertions(+)
> create mode 1
tions.
Fixes: a2fa18f9f483 ("mtd: of: Make used partition binding configurable")
Signed-off-by: Philipp Zabel
---
drivers/of/partition.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/of/partition.c b/drivers/of/partition.c
index 6f9651a9e4..aa6e601b7f
Add a device tree fixup that adds a /chosen/barebox-reset-reason string
property to the device tree chosen node. It can be read under Linux in
/sys/firmware/devicetree/base/chosen/barebox-reset-reason.
Signed-off-by: Philipp Zabel
---
Documentation/user/reset-reason.rst | 3 +++
common
c22dee6e3c16 ("ARM: imx: Improve the soc revision calculation flow").
Signed-off-by: Philipp Zabel
---
arch/arm/mach-imx/include/mach/imx6.h | 24
1 file changed, 4 insertions(+), 20 deletions(-)
diff --git a/arch/arm/mach-imx/include/mach/imx6.h
b/arch/ar
On Thu, 2018-02-01 at 11:46 +0100, Philipp Zabel wrote:
> Based on kernel commit 73f3d1b48f50 ("lib: Add zstd modules").
>
> Signed-off-by: Philipp Zabel
Please disregard this one in favor of
[PATCH 3/4] lib: Add zstd decompression module
I renamed it last-minute to make
Based on kernel commit 87bf54bb43dd ("squashfs: Add zstd support").
Creating zstd compressed squashfs images is supported by squashfs-tools
newer than commit e38956b92f73 ("squashfs-tools: Add zstd support").
Signed-off-by: Philipp Zabel
---
fs/squashfs/Kconfig|
Based on kernel commit 5d2405227a9e ("lib: Add xxhash module").
Signed-off-by: Philipp Zabel
---
include/linux/xxhash.h | 236 +++
lib/Kconfig| 3 +
lib/Makefile | 1 +
lib/xxhash.c
Without this include, the __force macro used in this header may be
undefined.
Signed-off-by: Philipp Zabel
---
include/linux/unaligned/generic.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/unaligned/generic.h
b/include/linux/unaligned/generic.h
index 02d97ff3df
When loop mounting, allow to specify an offset into the file, similarly
to the losetup offset option. Multiplicative suffixes are supported.
Signed-off-by: Philipp Zabel
---
fs/devfs-core.c | 8
fs/fs.c | 12 +---
include/driver.h | 2 +-
3 files changed, 14
Add an option parser using strtoull_suffix that can be used to
parse a loop mount offset option.
Signed-off-by: Philipp Zabel
---
include/parseopt.h | 2 ++
lib/parseopt.c | 30 ++
2 files changed, 32 insertions(+)
diff --git a/include/parseopt.h b/include
Add file_name_detect_type_offset to allow file system detection for loop
mounts at an offset.
Signed-off-by: Philipp Zabel
---
common/filetype.c | 10 --
include/filetype.h | 1 +
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/common/filetype.c b/common/filetype.c
x1d/0x34) from [<4fe42a75>] (do_exception+0xd/0x10)
[<4fe42a75>] (do_exception+0xd/0x10) from [<4fe42ad5>]
(do_data_abort+0x21/0x2c)
[<4fe42ad5>] (do_data_abort+0x21/0x2c) from [<4fe42394>]
(do_abort_6+0x48/0x54)
Fix this by checking cdev->dev as well
There is no need for a separate ARCH_IMX6ULL Kconfig symbol, and the
shared clock driver is only enabled with ARCH_IMX6UL.
Signed-off-by: Philipp Zabel
---
arch/arm/mach-imx/Kconfig | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm
On Thu, 2017-09-28 at 12:13 +0200, Sascha Hauer wrote:
> On Thu, Sep 28, 2017 at 11:33:32AM +0200, Lucas Stach wrote:
> > Am Donnerstag, den 28.09.2017, 11:26 +0200 schrieb Sascha Hauer:
> > > On Thu, Sep 28, 2017 at 11:16:15AM +0200, Lucas Stach wrote:
> > > > Am Mittwoch, den 27.09.2017, 14:16 +0
This patch allows to skip SD card initialization for eMMCs by setting
the "no-sd" property in the host controller device tree node. Avoiding
two SD command timeouts speeds up detection time by well over 200 ms.
Signed-off-by: Philipp Zabel
---
drivers/mci/mci-core.c | 12 ---
This looks like a leftover.
Signed-off-by: Philipp Zabel
---
common/state/backend_storage.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/common/state/backend_storage.c b/common/state/backend_storage.c
index 8d24f7053..1abf8c866 100644
--- a/common/state/backend_storage.c
+++ b/common
A report about the changed on-storage state format might be interesting
to the user.
Signed-off-by: Philipp Zabel
---
common/state/backend_bucket_circular.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/state/backend_bucket_circular.c
b/common/state
ion will fail:
state: Error, invalid data_len 16 in header, have data of len 24
Signed-off-by: Philipp Zabel
---
common/state/backend_bucket_circular.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/common/state/backend_bucket_circular.c
b/comm
On Wed, 2017-07-12 at 11:52 +0200, Philipp Zabel wrote:
> On Wed, 2017-07-12 at 10:56 +0200, Lucas Stach wrote:
> > Am Dienstag, den 11.07.2017, 12:41 -0500 schrieb Andrey Smirnov:
> > > On Tue, Jul 11, 2017 at 4:30 AM, Philipp Zabel
> > > wrote:
> > > > Co
On Wed, 2017-07-12 at 10:56 +0200, Lucas Stach wrote:
> Am Dienstag, den 11.07.2017, 12:41 -0500 schrieb Andrey Smirnov:
> > On Tue, Jul 11, 2017 at 4:30 AM, Philipp Zabel
> > wrote:
> > > Commit cbff8031b491 ("i.MX: clk-pllv3: Do not touch PLL_BYPASS bit")
&
S bit, but expects the bootloader to set it up correctly.
This patch adds code to unconditionally disable the PLL_BYPASS bit
initially, when the PLL clocks are registered.
Cc: Andrey Smirnov
Cc: Sascha Hauer
Fixes: cbff8031b491 ("i.MX: clk-pllv3: Do not touch PLL_BYPASS bit")
Signed-o
Signed-off-by: Philipp Zabel
---
No changes since v2.
---
fs/parseopt.c | 26 ++
fs/parseopt.h | 1 +
2 files changed, 27 insertions(+)
diff --git a/fs/parseopt.c b/fs/parseopt.c
index 12dbe1813c..8ff83019a7 100644
--- a/fs/parseopt.c
+++ b/fs/parseopt.c
@@ -2,6 +2,32
Signed-off-by: Philipp Zabel
---
No changes since v2.
---
commands/mount.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/commands/mount.c b/commands/mount.c
index f05e23b227..4cf1179b7b 100644
--- a/commands/mount.c
+++ b/commands/mount.c
@@ -117,6 +117,7 @@ BAREBOX_CMD_HELP_TEXT("Wi
Allow to create a loopback cdev from a file.
Signed-off-by: Philipp Zabel
---
Changes since v1:
- Renamed cdev_create_from_file to cdev_create_loop
- Added cdev_remove_loop, which replaces cdev_close and also removes the cdev
and frees its memories.
- Actually increment loopno with each
On Thu, 2017-06-01 at 08:31 +0200, Sascha Hauer wrote:
> Hi Philipp,
>
> On Tue, May 30, 2017 at 04:09:46PM +0200, Philipp Zabel wrote:
> > Allow to create a loopback cdev from a file.
> >
> > Signed-off-by: Philipp Zabel
> &g
Signed-off-by: Philipp Zabel
---
No changes since v1.
---
fs/parseopt.c | 26 ++
fs/parseopt.h | 1 +
2 files changed, 27 insertions(+)
diff --git a/fs/parseopt.c b/fs/parseopt.c
index 12dbe1813c..8ff83019a7 100644
--- a/fs/parseopt.c
+++ b/fs/parseopt.c
@@ -2,6 +2,32
Signed-off-by: Philipp Zabel
---
No changes since v1.
---
commands/mount.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/commands/mount.c b/commands/mount.c
index f05e23b227..4cf1179b7b 100644
--- a/commands/mount.c
+++ b/commands/mount.c
@@ -117,6 +117,7 @@ BAREBOX_CMD_HELP_TEXT("Wi
Allow to create a loopback cdev from a file.
Signed-off-by: Philipp Zabel
---
Changes since v1:
- Add cdev file operation to close the backing file descriptor on umount.
---
fs/devfs-core.c | 89
fs/fs.c | 21
Signed-off-by: Philipp Zabel
---
fs/parseopt.c | 26 ++
fs/parseopt.h | 1 +
2 files changed, 27 insertions(+)
diff --git a/fs/parseopt.c b/fs/parseopt.c
index 12dbe1813c..8ff83019a7 100644
--- a/fs/parseopt.c
+++ b/fs/parseopt.c
@@ -2,6 +2,32 @@
#include "parse
Signed-off-by: Philipp Zabel
---
commands/mount.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/commands/mount.c b/commands/mount.c
index f05e23b227..4cf1179b7b 100644
--- a/commands/mount.c
+++ b/commands/mount.c
@@ -117,6 +117,7 @@ BAREBOX_CMD_HELP_TEXT("With -a the mount command m
Allow to create a loopback cdev from a file.
Signed-off-by: Philipp Zabel
---
fs/devfs-core.c | 81
fs/fs.c | 21 ---
include/driver.h | 1 +
3 files changed, 99 insertions(+), 4 deletions(-)
diff --git a/fs/devfs
Unify the device path used by the default mount and mount with specified
mount point paths.
Signed-off-by: Philipp Zabel
---
commands/mount.c | 12 +---
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/commands/mount.c b/commands/mount.c
index aa769d46fe..f05e23b227 100644
gt;ops.
Since there is no reason to modify the contents of cdev->ops after
probing, make it const.
Signed-off-by: Philipp Zabel
---
include/driver.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/driver.h b/include/driver.h
index 52e06f7d62..086e44636b 100644
---
If the chosen node does not exist, of_add_initrd fails to pass the
initrd to the kernel. Instead it should create the chosen node, just
like of_fixup_bootargs does.
Signed-off-by: Philipp Zabel
---
drivers/of/base.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers
error path.
Signed-off-by: Philipp Zabel
---
drivers/video/edid.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/video/edid.c b/drivers/video/edid.c
index 92b59a5..2585264 100644
--- a/drivers/video/edid.c
+++ b/drivers/video/edid.c
@@ -792,7 +792,6 @@ int edid_to_display_timings
From: Andrey Gusakov
This patch adds support for the Toshiba TC358767 eDP bridge,
connected via DPI.
Signed-off-by: Andrey Gusakov
Signed-off-by: Philipp Zabel
---
drivers/video/Kconfig|8 +
drivers/video/Makefile |1 +
drivers/video/tc358767.c | 1313
The i.MX specific DI_MODE VPL ioctl already allows to query the encoder
input bus format. This patch also allows non-i.MX specific encoder drivers
to report their input bus format.
Signed-off-by: Philipp Zabel
---
drivers/video/imx-ipu-v3/ipufb.c | 8 ++--
include/video/vpl.h
V4L2 pixel formats are supposed to describe video frames in memory. To
describe the pixel format on the hardware bus between display interface
and encoders, use media bus formats, which are more expressive.
This allows to get rid of the custom GBR24 and LVDS666 fourccs.
Signed-off-by: Philipp
Am Freitag, den 19.02.2016, 20:28 +0100 schrieb Andreas Pretzsch:
> While looking into a maybe boarderline RAM setup on one specific piece
> of hardware, I took a closer look at the i.MX6 DDR setup of the Phytec
> i.MX6 modules in barebox.
> And came across two things that look ... somewhat questio
Replace ``device`` otg.mode option with the correct ``peripheral``.
Signed-off-by: Philipp Zabel
---
Documentation/user/usb.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/user/usb.rst b/Documentation/user/usb.rst
index 9eb1437..99158a2 100644
--- a
Am Dienstag, den 02.02.2016, 12:17 +0100 schrieb Philipp Zabel:
> The KSZ9031 erratum #2 stats:
> The 125MHz reference clock (CLK125_NDO pin) output
> has duty cycle variation when the KSZ9031 links up in
> 1000Base-T Slave mode, resulting in wide variation on
> th
Based on kernel commit 6270e1ae804a ("net/phy: micrel: Center FLP
timing at 16ms") by Jaeden Amero :
Signed-off-by: Philipp Zabel
---
drivers/net/phy/micrel.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/drivers/net/phy/micrel.c b/drive
not only const, but also static.
Signed-off-by: Philipp Zabel
---
drivers/net/phy/micrel.c | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index 0c97e25..6f49e73 100644
--- a/drivers/net/phy/micrel.
Based on kernel commit 00aee095000c ("net: phy: micrel: use BIT macro")
by Johan Hovold .
Signed-off-by: Philipp Zabel
---
drivers/net/phy/micrel.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micr
tatus'
was not declared. Should it be static?
Signed-off-by: Philipp Zabel
---
drivers/net/phy/micrel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index 095563a..2f31906 100644
--- a/drivers/net/phy/micrel.c
+++ b/driv
0xFF after autonegotiation completes. Reset the PHY
when in that state.
Signed-off-by: Philipp Zabel
---
drivers/net/phy/micrel.c | 23 ++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index 570272f..e8a566d 10
Signed-off-by: Philipp Zabel
---
drivers/net/phy/micrel.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index e8a566d..5227dfb 100644
--- a/drivers/net/phy/micrel.c
+++ b/drivers/net/phy/micrel.c
@@ -220,6 +220,
Set the hostname to "utilite" or "cm-fx6".
Signed-off-by: Philipp Zabel
---
arch/arm/boards/cm-fx6/board.c | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boards/cm-fx6/board.c b/arch/arm/boards/cm-fx6/board.c
index edef18f..f438062 100644
--- a/ar
Align with the mainline device tree, include it,
and remove all unchanged nodes and properties.
Signed-off-by: Philipp Zabel
---
arch/arm/dts/imx6q-phytec-pbab01.dts| 4
arch/arm/dts/imx6qdl-phytec-pbab01.dtsi | 16 +---
2 files changed, 1 insertion(+), 19 deletions
Align with the mainline device tree, include it,
and remove all unchanged nodes and properties.
Signed-off-by: Philipp Zabel
---
arch/arm/dts/imx6dl-phytec-pfla02.dtsi | 4 -
arch/arm/dts/imx6q-phytec-pfla02.dtsi | 4 -
arch/arm/dts/imx6qdl-phytec-pfla02.dtsi | 136
Barebox currently names the SPI NOR device "/dev/sst25vf016b",
but the barebox update handler still points to "/dev/m25p80",
causing barebox_update to fail.
Choose a descriptive name instead.
Signed-off-by: Philipp Zabel
---
arch/arm/boards/freescale-mx6-sabrelite/board.c |
Instead, let each board dts file that needs it include
manually before "imx6q.dtsi". This way board dts files that include the
original board dts and include "imxq6.dtsi" on top of that without
disabling all peripherals.
Signed-off-by: Philipp Zabel
---
arch/arm/dts/imx6q-
From: Philipp Zabel
Including "imx6q.dtsi" after also includes
again, disabling all peripherals, including the
serial console uart. We can't include it first either, because
arm/imx6q-gk802.dts contains the /dts-v1/ header.
This patch drops the offending include statement and i
assigned-clock-parents = <&clks IMX6QDL_CLK_MMDC_CH1_AXI>,
<&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>;
};
Signed-off-by: Ranjani Vaidyanathan
Signed-off-by: Fabio Estevam
Signed-off-by: Philipp Zabel
---
This has been discussed b
Patch 97e81f2d78f3 (Add support for metadata in barebox images)
writes the wrong length for the model tag in the barebox metadata.
Fix this to use the correct value.
Signed-off-by: Philipp Zabel
---
scripts/gen-dtb-s | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts
Commit 3843bfd0ab77eaf125ca617922927b61fc8ded74
"serial: imx: Determine device name from device tree"
broke this driver for non-devicetree boards, since
of_alias_get may not be called with a NULL pointer
as first argument.
Signed-off-by: Philipp Zabel
---
drivers/serial/serial
1 - 100 of 120 matches
Mail list logo