board files in Linux/MIPS still needs to access
the EC directly for power management. Unless we find a better home for
those code, we simply export the EC-related functions.
Signed-off-by: Yifeng Li
---
MAINTAINERS | 7 +
drivers/mfd/Kconfig | 10
ld be acceptable now. Please
review my changeset to see whether it's appropriate.
Thanks,
Yifeng Li (7):
mfd: yeeloong_kb3310b: support KB3310B EC for Lemote Yeeloong laptops.
mips: loongson64: select MFD_YEELOONG_KB3310B for LEMOTE_MACH2F.
mips: loongson64: remove ec_kb3310b.c, use
yeeloong_kb3310b MFD driver instead.
Signed-off-by: Yifeng Li
---
arch/mips/loongson64/lemote-2f/Makefile | 2 +-
arch/mips/loongson64/lemote-2f/ec_kb3310b.c | 129 --
arch/mips/loongson64/lemote-2f/ec_kb3310b.h | 188
arch/mips/loongson64/lemote-2f/pm.c
and camera. The vast majority of
events are passed to the subdrivers via a notification chain, thus,
the SCI logic and the specific hotkey handling logic have been decoupled.
Signed-off-by: Yifeng Li
---
arch/mips/loongson64/lemote-2f/Makefile | 2 +-
arch/mips/loongson64/lemote-2f/sci.
this facility, so we hardcode
the call of mach_platform_init() in common/platform.c as a ifdef for now.
Signed-off-by: Yifeng Li
---
.../include/asm/mach-loongson64/loongson.h| 3 ++
arch/mips/loongson64/common/platform.c| 15 ++
arch/mips/loongson64/lemote-2f/Makefile | 2
I've introduced platform code for Lemote Yeeloong computers and modified
power management-related files. Add myself as a maintainer of these code.
Signed-off-by: Yifeng Li
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 208f198
as a mandatory dependency.
Signed-off-by: Yifeng Li
---
arch/mips/loongson64/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/loongson64/Kconfig b/arch/mips/loongson64/Kconfig
index 4c14a11525f4..b423d5bba812 100644
--- a/arch/mips/loongson64/Kconfig
+++ b/arch/mips/loongson64
nline kernel.
This level of overenginnering hardly makes sense. All we need is to report
the laptop lid switch unconditionally upon wakeup in the future PM code,
which is being worked on.
Signed-off-by: Yifeng Li
---
arch/mips/loongson64/lemote-2f/pm.c | 22 --
1 file change
es not fix that bug.
Reference: https://lkml.org/lkml/2019/2/5/908
Signed-off-by: Yifeng Li
---
arch/mips/loongson64/common/reset.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/arch/mips/loongson64/common/reset.c
b/arch/mips/loongson64/common/reset.c
index a60715e1130
"blank_state" is
neither "blank_normal_wait" nor "blank_normal_notimer", thus allowing
the console to be blanked even if there's no timed autoblanking.
Signed-off-by: Yifeng Li
---
drivers/tty/vt/vt.c | 11 +--
1 file changed, 9 insertions(+), 2 dele
and
"poke_blanked_console()"). Finally, we change Step 3 in do_blank_screen() - now
it will return if "blank_state" is neither "blank_normal_wait" nor
"blank_normal_notimer", thus allowing the console to be blanked even if there's
no timed autoblanking.
Dear maintainers, please review if my proposed chance is appropriate.
Thanks,
Tom Li
Yifeng Li (1):
tty: vt.c: Fix TIOCL_BLANKSCREEN VT console blanking if blankinterval
== 0
drivers/tty/vt/vt.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
--
2.20.1
ve the "blank_state != blank_off" check. See Ref
for a detailed discussion.
Suggested-by: Nicolas Pitre
Fixes: a4199f5e ("tty: Disable default console blanking interval")
Reference: https://lore.kernel.org/lkml/20190225164346.1359-1-to...@tomli.me
Signed-off-by: Yifeng Li
---
dr
platform drivers. if there's no objection from the maintainers,
please consider to prioritize it for mips-next, thanks.
Yifeng Li (1):
mips: loongson64: move EC header to include/asm/mach-loongson64
.../lemote-2f => include/asm/mach-loongson64}/ec_kb3310b.h | 0
arch/mips/loongson6
In order to operate the Embedded Controller from multiple platform
drivers, it should be possible to include lemote-2f/ec_kb3310b.h
from everywhere. This commits move it from lemote-2f/ec_kb3310b.h
to include/asm/mach-loongson64/.
Signed-off-by: Yifeng Li
---
.../lemote-2f => include/asm/m
tions are taken verbatim.
This commit appends my name to the list of authors, and included
Miodrag Vallat's name and the ISC license of the original smfb.c
driver.
Signed-off-by: Yifeng Li
---
drivers/video/fbdev/sm712.h | 20
drivers/video/fbdev/sm71
ence
implementation for me.
Finally, during the development and testing of 2D acceleration, the
modesetting code of this driver received a minor cleanup, and many
issues about issues about the modesetting code and this driver in
general have been documented.
Yifeng Li (8):
fbdev: sm712fb: update co
This commits add information about 32-bit color, 2D acceleration,
as well as adding additional, general information about the hardware
and many existing problems of the sm712fb driver.
Signed-off-by: Yifeng Li
---
Documentation/fb/sm712fb.txt | 123 +++
1 file
t never listed, and are
useful to some users.
Signed-off-by: Yifeng Li
---
drivers/video/fbdev/sm712fb.c | 158 +++---
1 file changed, 31 insertions(+), 127 deletions(-)
diff --git a/drivers/video/fbdev/sm712fb.c b/drivers/video/fbdev/sm712fb.c
index 133e31f75d67..0cc
-bit word suitable for 2D Drawing Engine.
Yes, we can set info->pixmap.scan_align/buf_align = 4 and forget
about padding, but it's incompatible with cfb_imageblit() w/
depth == 1. In case we need to fallback (e.g. debugging), it would
be inconvenient, so we pad it manually.
Signed-off-by: Y
re it caused an unaligned
memory access, which is illegal on MIPS, thus crashing the computer.
Signed-off-by: Yifeng Li
---
drivers/video/fbdev/sm712.h | 3 +
drivers/video/fbdev/sm712fb.c | 396 +-
2 files changed, 392 insertions(+), 7 deletions(-)
diff --git
This commits update the Kconfig description of sm712fb,
and inform the user about the existence of documentation.
Signed-off-by: Yifeng Li
---
drivers/video/fbdev/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
index
use a different wordsize.
Signed-off-by: Yifeng Li
---
drivers/video/fbdev/sm712.h | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/video/fbdev/sm712.h b/drivers/video/fbdev/sm712.h
index 99077e91ae10..942019dc816a 100644
--- a/drivers/video/fbdev/sm712.h
+++
I have working on the sm712fb driver for a while and have some familiarity
with this hardware, I'll be helping working on and testing problems of this
driver, so add myself to the MAINTAINERS file.
Signed-off-by: Yifeng Li
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --
d 32-bit color modes. They are supported but never listed, and are
useful to some users.
Signed-off-by: Yifeng Li
---
drivers/video/fbdev/sm712fb.c | 158 +++---
1 file changed, 31 insertions(+), 127 deletions(-)
diff --git a/drivers/video/fbdev/sm712fb.c b/drive
I have working on the sm712fb driver for a while and have some familiarity
with this hardware, I'll be helping working on and testing problems of this
driver, so add myself to the MAINTAINERS file.
Signed-off-by: Yifeng Li
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --
This commits update the Kconfig description of sm712fb,
and inform the user about the existence of documentation.
Signed-off-by: Yifeng Li
---
Documentation/fb/sm712fb.txt | 44
drivers/video/fbdev/Kconfig | 4
2 files changed, 29 insertions(+), 19
This commits add information about 32-bit color, 2D acceleration,
as well as adding additional, general information about the hardware
and many existing problems of the sm712fb driver.
Signed-off-by: Yifeng Li
---
Documentation/fb/sm712fb.txt | 123 +++
1 file
nal system hang was a type punning.
unsigned char ajRemain[4];
SMTC_write2Ddataport(0, *(unsigned long *)ajRemain);
Type punning is undefined behavior in C, and here it caused an unaligned
memory access, which is illegal on MIPS, thus crashing the computer.
Signed-off-by: Yifeng Li
---
drivers/v
similar 2D engines, yet, I have
not seen a single version of it with ASCII graphs properly
formatted...
Fix the the misleading ASCII graphs. It would eliminate the
confusions and improve code readability.
Signed-off-by: Yifeng Li
---
drivers/staging/sm750fb/sm750_accel.c | 32
Rename the function setDisplayControl() to set_display_control().
This fixes the following checkpatch.pl warning:
CHECK: Avoid CamelCase:
Suggested-by: Jin Chen
Signed-off-by: Jin Chen
[to...@tomli.me: resent as trivial patch, reworded the commit message]
Signed-off-by: Yifeng Li
be
unfeasible.
Since they're extremely trivial. Hereby, I picked them up, reworded
commit message, and now resubmit them as trivial patches, and send them
to triv...@kernel.org. I hope it could be directly applied by either a
fbdev, a staging maintainer or by Jiri Kosina.
Thanks for your t
scade irqaction"), but it forgot
to apply the same fix to Loongson2.
Signed-off-by: Yifeng Li
---
arch/mips/loongson64/lemote-2f/irq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/loongson64/lemote-2f/irq.c
b/arch/mips/loongson64/lemote-2f/irq.c
index 9e33e4
this facility, so we hardcode
the call of mach_platform_init() in common/platform.c as a ifdef for now.
Signed-off-by: Yifeng Li
---
.../include/asm/mach-loongson64/loongson.h| 3 ++
arch/mips/loongson64/common/platform.c| 15 ++
arch/mips/loongson64/lemote-2f/Makefile | 2
ether it's appropriate.
Thanks,
Yifeng Li (7):
mfd: yeeloong_kb3310b: support KB3310B EC for Lemote Yeeloong laptops.
mips: loongson64: select MFD_YEELOONG_KB3310B for LEMOTE_MACH2F.
mips: loongson64: remove ec_kb3310b.c, use MFD driver.
mips: loongson64: remove yeeloong_report_lid_status
yeeloong_kb3310b MFD driver instead.
Signed-off-by: Yifeng Li
---
arch/mips/loongson64/lemote-2f/Makefile | 2 +-
arch/mips/loongson64/lemote-2f/ec_kb3310b.c | 129 --
arch/mips/loongson64/lemote-2f/ec_kb3310b.h | 188
arch/mips/loongson64/lemote-2f/pm.c
board files in Linux/MIPS still needs to access
the EC directly for power management. Unless we find a better home for
those code, we simply export the EC-related functions.
Signed-off-by: Yifeng Li
---
MAINTAINERS | 7 +
drivers/mfd/Kconfig | 10
as a mandatory dependency.
Signed-off-by: Yifeng Li
---
arch/mips/loongson64/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/loongson64/Kconfig b/arch/mips/loongson64/Kconfig
index 4c14a11525f4..b423d5bba812 100644
--- a/arch/mips/loongson64/Kconfig
+++ b/arch/mips/loongson64
nline kernel.
This level of overenginnering hardly makes sense. All we need is to report
the laptop lid switch unconditionally upon wakeup in the future PM code,
which is being worked on.
Signed-off-by: Yifeng Li
---
arch/mips/loongson64/lemote-2f/pm.c | 22 --
1 file change
I've introduced platform code for Lemote Yeeloong computers and modified
power management-related files. Add myself as a maintainer of these code.
Signed-off-by: Yifeng Li
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 208f198
and camera. The vast majority of
events are passed to the subdrivers via a notification chain, thus,
the SCI logic and the specific hotkey handling logic have been decoupled.
Signed-off-by: Yifeng Li
---
arch/mips/loongson64/lemote-2f/Makefile | 2 +-
arch/mips/loongson64/lemote-2f/sci.
ocl.h says
> /* keep screen blank even if a key is pressed */
> #define TIOCL_BLANKSCREEN 14
To fix it, we simply remove the "blank_state != blank_off" check, as
pointed out by Nicolas Pitre, this check doesn't logically make sense
and it's safe to remove.
Suggested-by:
yeeloong_kb3310b MFD driver instead.
Signed-off-by: Yifeng Li
---
arch/mips/loongson64/lemote-2f/Makefile | 2 +-
arch/mips/loongson64/lemote-2f/ec_kb3310b.c | 129 --
arch/mips/loongson64/lemote-2f/ec_kb3310b.h | 188
arch/mips/loongson64/lemote-2f/pm.c
nline kernel.
This level of overenginnering hardly makes sense. All we need is to report
the laptop lid switch unconditionally upon wakeup in the future PM code,
which is being worked on.
Signed-off-by: Yifeng Li
---
arch/mips/loongson64/lemote-2f/pm.c | 22 --
1 file change
geset to see whether it's appropriate.
Thanks,
Yifeng Li (7):
mfd: yeeloong_kb3310b: support KB3310B EC for Lemote Yeeloong laptops.
mips: loongson64: select MFD_YEELOONG_KB3310B for LEMOTE_MACH2F.
mips: loongson64: remove ec_kb3310b.c, use MFD driver.
mips: loongson
r the board files.
Signed-off-by: Yifeng Li
---
MAINTAINERS | 7 +
drivers/mfd/Kconfig | 10 ++
drivers/mfd/Makefile | 1 +
drivers/mfd/yeeloong_kb3310b.c | 200 +
include/linux/mfd/yeeloong_kb3310b.h
as a mandatory dependency.
Signed-off-by: Yifeng Li
---
arch/mips/loongson64/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/loongson64/Kconfig b/arch/mips/loongson64/Kconfig
index 4c14a11525f4..b423d5bba812 100644
--- a/arch/mips/loongson64/Kconfig
+++ b/arch/mips/loongson64
and camera. The vast majority of
events are passed to the subdrivers via a notification chain, thus,
the SCI logic and the specific hotkey handling logic have been decoupled.
Signed-off-by: Yifeng Li
---
arch/mips/loongson64/lemote-2f/Makefile | 2 +-
arch/mips/loongson64/lemote-2f/sci.
I've introduced platform code for Lemote Yeeloong computers and modified
power management-related files. Add myself as a maintainer of these code.
Signed-off-by: Yifeng Li
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 208f198
this facility, so we hardcode
the call of mach_platform_init() in common/platform.c as a ifdef for now.
Signed-off-by: Yifeng Li
---
.../include/asm/mach-loongson64/loongson.h| 3 ++
arch/mips/loongson64/common/platform.c| 15 ++
arch/mips/loongson64/lemote-2f/Makefile | 2
ch to LKML directly, sorry for CC-ing too many
people here.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=93841
Cc: Bard Liao
Cc: Oder Chiou
Cc: Mark Brown
Cc: Keyon
Cc: Jinliang Wang
Cc: sta...@vger.kernel.org
Signed-off-by: Yifeng Li
---
sound/soc/codecs/rt286.c | 7 +++
1 file
50 matches
Mail list logo