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
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_d
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 su
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
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
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/fb.h
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 | 12 ++
dr
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 changed
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/video/Makefile
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
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
+++
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(-)
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
ned-off-by: 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
};
>
> 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
>
> Signed-off-by: Ranjani Vaidyanathan
> S
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
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
dy 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 changed, 1 inser
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
xes: a2fa18f9f483 ("mtd: of: Make used partition binding configurable")
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
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
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 <p.za...@pengutronix.de>
---
Documentation/user/reset-reas
c22dee6e3c16 ("ARM: imx: Improve the soc revision calculation flow").
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
arch/arm/mach-imx/include/mach/imx6.h | 24
1 file changed, 4 insertions(+), 20 deletions(-)
diff --git a/arch/arm/mach-imx/inc
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 <p.za...@pengutronix.de>
Please disregard this one in favor of
[PATCH 3/4] lib: Add zstd decompression module
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 <p.za...@pengutronix.de>
Based on kernel commit 5d2405227a9e ("lib: Add xxhash module").
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
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 <p.za...@pengutronix.de>
---
include/linux/unaligned/generic.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/unaligned/generic.h
b/include/linux/unaligned/gen
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 <p.za...@pengutronix.de>
---
fs/devfs-core.c | 8
fs/fs.c | 12 +---
include/driver.h | 2
Add an option parser using strtoull_suffix that can be used to
parse a loop mount offset option.
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
include/parseopt.h | 2 ++
lib/parseopt.c | 30 ++
2 files changed, 32 insertions(+)
diff --git a/i
Add file_name_detect_type_offset to allow file system detection for loop
mounts at an offset.
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
common/filetype.c | 10 --
include/filetype.h | 1 +
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/common/file
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 as cdev
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 <p.za...@pengutronix.de>
---
arch/arm/mach-imx/Kconfig | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/arch/ar
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
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 <p.za...@pengutronix.de>
---
drivers/mci
This looks like a leftover.
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
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
A report about the changed on-storage state format might be interesting
to the user.
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
common/state/backend_bucket_circular.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/state/backend_bucket_circula
ion will fail:
state: Error, invalid data_len 16 in header, have data of len 24
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
common/state/backend_bucket_circular.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/common/state/backend_bucket_circular.c
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 <p.za...@pengutronix.de>
>
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 <p.za...@pengutronix.de>
> > wrote:
> > > Commit cbff8031b491 ("i.MX: clk
MX: clk-pllv3: Do not touch PLL_BYPASS bit")
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
drivers/clk/imx/clk-pllv3.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c
index 0e55a63e9..44642e88f 100644
--- a/dri
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
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
++
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
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
Allow to create a loopback cdev from a file.
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
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.
- Ac
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 <p.za...@pengutronix.de>
&
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
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
++
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
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
Allow to create a loopback cdev from a file.
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
Changes since v1:
- Add cdev file operation to close the backing file descriptor on umount.
---
fs/devfs-core.c | 89
f
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
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
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
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_HEL
Allow to create a loopback cdev from a file.
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
fs/devfs-core.c | 81
fs/fs.c | 21 ---
include/driver.h | 1 +
3 files changed, 99 insertions(+), 4 del
Unify the device path used by the default mount and mount with specified
mount point paths.
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
commands/mount.c | 12 +---
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/commands/mount.c b/commands/mount.c
gt;ops.
Since there is no reason to modify the contents of cdev->ops after
probing, make it const.
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
include/driver.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/driver.h b/include/driver.h
index 52e06f7
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 <p.za...@pengutronix.de>
---
drivers/of/base.c | 4 ++--
1 file changed, 2 insertions(+), 2 del
From: Andrey Gusakov <andrey.gusa...@cogentembedded.com>
This patch adds support for the Toshiba TC358767 eDP bridge,
connected via DPI.
Signed-off-by: Andrey Gusakov <andrey.gusa...@cogentembedded.com>
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
drivers/video
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 <p.za...@pengutronix.de>
---
drivers/video/imx-ipu-v3/ipufb.c | 8 ++--
i
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
Replace ``device`` otg.mode option with the correct ``peripheral``.
Signed-off-by: Philipp Zabel <philipp.za...@gmail.com>
---
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 9
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
9031_config_init() to be
not only const, but also static.
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
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 0
Based on kernel commit 00aee095000c ("net: phy: micrel: use BIT macro")
by Johan Hovold <jo...@kernel.org>.
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
drivers/net/phy/micrel.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff -
Markus Niebel <markus.nie...@tqs.de>
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
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/
error
count will read 0xFF after autonegotiation completes. Reset the PHY
when in that state.
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
drivers/net/phy/micrel.c | 23 ++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/drivers/net/phy/micr
warning: symbol 'ksz8873mll_read_status'
was not declared. Should it be static?
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
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 10
Based on kernel commit 6270e1ae804a ("net/phy: micrel: Center FLP
timing at 16ms") by Jaeden Amero <jaeden.am...@ni.com>:
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
drivers/net/phy/micrel.c | 17 -
1 file changed, 16 insertions(+), 1 d
Set the hostname to "utilite" or "cm-fx6".
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
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.
Align with the mainline device tree, include it,
and remove all unchanged nodes and properties.
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
arch/arm/dts/imx6dl-phytec-pfla02.dtsi | 4 -
arch/arm/dts/imx6q-phytec-pfla02.dtsi | 4 -
arch/arm/dts/imx6qdl-phytec-pfla02.dtsi | 136
Align with the mainline device tree, include it,
and remove all unchanged nodes and properties.
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
arch/arm/dts/imx6q-phytec-pbab01.dts| 4
arch/arm/dts/imx6qdl-phytec-pbab01.dtsi | 16 +---
2 files changed, 1 insertion
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 p.za...@pengutronix.de
---
arch/arm/boards/freescale-mx6-sabrelite/board.c | 4
From: Philipp Zabel philipp.za...@gmail.com
Including imx6q.dtsi after arm/imx6q-gk802.dts also includes
arm/imx6ql.dtsi 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
Instead, let each board dts file that needs it include arm/imx6q.dtsi
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 p.za...@pengutronix.de
---
arch/arm
= clks IMX6QDL_CLK_MMDC_CH1_AXI,
clks IMX6QDL_CLK_PLL5_VIDEO_DIV;
};
Signed-off-by: Ranjani Vaidyanathan ranjani.vaidyanat...@freescale.com
Signed-off-by: Fabio Estevam fabio.este...@freescale.com
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
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 p.za...@pengutronix.de
---
scripts/gen-dtb-s | 2 +-
1 file changed, 1 insertion(+), 1 deletion
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 p.za...@pengutronix.de
---
drivers/serial
From: Philipp Zabel philipp.za...@gmail.com
Commit 0d6392de4ad824a6553c0e3e3e18edef689a7c85 introduced a stripped
down device tree used for both white and black Beaglebone variants
that included the 256 MiB memory node from am335x-bone-common.dtsi.
This leads to the following error in the MLO
If the ubidetach command is given a number that passes the range check
in ubi_detach_mtd_dev, but at which index the ubi_devices array contains
a NULL pointer, ubi_get_device tries to dereference this NULL pointer
to increment the ubi device reference count.
Signed-off-by: Philipp Zabel p.za
This patch gates the clocks to GPU, IPU, and VPU units by default,
significantly reducing the VDDSOC power draw while barebox is running.
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
arch/arm/mach-imx/clk-imx6.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
Signed-off-by: Philipp Zabel philipp.za...@gmail.com
---
drivers/net/usb/asix.c | 18 +++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/drivers/net/usb/asix.c b/drivers/net/usb/asix.c
index 003ebba..085d728 100644
--- a/drivers/net/usb/asix.c
+++ b/drivers/net/usb
1 - 100 of 112 matches
Mail list logo