Re: [PATCH v3 0/3] Add generic framebuffer support to EFI earlycon driver

2022-12-23 Thread Markuss Broks
Hi Ard, On 12/23/22 16:42, Ard Biesheuvel wrote: (cc Andy) On Wed, 21 Dec 2022 at 11:54, Markuss Broks wrote: Make the EFI earlycon driver be suitable for any linear framebuffers. This should be helpful for early porting of boards with no other means of output, like smartphones/tablets

[PATCH v3 3/3] efi: earlycon: Add support for generic framebuffers

2022-12-21 Thread Markuss Broks
early_ioremap implementation on ARM and on IA64 because of lack of early_memremap_prot. Signed-off-by: Markuss Broks --- .../admin-guide/kernel-parameters.txt | 12 +- MAINTAINERS | 5 + drivers/firmware/efi/Kconfig | 7 +- drivers

[PATCH v3 2/3] efi: earlycon: move to video/console to prepare for changes

2022-12-21 Thread Markuss Broks
This would make the next patch in series with this one to show a clear diff, instead of just removing the previous driver and creating a new one. Signed-off-by: Markuss Broks --- drivers/{firmware/efi => video/console}/earlycon.c | 0 1 file changed, 0 insertions(+), 0 deletions(-) ren

[PATCH v3 1/3] drivers: serial: earlycon: Pass device-tree node

2022-12-21 Thread Markuss Broks
Pass a pointer to device-tree node in case the driver probed from OF. This makes early console drivers able to fetch options from device-tree node properties. Signed-off-by: Markuss Broks --- drivers/tty/serial/earlycon.c | 3 +++ include/linux/serial_core.h | 1 + 2 files changed, 4

[PATCH v3 0/3] Add generic framebuffer support to EFI earlycon driver

2022-12-21 Thread Markuss Broks
Air 2, Xiaomi Mi Pad 4, ...). Markuss Broks (2): drivers: serial: earlycon: Pass device-tree node efi: earlycon: Add support for generic framebuffers and move to fbdev subsystem v1 -> v2: - a new patch correcting serial/earlycon.c argument name to "offset" instead of

[PATCH v2 2/3] drivers: serial: earlycon: Pass device-tree node

2022-08-06 Thread Markuss Broks
Pass a pointer to device-tree node in case the driver probed from OF. This makes early console drivers able to fetch options from device-tree node properties. Signed-off-by: Markuss Broks --- drivers/tty/serial/earlycon.c | 3 +++ include/linux/serial_core.h | 1 + 2 files changed, 4

[PATCH v2 1/3] drivers: serial: earlycon: Correct argument name

2022-08-06 Thread Markuss Broks
The "node" argument is actually an offset, and it's also an "int", and not "unsigned long". Correct the of_setup_earlycon function. Signed-off-by: Markuss Broks --- drivers/tty/serial/earlycon.c | 18 +- 1 file changed, 9 insertions(+), 9 del

[PATCH v2 0/3] Add generic framebuffer support to EFI earlycon driver

2022-08-06 Thread Markuss Broks
Air 2, Xiaomi Mi Pad 4, ...). Markuss Broks (2): drivers: serial: earlycon: Pass device-tree node efi: earlycon: Add support for generic framebuffers and move to fbdev subsystem v1 -> v2: - a new patch correcting serial/earlycon.c argument name to "offset" instead of

[PATCH v2 3/3] efi: earlycon: Add support for generic framebuffers and move to console subsystem

2022-08-06 Thread Markuss Broks
early_ioremap implementation on ARM and on IA64 because of lack of early_memremap_prot. Signed-off-by: Markuss Broks --- .../admin-guide/kernel-parameters.txt | 12 +- MAINTAINERS | 5 + drivers/firmware/efi/Kconfig | 7 +- drivers

Re: [PATCH 2/2] efi: earlycon: Add support for generic framebuffers and move to fbdev subsystem

2022-08-06 Thread Markuss Broks
Hi Greg, On 7/28/22 18:01, Greg Kroah-Hartman wrote: On Thu, Jul 28, 2022 at 05:52:04PM +0300, Markuss Broks wrote: Hi Greg, On 7/28/22 17:39, Greg Kroah-Hartman wrote: On Thu, Jul 28, 2022 at 05:28:19PM +0300, Markuss Broks wrote: Add early console support for generic linear framebuffer

Re: [PATCH 2/2] efi: earlycon: Add support for generic framebuffers and move to fbdev subsystem

2022-07-30 Thread Markuss Broks
Hi Andy, On 7/29/22 00:19, Andy Shevchenko wrote: On Thu, Jul 28, 2022 at 4:32 PM Markuss Broks wrote: Add early console support for generic linear framebuffer devices. This driver supports probing from cmdline early parameters or from the device-tree using information in simple-framebuffer

Re: [PATCH 2/2] efi: earlycon: Add support for generic framebuffers and move to fbdev subsystem

2022-07-28 Thread Markuss Broks
Hi Arnd, On 7/28/22 17:48, Arnd Bergmann wrote: On Thu, Jul 28, 2022 at 4:28 PM Markuss Broks wrote: Add early console support for generic linear framebuffer devices. This driver supports probing from cmdline early parameters or from the device-tree using information in simple-framebuffer

Re: [PATCH 2/2] efi: earlycon: Add support for generic framebuffers and move to fbdev subsystem

