Hi Sam,
Le jeu. 24 sept. 2020 à 22:22, Sam Ravnborg a
écrit :
Hi Paul.
On Tue, Sep 15, 2020 at 02:38:17PM +0200, Paul Cercueil wrote:
Old Ingenic SoCs can overclock very well, up to +50% of their
nominal
clock rate, whithout requiring overvolting or anything like that,
just
by changing
振 (Qi Pengzhen)
Signed-off-by: 漆鹏振 (Qi Pengzhen)
Signed-off-by: 周琰杰 (Zhou Yanjie)
Reviewed-by: Paul Cercueil
---
Notes:
v1->v2:
Fix bug, ".of_match_table =
of_match_ptr(ingenic_usb_phy_of_matches)" is wrong
and should be replaced with ".of_match_table =
ingenic_
Hi Thomas,
Le mar. 22 sept. 2020 à 18:02, Thomas Bogendoerfer
a écrit :
On Thu, Sep 17, 2020 at 03:35:28PM +0200, Paul Cercueil wrote:
There is nothing that prevents us from using lower maximum values.
It's something that we actually want, when using bigger page sizes
on
devices
Le sam. 19 sept. 2020 à 19:38, 周琰杰 (Zhou Yanjie)
a écrit :
Add 'cpus' node to the jz4725b.dtsi, jz4740.dtsi, jz4770.dtsi,
jz4780.dtsi, x1000.dtsi, and x1830.dtsi files.
Tested-by: H. Nikolaus Schaller
Tested-by: Paul Boddie
Signed-off-by: 周琰杰 (Zhou Yanjie)
Reviewed-by: Paul Cercueil
Le sam. 19 sept. 2020 à 20:44, 周琰杰 (Zhou Yanjie)
a écrit :
Add X1000 system type for cat /proc/cpuinfo to give out X1000E.
Signed-off-by: 周琰杰 (Zhou Yanjie)
For the 2 patches:
Reviewed-by: Paul Cercueil
Cheers,
-Paul
---
arch/mips/generic/board-ingenic.c | 3 +++
arch/mips/include
Le sam. 19 sept. 2020 à 16:42, 周琰杰 (Zhou Yanjie)
a écrit :
Remove unnecessary "of_match_ptr()", because Ingenic SoCs all
depend on Device Tree.
Suggested-by: Paul Cercueil
Signed-off-by: 周琰杰 (Zhou Yanjie)
Reviewed-by: Paul Cercueil
Cheers,
-Paul
---
Notes:
v3:
0fc9d
--- /dev/null
+++ b/drivers/phy/ingenic/Makefile
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
+obj-y += phy-ingenic-usb.o
diff --git a/drivers/phy/ingenic/phy-ingenic-usb.c
b/drivers/phy/ingenic/phy-ingenic-usb.c
new file mode 100644
index 0000..f220750e7950
--- /dev/n
Hi,
Le jeu. 17 sept. 2020 à 18:52, Krzysztof Kozlowski a
écrit :
Include the common GPIO schema in GPIO controllers to be sure all
common
properties are properly validated.
Signed-off-by: Krzysztof Kozlowski
Acked-by: Paul Cercueil
Cheers,
-Paul
---
Changes since v1:
1. New patch
There is nothing that prevents us from using lower maximum values.
It's something that we actually want, when using bigger page sizes on
devices with low RAM.
Signed-off-by: Paul Cercueil
---
arch/mips/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/Kconfig
Hi,
Le mer. 9 sept. 2020 à 10:28, kernel test robot a
écrit :
Hi Paul,
First bad commit (maybe != root cause):
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
master
head: 34d4ddd359dbcdf6c5fb3f85a179243d7a1cb7f8
commit:
ingenic,jz4770-phy", .data = _soc_info },
+ { .compatible = "ingenic,jz4780-phy", .data = _soc_info },
+ { .compatible = "ingenic,x1000-phy", .data = _soc_info },
+ { .compatible = "ingenic,x1830-phy", .data = _soc_info },
+ { /* sentinel */
Le mar. 15 sept. 2020 à 10:03, Rob Herring a écrit :
On Tue, Sep 15, 2020 at 4:07 AM Paul Cercueil
wrote:
Hi Rob,
Le lun. 14 sept. 2020 à 16:12, Rob Herring a
écrit :
> On Fri, Sep 04, 2020 at 03:11:52PM +0200, Paul Cercueil wrote:
>> CONFIG_OF is selected by CONFIG_MAC
clock.
To counter that issue, we make sure that the panel is in VBLANK before
the rate change happens, and we will then re-set the pixel clock rate
afterwards, once the PLL has been changed, to be as close as possible to
the pixel rate requested by the encoder.
Signed-off-by: Paul Cercueil
Add support for static memory reserved from Device Tree. Since we're
using GEM buffers backed by CMA, it is interesting to have an option to
specify the CMA area where the GEM buffers will be allocated.
Signed-off-by: Paul Cercueil
---
drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 19
Starting from the JZ4760 SoC, the primary and overlay planes support
30-bit pixel modes (10 bits per color component). Add support for these
in the ingenic-drm driver.
Signed-off-by: Paul Cercueil
---
drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 41 +--
drivers/gpu/drm
sure that there will always be space for our GEM
buffers (provided they fit in the memory area).
Cheers,
-Paul
Paul Cercueil (3):
drm/ingenic: Add support for 30-bit modes
drm/ingenic: Reset pixclock rate when parent clock rate changes
drm/ingenic: Add support for reserved memory
drivers/gpu
Hi Rob,
Le lun. 14 sept. 2020 à 16:12, Rob Herring a écrit :
On Fri, Sep 04, 2020 at 03:11:52PM +0200, Paul Cercueil wrote:
CONFIG_OF is selected by CONFIG_MACH_INGENIC, therefore we don't
need to
handle the case where Device Tree is not supported.
What about COMPILE_TEST
;v3:
1.Add Paul Cercueil's Reviewed-by.
2.Fix bug about PE15's pull-up parameter.
This looks good to me, I'm just waiting for Paul to look at patches
2&3
before applying.
Reviewed-by: Paul Cercueil
for the patchset.
Cheers,
-Paul
Any love for my patch? I have more pending :)
Thanks,
-Paul
Le sam. 22 août 2020 à 18:42, Paul Cercueil a
écrit :
Ingenic SoCs are most notably used in cheap chinese handheld gaming
consoles. There, the games and applications generally render in
software
directly into GEM buffers
Le dim. 30 août 2020 à 22:28, Sam Ravnborg a
écrit :
Hi Laurent.
>
> Please read the cover letter, it explains why it's done this way.
The
> whole point of this patchset is to merge DSI and DBI frameworks
in a
> way that can be maintained.
I think this proves the point that the
Le lun. 7 sept. 2020 à 10:54, Sergei Shtylyov
a écrit :
On 06.09.2020 22:29, Paul Cercueil wrote:
The plat_get_fdt() checked that the kernel was booted using UHI
before
reading the 'fw_passed_dtb' variable. However, this variable is also
set
when the kernel has been appended, or when
The plat_get_fdt() checked that the kernel was booted using UHI before
reading the 'fw_passed_dtb' variable. However, this variable is also set
when the kernel has been appended, or when it has been built into the
kernel.
Support these usecases by removing the UHI check.
Signed-off-by: Paul
on the command line;
- the code did not perform at all what it's supposed to, which is to
retrieve the parameters passed by the bootloader.
Fix this by calling fw_init_cmdline() in plat_mem_setup(), which will
properly initialize arcs_cmdline to the parameters passed by the
bootloader.
Signed-off-by: Paul
There is no reason we can't create compressed kernels here, so select
the option SYS_SUPPORTS_ZBOOT.
Signed-off-by: Paul Cercueil
---
Notes:
v2-v3: No change
arch/mips/Kconfig | 1 +
arch/mips/generic/Platform | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/mips
for a SoC supported by the arch/mips/generic/ code, without
making that kernel generic itself.
Signed-off-by: Paul Cercueil
---
Notes:
v2-v3: No change
arch/mips/Kconfig | 8 ++--
arch/mips/generic/Kconfig | 2 +-
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/mips
rectly and removing the dependency on CONFIG_MACH_INGENIC.
Signed-off-by: Paul Cercueil
---
Notes:
v2-v3: No change
arch/mips/include/asm/pgtable-bits.h | 5 -
arch/mips/kernel/cpu-probe.c | 3 ++-
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/arch/mips/include/asm/p
Support for Ingenic chips has been moved to the generic MIPS platform.
Update the paths accordingly.
Signed-off-by: Paul Cercueil
---
Notes:
v2: No change
v3: Add arch/mips/include/asm/mach-ingenic/ path too
MAINTAINERS | 5 +++--
1 file changed, 3 insertions(+), 2 deletions
Add support for Ingenic SoCs in arch/mips/generic/.
The Kconfig changes are here to ensure that it is possible to compile
either a generic kernel that supports Ingenic SoCs, or a Ingenic-only
kernel, both using the same code base, to avoid duplicated code.
Signed-off-by: Paul Cercueil
Support for Ingenic SoCs is now provided by the arch/mips/generic/ code,
so all files in the arch/mips/jz4740/ folder can dropped, except for the
Kconfig, and the cpu-feature-overrides.h header file.
Signed-off-by: Paul Cercueil
---
Notes:
v2: No change
v3: - Don't rename
Check for the (already existing) "system_type" variable in the
get_system_type() function. If non-NULL, return it as the system type.
Signed-off-by: Paul Cercueil
---
Notes:
v2: Instead of adding a .get_system_type callback to the mips_machine
struct, the boards now simpl
: 62249209a772 ("MIPS: ingenic: Default to a generic board")
Signed-off-by: Paul Cercueil
---
Notes:
v3: New patch
arch/mips/configs/qi_lb60_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/configs/qi_lb60_defconfig
b/arch/mips/configs/qi_lb60_defco
128 IRQs is not enough to support Ingenic SoCs.
Signed-off-by: Paul Cercueil
---
Notes:
v2-v3: No change
arch/mips/include/asm/mach-generic/irq.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/include/asm/mach-generic/irq.h
b/arch/mips/include/asm/mach
of doing code removal + rename in one
patch in v2, we now do code removal in patch [12/15] and rename in
[13/15]. It makes more sense to split since we have more files/folders
(as we keep the cpu-feature-overrides.h header around).
Cheers,
-Paul
Paul Cercueil (15):
MIPS: configs: lb60: Fix
XBurst CPUs present in Ingenic SoCs have virtually tagged caches,
according to the header.
Add that information to cpu_probe_ingenic().
Signed-off-by: Paul Cercueil
---
Notes:
v2-v3: No change
arch/mips/kernel/cpu-probe.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/mips
eturned by the macro.
What we want to check here, is that *if* the macro was overridden to a
compile-time constant, then must be defined to zero, otherwise it's a
bug.
So the correct check is:
BUG_ON(__builtin_constant_p(cpu_has_counter) && cpu_has_counter);
Signed-off-by: Paul Cer
Now that all the jz4740 platform code has been removed, and we're left
with only a Kconfig and the cpu-feature-overrides.h file, finalize the
cleanup process by renaming the jz4740 and include/mach-jz4740 folders
to ingenic and include/mach-ingenic.
Signed-off-by: Paul Cercueil
---
Notes
For each board the MACH_INGENIC_SOC option was selected instead of
MACH_INGENIC. Nothing else was changed in the menuconfig.
Signed-off-by: Paul Cercueil
---
Notes:
v2: Update cu1830-neo board config as well.
v3: Adapt patch on top so that it applies on top of patch 1
arch/mips
Le lun. 7 sept. 2020 à 1:09, Zhou Yanjie a
écrit :
Hi Paul,
在 2020/9/6 下午10:17, Paul Cercueil 写道:
Hi Zhou,
Le ven. 4 sept. 2020 à 15:27, Paul Cercueil
a écrit :
Hi Zhou,
Le lun. 31 août 2020 à 23:43, 周琰杰 (Zhou Yanjie)
a écrit :
Add SSI pins support for the JZ4770 SoC
Le lun. 7 sept. 2020 à 1:06, Zhou Yanjie a
écrit :
Hi Paul,
在 2020/9/4 下午10:10, Paul Cercueil 写道:
Hi Zhou,
Le lun. 31 août 2020 à 21:50, 周琰杰 (Zhou Yanjie)
a écrit :
Used the generic PHY framework API to create the PHY,
and move the driver to driver/phy/ingenic.
Tested-by: 周正 (Zhou
Hi Zhou,
Le lun. 31 août 2020 à 23:43, 周琰杰 (Zhou Yanjie)
a écrit :
Correct the pullup and pulldown parameters of JZ4780 to make them
consistent with the parameters on the datasheet.
Signed-off-by: 周琰杰 (Zhou Yanjie)
---
Notes:
v2:
New patch.
drivers/pinctrl/pinctrl-ingenic.c | 12
Hi Zhou,
Le ven. 4 sept. 2020 à 15:27, Paul Cercueil a
écrit :
Hi Zhou,
Le lun. 31 août 2020 à 23:43, 周琰杰 (Zhou Yanjie)
a écrit :
Add SSI pins support for the JZ4770 SoC and the
JZ4780 SoC from Ingenic.
Signed-off-by: 周琰杰 (Zhou Yanjie)
---
Notes:
v1->v2:
Rebase on top of ker
the diff bigger and harder
to review. Please keep it where it was.
+
+static struct platform_driver ingenic_usb_phy_driver = {
+ .probe = ingenic_usb_phy_probe,
+ .remove = ingenic_usb_phy_remove,
.driver = {
- .name = "jz4770-
Hi Zhou,
Le lun. 31 août 2020 à 23:43, 周琰杰 (Zhou Yanjie)
a écrit :
Add SSI pins support for the JZ4770 SoC and the
JZ4780 SoC from Ingenic.
Signed-off-by: 周琰杰 (Zhou Yanjie)
---
Notes:
v1->v2:
Rebase on top of kernel 5.9-rc3.
drivers/pinctrl/pinctrl-ingenic.c | 267
d use it as fallback for the
"ingenic,jz4780-i2c" string.
Signed-off-by: Paul Cercueil
---
.../devicetree/bindings/i2c/ingenic,i2c.yaml | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml
b/Documentation/d
CONFIG_OF is selected by CONFIG_MACH_INGENIC, therefore we don't need to
handle the case where Device Tree is not supported.
Signed-off-by: Paul Cercueil
---
drivers/i2c/busses/i2c-jz4780.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-jz4780.c b
The I2C controller in the JZ4770 SoC seems to work the exact same as in
the JZ4780 SoC.
Signed-off-by: Paul Cercueil
---
drivers/i2c/busses/i2c-jz4780.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/i2c/busses/i2c-jz4780.c b/drivers/i2c/busses/i2c-jz4780.c
index ba831df6661e
for the NAND
to work if it was not already done by the bootloader.
Signed-off-by: Paul Cercueil
---
arch/mips/boot/dts/ingenic/qi_lb60.dts | 137 -
1 file changed, 68 insertions(+), 69 deletions(-)
diff --git a/arch/mips/boot/dts/ingenic/qi_lb60.dts
b/arch/mips/boot/dts
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/host/ehci-spear.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/host/ehci-spear.c b/drivers/usb/host/ehci-spear.c
index add796c78561..3694e450a11a 100644
--- a/drivers/usb/host/ehci-spear.c
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/host/ehci-platform.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c
index 006c4f6188a5..4585a3a24678 100644
--- a/drivers/usb/host/ehci
Paul Cercueil (20):
usb/host: ohci-platform: Use pm_ptr() macro
usb/host: ehci-spear: Use pm_ptr() macro
usb/host: ehci-npcm7xx: Use pm_ptr() macro
usb/host: ehci-platform: Use pm_ptr() macro
usb/cdns3: core: Use pm_ptr() macro
usb/chipidea: core: Use pm_ptr() macro
usb/misc: usb3503
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/misc/usb3503.c | 18 --
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/drivers/usb/misc/usb3503.c b/drivers/usb/misc/usb3503.c
index 116bd789e568..48099c6bf04c 100644
--- a/drivers/usb/misc/usb3503.c
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/musb/da8xx.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/musb/da8xx.c b/drivers/usb/musb/da8xx.c
index 1c023c0091c4..7a13463006e3 100644
--- a/drivers/usb/musb/da8xx.c
+++ b/drivers/usb
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/musb/ux500.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/musb/ux500.c b/drivers/usb/musb/ux500.c
index 73538d1d0524..3defe83f3a16 100644
--- a/drivers/usb/musb/ux500.c
+++ b/drivers/usb
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/gadget/udc/mv_u3d_core.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/gadget/udc/mv_u3d_core.c
b/drivers/usb/gadget/udc/mv_u3d_core.c
index 5486f5a70868..a7e3736fd0c1 100644
--- a/drivers
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/gadget/udc/pch_udc.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/gadget/udc/pch_udc.c b/drivers/usb/gadget/udc/pch_udc.c
index 8afc31d94b0e..9e26b5ab3058 100644
--- a/drivers/usb
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/gadget/udc/snps_udc_plat.c | 16 +---
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/drivers/usb/gadget/udc/snps_udc_plat.c
b/drivers/usb/gadget/udc/snps_udc_plat.c
index 32f1d3e90c26..6b8f08287c84
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/gadget/udc/renesas_usb3.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/gadget/udc/renesas_usb3.c
b/drivers/usb/gadget/udc/renesas_usb3.c
index 0c418ce50ba0..4e8ba5914eff 100644
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c
b/drivers/usb/gadget/udc/atmel_usba_udc.c
index a6426dd1cfef..38da3f3ebde7 100644
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/gadget/udc/bdc/bdc_core.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c
b/drivers/usb/gadget/udc/bdc/bdc_core.c
index 5ff36525044e..da3a7a59ccae 100644
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/phy/phy-mxs-usb.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/phy/phy-mxs-usb.c b/drivers/usb/phy/phy-mxs-usb.c
index 67b39dc62b37..c5e32d51563f 100644
--- a/drivers/usb/phy/phy-mxs
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/phy/phy-am335x.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/phy/phy-am335x.c b/drivers/usb/phy/phy-am335x.c
index 8524475d942d..a238f866634b 100644
--- a/drivers/usb/phy/phy-am335x.c
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/musb/musb_dsps.c | 20 +++-
1 file changed, 7 insertions(+), 13 deletions(-)
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index 30085b2be7b9..cb196bb6661d 100644
--- a/drivers/usb/musb
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/musb/am35x.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/musb/am35x.c b/drivers/usb/musb/am35x.c
index 660641ab1545..6162111f4cae 100644
--- a/drivers/usb/musb/am35x.c
+++ b/drivers/usb
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/misc/usb4604.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/misc/usb4604.c b/drivers/usb/misc/usb4604.c
index 1b4de651e697..2142af9bbdec 100644
--- a/drivers/usb/misc/usb4604.c
+++ b
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/chipidea/core.c | 26 +++---
1 file changed, 11 insertions(+), 15 deletions(-)
diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c
index aa40e510b806..af64ab98fb56 100644
--- a/drivers/usb
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/cdns3/core.c | 13 -
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/drivers/usb/cdns3/core.c b/drivers/usb/cdns3/core.c
index 5c1586ec7824..dacab9e9ef92 100644
--- a/drivers/usb/cdns3/core.c
+++ b/drivers
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/host/ehci-npcm7xx.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/host/ehci-npcm7xx.c b/drivers/usb/host/ehci-npcm7xx.c
index adaf8fb4b459..6b5a7a873e01 100644
--- a/drivers/usb/host/ehci
be discarded by the compiler.
Signed-off-by: Paul Cercueil
---
drivers/usb/host/ohci-platform.c | 19 ---
1 file changed, 8 insertions(+), 11 deletions(-)
diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c
index 4a8456f12a73..21400d7d8b0a 100644
--- a/drivers
"could not parse device properties\n");
I think you can put that on one line.
With that said:
Reviewed-by: Paul Cercueil
Cheers,
-Paul
goto err_free_host;
}
--
2.17.1
The custom clocks have custom functions to round, get or set their rate.
Therefore, we can't assume that they need the CLK_SET_RATE_PARENT flag.
Signed-off-by: Paul Cercueil
---
drivers/clk/ingenic/cgu.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers
CLK_SET_RATE_GATE means that the clock must be gated when being
reclocked. This is not the case for the PLLs in Ingenic SoCs.
Signed-off-by: Paul Cercueil
---
drivers/clk/ingenic/cgu.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/ingenic/cgu.c b
().
Signed-off-by: Paul Cercueil
---
drivers/clk/ingenic/cgu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/ingenic/cgu.c b/drivers/clk/ingenic/cgu.c
index a1a4f1adaa3a..dac6edc670cc 100644
--- a/drivers/clk/ingenic/cgu.c
+++ b/drivers/clk/ingenic/cgu.c
@@ -445,6 +445,8
.
Signed-off-by: Paul Cercueil
---
drivers/clk/ingenic/cgu.c | 54 +++
1 file changed, 15 insertions(+), 39 deletions(-)
diff --git a/drivers/clk/ingenic/cgu.c b/drivers/clk/ingenic/cgu.c
index d7981b670221..12b14286734c 100644
--- a/drivers/clk/ingenic/cgu.c
Use the readl_poll_timeout() function instead of rolling our own
busy-wait loops. This makes the code simpler.
Signed-off-by: Paul Cercueil
---
drivers/clk/ingenic/cgu.c | 55 +--
1 file changed, 29 insertions(+), 26 deletions(-)
diff --git a/drivers/clk
to disable the EXPORT_SYMBOL() macros inside of
lib/zstd/decompress.c.
Signed-off-by: Paul Cercueil
---
Notes:
v2: Add -D__DISABLE_EXPORTS to CFLAGS and use zstd22
v3: Make memmove __weak, since it is provided for other compression
schemes
arch/mips/Kconfig
Hi,
This small patchset adds support for self-extracting kernels compressed
with ZSTD.
Nick:
I dropped your Reviewed-by on patch [1/2] since the code changed.
Cheers,
-Paul
Paul Cercueil (2):
lib: decompress_unzstd: Limit output size
MIPS: Add support for ZSTD-compressed kernels
arch
address.
Signed-off-by: Paul Cercueil
---
Notes:
v2: Change limit to 1 GiB
v3: Compute size limit instead of using hardcoded value
lib/decompress_unzstd.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/lib/decompress_unzstd.c b/lib/decompress_unzstd.c
index
Le dim. 30 août 2020 à 21:21, Ezequiel Garcia
a écrit :
Hi Paul,
On Thu, 27 Aug 2020 at 09:04, Paul Cercueil
wrote:
Even if support for the IPU was compiled in, we may run on a device
(e.g. the Qi LB60) where the IPU is not available, or simply with
an old
devicetree without
Hi Sam,
Le sam. 29 août 2020 à 23:07, Sam Ravnborg a
écrit :
On Thu, Aug 27, 2020 at 01:44:03PM +0200, Paul Cercueil wrote:
of_graph_get_remote_node() requires of_node_put() to be called on
the
device_node pointer when it's no more in use.
Fixes: fc1acf317b01 ("drm/ingenic: Add su
Hi Leon,
Le dim. 30 août 2020 à 16:36, 何小龙 (Leon He)
a écrit :
+struct ili9341 {
+ struct drm_panel panel;
+ struct mipi_dsi_device *dsi;
+ const struct ili9341_pdata *pdata;
+
+ struct gpio_desc*reset_gpiod;
+ u32 rotation;
+};
+
Hi Paul, you
The 'reg' value was written to a hardware register in
ingenic_usb_phy_init(), while not being initialized anywhere.
Fixes: 2a6c0b82e651 ("USB: PHY: JZ4770: Add support for new Ingenic SoCs.")
Signed-off-by: Paul Cercueil
---
drivers/usb/phy/phy-jz4770.c | 1 +
1 file changed, 1
Le jeu. 27 août 2020 à 16:25, Felipe Balbi a
écrit :
Hi,
Paul Cercueil writes:
@@ -172,7 +172,8 @@ static int ingenic_usb_phy_init(struct
usb_phy
*phy)
return err;
}
- priv->soc_info->usb_phy_init(phy);
+ reg = priv->soc_info->usb_
Hi Felipe,
Le jeu. 27 août 2020 à 15:58, Felipe Balbi a
écrit :
Hi,
Paul Cercueil writes:
The 'reg' value was written to a hardware register in
ingenic_usb_phy_init(), while not being initialized anywhere.
your patch does a lot more than fix the bug :-)
Fixes: 2a6c0b82e651 (&quo
The 'reg' value was written to a hardware register in
ingenic_usb_phy_init(), while not being initialized anywhere.
Fixes: 2a6c0b82e651 ("USB: PHY: JZ4770: Add support for new Ingenic SoCs.")
Signed-off-by: Paul Cercueil
---
drivers/usb/phy/phy-jz4770.c | 28 +++---
test your patches
before sending them.
Thanks,
-Paul
Paul Cercueil (1):
USB: PHY: JZ4770: Fix uninitialized value written to HW register
drivers/usb/phy/phy-jz4770.c | 28 +++-
1 file changed, 11 insertions(+), 17 deletions(-)
--
2.28.0
in devicetree (but then IPU support is disabled of course).
v2: Take a different approach
Fixes: fc1acf317b01 ("drm/ingenic: Add support for the IPU")
Signed-off-by: Paul Cercueil
---
drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 19 +++
1 file changed, 11 insertions(+), 8
of_graph_get_remote_node() requires of_node_put() to be called on the
device_node pointer when it's no more in use.
Fixes: fc1acf317b01 ("drm/ingenic: Add support for the IPU")
Signed-off-by: Paul Cercueil
---
drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 1 +
1 file changed, 1 insertio
-check on the 'req' pointer
instead.
Signed-off-by: Paul Cercueil
Suggested-by: Maarten ter Huurne
---
drivers/usb/musb/musb_gadget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c
index f62ffaede1ab..ef374d4dd94a
in devicetree (but then IPU support is disabled of course).
Fixes: fc1acf317b01 ("drm/ingenic: Add support for the IPU")
Signed-off-by: Paul Cercueil
---
drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 23 ---
1 file changed, 16 insertions(+), 7 deletions(-)
diff --git a/d
The following commit has been merged into the irq/urgent branch of tip:
Commit-ID: 821fc9e261f3af235752f46e59084467cfd440c4
Gitweb:
https://git.kernel.org/tip/821fc9e261f3af235752f46e59084467cfd440c4
Author:Paul Cercueil
AuthorDate:Wed, 19 Aug 2020 20:06:02 +02:00
to disable the EXPORT_SYMBOL() macros inside of
lib/zstd/decompress.c.
Signed-off-by: Paul Cercueil
---
Notes:
v2: Add -D__DISABLE_EXPORTS to CFLAGS and use zstd22
arch/mips/Kconfig | 1 +
arch/mips/boot/compressed/Makefile | 3 ++-
arch/mips/boot/compressed
for everybody, in order to make it usable on 32-bit systems.
Signed-off-by: Paul Cercueil
Reviewed-by: Nick Terrell
---
Notes:
v2: Change limit to 1 GiB
lib/decompress_unzstd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/decompress_unzstd.c b/lib
Le lun. 24 août 2020 à 20:11, Nick Terrell a écrit
:
On Aug 21, 2020, at 9:29 AM, Paul Cercueil
wrote:
The zstd decompression code, as it is right now, will have internal
values overflow on 32-bit systems when the output size is LONG_MAX.
Until someone smarter than me can figure
Hi Nick,
Le lun. 24 août 2020 à 19:51, Nick Terrell a écrit
:
On Aug 21, 2020, at 9:29 AM, Paul Cercueil
wrote:
Add support for self-extracting kernels with a ZSTD compression.
Tested on a kernel for the GCW-Zero, it allows to reduce the size
of the
kernel file from 4.1 MiB
full frames
v4: Avoid dma_pgprot() which is not exported. Using vm_get_page_prot()
is enough in this case.
Signed-off-by: Paul Cercueil
---
drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 107 +-
drivers/gpu/drm/ingenic/ingenic-drm.h | 4 +
drivers/gpu/drm/ingenic/ingenic
This driver is for the Ilitek ILI9341 based YX240QV29-T 2.4" 240x320 TFT
LCD panel from Adafruit.
v2: - Remove custom handling of backlight
- Call drm_panel_disable() / drm_panel_unprepare() on module exit
- drm_panel_add() is a void function now
Signed-off-by: Paul Cer
ult to
MIPI_DCS_BUS_TYPE_DSI if the bitmask is not populated.
- Create a 'enum mipi_dcs_bus_type' instead of macros
- Rename values to avoid confusion about SPI modes
Signed-off-by: Paul Cercueil
---
drivers/gpu/drm/drm_mipi_dsi.c | 9 +
include/drm/drm_mipi_dsi.h |
stead of
nv3052c_{disable,unprepare}
- Silence error when backlight probe defers
- Remove 'dev' field in priv structure, use drm_panel->dev instead
Signed-off-by: Paul Cercueil
---
drivers/gpu/drm/panel/Kconfig | 9 +
drivers/gpu/drm/panel/Makefile| 1 +
...
MIPI Display Bus Interface (DBI) SPI support
+ *
+ * Copyright 2016 Noralf Trønnes
+ * Copyright 2020 Paul Cercueil
+ */
+
+#include
+#include
+#include
+
+#include
+#include
+
+#include
+
+struct dbi_spi {
+ struct mipi_dsi_host host;
+ struct mipi_dsi_host_ops host_ops;
+
+ st
description to avoid confusion about 'driver'
- Use 4-space indent in example
Signed-off-by: Paul Cercueil
---
.../display/panel/newvision,nv3052c.yaml | 100 ++
1 file changed, 100 insertions(+)
create mode 100644
Documentation/devicetree/bindings/display/panel/newvision
301 - 400 of 2213 matches
Mail list logo