Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jz 5.10 #9

Closed
wants to merge 58 commits into from
Closed
Show file tree
Hide file tree
Changes from 57 commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
d5878ee
dt-bindings: vendor-prefixes: Add abt vendor prefix
pcercuei Oct 23, 2020
81f1248
pinctrl: ingenic: Fix invalid SSI pins
pcercuei Oct 10, 2020
9405cdc
pinctrl: ingenic: Get rid of repetitive data
pcercuei Oct 1, 2020
0b9eb84
drm/ingenic: Compute timings according to adjusted_mode->crtc_*
pcercuei Oct 9, 2020
7174c04
drm/ingenic: Properly compute timings when using a 3x8-bit panel
pcercuei Oct 9, 2020
b7f4220
drm/ingenic: Reset pixclock rate when parent clock rate changes
pcercuei Sep 26, 2020
ecbcd37
drm/ingenic: Add support for reserved memory
pcercuei Sep 26, 2020
b641af3
drm/ingenic: Alloc F0 and F1 DMA descriptors at once
pcercuei Sep 26, 2020
d969697
drm/ingenic: Support handling different pixel formats in F0/F1 planes
pcercuei Sep 26, 2020
6a88d77
drm/ingenic: Add support for 30-bit modes
pcercuei Sep 26, 2020
ec11b79
drm/ingenic: Add support for 24-bit modes
pcercuei Sep 26, 2020
8efbdab
drm/ingenic: Add support for paletted 8bpp
pcercuei Sep 27, 2020
12c136e
dt-bindings: display: Document NewVision NV3052C DT node
pcercuei Jul 27, 2020
c39a35e
drm: dsi: Let host and device specify supported bus
pcercuei May 30, 2020
6690bbb
drm: Add SPI DBI host driver
pcercuei Jun 7, 2020
7700c4e
drm/tiny: Add TinyDRM for DSI/DBI panels
pcercuei Jun 7, 2020
8387925
gpu/drm: Add driver for the ITE IT6610 HDMI chip
pcercuei May 5, 2020
dc7c541
iio: afe: rescale: Add support for converting scale avail table
pcercuei Jan 14, 2020
39962c7
iio: afe: rescale: Implement write_raw
pcercuei Jan 14, 2020
7290be0
MIPS: ingenic: Select CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
pcercuei Apr 26, 2019
984cffa
MIPS: jz4780: Fix I2C nodes to match DT doc
pcercuei Oct 24, 2020
dd8da91
MIPS: Ingenic: Add support for the PMP5 board
pcercuei Jun 11, 2020
1a0c310
dt-bindings: media: Document RDA5807 FM radio bindings
pcercuei Jul 23, 2019
4e0f842
media: radio: RDA5807: Added driver
mthuurne Oct 2, 2011
2852106
dt-bindings: mmc: ingenic: Add optional pll clock
pcercuei Aug 27, 2020
2ebf4a2
mmc: jz4740: Add support for monitoring PLL clock rate changes
pcercuei Aug 27, 2020
5d4b31f
remoteproc: ingenic: Disable auto-boot
pcercuei Aug 7, 2020
a619143
remoteproc: ingenic: Lock spinlock before kicking VPU
pcercuei Jun 21, 2020
1a099de
rtc: ingenic: Support for fine-tuning the RTC clock
pcercuei May 6, 2020
751f332
dt-bindings: spi: Document Ingenic SPI controller bindings
pcercuei Oct 14, 2020
dd94227
SPI: add Ingenic JZ47xx driver.
zear Aug 24, 2018
3c5c188
drm/ingenic: Add support for serial 8-bit delta-RGB panels
pcercuei Oct 20, 2020
10bdfb9
media: uapi: Add MEDIA_BUS_FMT_RGB888_3X8_DELTA media bus format
pcercuei Oct 20, 2020
d827005
drm/panel: Add ABT Y030XX067A 3.0" 320x480 panel
pcercuei Aug 11, 2020
c7ad815
drm: bridge: add it66121 driver
phong-baylibre Mar 11, 2020
768737a
MIPS: jz4770: Add SPI, I2C, IPU and VPU nodes
pcercuei May 16, 2019
1d9e189
MIPS: JZ4770: Full board support for GCW Zero
mthuurne Oct 2, 2012
5da9fca
MIPS: ingenic: RS90: Add support for overclocking and battery
pcercuei Aug 27, 2020
4093ee2
usb: musb: Fix runtime PM race in musb_queue_resume_work
pcercuei Aug 9, 2020
c6008de
usb: musb: Fix NULL check on struct musb_request field
pcercuei Aug 9, 2020
7347776
usb: musb: dma: Remove unused variable
pcercuei Oct 27, 2020
1f6177e
musb: jz4740: Add missing CR to error strings
pcercuei Sep 6, 2020
690077c
ASoC: codecs: jz47xx: Use regmap_{set,clear}_bits
pcercuei Oct 28, 2020
7f532b5
drm/panel: Add panel driver for NewVision NV3052C based LCDs
pcercuei Jun 30, 2020
7afdbb3
drm/panel: Add Ilitek ILI9341 DBI panel driver
pcercuei Jun 7, 2020
e9fb55b
pinctrl: ingenic: Add lcd-8bit group for JZ4770
pcercuei Oct 31, 2020
76d4639
Merge branches 'for-upstream-drm', 'for-upstream-dsi', 'for-upstream-…
pcercuei Oct 31, 2020
e9b4546
Merge branch 'for-upstream-drm-gbr' into jz-5.10-base
pcercuei Oct 31, 2020
e7bde10
backlight: pwm_bl: Set pin to sleep state when powered down
pcercuei May 22, 2019
9466bba
MIPS: Disable RIXI and PTE_SPECIAL for MIPS32
pcercuei Sep 3, 2020
b35da01
Revert "MIPS: ingenic: Remove CPU_SUPPORTS_HUGEPAGES"
pcercuei Oct 26, 2020
ba2a5cb
Revert "mips: Manually call fdt_init_reserved_mem() method"
pcercuei Sep 17, 2020
c715b90
dt-bindings: panel/kingdisplay,kd035g6-54nt: Remove spi-cs-high
pcercuei Oct 31, 2020
e4bc93b
MIPS: ingenic: gcw0: SPI panel does not require active-high CS
pcercuei Oct 31, 2020
2e278fd
MIPS: RS90: Add dedicated VRAM memory region
pcercuei Sep 15, 2020
2711b9b
MIPS: ingenic: Add support for the YLM RG-350(M), RG-280{M,V}
pcercuei Nov 22, 2019
d6bc127
RG350M/RG280M codec pop fix
citral23 Nov 2, 2020
4bb412c
RG350M panel fix proposal v2
citral23 Nov 2, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ examples:

