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

EM-2040 i2c fixes DO NOT MERGE #516

Open
wants to merge 78 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
eebe170
Merge branches 'sunxi/clk-for-4.15', 'sunxi/dt-for-4.15' and 'sunxi/d…
mripard Sep 17, 2017
1718bc7
Merge branch 'sunxi/core-for-4.15' into sunxi/for-next
mripard Sep 22, 2017
3b428b0
Merge branches 'sunxi/dt-for-4.15' and 'sunxi/dt64-for-4.15' into sun…
wens Sep 27, 2017
67bf861
Merge branches 'sunxi/clk-for-4.15' and 'sunxi/dt64-for-4.15' into su…
wens Sep 29, 2017
bba731a
Merge branch 'sunxi/clk-for-4.15' into sunxi/for-next
mripard Oct 6, 2017
42d7dbe
Merge branches 'sunxi/clk-for-4.15' and 'sunxi/dt-for-4.15' into sunx…
wens Oct 11, 2017
be2aeaf
Merge branch 'sunxi/for-next', remote-tracking branch 'drm-misc/drm-m…
wens Oct 11, 2017
2960446
Merge remote-tracking branch 'regulator/topic/axp20x' into sunxi-next
wens Oct 11, 2017
10d1bcf
Merge branches 'sunxi/clk-for-4.15' and 'sunxi/dt-for-4.15' into sunx…
mripard Oct 13, 2017
3be7629
Merge branch 'sunxi/for-next' into sunxi-next
wens Oct 13, 2017
9221d86
Merge remote-tracking branch 'bluetooth-next/master' into sunxi-next
wens Oct 16, 2017
36680a7
Merge branches 'sunxi/clk-for-4.15' and 'sunxi/dt-for-4.15' into sunx…
wens Oct 18, 2017
217a487
Merge branch 'sunxi/for-next' into sunxi-next
wens Oct 18, 2017
8c95670
Merge remote-tracking branch 'drm-misc/drm-misc-next' into sunxi-next
wens Oct 18, 2017
8c05c03
Merge branch 'sunxi/dt-for-4.15' into sunxi/for-next
wens Oct 22, 2017
54c9bca
Merge branch 'sunxi/for-next' into sunxi-next
wens Oct 22, 2017
dad1b42
Merge remote-tracking branch 'slave-dma/topic/sun' into sunxi-next
wens Oct 23, 2017
b599669
Merge branches 'sunxi/dt-for-4.15' and 'sunxi/dt64-for-4.15' into sun…
mripard Nov 2, 2017
9dad3f6
Merge remote-tracking branch 'mfd/for-mfd-next' into sunxi-next
wens Nov 2, 2017
f9a642e
Merge remote-tracking branch 'sunxi-korg/sunxi/for-next' into sunxi-next
wens Nov 2, 2017
c3d8195
Merge remote-tracking branch 'asoc/topic/sunxi' into sunxi-next
wens Nov 9, 2017
c74b34f
fbdev: ssd1306: abort probe if we cannot talk to the display
oliv3r Aug 8, 2017
0bed2fc
fbdev: ssd1307: rename i2c device ids
oliv3r Dec 19, 2017
3b4ca60
fbdev: ssd1306: make output a little more consistent
oliv3r Dec 18, 2017
bc8c3e6
fbdev: ssd1306: use ratelimited error printing
oliv3r Dec 18, 2017
e19c8b8
leds: pca963x: abort probe if device is not connected
oliv3r Aug 8, 2017
683f502
leds: pca963x: alphabetize headers
May 29, 2015
e516b80
leds: pca963x: add defines and remove some magic values
oliv3r Dec 16, 2015
4121ef1
leds: pca963x: save mode when setting power_state
oliv3r Oct 4, 2017
10fd376
leds: pca963x: refactor initial led output a little
oliv3r Oct 4, 2017
1568dc6
leds: pca963x: remove whitespace and checkpatch problems
oliv3r Apr 5, 2016
acf0551
leds: pca963x: set DMBLNK as default during probe
oliv3r Mar 17, 2017
ed038f4
mfd: axp20x: fixup includes
oliv3r Jan 3, 2017
4a4efcf
mfd: axp20x: use explicit bit defines
Oct 4, 2017
03ce04d
power: suppy: axp20x: add missing include bitops.h
oliv3r Jan 3, 2017
dd35aa4
power: suppy: axp288: use the BIT() macro
oliv3r Jan 3, 2017
13b162f
regulator: axp20x: use defines for masks
oliv3r Jan 3, 2017
bb946f3
regulator: axp20x: name voltage ramping define properly
oliv3r Oct 9, 2017
27bef6e
regulator: enable power later when setting up constraints
Mar 6, 2017
c4c4e61
regulator: axp20x: AXP209: add support for set_ramp_delay
oliv3r Mar 2, 2017
aee0eb0
regulator: axp20x: add software based soft_start for LDO3
oliv3r Mar 2, 2017
eedcd47
arm: dts: sunxi: enable soft-start and ramp delay for the OLinuXino L…
oliv3r Mar 3, 2017
2d11ed2
dts: sunxi: Lime2: add full voltage range to LDO4
oliv3r Dec 11, 2017
d2ab365
dts: sunxi: OLinuXino Lime2: set proper lradc vref
oliv3r Dec 18, 2017
aeea6b1
pwm: core: do not block apply->state on period
oliv3r Mar 8, 2017
ed71150
input: of_touchscreen: fix whitespace
oliv3r Dec 11, 2017
de61fc5
input: of_touchscreen: shorten variable names
oliv3r Dec 11, 2017
3d28f05
input: of_touchscreen: rename touchscreen-size-[xy]
oliv3r Dec 11, 2017
fe30204
input: of_touchscreen: add support for minimum sizes
oliv3r Dec 13, 2017
688d6e2
input: edt-ft5x06: add support for the ft5426 controller
oliv3r Dec 13, 2017
0d4e3e7
input: edt-ft5x06: cleanup headers
oliv3r Dec 13, 2017
c957a5d
input: edt-ft5x06: only enable the irq when needed
oliv3r Dec 13, 2017
fb86a27
input: edt-ft5x06: fix some whitespace/ident issues
oliv3r Dec 14, 2017
d862555
input: edt-ft5x06: minor consistency cleanup/line length reduction
oliv3r Dec 14, 2017
5f01050
input: edt-ft5x06: shorten defines
oliv3r Dec 14, 2017
992e1c7
input: edt-ft5x06: use less magic and more defines
oliv3r Dec 15, 2017
046c810
input: edt-ft5x06: silence deferral error
oliv3r Dec 15, 2017
7207bb7
input: edt-ft5x06: sanity check on input
oliv3r Dec 18, 2017
b68c90b
input: edt-ft5x06: fix multi-touch handling
oliv3r Dec 18, 2017
cb474ef
input: edt-ft5x06: take into account the number of fingers
oliv3r Dec 18, 2017
15ecee1
input: edt-ft5x06: add polldev as an option
oliv3r Dec 18, 2017
5777ab1
input: edt-ft5x06: group r, w and rw functions
oliv3r Dec 19, 2017
4f8b339
input: edt-ft5x06: Force touchscreen to remain active
oliv3r Dec 19, 2017
93bf96d
input: ar1021: fix typo in define
oliv3r Oct 19, 2017
35ba713
gpio: pca953x: add support for the NXP pca9570
oliv3r Dec 18, 2017
8872877
ASoC: sun4i-is: also check for NULL on reset pin request
oliv3r Oct 9, 2017
b126923
serial: 8250_dw: minor code cleanup
oliv3r Mar 29, 2017
40d3e78
serial: do not treat the IIR register as a bitfield
oliv3r Mar 29, 2017
6b66bba
serial: tegra: map the iir register to default defines
oliv3r Mar 29, 2017
0365eb6
serial work
oliv3r Apr 21, 2017
7d6eb22
drm/sun4i: i2c: consolidate ddc items
oliv3r Sep 4, 2017
0200fbe
drm: sun4i: fix indenting
oliv3r Oct 10, 2017
80e9170
wip hdmi-i2c, TODO: legacy clocks not working
oliv3r Oct 20, 2017
beb2e13
fix whitespace (kconfig)
oliv3r Feb 6, 2018
6d00bfc
fix hdmi freq divider
oliv3r Feb 6, 2018
795cc47
rtc: sun6i: add missing header
oliv3r Feb 6, 2018
14d6182
of_get_matching_data
oliv3r Feb 6, 2018
ac68ebb
of_reset_control_get_exclusive helper
oliv3r Feb 6, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@
The filter can be disabled or changed to another
driver later using sysfs.