2022-07-28 Thread Markuss Broks
Hi Greg, On 7/28/22 17:39, Greg Kroah-Hartman wrote: On Thu, Jul 28, 2022 at 05:28:19PM +0300, Markuss Broks wrote: Add early console support for generic linear framebuffer devices. This driver supports probing from cmdline early parameters or from the device-tree using information in simple

[PATCH 2/2] efi: earlycon: Add support for generic framebuffers and move to fbdev subsystem

2022-07-28 Thread Markuss Broks
early_ioremap implementation on ARM. Signed-off-by: Markuss Broks --- .../admin-guide/kernel-parameters.txt | 12 +- MAINTAINERS | 5 + drivers/firmware/efi/Kconfig | 6 +- drivers/firmware/efi/Makefile | 1

[PATCH 1/2] drivers: serial: earlycon: Pass device-tree node

2022-07-28 Thread Markuss Broks
Pass a pointer to device-tree node in case the driver probed from OF. This makes early console drivers able to fetch options from device-tree node properties. Signed-off-by: Markuss Broks --- drivers/tty/serial/earlycon.c | 3 +++ include/linux/serial_core.h | 1 + 2 files changed, 4

[PATCH 0/2] Add generic framebuffer support to EFI earlycon driver

2022-07-28 Thread Markuss Broks
with system RAM. If it does, it's common sense that it should be in RAM as a whole, and so the system RAM mapping is used. It was tested to be working on my PC (Intel Z490 platform). Markuss Broks (2): drivers: serial: earlycon: Pass device-tree node efi: earlycon: Add support for ge

[PATCH v2 2/2] drm/panel: s6d27a1: Add driver for Samsung S6D27A1 display panel

2021-08-07 Thread Markuss Broks
-off-by: Markuss Broks v2 -> v3: fixed checkpatch warnings - not sure about MAINTAINERS, should I put my name up there? v3 -> v4: - add a MAINTAINERS entry; - drop s6d27a1_command macro; use mipi_dbi_command directly; - dropped "panel initialized" dev_dbg message; - add drm_pa

[PATCH v2 1/2] drm/panel: Add DT bindings for Samsung S6D27A1 display panel

2021-08-07 Thread Markuss Broks
This adds device-tree bindings for the Samsung S6D27A1 RGB DPI display panel. Signed-off-by: Markuss Broks v1 -> v2: changed additionalProperties to unevaluatedProperties; added vci-supply and vccio-supply as required; --- .../display/panel/samsung,s6d27a1.yaml|

[PATCH 0/2] Add support for Samsung S6D27A1 display panel

2021-08-07 Thread Markuss Broks
Add support for Samsung Mobile Displays(SMD) Samsung S6D27A1 panel. This display panel is used on Samsung mobile devices such as Samsung Galaxy Ace 2 (GT-I8160) also known as Codina. Markuss Broks (2): drm/panel: Add DT bindings for Samsung S6D27A1 display panel drm/panel: s6d27a1: Add driver

[PATCH 2/2] drm/panel: s6d27a1: Add driver for Samsung S6D27A1 display panel

2021-08-05 Thread Markuss Broks
-off-by: Markuss Broks v2 -> v3: fixed checkpatch warnings - not sure about MAINTAINERS, should I put my name up there? --- drivers/gpu/drm/panel/Kconfig | 11 + drivers/gpu/drm/panel/Makefile| 1 + drivers/gpu/drm/panel/panel-samsung-s6d27a1.c |

[PATCH 1/2] drm/panel: Add DT bindings for Samsung S6D27A1 display panel

2021-08-05 Thread Markuss Broks
This adds device-tree bindings for the Samsung S6D27A1 RGB DPI display panel. Signed-off-by: Markuss Broks --- .../display/panel/samsung,s6d27a1.yaml| 97 +++ 1 file changed, 97 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/samsung

[PATCH 0/2] Add support for Samsung S6D27A1 display panel

2021-08-05 Thread Markuss Broks
Add support for Samsung Mobile Displays(SMD) Samsung S6D27A1 panel. This display panel is used on Samsung mobile devices such as Samsung Galaxy Ace 2 (GT-I8160) also known as Codina. Markuss Broks (2): drm/panel: Add DT bindings for Samsung S6D27A1 display panel drm/panel: s6d27a1: Add driver

[PATCH v2] drm/panel: s6d27a1: Add driver for Samsung S6D27A1 display panel

2021-08-03 Thread Markuss Broks
reference. Signed-off-by: Markuss Broks --- drivers/gpu/drm/panel/Kconfig | 8 + drivers/gpu/drm/panel/Makefile| 1 + drivers/gpu/drm/panel/panel-samsung-s6d27a1.c | 323 ++ 3 files changed, 332 insertions(+) create mode 100644 drivers/gpu/drm

[PATCH] drm/panel: s6d27a1: Add driver for Samsung S6D27A1 display panel

2021-08-03 Thread Markuss Broks
reference. Signed-off-by: Markuss Broks --- drivers/gpu/drm/panel/Kconfig | 8 + drivers/gpu/drm/panel/Makefile| 1 + drivers/gpu/drm/panel/panel-samsung-s6d27a1.c | 342 ++ 3 files changed, 351 insertions(+) create mode 100644 drivers/gpu/drm