spi-max-frequency = <3125000>;
spi-3wire;
spi-cs-high;

reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;

Expand Down
100 changes: 100 additions & 0 deletions Documentation/devicetree/bindings/display/panel/newvision,nv3052c.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/panel/newvision,nv3052c.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NewVision NV3052C TFT LCD panel driver with SPI control bus

maintainers:
- Paul Cercueil <paul@crapouillou.net>

description: |
This is a IC driver for TFT panels, accepting a variety of input
streams that get adapted and scaled to the panel.

The panel must obey the rules for a SPI slave device as specified in
spi/spi-controller.yaml

allOf:
- $ref: panel-common.yaml#

properties:
compatible:
items:
- enum:
- leadtek,ltk035c5444t-spi

- const: newvision,nv3052c

reg:
maxItems: 1

reset-gpios: true
power-supply: true
backlight: true
port: true

vci-supply:
description:
Power supply for analog circuits (VCI=2.5V to 6V)

vddam-supply:
description:
Power Supply for MIPI regulator circuits (VDDAM=1.75V to 6V)

iovcc-supply:
description: |
External Power Supply for IO pads and other logic circuits
(IOVCC=1.65 to 3.6V)

pprech-supply:
description:
Pre-charge power for source (can be connected to IOVCC or VCI)

vpp-supply:
description:
Input power for NV memory programming (8.0V ~ 8.5V, typical=8.25V)

required:
- compatible
- reg

oneOf:
- required:
- power-supply
- required:
- vci-supply
- vddam-supply
- iovcc-supply
- pprech-supply
- vpp-supply

unevaluatedProperties: false

examples:
- |
#include <dt-bindings/gpio/gpio.h>
spi {
#address-cells = <1>;
#size-cells = <0>;

display@0 {
compatible = "leadtek,ltk035c5444t-spi", "newvision,nv3052c";
reg = <0>;

spi-max-frequency = <15000000>;
spi-3wire;
reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
backlight = <&backlight>;
power-supply = <&vcc>;

port {
panel_input: endpoint {
remote-endpoint = <&panel_output>;
};
};
};
};

...
30 changes: 30 additions & 0 deletions Documentation/devicetree/bindings/media/i2c/rda,rda5807.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
* Unisoc Communications RDA5807 FM radio receiver