drm_kms_helper.edid_firmware=[<connector>:]<file>[,[<connector>:]<file>]
drm.edid_firmware=[<connector>:]<file>[,[<connector>:]<file>]
Broken monitors, graphic adapters, KVMs and EDIDless
panels may send no or incorrect EDID data sets.
This parameter allows to specify an EDID data sets
Expand Down
11 changes: 9 additions & 2 deletions Documentation/arm/sunxi/README
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ SunXi family

- Next Thing Co GR8 (sun5i)

* Single ARM Cortex-A7 based SoCs
- Allwinner V3s (sun8i)
+ Datasheet
http://linux-sunxi.org/File:Allwinner_V3s_Datasheet_V1.0.pdf

* Dual ARM Cortex-A7 based SoCs
- Allwinner A20 (sun7i)
+ User Manual
Expand Down Expand Up @@ -71,9 +76,11 @@ SunXi family
+ Datasheet
http://dl.linux-sunxi.org/H3/Allwinner_H3_Datasheet_V1.0.pdf

- Allwinner V3s (sun8i)
- Allwinner R40 (sun8i)
+ Datasheet
http://linux-sunxi.org/File:Allwinner_V3s_Datasheet_V1.0.pdf
https://github.com/tinalinux/docs/raw/r40-v1.y/R40_Datasheet_V1.0.pdf
+ User Manual
https://github.com/tinalinux/docs/raw/r40-v1.y/Allwinner_R40_User_Manual_V1.0.pdf

