summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-04-05Reduce SD IO Voltage to 3.0Vpuma-release-4.4-2017-05-19Klaus Goger
The SD-Card IO rail on the RK3399 should not be operated higher than 3.15V. We reduce it to 3.0V. Note that the I/Os on the Qseven edge connector will still be 3.3V as expected. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2017-06-22drm/panel: simple: use standard pixel clock on 1920x1200x60 panelJakob Unterwurzacher
Use the same pixel clock as HDMI uses on a 1920x1200x60 monitor to work around a limitation in the current clocking scheme. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-06-20arm64: dts: puma: add rk3399-puma-hdmi+edp1200.dtsJakob Unterwurzacher
Some business monitors have a native resolution of 1920x1200. Add a dts variant to support these monitors on displayport. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-06-19drm/panel: simple: use standard pixel clock on 1920x1080x60 panelJakob Unterwurzacher
Using a different pixel clock causes problems when used at the same time with hdmi. Keep the clock at 148500 for now and adapt htotal to stay at 60 hz. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-06-13remove .scmversion fileKlaus Goger
The empty .scmvesion file breaks the setlocalversion script. As we want to use CONFIG_LOCALVERSION_AUTO we delete the file Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2017-06-13arm64: dts: puma: add licenseKlaus Goger
some dts files are missing a proper license. add generic dual GPL X11 header. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2017-06-13arm64: rk3399-puma-edp.dts: switch to FullHD panelJakob Unterwurzacher
The 1920x1080 (FullHD) resolution is more widely supported than the formerly-used 1920x1200. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-06-13drm/panel: simple: add generic 1920x1080x60Hz (FullHD) panelJakob Unterwurzacher
Tested on two "normal" office monitors connected via DisplayPort, works fine. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-06-13drm: rockchip: limit EPROBE_DEFER retries in rockchip_dp_bindJakob Unterwurzacher
A typo in the panel's "compatible" string in the dts used to cause an infinite EPROBE_DEFER loop that effectively kills the box as bootup never completes. Now we abort after 10 retries. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-06-13arm64: rk3399-puma-edp.dts: fix edp output by enabling voplJakob Unterwurzacher
vopl was disabled when the base dts switched to vopb, but this broke edp output. Re-enable vopl here. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-06-13drm: rockchip: increase vop selection message priorityJakob Unterwurzacher
As the VOPs have different capabilities, which vop was selected is usually interesting to the user. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-06-13arm64: dts: puma: add hdmi+mipidsi variantJakob Unterwurzacher
The dts "rk3399-puma-hdmi+mipidsi.dts" enables both the MIPI-DSI and the HDMI display output. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-06-13arm64: dts: puma: add describing header to dtsJakob Unterwurzacher
This adds a small description to the dts files to clarifiy the functionality Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-06-13arm64: rk3399-puma-mipidsi.dts: drop duplicate assignemntsJakob Unterwurzacher
These values have already been set in the parent dts. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-06-13arm64: dts: puma: drop duplicate assignmentsJakob Unterwurzacher
Also, don't set the defaults again (status=disabled). Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-06-13arm64: dts: puma: drop "hdmi_in_vopb" modificationJakob Unterwurzacher
Setting the "status" property is not needed for HDMI to work. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-06-08arm64: defconfig: puma: enable silead touchscreenJakob Unterwurzacher
This touchscreen is used in our DSI setup and already defined in the rk3399-puma-mipidsi.dts .
2017-05-26arm64: dts: puma: enable silead touchscreenJakob Unterwurzacher
Enable the silead based touchscreen labeled EC080D107 Note that the coordinates still need to be scaled. This can be done by adding this into you xorg.conf: Section "InputClass" Identifier "touchscreen" MatchProduct "silead_ts" Option "TransformationMatrix" "1.5 0 0 0 0.7 0 0 0 1" EndSection Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-05-24Input: silead: retry firmware loadJakob Unterwurzacher
If we get ENOENT when trying to load the firmware, this can just mean that the rootfs is not mounted yet. Return EPROBE_DEFER so the probe is retried later. To prevent an infinite probe loop when the firmware does not exist at all, the retries are capped to 10. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-05-24Input: back-port silead.c: invert_x/y & swap_xyPhilipp Tomsich
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
2017-05-24Input: back-port silead.c: pos[i] handling/assignmentPhilipp Tomsich
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
2017-05-24Input: silead - add OF device ID tableJavier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:<device>. But this could change in the future so the correct approach is to have an OF device ID table if the devices are registered via OF. As pointed by Hans de Goede, there's no mssl1680 and this is just used in some ACPI systems to identify the gsl1680 chip. So isn't included in the OF device ID table since a DT should use the proper device name instead. Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2017-05-24Input: silead_gsl1680 - use "silead/" prefix for firmware loadingHans de Goede
The silead touch-controller ICs use a different firmware per digitizer / tablet model. So there are going to be quite a few of then and they really should be under a separate subdir. This commit prefixes the default firmware names with "silead/" just like we are already doing for devicetree specified firmware names. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2017-05-24Input: silead_gsl1680 - document firmware-name, fix implementationHans de Goede
The driver has supported touchscreen-fw-name to specify the firmware to load since it has been merged, but this was omitted from the dt-binding documentation. During review of adding touchscreen-fw-name to the binding documentation it was brought up that there is a standard property name called "firmware-name" for this, which should be used. Since there are no users of touchscreen-fw-name yet, this commit adds documentation of "firmware-name" to the dt-binding documentation and switches the driver over to use this. This commit also makes the driver add a "silead/" prefix to the firmware name from dt before calling request_firmware. That the firmware files are stored under /lib/firmware/silead under Linux is an implementation detail and does not belong in devicetree. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2017-05-24Input: silead - use devm_gpiod_getHans de Goede
The silead code is using devm_foo for everything (and does not free any resources). Except that it is using gpiod_get instead of devm_gpiod_get (but is not freeing the gpio_desc), change this to use devm_gpiod_get so that the gpio will be properly released. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2017-05-24Input: silead - remove some dead codeDan Carpenter
buf[0] is an unsigned char. touch_nr is an int. The test for negative here doesn't make sense so I have removed it. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2017-05-24Input: add driver for Silead touchscreensRobert Dolca
This driver adds support for Silead touchscreens. It has been tested with GSL1680 and GSL3680 touch panels. It supports ACPI and device tree enumeration. Screen resolution, the maximum number of fingers supported and firmware name are configurable. Signed-off-by: Robert Dolca <robert.dolca@intel.com> Signed-off-by: Daniel Jansen <djaniboe@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Conflicts: drivers/input/touchscreen/Kconfig
2017-05-24arm64: dts: add rk3399-puma-mipidsi.dtsJakob Unterwurzacher
Enables MIPI-DSI instead of HDMI on RK3399-Q7 SoM. Supported display is labeled FY080DI27E046-V1 Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-05-24drm/rockchip: dw-mipi: switch to cmd mode before enabling panelJakob Unterwurzacher
Panel enable sends an init sequence over the mipi command channel. We have to be in cmd mode for this to work. Mainline 4.12 has a similar fix: https://github.com/torvalds/linux/commit/8a7df73ff97d8b373c132b71a15960402526aa8a Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-05-24drm/rockchip: dw-mipi: add error reporting and break infinite loop in ↵Jakob Unterwurzacher
mipi-dsi probe This used to loop indefinitely with EPROBE_DEFER if it could not find a panel. This patch aborts the probe after 10 tries. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-05-24drm/rockchip: vop: log a warning for out-of-spec modesJakob Unterwurzacher
print a warning if vdisplay exceeds max_output.height and print the maximum supported values. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-05-24arm64: dts: add rk3399-puma-hdmi+edp.dtsKlaus Goger
enables HDMI and eDP simultaneously for dualscreen configurations Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-05-24arm64: dts: add rk3399-puma-edp.dtsKlaus Goger
Enables eDP instead of HDMI on RK3399-Q7 SoM Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-05-24drm/panel: simple: add generic 1920x1200x60Hz panelKlaus Goger
Add a definition that works well for an Iiyama PL2485W monitor Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-05-24arm64: defconfig: puma: enable uCAN in defconfigKlaus Goger
enable the CAN support provided by the companion controller default firmware Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2017-05-24can: ucan: add minimal support for UCAN devicesJakob Unterwurzacher
Driver for UCAN based USB CAN devices. This patch does not include HWFILTER support. Signed-off-by: Martin Elshuber <martin.elshuber@theobroma-systems.com> Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-05-24arm64: dts: puma: merge oppKlaus Goger
we have slightly different operation points then sapphire so we define our opperation points in the dts instead including it from the rk3399-opp.dtsi Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2017-05-24arm64: defconfig: add puma-rk3399 defconfigKlaus Goger
create a board specific defconfig for the RK3399-Q7 SoM Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com> Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-05-24arm64: dts: rockchip: add DTS for RK3399-Q7 (Puma) SoMKlaus Goger
The RK3399-Q7 (Puma) is a system-on-module featuring the Rockchip RK3399 in a Qseven-compatible form-factor. RK3399-Q7 features: * CPU: ARMv8 64bit Big-Little architecture, * Big: dual-core Cortex-A72 * Little: quad-core Cortex-A53 * IRAM: 200KB * DRAM: 4GB-128MB dual-channel * eMMC: onboard eMMC * SD/MMC * GbE (onboard Micrel KSZ9031) Gigabit ethernet PHY * USB: * USB3.0 dual role port * 2x USB3.0 host, 1x USB2.0 host via onboard USB3.0 hub * Display: HDMI/eDP/MIPI * Camera: 2x CSI (one on the edge connector, one on the Q7 specified CSI ZIF) * NOR Flash: onboard SPI NOR * Companion Controller: onboard additional Cortex-M0 microcontroller * RTC * fan controller * CAN This dts describes includes all required peripherals for booting and basic functionality including eMMC, NOR, USB, Ethernet, HDMI output (with audio), I2C buses (including the RTC and fan controller features provided by the default companion controller firmware) and LED definitions. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com> Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2017-05-24net: rfkill-bt: fix gcc6 build errorKlaus Goger
fixes following build error with newer gcc versions net/rfkill/rfkill-bt.c: In function 'rfkill_rk_remove': net/rfkill/rfkill-bt.c:703:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] error, forbidden warning: rfkill-bt.c:703 Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2017-05-24arm: dts: rk322x-android: enable rockchip-suspendXiaoDong Huang
Change-Id: I49ecf3e733ec376f86dc4ab7f27f3c1e0af964eb Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2017-05-24arm: dts: rk322x: add rockchip-suspend nodeXiaoDong Huang
Change-Id: I1bdc66e4e8db55cdc02709bf0eb901ea037c5a60 Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2017-05-24soc: rockchip: support rk322x pm configXiaoDong Huang
Change-Id: I29c5685f09a846b62196ab8614ebe168bfed75ef Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2017-05-23clk: rockchip: rk3328: add flag CLK_IGNORE_UNUSED for hclk_vop_niuElaine Zhang
Change-Id: I770a83ad357f18d3258755b6c1d43ef82248951e Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2017-05-23ARM64: dts: rockchip: rk3399-opp: fix up the gpu_opp_tableElaine Zhang
Change-Id: I2e13b74ce3ff8509753605b9b0a02fb1c8d0f765 Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2017-05-22arm64: dts: rk3399: sapphire: set syr83x vsel gpio type inputwlq
Change-Id: I5c809885038e81570d993ebbc94ae757ba4b9acd Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2017-05-22driver: sensor-dev: use copy_to_user&&copy_from_user to do the user pointZorro Liu
Change-Id: Ibbff2eecc71643c95ae91d0cd8a8469fd43a3cea Signed-off-by: Zorro Liu <lyx@rock-chips.com>
2017-05-19power: rk818-charger: move irq init to the last stepchenjh
init irq later than workqueue_struct and delayed_work to avoid NULL ponint Change-Id: I715296a715cb07149a6dce236a3b8ccafe00622e Signed-off-by: chenjh <chenjh@rock-chips.com>
2017-05-19drm/rockchip: vop: support vop dump when iommu page faultMark Yao
Change-Id: I164fc7e8cb7392143959d53709bcdf61713fb3d8 Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-05-19arm64: dts: rk3368: add dfi and dmc device nodesFinley Xiao
Add dfi and dmc nodes in the device tree for the ARM64 rk3368 SoC. To support ddr frequency scaling function, we need enable dmc and dfi nodes. Change-Id: I155b838a8773ff1842058bebb1ed2747ca8e2e0b Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>