Skip to content

drm/panel: Add Innolux EJ030NA 3.0" 320x480 panel #10

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

Closed
wants to merge 96 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
17e8840
clk: Support bypassing dividers
pcercuei Dec 16, 2020
68574d1
clk: ingenic: Read bypass register only when there is one
pcercuei Dec 27, 2020
6b29385
clk: ingenic: Remove pll_info.no_bypass_bit
pcercuei Dec 27, 2020
00acffd
drm/ingenic: Add basic PM support
pcercuei Nov 28, 2020
c220f48
drm/ingenic: Fix non-OSD mode
pcercuei Dec 14, 2020
a8b6b69
drm/ingenic: Remove dead code
pcercuei Dec 14, 2020
cc9085b
drm: ingenic: Lookup for the proper clock where to register notifier
pcercuei Dec 17, 2020
eae7b4f
drm: Add and export function drm_gem_cma_create_noncoherent
pcercuei Oct 21, 2020
da6f707
drm: Add and export function drm_gem_cma_dumb_create_noncoherent
pcercuei Nov 1, 2020
3806ddc
dt-bindings: display: Document NewVision NV3052C DT node
pcercuei Jul 27, 2020
0c170c1
drm: dsi: Let host and device specify supported bus
pcercuei May 30, 2020
3ada686
drm: Add SPI DBI host driver
pcercuei Jun 7, 2020
2f43dc6
drm/tiny: Add TinyDRM for DSI/DBI panels
pcercuei Jun 7, 2020
830c692
drm/panel: Add panel driver for NewVision NV3052C based LCDs
pcercuei Jun 30, 2020
64434df
drm/panel: Add Ilitek ILI9341 DBI panel driver
pcercuei Jun 7, 2020
7fd4aed
gpu/drm: Add driver for the ITE IT6610 HDMI chip
pcercuei May 5, 2020
bb8a07b
drm: bridge: add it66121 driver
phong-baylibre Mar 11, 2020
fe4a8dd
dt-bindings: hwlock: Document Ingenic VPU HW Spinlock
pcercuei Dec 21, 2020
f59d2d0
hwspinlock: Add Ingenic VPU Hardware Spinlock driver
pcercuei Dec 21, 2020
4e2d2fc
iio: afe: rescale: Add support for converting scale avail table
pcercuei Jan 14, 2020
4304e16
iio: afe: rescale: Implement write_raw
pcercuei Jan 14, 2020
fe6f650
MIPS: ingenic: Select CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
pcercuei Apr 26, 2019
0c2c6d9
MIPS: jz4780: Fix I2C nodes to match DT doc
pcercuei Oct 24, 2020
a0745ea
MIPS: jz4770: Add SPI, I2C, IPU and VPU nodes
pcercuei May 16, 2019
87300db
MIPS: JZ4770: Full board support for GCW Zero
mthuurne Oct 2, 2012
7d11dba
MIPS: Ingenic: Disable HPTLB for D0 XBurst CPUs too
pcercuei Dec 11, 2020
1850bfc
MIPS: boot: Fix unaligned access with CONFIG_MIPS_RAW_APPENDED_DTB
pcercuei Dec 16, 2020
350786a
MIPS: boot: Support specifying UART port on Ingenic SoCs
pcercuei Dec 16, 2020
5d689ef
MIPS: cpu-probe: Fix FPU detection on Ingenic JZ4760(B)
pcercuei Dec 26, 2020
6c1336e
MIPS: ingenic: RS90: Add support for overclocking and battery
pcercuei Aug 27, 2020
7466462
MIPS: ingenic: gcw0: Set codec to cap-less mode for FM radio
pcercuei Nov 5, 2020
6611243
dt-bindings: mmc: ingenic: Add optional pll clock
pcercuei Aug 27, 2020
d930baa
mmc: jz4740: Add support for monitoring PLL clock rate changes
pcercuei Aug 27, 2020
af6226c
usb: musb: Fix runtime PM race in musb_queue_resume_work
pcercuei Aug 9, 2020
04acea0
usb: musb: Fix NULL check on struct musb_request field
pcercuei Aug 9, 2020
98b3238
usb: musb: dma: Remove unused variable
pcercuei Oct 27, 2020
80f5a08
usb: musb: jz4740: Add missing CR to error strings
pcercuei Sep 6, 2020
267d641
usb: musb: jz4740: Don't disable external hubs
pcercuei Nov 22, 2020
cf4772d
usb: musb: jz4740: Support the generic PHY framework
pcercuei Dec 5, 2020
876b9a8
usb: phy: jz4770: Remove driver
pcercuei Dec 5, 2020
66d9fd7
dt-bindings/phy: ingenic: Add compatibles for JZ4760(B) SoCs
pcercuei Dec 14, 2020
6b33c82
phy: ingenic: Remove useless field .version
pcercuei Dec 13, 2020
7032c8f
phy: ingenic: Only support SoCs enabled in config
pcercuei Dec 13, 2020
4101c87
phy: ingenic: Add support for the JZ4760(B)
pcercuei Dec 7, 2020
fc0c626
pinctrl: ingenic: Fix incorrect pull up/down info
pcercuei Sep 6, 2020
f82e1f6
kconfig.h: Add IF_ENABLED() macro
pcercuei Dec 8, 2020
8350c4d
pinctrl: ingenic: Only support SoCs enabled in config
pcercuei Dec 7, 2020
fc56987
pinctrl: ingenic: Fix JZ4760 support
pcercuei Dec 11, 2020
36e6194
pinctrl: ingenic: Rename registers from JZ4760_GPIO_* to JZ4770_GPIO_*
pcercuei Dec 11, 2020
8c34ef1
pinctrl: ingenic: Improve JZ4760 support
pcercuei Nov 30, 2020
0281788
dt-bindings: media: Document RDA5807 FM radio bindings
pcercuei Jul 23, 2019
349e397
media: radio: RDA5807: Added driver
mthuurne Oct 2, 2011
5d85044
remoteproc: ingenic: Add module parameter 'auto_boot'
pcercuei Nov 15, 2020
c81d93b
remoteproc: ingenic: Request only the registers we use
pcercuei Dec 21, 2020
3636621
dt-bindings: remoteproc: Update Ingenic VPU binding
pcercuei Dec 21, 2020
54f197d
rtc: ingenic: Support for fine-tuning the RTC clock
pcercuei May 6, 2020
8af5050
dt-bindings: spi: Document Ingenic SPI controller bindings
pcercuei Oct 14, 2020
ab3a664
SPI: add Ingenic JZ47xx driver.
zear Aug 24, 2018
a152bdc
usb: musb: Add and use inline functions musb_{get,set}_state
pcercuei Dec 5, 2020
2685d0f
usb: musb: Add and use inline function musb_otg_state_string
pcercuei Dec 5, 2020
d94c128
usb: musb: Allow running without a PHY
pcercuei Dec 5, 2020
39bfeb7
usb: musb: Support setting OTG mode using generic PHY
pcercuei Dec 5, 2020
b100421
drm: Add and export function drm_gem_cma_mmap_noncoherent
pcercuei Nov 1, 2020
b601d70
drm: Add and export function drm_gem_cma_sync_data
pcercuei Nov 1, 2020
4744038
drm/ingenic: Add option to alloc cached GEM buffers
pcercuei Oct 21, 2020
7307182
drm/panel: Add driver for the AUO A030JTN01 TFT LCD
citral23 Dec 2, 2020
6f44b24
dt-bindings: display/panel: Add AUO A030JTN01
pcercuei Dec 28, 2020
ce0f98b
drm/ingenic: Compute timings according to adjusted_mode->crtc_*
pcercuei Oct 9, 2020
e1f6f8c
drm/ingenic: Properly compute timings when using a 3x8-bit panel
pcercuei Oct 9, 2020
938e47b
drm/ingenic: Add support for serial 8-bit delta-RGB panels
pcercuei Oct 20, 2020
f567fc6
clk: ingenic: Support overriding PLLs M/N/OD calc algorithm
pcercuei Dec 27, 2020
f2ea80f
clk: ingenic: Add support for the JZ4760
pcercuei Nov 30, 2020
e324a4a
Merge branches 'for-upstream-clk', 'for-upstream-drm', 'for-upstream-…
pcercuei Dec 29, 2020
94a13ef
backlight: pwm_bl: Set pin to sleep state when powered down
pcercuei May 22, 2019
e7e1b6e
MIPS: Disable RIXI and PTE_SPECIAL for MIPS32
pcercuei Sep 3, 2020
b3f6a28
Revert "MIPS: ingenic: Remove CPU_SUPPORTS_HUGEPAGES"
pcercuei Oct 26, 2020
63e8b00
Revert "mips: Manually call fdt_init_reserved_mem() method"
pcercuei Sep 17, 2020
2a646db
dt-bindings: panel/kingdisplay,kd035g6-54nt: Remove spi-cs-high
pcercuei Oct 31, 2020
a93cddf
MIPS: ingenic: gcw0: SPI panel does not require active-high CS
pcercuei Oct 31, 2020
4c5ab73
MIPS: RS90: Add dedicated VRAM memory region
pcercuei Sep 15, 2020
07b96c8
MIPS: GCW0: Add support for cpufreq
pcercuei Nov 11, 2020
7981d03
MIPS: ingenic: Add support for the YLM RG-350(M), RG-280{M,V}
pcercuei Nov 22, 2019
f6d60d8
dt-bindings/clock: ingenic: Add compatible strings for JZ4760
pcercuei Nov 30, 2020
694519a
dt-bindings/timer: ingenic: Add compatible strings for JZ4760
pcercuei Nov 30, 2020
f599762
dt-bindings/display: ingenic: Add compatible string for the JZ4760
pcercuei Nov 30, 2020
3dfaae2
dt-bindings/pinctrl: ingenic: Add compatible for JZ4760B
pcercuei Nov 30, 2020
15e6889
clocksource: ingenic: Add support for the JZ4760
pcercuei Nov 30, 2020
daeeff8
irqchip: ingenic: Add support for the JZ4760
pcercuei Nov 30, 2020
2fb5d00
dma: jz4780: Add support for the JZ4760
pcercuei Nov 30, 2020
a8d69d4
drm/ingenic: Add support for the JZ4760
pcercuei Nov 30, 2020
4ea0193
MIPS: ingenic: Add support for the JZ4760
pcercuei Nov 30, 2020
f477f29
MIPS: ingenic: Add support for the RS-97
pcercuei Nov 30, 2020
fcd3f1b
mips: Clang does not support virtualization
pcercuei Dec 17, 2020
d60fa83
MIPS: generic: Support building with LLVM
pcercuei Dec 17, 2020
78c1383
MIPS: boot: Cleanup head.S
pcercuei Dec 17, 2020
19885e0
drm/panel: Add Innolux EJ030NA 3.0" 320x480 panel
citral23 Jan 9, 2021
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
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/clock/ingenic,cgu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ select:
enum:
- ingenic,jz4740-cgu
- ingenic,jz4725b-cgu
- ingenic,jz4760-cgu
- ingenic,jz4770-cgu
- ingenic,jz4780-cgu
- ingenic,x1000-cgu
Expand Down Expand Up @@ -49,6 +50,7 @@ properties:
- enum:
- ingenic,jz4740-cgu
- ingenic,jz4725b-cgu
- ingenic,jz4760-cgu
- ingenic,jz4770-cgu
- ingenic,jz4780-cgu
- ingenic,x1000-cgu
Expand Down
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/display/ingenic,lcd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ properties:
enum:
- ingenic,jz4740-lcd
- ingenic,jz4725b-lcd
- ingenic,jz4760-lcd
- ingenic,jz4770-lcd
- ingenic,jz4780-lcd

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