* Quad ARM Cortex-A15, Quad ARM Cortex-A7 based SoCs
- Allwinner A80
Expand Down
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/arm/sunxi.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ using one of the following compatible strings:
allwinner,sun8i-a83t
allwinner,sun8i-h2-plus
allwinner,sun8i-h3
allwinner-sun8i-r40
allwinner,sun8i-v3s
allwinner,sun9i-a80
allwinner,sun50i-a64
nextthing,gr8
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ Optional properties:
- adi,disable-timing-generator: Only for ADV7533. Disables the internal timing
generator. The chip will rely on the sync signals in the DSI data lanes,
rather than generate its own timings for HDMI output.
- clocks: from common clock binding: reference to the CEC clock.
- clock-names: from common clock binding: must be "cec".

Required nodes:

Expand All @@ -89,6 +91,8 @@ Example
reg = <39>;
interrupt-parent = <&gpio3>;
interrupts = <29 IRQ_TYPE_EDGE_FALLING>;
clocks = <&cec_clock>;
clock-names = "cec";

adi,input-depth = <8>;
adi,input-colorspace = "rgb";
Expand Down
49 changes: 49 additions & 0 deletions Documentation/devicetree/bindings/display/bridge/sii9234.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
Silicon Image SiI9234 HDMI/MHL bridge bindings

Required properties:
- compatible : "sil,sii9234".
- reg : I2C address for TPI interface, use 0x39
- avcc33-supply : MHL/USB Switch Supply Voltage (3.3V)
- iovcc18-supply : I/O Supply Voltage (1.8V)
- avcc12-supply : TMDS Analog Supply Voltage (1.2V)
- cvcc12-supply : Digital Core Supply Voltage (1.2V)
- interrupts, interrupt-parent: interrupt specifier of INT pin
- reset-gpios: gpio specifier of RESET pin (active low)
- video interfaces: Device node can contain two video interface port
nodes for HDMI encoder and connector according to [1].
- port@0 - MHL to HDMI
- port@1 - MHL to connector

[1]: Documentation/devicetree/bindings/media/video-interfaces.txt


