https://github.com/torvalds/linux

sort by:
Revision Author Date Message Commit Date
b1ca4f2 Merge branches 'for-opinicus/asoc', 'for-opinicus/gpio', 'for-opinicus/input', 'for-opinicus/leds', 'for-opinicus/pwm', 'for-opinicus/rtc', 'for-opinicus/regulator', 'for-opinicus/serial', 'for-opinicus/fbdev' and 'for-opinicus/hdmi' into opinicus-4.14-0 * for-opinicus/asoc: ASoC: sun4i-is: also check for NULL on reset pin request * for-opinicus/gpio: gpio: pca953x: add support for the NXP pca9570 * for-opinicus/input: input: edt-ft5x06: force touchscreen to remain active input: edt-ft5x06: add polldev as an option input: edt-ft5x06: take into account the number of fingers input: edt-ft5x06: fix multi-touch handling input: edt-ft5x06: sanity check on input input: edt-ft5x06: silence deferral error input: edt-ft5x06: use less magic and more defines input: edt-ft5x06: shorten defines input: edt-ft5x06: minor consistency cleanup/line length reduction input: edt-ft5x06: fix some whitespace/ident issues input: edt-ft5x06: only enable the irq when needed input: edt-ft5x06: cleanup headers input: edt-ft5x06: add support for the ft5426 controller input: edt-ft5x06: group r, w and rw functions input: of_touchscreen: add support for minimum sizes input: of_touchscreen: rename touchscreen-size-[xy] input: of_touchscreen: shorten variable names * for-opinicus/leds: leds: pca963x: set DMBLNK as default during probe leds: pca963x: remove whitespace and checkpatch problems leds: pca963x: refactor initial led output a little leds: pca963x: save mode when setting power_state leds: pca963x: add defines and remove some magic values leds: pca963x: alphabetize headers leds: pca963x: abort probe if device is not connected * for-opinicus/pwm: pwm: core: do not block apply->state on period * for-opinicus/rtc: rtc: sun6i: add missing header * for-opinicus/regulator: power: supply: axp288: use the BIT() macro power: supply: axp20x: add missing include bitops.h mfd: axp20x: use explicit bit defines mfd: axp20x: fixup includes regulator: dts: set proper lradc vref on OLinuXino Lime2 regulator: dts: add full voltage range to LDO4 on the Lime2 regulator: dts: enable soft-start and ramp delay for the OLinuXino Lime2 regulator: axp20x: add software based soft_start for LDO3 regulator: axp20x: add support for set_ramp_delay regulator: core: enable power when setting up constraints regulator: axp20x: name voltage ramping define properly regulator: axp20x: use defines for masks * for-opinicus/serial: serial: 8250: expand debug ability of the irq handler serial: 8250: Only confirm handled interrupts on supported ones serial: 8250_dw: Make register access consistent serial: 8250_dw: Use serial port assessor wrapper serial: 8250: Do not treat the IIR register as a bitfield serial: 8250: Minor cleanups serial: 8250: Replace asm/irq with linux/irqreturn, linux/interrupt * for-opinicus/fbdev: (21 commits) fbdev: ssd1307fb: Do not always clear the display on boot fbdev: ssd1307fb: Limit to support 0 - 180 rotation only fbdev: ssd1307fb: Add hardware accelerated rotation support fbdev: ssd1307fb: Ensure display is toggled properly fbdev: ssd1307fb: Ensure set_par can do bring-up fbdev: ssd1307fb: Remove unused forward declaration fbdev: ssd1307fb: Reduce magic values with defines fbdev: ssd1307fb: Use resolution instead of dimensions fbdev: ssd1307fb: cleanup: Group fb_info.fix fbdev: ssd1307fb: Use ratelimited error printing fbdev: ssd1307fb: Make output a little more consistent fbdev: ssd1307fb: Rename i2c device ids fbdev: ssd1307fb: Abort probe if we cannot talk to the display fbdev: sysfs: Add rotation in degrees support to validation fbdev: sysfs: Expand input validation to degree's fbdev: sysfs: Input validation fbdev: sysfs: Replace simple_strtoul with kstrtoul fbdev: sysfs: Sort headers fbdev: of: Add parameter to not clear screen on probe fbdev: of: Add of parsing helper ... * for-opinicus/hdmi: arm/dts: Use hdmi_i2c node on the OLinuXino Lime2 [WIP-do-not-merge] drm/sunxi: Split off hdmi-i2c as a separated driver drm: sun4i: check for i2c busy status drm/sun4i: make fifo_transfer more verbose in case of error drm/sun4i: i2c: consolidate ddc items drm/sun4i: make bool assignment explicit drm/sun4i: enable/disable the tmds clock on use drm/sun4i: Fix NULL pointer dereference at unbind drm/sun4i: improve header readability drm/sun4i: Fix Kconfig indenting drm/edid: Prevent NULL pointer deref when there is no I2C adapter 05 April 2018, 09:25:48 UTC
6e4973b arm/dts: Use hdmi_i2c node on the OLinuXino Lime2 As the Lime2 uses the internal HDMI I2C bus for its EDID, explicitly configure it as so in the devicetree. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:25:00 UTC
0c15f45 [WIP-do-not-merge] drm/sunxi: Split off hdmi-i2c as a separated driver With this patch, the hdmi-i2c peripheral is split off into its own identity. By doing so, this gives board designers and users various new uses. It is now possible to use the ddc-i2c-bus property on the display node to actually choose an I2C controller. E.g. if a board designer chooses to use a different I2C controller for the EDID eeprom, they are free to do so. The HDMI-I2C controller node can now have various frequency settings. In other words if due to layout/routing issues the default clock of 100 kHz is to high for stable operation, the clock could be lowered to a supported frequency for that board. Supporting peripherals on the other end of the bus. Some monitors support various sensors or controls over the I2C bus. Think monitor orientation, back light, brightness, touch etc control. By having a separated node it becomes possible to configure these devices. Note, that this is a bad example in the sense that while a monitor (HDMI) supports hot plugging, I2C device detection does not. This is a potentially future feature, e.g. a hotplug event re-checks the bus and re-probes I2C drivers on the bus. Not working properly: Legacy clocking. For some reason when using an old devicetree the clocks are not setup properly. A few future improvements are left TODO: * Re-probe i2c bus after hot plugging of the HDMI connector. * I2C clock recovery Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:25:00 UTC
46fc76b drm: sun4i: check for i2c busy status The HDMI-I2C block has a bus busy indicator, which indicates whether the bus is busy or not. Make use of this to check if the bus is busy before attempting to transmit. This prevents any unnoticed errors when unable being to transmit due to a busy bus. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:25:00 UTC
75bc7e4 drm/sun4i: make fifo_transfer more verbose in case of error The fifo_transfer call currently makes an assumption on the clockrate of the hdmi-i2c bus. However this assumption is based on the fact that the clockrate is exactly what we request, e.g. if we set the rate to 100 kHz the clock runs on exactly 100 kHz. This unfortunately is not exactly true, as the actual rate depends on the parents and we may end up with a slower clock. Further more if the clock changes from the 100 kHz now this assumption may also not hold. The remedy is easily fixed by asking the clk framework the actual clockrate, with adding 8 clocks (1 byte) as a safety margin. Further more, in case of error, it really helps to know that this timeout has occurred so add a print statement for that. Finally, the variable was renamed to more accurately tell us what it is, a byte time in micro seconds, not nano seconds. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:25:00 UTC
c88bcd6 drm/sun4i: i2c: consolidate ddc items The ddc items can be consolidated more into one place. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:25:00 UTC
180c93c drm/sun4i: make bool assignment explicit In the tmds clock driver, we current assign the counter value to a Boolean check. When reading this code as an outsider it is not immediately obvious what is happening, as the counter (d) initially appears to never become 0. After closer inspection it becomes obvious that the always positive counter is used to toggle the Boolean only at a certain case. Unfortunately there does not seem to be any added benefit from using the more confusing value of d over using 'true' since there is no direct relation to 'd'. This now makes the code a little more obvious and easier to read. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:25:00 UTC
cd5b3da drm/sun4i: enable/disable the tmds clock on use While the tmds clock is configured using set_rate whenever we use/change it, we never properly 'enable' or 'disable' it throwing off our ref-counters. The reason it works is because it is an ungated clock and thus always runs whenever its parent runs. Add the enable/disable calls to the tmds clock to ensure our ref-counters play nicely. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:25:00 UTC
a0c9f90 drm/sun4i: Fix NULL pointer dereference at unbind In sun4i_drv_unbind the drm struct is retrieved and passed to drm_dev_unregister. Since however the drm structure is never set in during bind, we get a NULL pointer dereference error and the following stacktrace. [<b03723a2>] (drm_dev_unregister) from [<af811011>] (sun4i_drv_unbind+0xc/0x2c [sun4i_drm]) [<af811011>] (sun4i_drv_unbind [sun4i_drm]) from [<b0386c29>] (take_down_master.part.0+0xd/0x1c) [<b0386c29>] (take_down_master.part.0) from [<b0386d47>] (component_del+0xb7/0xbc) [<b0386d47>] (component_del) from [<af8e60bb>] (sun4i_backend_remove+0xa/0x14 [sun4i_backend]) [<af8e60bb>] (sun4i_backend_remove [sun4i_backend]) from [<b038befd>] (platform_drv_remove+0x11/0x20) [<b038befd>] (platform_drv_remove) from [<b038b049>] (device_release_driver_internal+0xd1/0x134) [<b038b049>] (device_release_driver_internal) from [<b038b0e3>] (driver_detach+0x2f/0x5c) [<b038b0e3>] (driver_detach) from [<b038a48d>] (bus_remove_driver+0x31/0x88) [<b038a48d>] (bus_remove_driver) from [<af8e6a65>] (sun4i_backend_platform_driver_exit+0x8/0x5a3 [sun4i_backend]) [<af8e6a65>] (sun4i_backend_platform_driver_exit [sun4i_backend]) from [<b017c753>] (SyS_delete_module+0x117/0x154) [<b017c753>] (SyS_delete_module) from [<b0106661>] (ret_fast_syscall+0x1/0x5a) Code: f2cb 007e f5ea fbc5 (696b) f8d3 ---[ end trace c92c06a17cdbc6e9 ]--- By setting the drm data into the device structure we fix this error. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:25:00 UTC
123fb0f drm/sun4i: improve header readability By replacing the magic hardcoded bit masks with GENMASK we can improve readability quite a bit. By also changing the order of shifting and masking, we can actually use a GENMASK as described in the datasheet making the masks even more obvious and easier to read. Furthermore we replace some magic values in the code with defined a getter in turn use it to improve readability. This patch does not have any functional changes. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:25:00 UTC
4005af3 drm/sun4i: Fix Kconfig indenting No codechanges where done with this change, just some whitespace (tabs vs spaces) cleanup. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:25:00 UTC
a083ea6 drm/edid: Prevent NULL pointer deref when there is no I2C adapter When drm_do_probe_ddc_edid is called without a valid i2c adapter, a NULL pointer is passed onto i2c_transfer which causes a NULL pointer dereference error and a stack trace. Prevent this by adding a NULL pointer check. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:24:59 UTC
489fbb3 regmap: add iopoll-like polling macro for regmap_field This patch adds a macro regmap_field_read_poll_timeout that works similar to the readx_poll_timeout defined in linux/iopoll.h, except that this can also return the error value returned by a failed regmap_field_read. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Mark Brown <broonie@kernel.org> 05 April 2018, 09:24:44 UTC
d619e9d input: edt-ft5x06: force touchscreen to remain active With the M09, the touchscreen enters sleep mode after a few seconds. During this time the controller responds to all i2c commands normally, but no input data is generated. This patch forces active mode during each poll interval, to prevent sleep mode (monitor mode) to be activated during normal operation. This can be further improved by setting/clearing the bit when going into suspend/resume mode. Some extra logic would be needed there however to only go into suspend mode if a reset/wake line is available. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:10:40 UTC
32842c0 input: edt-ft5x06: add polldev as an option The edt-ft5x06 is not required to be used with an interrupt. We can just as easily poll the edt-ft5x06 using the polldev framework. This is needed as some electrical designs may omit the IRQ line. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:10:40 UTC
a554a3a input: edt-ft5x06: take into account the number of fingers It may happen that we miss a touch !down event, for example the interrupt fires, but we are to late to read the correct data. When this happens, we may wrongfully set/clear ABS_MT_TRACKING_ID to -1. The M09 firmware actually tells us how many fingers are being touched. By using that, we also thus know how many events to focus on and to clear unused tracking id's. This also has as a boon that we save some processing time by not evaluating the registers for unused touches. Note: this should not be used to reduce the number of bytes read, e.g. read the number of touches register, followed by a read for the actual registers, as that would result in a non-atomic read, and our data could be out of sync. E.g. we are told to 4 inputs have been pressed, but by the time we actually read these registers, 5 inputs are actually being touched. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:10:40 UTC
76762fa input: edt-ft5x06: fix multi-touch handling Multi-touch handling is currently incorrectly handled by the edt-ft5x06 driver. According to Documentation/input/multi-touch-protocol.rst, we are supposed to: ABS_MT_SLOT 0 ABS_MT_TRACKING_ID 45 ABS_MT_POSITION_X x[0] ABS_MT_POSITION_Y y[0] ABS_MT_SLOT 1 ABS_MT_TRACKING_ID 46 ABS_MT_POSITION_X x[1] ABS_MT_POSITION_Y y[1] SYN_REPORT and: Here is the sequence after lifting the contact in slot 0:: ABS_MT_TRACKING_ID -1 SYN_REPORT What happens in our driver however, is: ABS_MT_SLOT 45 ABS_MT_POSITION_X x[0] ABS_MT_POSITION_Y y[0] ABS_MT_SLOT 46 ABS_MT_POSITION_X x[1] ABS_MT_POSITION_Y y[1] SYN_REPORT and for lifting nothing is done. This is obviously wrong, as we are allocating a slot based on the tracking id, not based on the input (finger) and worse, never reset tracking id to -1 to 'free' them. Refactor the ISR to follow the spec by allocating a slot based on finger and set/clear the tracking ID once the finger is no longer down. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:10:40 UTC
66ab38d input: edt-ft5x06: sanity check on input It may happen, that tsdata or tsdata->input are NULL. One observed example was that when requesting the IRQ, but not having all structures setup properly. Add a simple sanity check for NULL, just in case. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:10:40 UTC
0bdd8a5 input: edt-ft5x06: silence deferral error Currently when we get a deferral request on an optional GPIO, we print out a failure message making the user think something bad has happened. Instead, as commonly done, silence the -EPROBE_DEFER message as it is an acceptable 'error'. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:10:40 UTC
94337c2 input: edt-ft5x06: use less magic and more defines We can simply add some more defines to remove some magic values and thus create more readable code. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:10:39 UTC
3341860 input: edt-ft5x06: shorten defines Drop the long _REGISTER_ string in the M09_ macro's. It makes our register defines really long and doesn't add anything. By shortening the defines we can introduce more macro's that are more descriptive and potentially longer. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:10:39 UTC
0088d4a input: edt-ft5x06: minor consistency cleanup/line length reduction The struct device is often referenced in the probe function via &client->dev. We can shorten this by introducing a compile time removed pointer to be able to just type 'dev'. This reduces some of our longer function line lengths improving readability just a little bit. While touching said lines, (mostly dev_*() print strings) make the strings more consistent (with itself and the kernel output) by dropping caps at the start and periods at the end having at least a consistent style within the same function. No logical changes where performed. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:10:39 UTC
8a10c29 input: edt-ft5x06: fix some whitespace/ident issues This patch just cleans up some ident/whitespacing issues. No code changes where performed. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:10:39 UTC
85912c6 input: edt-ft5x06: only enable the irq when needed The input framework has callbacks for when an input device gets opened/closed to do certain actions. Use these to enable/disable interrupts when they are not in use. This can then be improved in the future by doing power savings when the device is not in use. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:10:39 UTC
1d27b30 input: edt-ft5x06: cleanup headers Alphabetize and add missing headers to the edt-ft5x06 driver. No code changes where done in this commit. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:10:39 UTC
dc25464 input: edt-ft5x06: add support for the ft5426 controller The current ft5x06 driver happily supports the ft5426 controller chip. Lets add a compatible for it. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:10:39 UTC
136c3a0 input: edt-ft5x06: group r, w and rw functions Move the read and write functions higher and next to the read-write function. This makes adding features easier without introducing prototypes and keeps the relevant functions together. This patch introduces no code changes. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:10:39 UTC
92b0e09 input: of_touchscreen: add support for minimum sizes In certain configurations, touchscreens are bigger then the underlying display. This can happen for various reasons, but an interesting design choice is to improve the edge detection of touch events. To make sure we don't have strange offsets we want to pass this information along to the input framework via the of_touchscreen layer. To this, we need to also parse the 'minimum' property. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:10:39 UTC
63f53da input: of_touchscreen: rename touchscreen-size-[xy] The parameter touchscreen-size-x sits oddly next to touchscreen-max-pressure for example. Further more when considering that the actual parameter modified in absinfo is the 'maximum'. Let us thus rename the touchscreen-max-size-[xy] property in the devicetree. The new name takes precedence over the earlier touchscreen-size-[xy] in case both are found. The former is now deprecated. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:10:39 UTC
4c7e6a0 input: of_touchscreen: shorten variable names To clean up some whitespace issues and make room for future additions some variable names where shortened. This patch does not invoke any code changes. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> 05 April 2018, 09:10:39 UTC
dafce13 Merge branches 'for-opinicus/stable-input', 'for-opinicus/stable-clk', 'for-opinicus/stable-dt' and 'for-opinicus/stable-drm' into for-opinicus/stable-4.14.y * for-opinicus/stable-input: Input: edt-ft5x06 - fix error handling for factory mode on non-M06 Input: edt-ft5x06 - implement support for the EDT-M12 series Input: edt-ft5x06 - make distinction between m06/m09/generic more clear Input: edt-ft5x06 - use managed devm_device_add_group * for-opinicus/stable-clk: (39 commits) clk: sunxi-ng: add missing hdmi-slow clock for H6 CCU clk: sunxi-ng: add support for the Allwinner H6 CCU clk: sunxi-ng: Support fixed post-dividers on NKMP style clocks clk: sunxi-ng: h3: h5: export CLK_PLL_VIDEO clk: sunxi-ng: h3: h5: Allow some clocks to set parent rate clk: sunxi-ng: h3: h5: Add minimal rate for video PLL clk: sunxi-ng: Add check for minimal rate to NM PLLs clk: sunxi-ng: Use u64 for calculation of nkmp rate clk: sunxi-ng: Mask nkmp factors when setting register clk: sunxi-ng: remove select on obsolete SUNXI_CCU_X kconfig name clk: sunxi: Use CLK_IS_CRITICAL flag for critical clks clk: sunxi-ng: a83t: Add M divider to TCON1 clock clk: sunxi-ng: fix the A64/H5 clock description of DE2 CCU clk: sunxi-ng: add support for Allwinner H3 DE2 CCU clk: divider: fix incorrect usage of container_of clk: move clock common macros out from vendor directories clk: sunxi-ng: sun8i: a83t: Use sigma-delta modulation for audio PLL clk: sunxi-ng: sun8i: a83t: Add /2 fixed post divider to audio PLL clk: sunxi-ng: Support fixed post-dividers on NM style clocks clk: sunxi-ng: sun50i: a64: Add 2x fixed post-divider to MMC module clocks ... * for-opinicus/stable-dt: (136 commits) ARM: dtsi: axp81x: remove IP name from DT node name ARM: dtsi: axp81x: add battery power supply subnode ARM: dtsi: axp81x: add node for ADC ARM: dtsi: axp22x: add node for ADC ARM: dtsi: axp209: add node for ADC ARM: dtsi: axp81x: set pinmux for GPIO0/1 when used as LDOs ARM: dtsi: axp81x: add GPIO DT node ARM: dts: sunxi: Add dtsi for AXP81x PMIC ARM: dts: axp209: Rename usb_power_supply node to avoid warnings ARM: dts: sun9i: cubieboard4: Enable VGA display output ARM: dts: sun9i: Add pinmux settings for LCD0 RGB888 output. ARM: dts: sun9i: Add device nodes for documented display pipelines for A80 ARM: dts: sun8i: reference tablet design: Enable PMIC power supplies ARM: dts: sun8i: a33: Enable A33 internal audio codec on A33-OLinuXino ARM: dts: sun8i: a33: Enable PMIC power supplies on A33-OLinuXino ARM: dts: sun8i: a33: Drop sunxi-common-regulators.dtsi for A33-OLinuXino ARM: dts: sun8i: a33: Drop GPIO pinmux settings for A33-OLinuXino ARM: dts: sun9i: Add enable-method for SMP support for the A80 SoC ARM: dts: sun8i: h3: Add eMMC for NanoPi M1 Plus ARM: dts: sun8i: a711: set regulator for each cluster of CPUs ... * for-opinicus/stable-drm: (34 commits) drm/sun4i: Add support for A20 display pipeline components drm/sun4i: Add support for A10 display pipeline components drm/sun4i: hdmi: Support HDMI controller on A10 drm/sun4i: tcon: Add support for A10 TCON drm/sun4i: backend: Support output muxing drm/sun4i: tcon: Move out the tcon0 common setup drm/sun4i: tcon: Don't rely on encoders to set the TCON mode drm/sun4i: tcon: Don't rely on encoders to enable the TCON drm/sun4i: tcon: Make tcon_get_clk_delay mode argument const drm/sun4i: tcon: Make tcon_set_mux mode argument const drm/sun4i: Realign Makefile padding and reorder it drm/sun4i: Implement endpoint parsing using kfifo drm/sun4i: backend: Offset layer buffer address by DRAM starting address drm/sun4i: hdmi: Move PAD_CTRL1 setting to mode_set function drm/sun4i: hdmi: Document PAD_CTRL1 output invert bits drm/sun4i: backend: Add comment explaining why registers are cleared drm/sun4i: backend: Use drm_fb_cma_get_gem_addr() to get display memory drm/sun4i: backend: Create regmap after access is possible drm/sun4i: don't add components that are already in the queue drm/sun4i: hdmi: Add support for A31's HDMI controller ... 05 April 2018, 09:09:00 UTC
0d63bc3 Input: edt-ft5x06 - fix error handling for factory mode on non-M06 When attempting enter factory mode on firmware that does not support it, we'd error out, but leave the device with interrupts disabled, and thus touch not working. Fix it by moving the check before we disable interrupts/allocate memory for debug buffers. Fixes: fd335ab04b3f ("Input: edt-ft5x06 - add support for M09 firmware version") Reviewed-by: Andi Shyti <andi@etezian.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> 05 April 2018, 08:49:16 UTC
162d9b8 Input: edt-ft5x06 - implement support for the EDT-M12 series This adds support for the EDT M12 series of touchscreens. Signed-off-by: Simon Budig <simon.budig@kernelconcepts.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> 05 April 2018, 08:49:16 UTC
0bfdad0 Input: edt-ft5x06 - make distinction between m06/m09/generic more clear Since the driver also is useful for some non-EDT touchscreens based on the focaltec chips introduce the concept of a "generic" focaltec based touch. Use a better heuristics for model detection and be more specific in the source. Signed-off-by: Simon Budig <simon.budig@kernelconcepts.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> 05 April 2018, 08:49:16 UTC
3052da1 Input: edt-ft5x06 - use managed devm_device_add_group Commit 57b8ff070f98 ("driver core: add devm_device_add_group() and friends") has added the managed version for creating sysfs group files. Use devm_device_add_group instead of sysfs_create_group and remove the relative sysfs_remove_group and goto label. Signed-off-by: Andi Shyti <andi@etezian.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> 05 April 2018, 08:49:16 UTC
1828a96 ARM: dtsi: axp81x: remove IP name from DT node name The DT node should be named after its functionality and not after the IP it's defining. Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:10 UTC
71ee195 ARM: dtsi: axp81x: add battery power supply subnode The X-Powers AXP81X PMIC exposes battery supply various data such as the battery status (charging, discharging, full, dead), current max limit, current current, battery capacity (in percentage), voltage max and min limits, current voltage, and battery capacity (in Ah). This adds the battery power supply subnode for AXP81X PMIC. Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:10 UTC
d5ddf4c ARM: dtsi: axp81x: add node for ADC This adds a DT node for the ADC of the PMIC so that there can be consumers of its IIO channels declaring their consumptions via DT. Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:10 UTC
2199826 ARM: dtsi: axp22x: add node for ADC This adds a DT node for the ADC of the PMIC so that there can be consumers of its IIO channels declaring their consumptions via DT. Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:10 UTC
58dfacf ARM: dtsi: axp209: add node for ADC This adds a DT node for the ADC of the PMIC so that there can be consumers of its IIO channels declaring their consumptions via DT. Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:10 UTC
caec468 ARM: dtsi: axp81x: set pinmux for GPIO0/1 when used as LDOs On AXP813/818, GPIO0 and GPIO1 can be used as LDO as (respectively) ldo_io0 and ldo_io1. Let's add the pinctrl properties to the said regulators. Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:10 UTC
383a475 ARM: dtsi: axp81x: add GPIO DT node This adds DT node for the GPIO/pinctrl part present in AXP813/AXP818. Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:10 UTC
6b40069 ARM: dts: sunxi: Add dtsi for AXP81x PMIC The AXP81x family of PMIC is used with the Allwinner A83T and H8 SoCs. This includes the AXP813 and AXP818. There is no discernible difference except the labeling. The AXP813 is paired with the A83T, while the AXP818 is paired with the H8. This patch adds a dtsi file for all the common bindings for these two PMICs. Currently this is just listing all the regulator nodes. The regulators are initialized based on their device node names. In the future this would be expanded to include power supplies and GPIO controllers. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:10 UTC
3b0bde1 ARM: dts: axp209: Rename usb_power_supply node to avoid warnings The USB power supply node in the AXP209 DTSI is using underscores in its node name, which is generating a warning. Change those underscores for hyphens. Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:10 UTC
91cb37e ARM: dts: sun9i: cubieboard4: Enable VGA display output The Cubieboard4 has a dumb VGA DAC connected to the output of LCD0, providing VGA output through the onboard VGA connector. The DDC lines are connected to i2c3. The VGA DAC is a GM7123, which is compatible with Analog Devices' ADV7123, except it only takes 3.3V power, and has a lower standby power consumption. The datasheet found online lists "Chengdu GoldTel Electronical Technology Co., Ltd." as its designer. The company changed its name in 2014 to "Chengdu Corpro Technology Co., Ltd.". Their website lists similar ICs, but not actually the GM7123. Enable the display pipeline with the VGA DAC and connector, and i2c3 for DDC. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:10 UTC
c126136 ARM: dts: sun9i: Add pinmux settings for LCD0 RGB888 output. The A80 supports RGB888 with H/V sync from LCD0. Add a pinmux setting for the needed pins. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:10 UTC
5981a01 ARM: dts: sun9i: Add device nodes for documented display pipelines for A80 The Allwinner A80 SoC has 3 display pipelines, of which some parts are documented: - 3x display front ends (FE), documented - 2x display enhancement units (DEU), undocumented - 3x display back ends (BE), documented - 2x dynamic range controller (DRC), undocumented - 2x LCDC/TCONs, documented - 1x LCDC/TCON, undocumented, and probably not useable - 1x HDMI transmitter, undocumented but DesignWare compatible - 1x MERGE block, function unknown This patch adds device nodes for the first 2 documented pipelines: FE0 - DEU0 - - BE0 - DRC0 - TCON0 x FE1 - DEU1 - - BE1 - DRC1 - TCON1 Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:09 UTC
0c41dd5 ARM: dts: sun8i: reference tablet design: Enable PMIC power supplies The A23/A33 reference tablet design has a DC barrel tied to the ACIN of the PMIC. And being a tablet, it has a Li-Po battery. Enable both power supplies in the device tree. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:09 UTC
2828054 ARM: dts: sun8i: a33: Enable A33 internal audio codec on A33-OLinuXino The A33-OLinuXino routes the SoC's headphone output to a headphone jack, and the microphone input to a microphone jack. Power to the microphone is provided by MBIAS. This patch enables the various parts of the codec, and adds widgets and routes for simple-card. HBIAS is connected to the microphone jack as well, but in a manner that is confusing and likely does not provide power. This part is left out of this patch. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:09 UTC
f11dea6 ARM: dts: sun8i: a33: Enable PMIC power supplies on A33-OLinuXino The A33-OLinuXino has a DC jack wired to the onboard PMIC's ACIN pins. There is also a battery connector, wired to the PMIC's battery charger. Enable the power supplies for both these components. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:09 UTC
b63182b ARM: dts: sun8i: a33: Drop sunxi-common-regulators.dtsi for A33-OLinuXino None of the common regulators defined in sunxi-common-regulators.dtsi are used for the A33-OLinuXino. Drop the include. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:09 UTC
c1e2c81 ARM: dts: sun8i: a33: Drop GPIO pinmux settings for A33-OLinuXino Normal GPIO usage does not need an additional pinmix setting. Exclusive usage of the pin will be guaranteed by the driver. Drop the extra pinmux settings. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:09 UTC
aa66b51 ARM: dts: sun9i: Add enable-method for SMP support for the A80 SoC Using the enable-method property for SMP support would allow future PSCI implementations to override any in-OS support. This is better than just matching against the machine compatible, and then having to determine whether other methods are available or not. This adds enable-method properties to all CPU nodes. Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Chen-Yu Tsai <wens@csie.org> 05 April 2018, 08:49:09 UTC
30998ca ARM: dts: sun8i: h3: Add eMMC for NanoPi M1 Plus The NanoPi-M1-Plus have a 8GB eMMC, add a node for it. This eMMC is always powered with 3.3V. Signed-off-by: Emmanuel Vadot <manu@freebsd.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> [wens@csie.org: Fixed "mmc2_8bits_pins" label typo; added subject prefixes] Signed-off-by: Chen-Yu Tsai <wens@csie.org> 05 April 2018, 08:49:09 UTC
0fee548 ARM: dts: sun8i: a711: set regulator for each cluster of CPUs The Allwinner A83T is a SoC with two clusters of 4 A7 which have a different clock and regulator. Set the CPU regulator. Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:09 UTC
8cc58b7 ARM: dts: sun8i: a83t: add stable OPP tables and CPUfreq The Allwinner A83T is an octacore A7 divided in two clusters of 4 A7, each cluster having its own regulator and clock. The operating points were found in Allwinner BSP and fex files. Note that there are a few OPPs that are missing: 1608000000Hz with 920000mV 1800000000Hz with 1000000mV 2016000000Hz with 1080000mV These OPPs are pretty unstable but it might be due to the SoC quickly overheating (till the board completely shuts down). It seems impossible to reach those frequencies with none or passive cooling, so better leave them out by default. It's still possible to add those OPPs on a per-board basis though. Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com> [maxime: Reordered the nodes alphabetically] Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:09 UTC
8f2bbc4 ARM: dts: sun8i: a83t: add cpu0 and cpu100 labels The Allwinner A83T is a SoC with two clusters of 4 A7, each cluster having its own regulator and clock. The regulators are board-specific, thus we need labels for cpu0 and cpu100 so that we can use references to these nodes from the board header file. Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:09 UTC
2508f21 ARM: dtsi: sun8i: a711: enable battery power supply subnode The TBS A711 has an AXP813 PMIC and a soldered battery, thus, we enable the battery power supply subnode in its Device Tree. Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:09 UTC
0bf4eb0 ARM: dts: sun7i: Enable HDMI support on the Orange Pi mini Enable the display pipeline and HDMI output for the Orange Pi mini Signed-off-by: Stefan Monnier <monnier@iro.umontreal.ca> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:09 UTC
64287a0 ARM: dts: sun7i: Enable HDMI support on the Banana Pi Enable the display pipeline and HDMI output Signed-off-by: Stefan Monnier <monnier@iro.umontreal.ca> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:09 UTC
f6589bf ARM: dts: sun8i: a83t: Enable HDMI on BananaPi M3 BananaPi M3 includes HDMI connector, so add support for it. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:09 UTC
05ed3a9 ARM: dts: sun8i: a83t: Add HDMI display pipeline This commit adds all bits necessary for HDMI on A83T - mixer1, tcon1, hdmi, hdmi phy and hdmi pinctrl entries. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:09 UTC
b3408e4 ARM: dts: sun9i: Add secure SRAM node used for SMP hotplug The A80 stores some magic flags in a portion of the secure SRAM. The BROM jumps directly to the software entry point set by the SMP code if the flags are set. This is required for CPU0 hotplugging. Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Chen-Yu Tsai <wens@csie.org> 05 April 2018, 08:49:08 UTC
0a66f3f ARM: dts: sun9i: Add PRCM device node for the A80 dtsi The PRCM is a collection of clock controls, reset controls, and various power switches/gates. Some of these can be independently listed and supported, while a number of CPU related ones are used in tandem with CPUCFG for SMP bringup and CPU hotplugging. Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Chen-Yu Tsai <wens@csie.org> 05 April 2018, 08:49:08 UTC
1e82301 ARM: dts: sun9i: Add CPUCFG device node for A80 dtsi CPUCFG is a collection of registers that are mapped to the SoC's signals from each individual processor core and associated peripherals, such as resets for processors, L1/L2 cache and other things. These registers are used for SMP bringup and CPU hotplugging. Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Chen-Yu Tsai <wens@csie.org> 05 April 2018, 08:49:08 UTC
7d5a364 ARM: dts: sun9i: Add CCI-400 device nodes for A80 The A80 includes an ARM CCI-400 interconnect to support multi-cluster CPU caches. Also add the maximum clock frequency for the CPUs, as listed in the A80 Optimus Board FEX file. Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Chen-Yu Tsai <wens@csie.org> 05 April 2018, 08:49:08 UTC
e643209 ARM: dts: sun7i: Add Mali node The A20 has an ARM Mali 400 GPU, so add binding to our DT. Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> 05 April 2018, 08:49:08 UTC
b7db7c8 ARM: dts: sun8i: a83t: bananapi-m3: Add LED device nodes The Bananapi M3 has two controllable LEDs, blue and green, that are tied to the PMIC's two GPIO pins. Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Chen-Yu Tsai <wens@csie.org> 05 April 2018, 08:49:08 UTC
8de8555 ARM: dts: sun[4-7]i: Remove "cooling-{min|max}-level" for CPU nodes The "cooling-min-level" and "cooling-max-level" properties are not parsed by any part of the kernel currently and the max cooling state of a CPU cooling device is found by referring to the cpufreq table instead. Remove the unused properties from the CPU nodes. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Chen-Yu Tsai <wens@csie.org> 05 April 2018, 08:49:08 UTC
0ff8d4d ARM: dts: sun6i: a31: Enable HDMI support on the Mele I7 The Mele I7 has an HDMI connector wired to the HDMI pins on the SoC. Enable the display pipeline and HDMI output. Signed-off-by: Marcus Cooper <codekipper@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> [wens@csie.org: Added "dts" prefix] Signed-off-by: Chen-Yu Tsai <wens@csie.org> 05 April 2018, 08:49:08 UTC
5aac488 ARM: dts: sun7i: Enable HDMI support on the Olimex EVB Enable the display pipeline and HDMI output on the Olimex A20-SOM-EVB. Signed-off-by: Marcus Cooper <codekipper@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:08 UTC
517013b ARM: dts: sun7i: include correct ccu clock header Including sun4i header instead of sun7i prevents using sun7i specific defines. Substitute header inclusion in sun7i-a20.dtsi using right one. Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:08 UTC
6225f5f ARM: dts: sunxi: Add Olimex A20-SOM204-EVB-eMMC board A20-SOM204 board has option with onboard 16GB eMMC. The chip is wired to MMC2 slot. Signed-off-by: Stefan Mavrodiev <stefan@olimex.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:08 UTC
885674f ARM: dts: sunxi: Add Olimex A20-SOM204-EVB board This is new System-On-Module platform with universal dimm socket for easy insertation. The EVB board is designed to be universal with future modules. Product page is located here [1]. There are two dts files - one for base model and another for eMMC variant. Base features of A20-SOM204 board includes: * 1GB DDR3 RAM * AXP209 PMU * KSZ9031 Gigabit PHY * AT24C16 EEPROM * Status LED * LCD connector * GPIO connector There will be variants with the following options: * Second LAN8710A Megabit PHY * 16MB SPI Flash memory * eMMC card * ATECC508 crypto device The EVB board has: * Debug UART * MicroSD card connector * USB-OTG connector * Two USB host * RTL8723BS WiFi/BT combo * IrDA transceiver/receiver * HDMI connector * VGA connector * Megabit ethernet transceiver * Gigabit ethernet transceiver * SATA connector * CAN driver * CSI camera * MIC and HP connectors * PCIe x4 connector * USB3 connector * Two UEXT connectors * Two user LEDs Some of the features are multiplexed and cannot be used the same time: CAN and Megabit PHY. Others are not usable with A20 SoC: PCIe and USB3. [1] https://www.olimex.com/Products/SOM204/ Signed-off-by: Stefan Mavrodiev <stefan@olimex.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:08 UTC
594d832 ARM: dts: sun4i: Enable HDMI support on the MK802 Enable the display pipeline and HDMI output. Signed-off-by: Marcus Cooper <codekipper@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:08 UTC
2031b0b ARM: dts: sun7i: Enable HDMI support on the MK808C Enable the display pipeline and HDMI output Signed-off-by: Marcus Cooper <codekipper@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:08 UTC
238e882 ARM: dts: sun8i: a33 Enable our display frontend The display frontend can be used to do hardware scaling, colorspaces conversion or to implement the buffer format output by the Cedar VPU. Since we're starting to have some support for it in the DRM driver, let's enable its DT node. Reviewed-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:08 UTC
ef7e9e4 ARM: dts: sun8i: activate SPI on Orange Pi R1 This board has a SPI flash, activate it also in device tree by default. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:08 UTC
20f7ee6 ARM: dts: sun[47]i: Fix display backend 1 output to TCON0 remote endpoint There is a copy-paste error in the display pipeline device tree graph. The remote endpoint of the display backend 1's output to TCON0 points to the wrong endpoint. This will result in the driver incorrectly parsing the relationship of the components. Reported-by: Andrea Venturi <ennesimamail.av@gmail.com> Fixes: 0df4cf33a594 ("ARM: dts: sun4i: Add device nodes for display pipelines") Fixes: 5b92b29bed45 ("ARM: dts: sun7i: Add device nodes for display pipelines") Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:07 UTC
b3d9a36 ARM: dts: sun8i: a711: Enable the LCD The A711 has 1024x600 LVDS panel, with a PWM-based backlight. Add it to our DT. Reviewed-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:07 UTC
c3ddafa ARM: dts: sun8i: a83t: Add LVDS pins group The A83T has an LVDS bus that can be connected to a panel or a bridge. Add the pinctrl group for it. Reviewed-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:07 UTC
b746c14 ARM: dts: sun8i: a83t: Enable the PWM The A83T has the same PWM block than the H3. Add it to our DT. Reviewed-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:07 UTC
e858725 ARM: dts: sun8i: a83t: Add display pipeline The display pipeline on the A83T is mainly composed of the mixers and TCONs, plus various encoders. Let's add the first mixer and TCON to the DTSI since the only board I have can use only the LVDS output on the first TCON. The other parts will be added eventually. Reviewed-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:07 UTC
b3a093b ARM: sunxi: h3/h5: add simplefb nodes The H3/H5 SoCs have a HDMI output and a TV Composite output. Add simplefb nodes for these outputs. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Signed-off-by: Chen-Yu Tsai <wens@csie.org> 05 April 2018, 08:49:07 UTC
100273f ARM: sun8i: h3/h5: add DE2 CCU device node for H3 The DE2 in H3/H5 has a clock control unit in it, and the behavior is slightly different between H3 and H5. Add the common parts in H3/H5 DTSI, and add the compatible string in H3 DTSI. The compatible string of H5 DE2 CCU will be added in a separated patch. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Signed-off-by: Chen-Yu Tsai <wens@csie.org> 05 April 2018, 08:49:07 UTC
4082113 ARM: dts: sun8i: fix USB Ethernet of Orange Pi R1 Orange Pi R1 uses a Realtek RTL8152B USB Ethernet chip, which is easily seen on the board but not show in the schematics. A regulator for the power of the RTL8152B chip is hidden, which uses the same pin with the Wi-Fi regulator on the original Orange Pi Zero. Add this regulator back to the device tree, and bind it to USB1. Tested-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Signed-off-by: Chen-Yu Tsai <wens@csie.org> 05 April 2018, 08:49:07 UTC
bb8a382 ARM: dts: sun8i: a711: Reinstate the PMIC compatible When we added the regulator support in commit 90c5d7cdae64 ("ARM: dts: sun8i: a711: Add regulator support"), we also dropped the PMIC's compatible. Since it's not in the PMIC DTSI, unlike most other PMIC DTSI, it obviously wasn't probing anymore. Re-add it so that everything works again. Fixes: 90c5d7cdae64 ("ARM: dts: sun8i: a711: Add regulator support") Reviewed-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:07 UTC
3aa44e9 ARM: dts: sun8i: h3: nanopi-m1-plus: fix missing ethernet 0 in aliases This patch fixes a missing ethernet 0 alisas in the devicetree on the Nanopi M1 Plus. Signed-off-by: Philipp Rossak <embed3d@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:07 UTC
011df23 ARM: dts: sun8i: h3: Enable dwmac-sun8i on the Nanopi M1 The dwmac-sun8i hardware is present on the Nanopi M1. It uses the internal PHY Signed-off-by: Philipp Rossak <embed3d@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:07 UTC
4f428de ARM: dts: sun7i: Enable HDMI on pcDuino3 Nano The board has a regular-sized HDMI connector, so enable the display the pipeline and HDMI output for it. Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:07 UTC
bc24960 ARM: dts: sun8i: a83t: Add I2C device nodes and pinmux settings The A83T has 3 I2C controllers under the standard bus. There is one more in the R_ block section. The pin functions for the 3 controllers are on PH 0~6. I2C2 can also be used on pins PE14 and PE15, but these pins can also mux the CSI (camera sensor interface) controller's embedded I2C controller. The latter seems to be preferred in the reference designs for I2C camera sensor access, freeing I2C2 for other uses. This patch adds device nodes for the three standard I2C controllers, as well as pinmux settings for the PH pins. For I2C0 and I2C1, since they only have one possible setting, just set them by default. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:07 UTC
d548245 ARM: dts: sun8i: a83t: Add I2S controller device nodes The A83T has 3 I2S controllers. The first is multiplexed with the TDM controller. The pins are generally connected to the codec side of the AXP81x PMIC/codec/RTC chip. The second is free for other uses. The third only supports output, and is connected internally to the HDMI controller for HDMI audio output. This patch adds device nodes for the controllers, and a default pinmux setting for the second controller. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:07 UTC
0035c99 ARM: dts: sun8i-h3: Remove allwinner,leds-active-low for non internal PHY allwinner,leds-active-low have effect only on boards which us the internal PHY. So this patch remove it from all boards which do not use the internal PHY. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:07 UTC
c4924c0 ARM: dts: sun8i: a83t: Enable Ethernet on two boards The Cubietruck Plus has a Realtek RTL8211E RGMII PHY tied to the EMAC. The AXP818 PMIC's regulators provide main power and secondary signaling voltages to the PHY. The latter is always on, as it also supplies the pingroup on the SoC, which has other uses. The Bananapi M3 has a Realtek RTL8211E RGMII PHY tied to the EMAC. The AXP818 PMIC's SW regulators provides power to the PHY. This patch enables Ethernet with the EMAC on both these boards by enabling the emac node and setting all the required properties. A proper ethernet alias is added as well. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:06 UTC
184126b ARM: dts: sun8i: a83t: add dwmac-sun8i device node The dwmac-sun8i is an ethernet MAC hardware that support 10/100/1000 speed. This patch add support for it on the Allwinner a83t SoC Device-tree. This patch add the emac device node and the related RGMII pins node. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Reviewed-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:06 UTC
f9edd98 ARM: dts: sun8i: h3: enable USB OTG for NanoPi Neo board Similarly to Orange Pi Zero, NanoPi Neo board has an USB OTG port with an ID pin but with unpowered VBUS. This patch enables this port in forced peripheral mode. ohci/ehci nodes are still enabled since the host mode may work if external power source is used. In that case, the mode can be switched for example via sysfs. The same strategy is used for Orange Pi Zero board DTS. Signed-off-by: Krzysztof Adamski <k@japko.eu> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:06 UTC
4d75927 ARM: dts: sun8i: h3: Add dts file for Libre Computer Board ALL-H3-CC H3 ver. The Libre Computer Board ALL-H3-CC from Libre Technology is a Raspberry Pi B+ form factor single board computer based on the Allwinner H3 SoC. The board has 1GB DDR3 SDRAM, provided by 4 2Gb chips. The mounting holes and connectors are in the exact same position as on the Raspberry Pi B+. Raspberry Pi B+ like peripherals supported on this board include: - Power input through micro-USB connector (without USB OTG) - Native 100 Mbps ethernet using the internal PHY, as opposed to USB-based on the RPi - 4x USB 2.0 host ports, directly connected to the SoC, as opposed to being connected through a USB 2.0 hub on the RPi - TV and audio output on a 3.5mm TRRS jack - HDMI output - Micro-SD card slot - Standard RPi B+ GPIO header, with the standard peripherals routed to the same pins. * 5V, 3.3V power, and ground * I2C0 on the H3 is routed to I2C1 pins on the RPi header * I2C1 on the H3 is routed to I2C0 pins on the RPi header * UART1 on the H3 is routed to UART0 pins on the RPi header * SPI0 on the H3 is routed to SPI0 pins on the RPi header, with GPIO pin PA17 replacing the missing Chip Select 1 * I2S1 on the H3 is routed to PCM pins on the RPi header - Additional peripherals from the H3 are available on different pins. These include I2S0, JTAG, PWM1, SPDIF, SPI1, and UART3 In addition, there are a number of new features: - Console UART header - Consumer IR receiver - Camera interface (not compatible with RPi) - Onboard microphone - eMMC expansion module port - Heatsink mounting holes - Power button The power button requires corresponding software for the embedded coprocessor to properly function. This patch adds a dts file for this board that enables all "onboard" peripherals currently supported. This means no display or camera support. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:06 UTC
786dce4 ARM: dts: sunxi: Convert to CCU index macros for HDMI controller When the HDMI controller device node was added, the needed PLL clock macros were not exported. A separate patch addresses that, but it is merged through a different tree. Now that both patches are in mainline proper, we can convert the raw numbers to proper macros. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:06 UTC
2fbd8d3 ARM: dts: sun8i: add support for Orange Pi R1 Orange Pi R1 is a board design based on Orange Pi Zero, with XR819 Wi-Fi chip replaced by RTL8189ETV Wi-Fi module and the USB Type-A jack replaced by an onboard USB RTL8152B USB-Ethernet adapter. Add support for it. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:06 UTC
2f21da3 ARM: dts: sunxi: Add codec for A13 Olinuxino The A13 Olinuxino have an headphone jack and audio is supported so enable it. Signed-off-by: Emmanuel Vadot <manu@freebsd.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> 05 April 2018, 08:49:06 UTC
back to top