Required properties:
- compatible: Must be "rda,rda5807"

Optional properties:
- rda,lnan: Use LNAN input port.
- rda,lnap: Use LNAP input port.
Dual port input is possible.

- rda,lna-current: LNA working current: 1800, 2100, 2500 or 3000 uA.
Default is 2500 uA (2.5 mA).

- rda,analog-out: Enable analog output.

- rda,i2s-out: Enable I2S output.


Example:

&i2c {
rda5807@11 {
compatible = "rda,rda5807";
reg = <0x11>;
rda,lnap;
rda,lna-current = <2500>;
rda,analog-out;
};
};
8 changes: 6 additions & 2 deletions Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,14 @@ properties:
maxItems: 1

clocks:
maxItems: 1
minItems: 1
maxItems: 2

clock-names:
const: mmc
items:
- const: mmc
- const: pll
minItems: 1

dmas:
items:
Expand Down
74 changes: 74 additions & 0 deletions Documentation/devicetree/bindings/spi/ingenic,spi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/spi/ingenic,spi.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Ingenic SoCs SPI controller devicetree bindings

maintainers:
- Artur Rojek <contact@artur-rojek.eu>
- Paul Cercueil <paul@crapouillou.net>

allOf:
- $ref: /schemas/spi/spi-controller.yaml#

properties:
compatible:
oneOf:
- enum:
- ingenic,jz4740-spi
- ingenic,jz4750-spi
- ingenic,jz4780-spi
- items:
- enum:
- ingenic,jz4760-spi
- ingenic,jz4770-spi
- const: ingenic,jz4750-spi

reg:
maxItems: 1

interrupts:
maxItems: 1

clocks:
maxItems: 1

dmas:
items:
- description: DMA controller phandle and request line for RX
- description: DMA controller phandle and request line for TX

dma-names:
items:
- const: rx
- const: tx

required:
- compatible
- reg
- interrupts
- clocks
- dmas
- dma-names

unevaluatedProperties: false

examples:
- |
#include <dt-bindings/clock/jz4770-cgu.h>
spi@10043000 {
compatible = "ingenic,jz4770-spi", "ingenic,jz4750-spi";
reg = <0x10043000 0x1c>;
#address-cells = <1>;
#size-cells = <0>;

interrupt-parent = <&intc>;
interrupts = <8>;

clocks = <&cgu JZ4770_CLK_SSI0>;

dmas = <&dmac1 23 0xffffffff>, <&dmac1 22 0xffffffff>;
dma-names = "rx", "tx";
};
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/vendor-prefixes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ patternProperties:
description: Abilis Systems
"^abracon,.*":
description: Abracon Corporation
"^abt,.*":
description: ShenZhen Asia Better Technology Ltd.
"^acer,.*":
description: Acer Inc.
"^acme,.*":
Expand Down
7 changes: 5 additions & 2 deletions arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ config MIPS
select ARCH_BINFMT_ELF_STATE if MIPS_FP_SUPPORT
select ARCH_HAS_FORTIFY_SOURCE
select ARCH_HAS_KCOV
select ARCH_HAS_PTE_SPECIAL if !(32BIT && CPU_HAS_RIXI)
#select ARCH_HAS_PTE_SPECIAL if !(32BIT && CPU_HAS_RIXI)
select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
select ARCH_HAS_UBSAN_SANITIZE_ALL
select ARCH_SUPPORTS_UPROBES
Expand Down Expand Up @@ -103,6 +103,7 @@ config MACH_INGENIC
select SYS_SUPPORTS_32BIT_KERNEL
select SYS_SUPPORTS_LITTLE_ENDIAN
select SYS_SUPPORTS_ZBOOT
select CPU_SUPPORTS_HUGEPAGES
select DMA_NONCOHERENT
select IRQ_MIPS_CPU
select PINCTRL
Expand Down Expand Up @@ -417,6 +418,8 @@ config MACH_INGENIC_SOC
select MIPS_GENERIC
select MACH_INGENIC
select SYS_SUPPORTS_ZBOOT_UART16550
select CPU_SUPPORTS_CPUFREQ
select MIPS_EXTERNAL_TIMER

config LANTIQ
bool "Lantiq based platforms"
Expand Down Expand Up @@ -2087,7 +2090,7 @@ config CPU_MIPSR1
config CPU_MIPSR2
bool
default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
select CPU_HAS_RIXI
#select CPU_HAS_RIXI
select CPU_HAS_DIEI if !CPU_DIEI_BROKEN
select MIPS_SPRAM

Expand Down
Loading