://loongson.github.io/LoongArch-Documentation/Loongson-7A1000-usermanual-EN.html
[2]
https://loongson.github.io/LoongArch-Documentation/Loongson-3A5000-usermanual-EN.html
[3] https://wiki.debian.org/InstallingDebianOn/Lemote/Loongson2K1000
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330
From: suijingfeng
v2: merge the last two trival patches into one patch.
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
arch/mips/configs/loongson2k_defconfig | 1 +
arch/mips/configs/loongson3_defconfig | 1 +
2 files changed, 2 insertions(+)
diff
From: suijingfeng
There is a vivante gpu (GC1000 V5037) in ls2k1000,
but it is pci device not platform device.
ls2k1000 is dual-core mips64 cpu made by loongson.
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
arch/mips/boot/dts/loongson/loongson64-2k100
From: suijingfeng
There is a vivante gpu (GC1000 V5037) in ls2k1000,
but it is pci device not platform device.
ls2k1000 is dual-core mips64 cpu made by loongson.
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
arch/mips/boot/dts/loongson/loongson64-2k100
From: suijingfeng
There is a vivante gpu (GC1000 V5037) in ls2k1000,
but it is pci device not platform device.
ls2k1000 is dual-core mips64 cpu made by loongson.
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
arch/mips/boot/dts/loongson/loongson64-2k100
There is a Vivante GC1000 V5037 in LS2K1000 and LS7A1000,
the gpu is a PCI device and it have 2D and 3D in the same core.
Therefore, this patch try to provide PCI device driver wrapper
for it by mimic the platform counterpart.
LS7A1000 is a bridge chip, this bridge chip typically use
integrated,
named lsdc. By using KMS-RO framework, lsdc and gc1000 made a
compatible pair.
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
drivers/gpu/drm/etnaviv/Kconfig | 12 ++
drivers/gpu/drm/etnaviv/Makefile | 2 +
drivers/g
From: suijingfeng
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
arch/mips/configs/loongson3_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/configs/loongson3_defconfig
b/arch/mips/configs/loongson3_defconfig
index f02101
From: suijingfeng
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
arch/mips/configs/loongson2k_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/configs/loongson2k_defconfig
b/arch/mips/configs/loongson2k_defconfig
index e948ca
From: suijingfeng
Signed-off-by: suijingfeng
---
include/drm/drm_plane.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/drm/drm_plane.h b/include/drm/drm_plane.h
index fed97e35626f..0c1102dc4d88 100644
--- a/include/drm/drm_plane.h
+++ b/include/drm/drm_plane.h
@@
n.
[1] https://wiki.godson.ac.cn/device:lemote_a1901
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
arch/mips/boot/dts/loongson/lemote_a1901.dts | 59
1 file changed, 59 insertions(+)
create mode 100644 arch/mips/boot/dts/loongson/lemote_a19
From: suijingfeng
The display controller is a pci device, its PCI vendor id is 0x0014
its PCI device id is 0x7a06.
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 11 +++
1 file changed, 11 inse
Reported-by: Dan Carpenter
Reported-by: Krzysztof Kozlowski
Reported-by: Maxime Ripard
Reported-by: Randy Dunlap
Reported-by: kernel test robot
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Mak
There is a display controller in loongson's LS2K1000 SoC and LS7A1000
bridge chip, the DC is a PCI device in those chips. It has two display
pipes but with only one hardware cursor. Each way has a DVO interface
which provide RGB888 signals, vertical & horizontal synchronisations,
data enable and
From: suijingfeng
The LS7A1000 bridge chip is equipped with a dedicated video memory
which is typically 64MB or more. This patch add has_dedicated_vram
property in the display controller device node to reflict this.
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189
+ DVO0 | | DVO1 +--+
+--+ VGA <--|ADV7125|<+ +>|TFP410|--> DVI/HDMI
+---+ +--+
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
.../boot/dts/loongson/ls3a4000_7a1000_evb.dts |
From: suijingfeng
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index ea3e6c914384..766cccdf7f73 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -6453,6 +6
DebianOn/Lemote/Loongson2K1000
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
arch/mips/boot/dts/loongson/ls2k1000_pai.dts | 69
1 file changed, 69 insertions(+)
create mode 100644 arch/mips/boot/dts/loongson/ls2k1000_pai.dts
diff
On 2022/2/14 18:10, Maxime Ripard wrote:
On Sun, Feb 13, 2022 at 10:16:43PM +0800, Sui Jingfeng wrote:
From: suijingfeng
There is a display controller in loongson's LS2K1000 SoC and LS7A1000
bridge chip, the DC is a PCI device in those chips. It has two display
pipes but with only one
On 2022/2/14 07:12, Joe Perches wrote:
On Sun, 2022-02-13 at 22:16 +0800, Sui Jingfeng wrote:
From: suijingfeng
[]
diff --git a/MAINTAINERS b/MAINTAINERS
[]
@@ -6453,6 +6453,15 @@ T: git git://anongit.freedesktop.org/drm/drm-misc
F:drivers/gpu/drm/lima/
F:include/uapi
On 2022/2/21 17:19, Sergei Shtylyov wrote:
On 2/20/22 5:55 PM, Sui Jingfeng wrote:
From: suijingfeng
The display controller is a pci device, its PCI vendor id is 0x0014
its PCI device id is 0x7a06.
1) In order to let the driver to know which chip the DC is contained
in, the compatible
On 2022/2/21 18:01, Krzysztof Kozlowski wrote:
On 21/02/2022 10:19, Sergei Shtylyov wrote:
On 2/20/22 5:55 PM, Sui Jingfeng wrote:
From: suijingfeng
The display controller is a pci device, its PCI vendor id is 0x0014
its PCI device id is 0x7a06.
1) In order to let the driver to know
On 2022/2/16 21:46, Daniel Stone wrote:
On Wed, 9 Feb 2022 at 15:41, Sui Jingfeng <15330273...@189.cn> wrote:
On 2022/2/9 16:43, Maxime Ripard wrote:
More fundamentally (and this extends to the CMA, caching and VRAM stuff
you explained above), why can't the driver pick the right decisi
On 2022/2/10 00:16, Maxime Ripard wrote:
And, to reinstate, we already have a mechanism to set an EDID, and if it
wasn't an option, the DT is not the place to store an EDID blob.
Hi,
if DT is not the place to store EDID blob, why nvidia can do that ?
output->edid =
On 2022/2/3 16:50, Krzysztof Kozlowski wrote:
On Thu, 3 Feb 2022 at 09:26, Sui Jingfeng <15330273...@189.cn> wrote:
From: suijingfeng
The display controller is a pci device, its vendor id is 0x0014
its device id is 0x7a06.
The same as your patch 3 - these are not bindings.
Best r
gson-3A5000-usermanual-EN.html
[5] https://github.com/loongson-community/pmon
Reported-by: Joe Perches
Reported-by: Dan Carpenter
Reported-by: Krzysztof Kozlowski
Reported-by: Maxime Ripard
Reported-by: Randy Dunlap
Reported-by: kernel test robot
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfe
for ls2k1000 SoC
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
.../loongson/loongson,display-controller.yaml | 114 ++
.../display/loongson/loongson-drm.txt | 16 +++
.../boot/dts/loongson/loongson64-2k1000.dtsi | 8 ++
arch/mips/bo
indroduction of board specific dts.
5) Add documention about the display controller device node.
Reported-by: Dan Carpenter
Reported-by: Krzysztof Kozlowski
Reported-by: Maxime Ripard
Reported-by: Randy Dunlap
Reported-by: kernel test robot
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfe
From: suijingfeng
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index ea3e6c914384..3f5e13a6358b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -6453,6 +6
ported-by: kernel test robot
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Makefile | 1 +
drivers/gpu/drm/lsdc/Kconfig | 21 +
drivers/gpu/drm/lsdc/Makefile
display controller device node for ls2k1000 SoC
Reported-by: Krzysztof Kozlowski
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 8
arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 7 ++-
2
and errors when running make dt_binding_check
Reported-by: Rob Herring
Reported-by: Krzysztof Kozlowski
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
.../loongson/loongson,display-controller.yaml | 122 ++
1 file changed, 122 insertions(+)
From: suijingfeng
v2: Fix warnnings reported by checkpatch script
Reported-by: Joe Perches
Reported-by: Krzysztof Kozlowski
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAI
There is a display controller in loongson's LS2K1000 SoC and LS7A1000
bridge chip, the display controller is a PCI device in those chips. It
has two display pipes but with only one hardware cursor. Each way has
a DVO interface which provide RGB888 signals, vertical & horizontal
synchronisations,
On 2022/2/17 16:42, Krzysztof Kozlowski wrote:
.../boot/dts/loongson/loongson64-2k1000.dtsi | 8 ++
arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 7 +-
4 files changed, 140 insertions(+), 5 deletions(-)
create mode 100644
for ls2k1000 SoC
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 8
arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 7 ++-
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/arc
On 2022/2/17 18:57, Krzysztof Kozlowski wrote:
On 17/02/2022 11:55, Sui Jingfeng wrote:
From: suijingfeng
Add DT documentation for loongson display controller found in
LS2K1000, LS2K0500, LS7A1000 and LS7A2000.
v2: DT binding docs and includes should be a separate patch,
fix
l test robot
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Makefile | 1 +
drivers/gpu/drm/lsdc/Kconfig | 21 +
drivers/gpu/drm/lsdc/Makefile | 13
From: suijingfeng
Add DT documentation for loongson display controller found in
LS2K1000, LS2K0500, LS7A1000 and LS7A2000.
v2: DT binding docs and includes should be a separate patch,
fix a warnning because of that.
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@
From: suijingfeng
v2: Fix warnnings reported by checkpatch script
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index ea3e6c914384..abf7a2d6c94d
There is a display controller in loongson's LS2K1000 SoC and LS7A1000
bridge chip, it is a PCI device in those chips. It has two display
pipes but with only one hardware cursor. Each way has a DVO interface
which provide RGB888 signals, vertical & horizontal synchronisations,
data enable and the
On 2022/2/22 16:27, Maxime Ripard wrote:
Hi,
On Sun, Feb 20, 2022 at 10:55:53PM +0800, Sui Jingfeng wrote:
+/* lsdc_get_display_timings_from_dtb - Get display timings from the device tree
+ *
+ * @np: point to the device node contain the display timings
+ * @pptim: point to where the pointer
On 2022/2/22 16:27, Maxime Ripard wrote:
+ if (!of_device_is_available(output)) {
+ of_node_put(output);
+ drm_info(ddev, "connector%d is not available\n", index);
+ return NULL;
+ }
+
+ disp_tims_np = of_get_child_by_name(output,
On 2022/2/23 22:39, Maxime Ripard wrote:
On Tue, Feb 22, 2022 at 10:46:35PM +0800, Sui Jingfeng wrote:
On 2022/2/22 16:27, Maxime Ripard wrote:
+ if (!of_device_is_available(output)) {
+ of_node_put(output);
+ drm_info(ddev, "connector%d is not availa
On 2022/2/23 22:39, Maxime Ripard wrote:
On Tue, Feb 22, 2022 at 10:46:35PM +0800, Sui Jingfeng wrote:
On 2022/2/22 16:27, Maxime Ripard wrote:
+ if (!of_device_is_available(output)) {
+ of_node_put(output);
+ drm_info(ddev, "connector%d is not availa
On 2022/2/23 21:56, 隋景峰 wrote:
Something like this:
dt-bindings: display: Add Loongson display controller
Hi,
We are not a platform device driver, there is no
of_device_id defined in my driver. In other word,
my driver will not bind against devices whose compatible
is
On 2022/2/14 13:54, Jiaxun Yang wrote:
在 2022/2/13 14:16, Sui Jingfeng 写道:
There is a display controller in loongson's LS2K1000 SoC and LS7A1000
bridge chip, the DC is a PCI device in those chips. It has two display
pipes but with only one hardware cursor. Each way has a DVO interface
which
On 2022/2/14 07:12, Joe Perches wrote:
On Sun, 2022-02-13 at 22:16 +0800, Sui Jingfeng wrote:
From: suijingfeng
[]
diff --git a/MAINTAINERS b/MAINTAINERS
[]
@@ -6453,6 +6453,15 @@ T: git git://anongit.freedesktop.org/drm/drm-misc
F:drivers/gpu/drm/lima/
F:include/uapi
On 2022/2/14 18:10, Maxime Ripard wrote:
On Sun, Feb 13, 2022 at 10:16:43PM +0800, Sui Jingfeng wrote:
From: suijingfeng
There is a display controller in loongson's LS2K1000 SoC and LS7A1000
bridge chip, the DC is a PCI device in those chips. It has two display
pipes but with only one
On 2022/2/10 00:16, Maxime Ripard wrote:
On Wed, Feb 09, 2022 at 10:38:41PM +0800, Sui Jingfeng wrote:
On 2022/2/9 16:49, Maxime Ripard wrote:
On Fri, Feb 04, 2022 at 12:04:19AM +0800, Sui Jingfeng wrote:
+/* Get the simple EDID data from the device tree
+ * the length must be EDID_LENGTH
On 2022/2/18 00:39, Rob Herring wrote:
On Thu, 17 Feb 2022 02:17:11 +0800, Sui Jingfeng wrote:
From: suijingfeng
The display controller is a pci device, its PCI vendor id is 0x0014
its PCI device id is 0x7a06.
1) In order to let the lsdc kms driver to know which chip the DC
On 2022/2/21 02:18, Jiaxun Yang wrote:
在 2022/2/20 14:55, Sui Jingfeng 写道:
From: suijingfeng
The display controller is a pci device, its PCI vendor id is 0x0014
its PCI device id is 0x7a06.
1) In order to let the driver to know which chip the DC is contained
in, the compatible string
On 2022/3/23 10:29, Jiaxun Yang wrote:
在 2022/3/23 1:53, Sui Jingfeng 写道:
Hi, Jiaxun
Build all dts into vmlinuz will make the vmlinuz bigger and bigger.
How does the kernel get the dtb is another big issue, either from
built-in
dtb or pass from the firmware(pmon and uefi etc
On 2022/3/23 00:06, Jiaxun Yang wrote:
在 2022/3/22 13:38, Sui Jingfeng 写道:
On 2022/3/22 21:05, Jiaxun Yang wrote:
在 2022/3/21 16:29, Sui Jingfeng 写道:
From: suijingfeng
The board name is LS3A4000_7A1000_EVB_BOARD_V1.4, it consist of 1.8Ghz
mips64r5 4-core CPU and LS7A1000 bridge chip
On 2022/3/23 04:49, Rob Herring wrote:
+/*
+ * mainly for dc in ls7a1000 which have builtin gpio emulated i2c
+ *
+ * @index : output channel index, 0 for DVO0, 1 for DVO1
+ */
+struct lsdc_i2c *lsdc_create_i2c_chan(struct device *dev, void *base, unsigned
int index)
+{
+ char
On 2022/3/23 04:55, Rob Herring wrote:
On Tue, Mar 22, 2022 at 10:33:45AM +0800, Sui Jingfeng wrote:
On 2022/3/22 07:20, Rob Herring wrote:
On Tue, Mar 22, 2022 at 12:29:14AM +0800, Sui Jingfeng wrote:
From: suijingfeng
Needs a commit message.
Signed-off-by: suijingfeng
Signed-off
On 2022/3/23 04:49, Rob Herring wrote:
+
+ if (state) {
+ val = readb(li2c->dir_reg);
+ val |= mask;
+ writeb(val, li2c->dir_reg);
+ } else {
+ val = readb(li2c->dir_reg);
+ val &= ~mask;
+
On 2022/3/23 10:29, Jiaxun Yang wrote:
If you want to blame somebody for the problem then please don't
blame us. We tried very hard to fit all those stuff into kernel's model
of devices. You should blame those who did the initial design of
Loongson's boot interface that failed to introduce a
On 2022/3/23 04:49, Rob Herring wrote:
+/*
+ * ls7a_gpio_i2c_set - set the state of a gpio pin indicated by mask
+ * @mask: gpio pin mask
+ */
+static void ls7a_gpio_i2c_set(struct lsdc_i2c * const li2c, int mask, int
state)
+{
+ unsigned long flags;
+ u8 val;
+
+
On 2022/3/23 04:49, Rob Herring wrote:
This condition is never true. We're in the 'else' because !state.
Thanks for your sharp eyes, after the gpio emulate i2c driver works, i do not
pay much
attention to it and get hurry to do other things. I will fix this issue at next
version
and reply
On 2022/3/23 21:11, Rob Herring wrote:
On Wed, Mar 23, 2022 at 12:12:43PM +0800, Sui Jingfeng wrote:
On 2022/3/23 04:49, Rob Herring wrote:
+/*
+ * mainly for dc in ls7a1000 which have builtin gpio emulated i2c
+ *
+ * @index : output channel index, 0 for DVO0, 1 for DVO1
+ */
+struct
On 2022/3/23 04:49, Rob Herring wrote:
+ }
+
+ spin_lock_init(>reglock);
+
+ snprintf(compat, sizeof(compat), "lsdc,i2c-gpio-%d", index);
compatible values shouldn't have an index and you shouldn't need a
index in DT. You need to iterate over child nodes with matching
On 2022/3/24 21:26, Rob Herring wrote:
On Thu, Mar 24, 2022 at 09:48:19AM +0800, Sui Jingfeng wrote:
On 2022/3/23 21:03, Rob Herring wrote:
On Wed, Mar 23, 2022 at 11:38:55AM +0800, Sui Jingfeng wrote:
On 2022/3/23 04:55, Rob Herring wrote:
On Tue, Mar 22, 2022 at 10:33:45AM +0800, Sui
a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/intel-lab-lkp/linux/commits/Sui-Jingfeng/MIPS-Loongson64-dts-update-the-display-controller-device-node/20220328-103101
base: git
On 2022/3/27 22:02, Rob Herring wrote:
On Sun, 27 Mar 2022 19:38:43 +0800, Sui Jingfeng wrote:
Add DT bindings and simple usages for Loongson display controller
found in LS7A1000 bridges chip and LS2k1000 SoC.
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
.../loongson/lo
On 2022/3/27 20:54, Jiaxun Yang wrote:
在 2022/3/27 12:38, Sui Jingfeng 写道:
Add DT bindings and simple usages for Loongson display controller
found in LS7A1000 bridges chip and LS2k1000 SoC.
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
[...]
+
+ - |
+ #include
+
nel cmd line to enable this and see what will happen.
We implemlent this for IC varification.
2) Separate debugfs related code from lsdc_drv.c
3) Built-in GPIO emulate i2c refinement.
4) Various improvement as required by Rob.
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
general purpose GPIO emulated i2c or hardware
i2c adapter.
This patch add common part of the DC device node only, it does not contain
ports device note. As it is for the generic, boards only with transparent
encoders should works simply by inherit from this.
Signed-off-by: Sui Jingfeng <15330273...@
this case the EDID
is read from the monitor directly, not through sii9022's ddc channel.
The i2c0 is not get used by lsdc driver for this board.
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
arch/mips/boot/dts/loongson/Makefile | 4 +
arch/mips/boot/dts/loongson/lemote_a19
Add DT bindings and simple usages for Loongson display controller
found in LS7A1000 bridge chip and LS2k1000 SoC.
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
.../loongson/loongson,display-controller.yaml | 321 ++
1 file changed, 321 insertions(+)
create mode
ls3A4000 evb board ship with adv7123 and tfp410 while ls2k1000 PI board
use a DPI panel from FORLINX company and a sii9022 HDMI transmitter.
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
arch/mips/configs/loongson2k_defconfig | 5 +
arch/mips/configs/loongson3_defconfig | 5 ++
This patch add myself as maintainer
My company email is
my personal email is <15330273...@189.cn>
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 10476280acb8..21184d8
On 2022/3/29 21:27, Rob Herring wrote:
On Sun, Mar 27, 2022 at 9:29 PM Sui Jingfeng <15330273...@189.cn> wrote:
Add DT bindings and simple usages for Loongson display controller
found in LS7A1000 bridge chip and LS2k1000 SoC.
Signed-off-by: Sui Jingfeng <15330273.
ps://ee-paper.com/loongson-3a4000-3b4000-motherboard-products-are-compatible-with-uos-system/
[4]
https://loongson.github.io/LoongArch-Documentation/Loongson-3A5000-usermanual-EN.html
[5] https://github.com/loongson-community/pmon
Sui Jingfeng (6):
MIPS: Loongson64: dts: update the display controller d
the board working in this way. In this case the EDID
is read from the monitor via the i2c1 directly, not through sii9022's
ddc channel. The i2c0 is not get used by lsdc driver for this board.
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
arch/mips/boot/dts/loongson/Makefi
Add DT bindings and simple usages for Loongson display controller
found in LS7A1000 bridge chip and LS2k1000 SoC.
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
.../loongson/loongson,display-controller.yaml | 295 ++
1 file changed, 295 insertions(+)
create mode
general purpose GPIO emulated i2c or hardware
i2c adapter.
This patch add common part of the DC property only, it does not contain
ports property note. As it is for the generic boards which using
transparent encoder only.
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
.../boot/dts/lo
ls3A4000 evb board ship with adv7123 and tfp410 while ls2k1000 PI board
use a DPI panel from FORLINX company and a sii9022 HDMI transmitter.
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
arch/mips/configs/loongson2k_defconfig | 5 +
arch/mips/configs/loongson3_defconfig | 5 ++
happen.
We implemlent this for IC varification.
2) Separate debugfs related code from lsdc_drv.c
3) Built-in GPIO emulate i2c refinement.
4) Various improvement as required by Rob.
v13:
1) Fixup warnings reported by robots
2) Drop bus number support as required by Rob
Signed-
This patch add myself as maintainer
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 10476280acb8..21184d8577f4 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -6487,6 +6487,1
pends on COMPILE_TEST in Kconfig
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Makefile| 1 +
drivers/gpu/drm/loongson/Kconfig| 25 ++
drivers/gpu/drm/loongson/Makefile | 16 +
This patch add myself as maintainer
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 10476280acb8..21184d8577f4 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -6487,6 +6487,1
the board working in this way. In this case the EDID
is read from the monitor via the i2c1 directly, not through sii9022's
ddc channel. The i2c0 is not get used by lsdc driver for this board.
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
arch/mips/boot/dts/loongson/Makefi
This patch Add DT bindings and usages for Loongson display controller
found in LS7A1000 bridge chip and LS2k1000 SoC.
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
.../loongson/loongson,display-controller.yaml | 289 ++
1 file changed, 289 insertions(+)
creat
general purpose GPIO emulated i2c or hardware
i2c adapter.
This patch add common part of the DC property only, it does not contain
ports property note. As it is for the generic boards which using
transparent encoder only.
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
.../boot/dts/lo
ls3A4000 evb board ship with adv7123 and tfp410 while ls2k1000 PI board
use a DPI panel from FORLINX company and a sii9022 HDMI transmitter.
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
arch/mips/configs/loongson2k_defconfig | 5 +
arch/mips/configs/loongson3_defconfig | 5 ++
ps://ee-paper.com/loongson-3a4000-3b4000-motherboard-products-are-compatible-with-uos-system/
[4]
https://loongson.github.io/LoongArch-Documentation/Loongson-3A5000-usermanual-EN.html
[5] https://github.com/loongson-community/pmon
Sui Jingfeng (6):
MIPS: Loongson64: dts: update the display controller d
This patch make the code more clear, call of_node_put(np) only once
in for_each_compatible_node(np, NULL, "vivante,gc") loop instead of
three.
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
drivers/gpu/drm/etnaviv/etnaviv_drv.c | 36 +--
1
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
drivers/dma-buf/dma-buf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c
index df23239b04fc..775d3afb4169 100644
--- a/drivers/dma-buf/dma-buf.c
+++ b/drivers/d
Hi,
There's only one exclusive slot, and we must not break the ordering.
Adding a new exclusive fence drops all previous fences from the
dma_resv. To avoid violating the signalling order we err on the side of
over-synchronizing by waiting for the existing fences, even if
userspace asked us to
This patch add a function (etnaviv_gpu_clk_get()) which is separated
from the etnaviv_gpu_platform_probe() function.
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 48 +++
1 file changed, 27 insertions(+), 21 del
This patch separate the code related to the platform device creation
so that it can be reuse by other function.
An immediate benefit is we need call of_node_put() only once in the
for_each_compatible_node(np, NULL, "vivante,gc") loop instead of
three.
Signed-off-by: Sui Jingfeng
is a double core 1.0Ghz
Mips64r2 SoC.
LS7A1000/LS2K1000 has a display controller integrated, named lsdc.
After apply this patch, the etnaviv driver can be used on our mips
platform.
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
drivers/gpu/drm/etnaviv/Kconfig | 10 +++
d
eckpatch script and fix typos
v10:
1) Pass `make dt_binding_check` validation
2) Fix warnings reported by kernel test robot
v11:
1) Convert the driver to use drm bridge and of graph framework.
2) Dump register value support through debugfs.
Reported-by: kernel test robot
Signed-off-by:
From: suijingfeng
ls3A4000 evb board is shipped with adv7123 and tfp410 while ls2k1000
PI board use a DPI panel from FORLINX and a sii9022 HDMI transmitter.
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
arch/mips/configs/loongson2k_defconfig | 5 +
There is a display controller in loongson's LS2K1000 SoC and LS7A1000
bridge chip, the display controller is a PCI device in those chips. It
has two display pipes but with only one hardware cursor. Each way has
a DVO interface which provide RGB888 signals, vertical & horizontal
synchronisations,
module, either general purpose GPIO emulated i2c or hardware
i2c adapter.
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
.../boot/dts/loongson/loongson64-2k1000.dtsi | 24 +
arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 36
t;+ +>|TFP410|--> DVI/HDMI
+---+ +--+
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
.../boot/dts/loongson/ls3a4000_7a1000_evb.dts | 136 ++
1 file changed, 136 insert
From: suijingfeng
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
.../loongson/loongson,display-controller.yaml | 230 ++
1 file changed, 230 insertions(+)
create mode 100644
Documentation/devicetree/bindings/display/loongson/loongson,d
ips64r2
ASEs implemented: vz msa loongson-ext2
...
Signed-off-by: suijingfeng
Signed-off-by: Sui Jingfeng <15330273...@189.cn>
---
arch/mips/boot/dts/loongson/lemote_a1901.dts | 92
1 file changed, 92 insertions(+)
create mode 100644 arch/mips/boot/dts/loongso
1 - 100 of 1165 matches
Mail list logo