title: AUO A030JTN01 3.0" (320x480 pixels) 24-bit TFT LCD panel

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

maintainers:
- Paul Cercueil <[email protected]>

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

properties:
compatible:
const: auo,a030jtn01

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

required:
- compatible
- reg
- power-supply
- reset-gpios

unevaluatedProperties: false

examples:
- |
#include <dt-bindings/gpio/gpio.h>

panel@0 {
compatible = "auo,a030jtn01";
reg = <0>;

spi-max-frequency = <10000000>;

reset-gpios = <&gpe 4 GPIO_ACTIVE_LOW>;
power-supply = <&lcd_power>;

backlight = <&backlight>;

port {
panel_input: endpoint {
remote-endpoint = <&panel_output>;
};
};
};
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 <[email protected]>

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>;
};
};
};
};

...
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/hwlock/ingenic,vpu-hwspinlock.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Ingenic VPU Hardware Spinlock

maintainers:
- Paul Cercueil <[email protected]>

description:
The Hardware Spinlock of the VPU provides a mutex mechanism between the main
processor and the co-processor present in the VPU IP.

properties:
compatible:
oneOf:
- enum:
- ingenic,jz4755-vpu-hwspinlock
- items:
- enum:
- ingenic,jz4760-vpu-hwspinlock
- ingenic,jz4770-vpu-hwspinlock
- ingenic,jz4780-vpu-hwspinlock
- const: ingenic,jz4755-vpu-hwspinlock