Example:
sii9234@39 {
compatible = "sil,sii9234";
reg = <0x39>;
avcc33-supply = <&vcc33mhl>;
iovcc18-supply = <&vcc18mhl>;
avcc12-supply = <&vsil12>;
cvcc12-supply = <&vsil12>;
reset-gpios = <&gpf3 4 GPIO_ACTIVE_LOW>;
interrupt-parent = <&gpf3>;
interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;

ports {
#address-cells = <1>;
#size-cells = <0>;

port@0 {
reg = <0>;
mhl_to_hdmi: endpoint {
remote-endpoint = <&hdmi_to_mhl>;
};
};
port@1 {
reg = <1>;
mhl_to_connector: endpoint {
remote-endpoint = <&connector_to_mhl>;
};
};
};
};
54 changes: 54 additions & 0 deletions Documentation/devicetree/bindings/display/faraday,tve200.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
* Faraday TV Encoder TVE200

Required properties:

- compatible: must be one of:
"faraday,tve200"
"cortina,gemini-tvc", "faraday,tve200"

- reg: base address and size of the control registers block

- interrupts: contains an interrupt specifier for the interrupt
line from the TVE200

- clock-names: should contain "PCLK" for the clock line clocking the
silicon and "TVE" for the 27MHz clock to the video driver

- clocks: contains phandle and clock specifier pairs for the entries
in the clock-names property. See
Documentation/devicetree/bindings/clock/clock-bindings.txt

Optional properties:

- resets: contains the reset line phandle for the block

Required sub-nodes:

- port: describes LCD panel signals, following the common binding
for video transmitter interfaces; see
Documentation/devicetree/bindings/media/video-interfaces.txt
This port should have the properties:
reg = <0>;
It should have one endpoint connected to a remote endpoint where
the display is connected.

Example:

display-controller@6a000000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "faraday,tve200";
reg = <0x6a000000 0x1000>;
interrupts = <13 IRQ_TYPE_EDGE_RISING>;
resets = <&syscon GEMINI_RESET_TVC>;
clocks = <&syscon GEMINI_CLK_GATE_TVC>,
<&syscon GEMINI_CLK_TVC>;
clock-names = "PCLK", "TVE";

port@0 {
reg = <0>;
display_out: endpoint {
remote-endpoint = <&panel_in>;
};
};
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Orise Tech OTM8009A 3.97" 480x800 TFT LCD panel (MIPI-DSI video mode)

The Orise Tech OTM8009A is a 3.97" 480x800 TFT LCD panel connected using
a MIPI-DSI video interface. Its backlight is managed through the DSI link.

Required properties:
- compatible: "orisetech,otm8009a"
- reg: the virtual channel number of a DSI peripheral

Optional properties:
- reset-gpios: a GPIO spec for the reset pin (active low).

