- Mar 06, 2019
-
-
Tomeu Vizoso authored
-
- Dec 07, 2018
-
-
Add a zpos property to planes on the DP crtc. Instead of calling drm_atomic_helper_check_modeset() and drm_atomic_helper_check_planes() manually, call drm_atomic_helper_check(), to also normalizes zpos in plane state. Always update plane order and alpha settings during plane commit, to allow changing the zpos property without modeset. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
- Nov 06, 2018
-
-
Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
Do not enumerate all formats, some of which the device may not even support. Instead, only report the one fixed format of the currently selected input that will survive try_fmt/s_fmt. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
The driver doesn't set an initial video format until s_input is called: $ v4l2-ctl -d /dev/v4l-touch0 --get-input Video input : 0 (Normalized 16-Bit Image: ok) $ v4l2-ctl -d /dev/v4l-touch0 --get-fmt-video Width/Height : 0/0 Pixel Format : '' [...] $ v4l2-ctl -d /dev/v4l-touch0 --set-input 0 Video input set to 0 (Normalized 16-Bit Image: Touch, ok) $ v4l2-ctl -d /dev/v4l-touch0 --get-fmt-video Width/Height : 71/40 Pixel Format : 'TD16' [...] To fix this, initialize the video format to input 0 during probe. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
This implements support for the new protocol that supports up to 10 touch slots spread over up to 2 i2c messages. Signed-off-by:
Lucas Stach <l.stach@pengutronix.de>
-
EETI changed the i2c protocol in an incompatible way at some point. The documentation doesn't state if there is a way to autodetect the used protocol. Thus we introduce a DT property to let the driver know about the protocol version used by the touch controller. Signed-off-by:
Lucas Stach <l.stach@pengutronix.de>
-
Using those helpers the driver will support all the common OF touchscreen properties like rotation and axis swap. Signed-off-by:
Lucas Stach <l.stach@pengutronix.de>
-
Just provide the proper flags to input_mt_init_slots(), which will so the right thing and set the proper capability bits. Signed-off-by:
Lucas Stach <l.stach@pengutronix.de>
-
Signed-off-by:
Steffen Trumtrar <s.trumtrar@pengutronix.de>
-
Determine from marvell_set_polarity()'s return code whether the register value was changed and if it was, propagate that to the logic that hits the software reset bit. This avoids doing unnecessary soft reset if the PHY is configured in the same state it was previously. Signed-off-by:
Florian Fainelli <f.fainelli@gmail.com>
-
Avoid performing unnecessary soft reset and instead commit the changes once we are done writing to the registers. Signed-off-by:
Florian Fainelli <f.fainelli@gmail.com>
-
The logic that determines whether a soft-reset should be triggered during the config_aneg() callback is only checking for the autonegotiation results after genphy_config_aneg() being different than AUTONEG_ENABLE, when really it should be checking whether the previous autoneg settings are different than the new ones. Signed-off-by:
Florian Fainelli <f.fainelli@gmail.com>
-
While consolidating the PHY reset in phy_init_hw() an unconditionaly BMCR soft-reset I became quite trigger happy with those. This was later on deactivated for the Generic PHY driver on the premise that a prior software entity (e.g: bootloader) might have applied workarounds in commit 0878fff1 ("net: phy: Do not perform software reset for Generic PHY"). Since we have a hook to wire-up a soft_reset callback, just use that and get rid of the call to genphy_soft_reset() entirely. This speeds up initialization and link establishment for most PHYs out there that do not require a reset. Fixes: 87aa9f9c ("net: phy: consolidate PHY reset in phy_init_hw()") Signed-off-by:
Florian Fainelli <f.fainelli@gmail.com>
-
The 6390X family has 8 SERDES interfaces. When ports 9 and 10 are not using all their SERDES interfaces, the unused ones can be assigned to ports 2-8. Add support for interrupts from SERDES interfaces connected to these lower ports. Signed-off-by:
Andrew Lunn <andrew@lunn.ch>
-
The 6390X family has 8 SERDES interfaces. This allows ports 9 and 10 to support up to 10Gbps using 4 SERDES interfaces. However, when lower speeds are used, which need fewer SERDES interfaces, the unused SERDES interfaces can be used by ports 2-8. The hardware defaults to ports 9 and 10 having all 4 SERDES interfaces assigned to them. This only gets changed when the interface is configured after what the SFP supports has been determined, or the 10G PHY completes auto-neg. For hardware designs which limit ports 9 and 10 to one or two SERDES interfaces, and place SFPs on the lower interfaces, this is too late. Those ports with SFP should not wait until ports 9/10 are up in order to get access to the SERDES interface. So change the default configuration when the driver is initialised. Configure ports 9 and 10 to 1000BaseX, so they use a single SERDES interface, freeing up the others. They can steal them back if they need them. Signed-off-by:
Andrew Lunn <andrew@lunn.ch>
-
The X family variants support additional ports modes, for 10G operation, which the non-X variants don't have. Add a port_set_cmode() for non-X variants to enforce this. Signed-off-by:
Andrew Lunn <andrew@lunn.ch>
-
Move .port_set_cmode next to .port_get_cmode. Signed-off-by:
Andrew Lunn <andrew@lunn.ch>
-
The 6352 family has one SERDES interface, which can be used by either port 4 or port 5. Add interrupt support for the SERDES interface, and report when the link status changes. Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
After changing to the needed page, actually write the value to the register! Fixes: 09cb7dfd ("net: dsa: mv88e6xxx: describe PHY page and SerDes") Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
The mmap event buffer may end up in a location that violates the alignment requirements fora NEON vector load, which GCC generates to load consecutive values from the event structure. Fix this by copying the event structure into a properly aligned buffer. Signed-off-by:
Lucas Stach <l.stach@pengutronix.de>
-
When trying to read any MC13892 ADC channel on a imx51-babbage board: # cat /sys/class/hwmon/hwmon0/device/in7_input The MC13892 PMIC shutdowns completely. After debugging this issue and comparing the MC13892 and MC13783 initializations done in the vendor kernel, it was noticed that the CHRGRAWDIV bit of the ADC0 register was not being set. This bit is set by default after power on, but the driver was clearing it. After setting this bit it is possible to read the ADC values correctly. Signed-off-by:
Fabio Estevam <fabio.estevam@nxp.com> Tested-by:
Chris Healy <cphealy@gmail.com>
-
I didn't figure out how to make the protected mode work, so userspace can turn off the MMU... Signed-off-by:
Jonathan Marek <jonathan@marek.ca>
-
Signed-off-by:
Jonathan Marek <jonathan@marek.ca>
-
component_master_add_with_match assumes a valid pointer but if there are no display/gpu components, match will be NULL Signed-off-by:
Jonathan Marek <jonathan@marek.ca>
-
derived from the a3xx driver and tested on the following hardware: imx51-zii-rdu1 (a200 with 128kb gmem) imx53-qsrb (a200) msm8060-tenderloin (a220) Signed-off-by:
Jonathan Marek <jonathan@marek.ca>
-
Signed-off-by:
Jonathan Marek <jonathan@marek.ca>
-
Add IPU CSI ports and capture-subsystem device so the capture subsystem part of the IPUv3EX can be used with the staging imx-media driver. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
Split the Bayer and grayscale formats out of the rgb_formats[] array into a separate bayer_formats[] array and fix enum_fmt to avoid stopping enumeration at the first bayer format. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
This format is not well defined and not supported by the V4L2 driver. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
Add V4L2_PIX_FMT_RGBA and V4L2_PIX_FMT_RGBX formats to mirror DRM_FORMAT_ABGR8888 and DRM_FORMAT_XBGR8888, respectively. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-
This option allows to disable moving seams to positions that optimize for minimal distortions for debugging purposes. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de>
-