reg:
maxItems: 1

'#hwlock-cells':
const: 0

required:
- compatible
- reg
- '#hwlock-cells'

additionalProperties: false

examples:
- |
hwspinlock: hwlock@4 {
compatible = "ingenic,jz4755-vpu-hwspinlock";
reg = <0x4 0xc>;
#hwlock-cells = <0>;
};
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
22 changes: 14 additions & 8 deletions Documentation/devicetree/bindings/phy/ingenic,phy-usb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,19 @@ properties:
pattern: '^usb-phy@.*'

compatible:
enum:
- ingenic,jz4770-phy
- ingenic,jz4775-phy
- ingenic,jz4780-phy
- ingenic,x1000-phy
- ingenic,x1830-phy
- ingenic,x2000-phy
oneOf:
- enum:
- ingenic,jz4760-phy
- ingenic,jz4775-phy
- ingenic,jz4780-phy
- ingenic,x1000-phy
- ingenic,x1830-phy
- ingenic,x2000-phy
- items:
- enum:
- ingenic,jz4760b-phy
- ingenic,jz4770-phy
- const: ingenic,jz4760-phy

reg:
maxItems: 1
Expand All @@ -48,7 +54,7 @@ examples:
- |
#include <dt-bindings/clock/jz4770-cgu.h>
otg_phy: usb-phy@3c {
compatible = "ingenic,jz4770-phy";
compatible = "ingenic,jz4770-phy", "ingenic,jz4760-phy";
reg = <0x3c 0x10>;

vcc-supply = <&vcc>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ properties:
- ingenic,jz4740-pinctrl
- ingenic,jz4725b-pinctrl
- ingenic,jz4760-pinctrl
- ingenic,jz4760b-pinctrl
- ingenic,jz4770-pinctrl
- ingenic,jz4780-pinctrl
- ingenic,x1000-pinctrl
Expand Down
19 changes: 17 additions & 2 deletions Documentation/devicetree/bindings/remoteproc/ingenic,vpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ maintainers:

properties:
compatible:
const: ingenic,jz4770-vpu-rproc
items:
- enum:
- ingenic,jz4770-vpu-rproc
- const: simple-mfd

reg:
items:
Expand Down Expand Up @@ -54,14 +57,18 @@ required:
- clock-names
- interrupts

patternProperties:
"^hwlock@[a-f0-9]+$":
allOf: [ $ref: "../hwlock/ingenic,vpu-hwspinlock.yaml" ]

additionalProperties: false

examples:
- |
#include <dt-bindings/clock/jz4770-cgu.h>

vpu: video-decoder@132a0000 {
compatible = "ingenic,jz4770-vpu-rproc";
compatible = "ingenic,jz4770-vpu-rproc", "simple-mfd";

reg = <0x132a0000 0x20>, /* AUX */
<0x132b0000 0x4000>, /* TCSM0 */
Expand All @@ -74,4 +81,12 @@ examples:

interrupt-parent = <&cpuintc>;
interrupts = <3>;

hwlock: hwlock@4 {
compatible = "ingenic,jz4770-vpu-hwspinlock",
"ingenic,jz4755-vpu-hwspinlock";
reg = <0x4 0xc>;

#hwlock-cells = <1>;
};
};
Loading