Example:
&dsi {
...
panel@0 {
compatible = "orisetech,otm8009a";
reg = <0>;
reset-gpios = <&gpioh 7 GPIO_ACTIVE_LOW>;
};
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
This binding covers the official 7" (800x480) Raspberry Pi touchscreen
panel.

This DSI panel contains:

- TC358762 DSI->DPI bridge
- Atmel microcontroller on I2C for power sequencing the DSI bridge and
controlling backlight
- Touchscreen controller on I2C for touch input

and this binding covers the DSI display parts but not its touch input.

Required properties:
- compatible: Must be "raspberrypi,7inch-touchscreen-panel"
- reg: Must be "45"
- port: See panel-common.txt

Example:

dsi1: dsi@7e700000 {
#address-cells = <1>;
#size-cells = <0>;
<...>

port {
dsi_out_port: endpoint {
remote-endpoint = <&panel_dsi_port>;
};
};
};

i2c_dsi: i2c {
compatible = "i2c-gpio";
#address-cells = <1>;
#size-cells = <0>;
gpios = <&gpio 28 0
&gpio 29 0>;

lcd@45 {
compatible = "raspberrypi,7inch-touchscreen-panel";
reg = <0x45>;

port {
panel_dsi_port: endpoint {
remote-endpoint = <&dsi_out_port>;
};
};
};
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Samsung S6E63J0X03 1.63" 320x320 AMOLED panel (interface: MIPI-DSI command mode)

Required properties:
- compatible: "samsung,s6e63j0x03"
- reg: the virtual channel number of a DSI peripheral
- vdd3-supply: I/O voltage supply
- vci-supply: voltage supply for analog circuits
- reset-gpios: a GPIO spec for the reset pin (active low)
- te-gpios: a GPIO spec for the tearing effect synchronization signal
gpio pin (active high)

Example:
&dsi {
...

panel@0 {
compatible = "samsung,s6e63j0x03";
reg = <0>;
vdd3-supply = <&ldo16_reg>;
vci-supply = <&ldo20_reg>;
reset-gpios = <&gpe0 1 GPIO_ACTIVE_LOW>;
te-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>;
};
};
23 changes: 23 additions & 0 deletions Documentation/devicetree/bindings/display/panel/seiko,43wvf1g.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Seiko Instruments Inc. 4.3" WVGA (800 x RGB x 480) TFT with Touch-Panel

Required properties:
- compatible: should be "sii,43wvf1g".
- "dvdd-supply": 3v3 digital regulator.
- "avdd-supply": 5v analog regulator.

Optional properties:
- backlight: phandle for the backlight control.

Example:

panel {
compatible = "sii,43wvf1g";
backlight = <&backlight_display>;
dvdd-supply = <&reg_lcd_3v3>;
avdd-supply = <&reg_lcd_5v>;
port {
panel_in: endpoint {
remote-endpoint = <&display_out>;
};
};
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
Rockchip RK3288 LVDS interface
================================

Required properties:
- compatible: matching the soc type, one of
- "rockchip,rk3288-lvds";

- reg: physical base address of the controller and length
of memory mapped region.
- clocks: must include clock specifiers corresponding to entries in the
clock-names property.
- clock-names: must contain "pclk_lvds"

- avdd1v0-supply: regulator phandle for 1.0V analog power
- avdd1v8-supply: regulator phandle for 1.8V analog power
- avdd3v3-supply: regulator phandle for 3.3V analog power

- rockchip,grf: phandle to the general register files syscon
- rockchip,output: "rgb", "lvds" or "duallvds", This describes the output interface

Optional properties:
- pinctrl-names: must contain a "lcdc" entry.
- pinctrl-0: pin control group to be used for this controller.

Required nodes:

The lvds has two video ports as described by
Documentation/devicetree/bindings/media/video-interfaces.txt
Their connections are modeled using the OF graph bindings specified in
Documentation/devicetree/bindings/graph.txt.

- video port 0 for the VOP input, the remote endpoint maybe vopb or vopl
- video port 1 for either a panel or subsequent encoder

the lvds panel described by
Documentation/devicetree/bindings/display/panel/simple-panel.txt

Panel required properties:
- ports for remote LVDS output

Panel optional properties:
- data-mapping: should be "vesa-24","jeida-24" or "jeida-18".
This describes decribed by:
Documentation/devicetree/bindings/display/panel/panel-lvds.txt

Example:

lvds_panel: lvds-panel {
compatible = "auo,b101ean01";
enable-gpios = <&gpio7 21 GPIO_ACTIVE_HIGH>;
data-mapping = "jeida-24";

ports {
panel_in_lvds: endpoint {
remote-endpoint = <&lvds_out_panel>;
};
};
};

For Rockchip RK3288:

lvds: lvds@ff96c000 {
compatible = "rockchip,rk3288-lvds";
rockchip,grf = <&grf>;
reg = <0xff96c000 0x4000>;
clocks = <&cru PCLK_LVDS_PHY>;
clock-names = "pclk_lvds";
pinctrl-names = "lcdc";
pinctrl-0 = <&lcdc_ctl>;
avdd1v0-supply = <&vdd10_lcd>;
avdd1v8-supply = <&vcc18_lcd>;
avdd3v3-supply = <&vcca_33>;
rockchip,output = "rgb";
ports {
#address-cells = <1>;
#size-cells = <0>;

lvds_in: port@0 {
reg = <0>;

lvds_in_vopb: endpoint@0 {
reg = <0>;
remote-endpoint = <&vopb_out_lvds>;
};
lvds_in_vopl: endpoint@1 {
reg = <1>;
remote-endpoint = <&vopl_out_lvds>;
};
};

lvds_out: port@1 {
reg = <1>;

lvds_out_panel: endpoint {
remote-endpoint = <&panel_in_lvds>;
};
};
};
};
Loading