summaryrefslogtreecommitdiff
path: root/Documentation
AgeCommit message (Collapse)Author
2018-05-09Input: 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> Input: silead - remove some dead code 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> Input: silead - use devm_gpiod_get 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> Input: silead_gsl1680 - document firmware-name, fix implementation 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> Input: silead_gsl1680 - use "silead/" prefix for firmware loading 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> Input: silead - add OF device ID table 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> Input: back-port silead.c: pos[i] handling/assignment Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Input: back-port silead.c: invert_x/y & swap_xy Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Input: silead: retry firmware load 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>
2018-04-27regulator: tps549b22: add TI TPS549b22 supportXiaoDong Huang
Change-Id: I7550fc9f78a30b5d8ff705403ad91cfd8727fad6 Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2018-04-25HACK-TO-REVERT: ASoC: simple-card: add properties hp/mic via internal codecXing Zheng
Change-Id: I0f99d73c3bed2954710607b773a945c354867b61 Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2018-04-24arm64: dts: rockchip: add hdmi hdcp2 node for rk3399Huicong Xu
Change-Id: Ie78fbdc226d856a20c2da40e4166e7b23ed27aba Signed-off-by: Huicong Xu <xhc@rock-chips.com>
2018-04-19regulator: of: Use regulator-init-microvolt as early minimumFinley Xiao
Change-Id: If491089520b3228484357e08482ae0e955b1226a Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-04-18PM / devfreq: rockchip_dmc: Add support for rk3308Finley Xiao
Change-Id: Iff7deff76a02360021aacaeaa0d509593f88fb2d Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-04-18regulator: core: Add support to limit min_uV during system startupFinley Xiao
Now a regulator device can supply multiple consumers at the same time, if a consumer starts and set a low voltage, another consumer doesn't start in kernel but has been set a high frequency in bootloader will abort. This patch Adds support to limit min_uV during kernel startup to make sure the voltage can suit the needs of all consumers. Change-Id: Ibd16a8e44916798021e2470c90a8e3488df206f4 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-04-17ASoC: rk3308_codec: add hp-ctl and rename to spk-ctl gpioXing Zheng
Change-Id: I67a3c770b06c8f53afdac89bd3423ad776d6ec01 Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2018-04-17drm/rockchip: inno-hdmi-phy: Get inno hdmi phy config from dtsAlgea Cao
Setting inno phy config table in dts. According to tmds clock range, phy config data can be chosen. We can also filter some video modes which tmds clock out of range we set. Change-Id: I666c825921877fe2cdf45c2ccd1415815a4b7715 Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2018-04-16PM / OPP: Add "rockchip,board-irdrop" and "rockchip,evb-irdrop" bindingTony Xie
Change-Id: Iae0e4aad260347eb03726d13ef91411cfdf6b556 Signed-off-by: Tony Xie <xxx@rock-chips.com>
2018-04-13arm64: dts: rockchip: Add rkisp1 for rk3399Hu Kejun
Change-Id: Ie0eb7088d08f9c0cbd0443b6f9c635ade9b4cc8f Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
2018-04-11media: rockchip: phy: Support for RK3326Hu Kejun
Change-Id: I76d076a110a773a9c1c24742564699900476a8d9 Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
2018-04-11media: rockchip: isp: Support for RK3326Hu Kejun
Change-Id: Iceca3111e6fd03ea6cd64a3c1fcf9627acc4a8c6 Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
2018-04-09ASoC: rockchip: rk817-codec: add ext amplifier and loopback supportBinyuan Lan
Change-Id: Icef0c8a72784260b0d49d8260b0f3377e53b953f Signed-off-by: Binyuan Lan <lby@rock-chips.com>
2018-04-09ASoC: rockchip: i2s-tdm: add support for clk-trcm mode.Sugar Zhang
This patch adds support for clk tx/rx common mode. rockchip,clk-trcm: tx and rx lrck/bclk common use. - 0: both tx_lrck/bclk and rx_lrck/bclk are used - 1: only tx_lrck/bclk is used - 2: only rx_lrck/bclk is used Change-Id: I7342ed25b0573bfc0ce0785838d5ee192ca6300d Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2018-04-03pinctrl: support pinctrl driver for the RK817&RK809 PMICTony Xie
Change-Id: I9a24ee0d9266a000d582f8ffff8b0c872e3a0769 Signed-off-by: Tony Xie <tony.xie@rock-chips.com>
2018-04-02Documentation: bindings: add rockchip,low-power-mode property for u2phyMeng Dongyang
Change-Id: Id99aeb68aa5b6174a3a97f413f09270d893cef4e Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
2018-03-30Documentation: dt-bindings: fusb302: add power role compatiblezain wang
Power role compatible can configure the typec power role, and we can enable try.role function as well, that can change the power role to our wanted if possible. Change-Id: I85a3c4d0c5a54b37573f5fb24fe107d88f385021 Signed-off-by: zain wang <wzz@rock-chips.com>
2018-03-26MALI: rockchip: upgrade bifrost DDK to r11p0-01rel0Zhen Chen
in addition, resolve all the conflicts; rename all the configs and macros that have a same name in midgard/; Change-Id: I93a7cf42301a3af43d593965a3eac7fc2aa8276c Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
2018-03-26ASoC: rockchip: add support for multicodecs soundSugar Zhang
Change-Id: I77d3e9c10d03c2b8809c6d82b5268dba279ee6f0 Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2018-03-26ASoC: codec: add dummy codec for rockchipSugar Zhang
Change-Id: I86cb74994d49178525e15b61b5056fd3995e904d Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2018-03-26ASoC: rockchip: add support for rockchip i2s/tdm controllerSugar Zhang
This patch is add for rockchip i2s/tdm controller. Change-Id: I428e311402220ff14441c48e13fa51356ced46e8 Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2018-03-26soc: rockchip: pvtm: Add support for RK3308 SoCsFinley Xiao
This adds the necessary data for handling pvtm on the rk3308. Change-Id: I54860da4aeea2c4c05fec717d73152a69d30a24f Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-03-23arm64: dts: px30: support cpu/cluster idleXiaoDong Huang
Change-Id: I41b08eb568471dcf1537cb7afa637bdf6a7df2c8 Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2018-03-22UPSTREAM: regulator: DT: Add properties for asymmetric settling timesMatthias Kaehlcke
Some regulators have different settling times for voltage increases and decreases. Add DT properties to define separate settling times for up- and downward voltage changes. Change-Id: Ie41615b15161608d1751685147702e451a205531 Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Acked-by: Laxman Dewangan <ldewangan@nvidia.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Tao Huang <huangtao@rock-chips.com> (cherry picked from commit 543853de356b8ce95d6d99757501d9d5c916ca09)
2018-03-22UPSTREAM: regulator: DT: Add settling time property for non-linear voltage ↵Laxman Dewangan
change Some regulators (some PWM regulators) have the voltage transition exponentially. On such cases, the settling time for voltage change is treated as constant time. Add DT property for providing the settling time for any level of voltage change for non-linear voltage change. signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Change-Id: Ia88df848c62aecb0e03838a00398655a44dc220f Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Tao Huang <huangtao@rock-chips.com> (cherry picked from commit cfd2cedb482ae29ce13a3db46cc24f0c082ca9cf)
2018-03-22drm/rockchip: lvds: clean up pinctrl handling on px30Wyon Bi
Change-Id: I2388110526b7e6e6a9839dfee1cbcb866c93dd27 Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2018-03-22drm/rockchip: rgb: Add support for PX30Wyon Bi
Change-Id: I56f8edccdc1bca477c81c44a3bcaa7287c7dd7ba Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2018-03-21Documentation: media: rockchip: Documentation for TSPJerry Xu
Change-Id: I65bb0821e882e842324dc7f23140174e6bc751ca Signed-off-by: Jerry Xu <xbl@rock-chips.com>
2018-03-21ASoC: rk3308_codec: Add bindings documentation for RK3308 audio codecXing Zheng
Change-Id: I5163dcf9f463ef75120d4c29581f5db3eceb5c1c Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2018-03-14clk: rockchip: rk3308: Rename gmac to macFinley Xiao
Change-Id: I31e9fddcffde824c2b41bd3eddccf3a995cfb913 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-03-12soc: rockchip: support px30 pm configXiaoDong Huang
Change-Id: Ia1f48c904cf9711f1c6601e50eccd4d2026cffe6 Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2018-03-09Merge branch 'linux-linaro-lsk-v4.4-android' of ↵Tao Huang
git://git.linaro.org/kernel/linux-linaro-stable.git * linux-linaro-lsk-v4.4-android: (660 commits) ANDROID: keychord: Check for write data size ANDROID: sdcardfs: Set num in extension_details during make_item ANDROID: sdcardfs: Hold i_mutex for i_size_write BACKPORT, FROMGIT: crypto: speck - add test vectors for Speck64-XTS BACKPORT, FROMGIT: crypto: speck - add test vectors for Speck128-XTS BACKPORT, FROMGIT: crypto: arm/speck - add NEON-accelerated implementation of Speck-XTS FROMGIT: crypto: speck - export common helpers BACKPORT, FROMGIT: crypto: speck - add support for the Speck block cipher UPSTREAM: ANDROID: binder: synchronize_rcu() when using POLLFREE. f2fs: updates on v4.16-rc1 BACKPORT: tee: shm: Potential NULL dereference calling tee_shm_register() BACKPORT: tee: shm: don't put_page on null shm->pages BACKPORT: tee: shm: make function __tee_shm_alloc static BACKPORT: tee: optee: check type of registered shared memory BACKPORT: tee: add start argument to shm_register callback BACKPORT: tee: optee: fix header dependencies BACKPORT: tee: shm: inline tee_shm_get_id() BACKPORT: tee: use reference counting for tee_context BACKPORT: tee: optee: enable dynamic SHM support BACKPORT: tee: optee: add optee-specific shared pool implementation ... Conflicts: drivers/irqchip/Kconfig drivers/media/i2c/tc35874x.c drivers/media/v4l2-core/v4l2-compat-ioctl32.c drivers/usb/gadget/function/f_fs.c fs/f2fs/node.c Change-Id: Icecd73a515821b536fa3d81ea91b63d9b3699916
2018-03-09thermal: rockchip: add tsadc support for rk3308Rocky Hao
Change-Id: Ibf1782ca471c8ad4b14d6fd64eeb123181903adc Signed-off-by: Rocky Hao <rocky.hao@rock-chips.com>
2018-03-09phy: rockchip-inno-usb2: add usb-phy support for rk3308Frank Wang
This change adds usb-phy support for rk3308 SoC and amend related phy Documentation. Change-Id: I953af94fb4d55d79ae1cba624a04fb4b84e019f6 Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
2018-03-09drm/rockchip: rgb: add support rk3308 rgbSandy Huang
add support for rgb panel or rgb covert to other interface panel. Change-Id: I190ce6e08d38f794ecabb863e0def5e74890f75a Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2018-03-09drm/rockchip: vop: add support rk3308Sandy Huang
rk3308 vop support win0 and win1: win0: yuv/rgb and scale; win1: rgb Change-Id: Ie95128187f92047794c47273923d231da0ab9e93 Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2018-03-09ethernet: stmmac: dwmac-rk: Add MAC driver support for rk3308David Wu
Add constants and callback functions for the dwmac on rk3308 soc. The base structure is the same, but registers and the bits in them moved slightly, and add the clk_mac_speed for the select of mac speed. Change-Id: Ieaea3ade9e51d5118f0eb855d8e02febfb2275d1 Signed-off-by: David Wu <david.wu@rock-chips.com>
2018-03-09arm64: dts: rockchip: rk3326/px30: add charge animation nodeshengfei Xu
Change-Id: I2c013c6e1f94727de7031420e7cd15e022767171 Signed-off-by: shengfei Xu <xsf@rock-chips.com>
2018-03-07pinctrl: rockchip: Add pinctrl support for rk3308David Wu
The most pins of rk3308 are 2bits iomux, but the banks's register width is 0x8. Change-Id: I3305810b3f75febd6ec7a933b65e3c9d50f003dd Signed-off-by: David Wu <david.wu@rock-chips.com>
2018-03-07PM / AVS: rockchip-io: add io selectors and supplies for rk3308David Wu
This adds the necessary data for handling io voltage domains on the rk3308. As interesting tidbit, the rk3308 contains one iodomain area at grf, Change-Id: Ife72a284a8926d02ef5df7a422d41924494d0300 Signed-off-by: David Wu <david.wu@rock-chips.com>
2018-03-06dt-bindings: Add bindings for rk3308 clock controllerFinley Xiao
Add devicetree bindings for Rockchip cru which found on Rockchip SoCs. Change-Id: Ib28b15d3011704a04294672f82d6a8f855da1536 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-03-05f2fs: updates on v4.16-rc1Jaegeuk Kim
Pull f2fs updates from Jaegeuk Kim: "In this round, we've followed up to support some generic features such as cgroup, block reservation, linking fscrypt_ops, delivering write_hints, and some ioctls. And, we could fix some corner cases in terms of power-cut recovery and subtle deadlocks. Enhancements: - bitmap operations to handle NAT blocks - readahead to improve readdir speed - switch to use fscrypt_* - apply write hints for direct IO - add reserve_root=%u,resuid=%u,resgid=%u to reserve blocks for root/uid/gid - modify b_avail and b_free to consider root reserved blocks - support cgroup writeback - support FIEMAP_FLAG_XATTR for fibmap - add F2FS_IOC_PRECACHE_EXTENTS to pre-cache extents - add F2FS_IOC_{GET/SET}_PIN_FILE to pin LBAs for data blocks - support inode creation time Bug fixs: - sysfile-based quota operations - memory footprint accounting - allow to write data on partial preallocation case - fix deadlock case on fallocate - fix to handle fill_super errors - fix missing inode updates of fsync'ed file - recover renamed file which was fsycn'ed before - drop inmemory pages in corner error case - keep last_disk_size correctly - recover missing i_inline flags during roll-forward Various clean-up patches were added as well" Cherry-pick from origin/upstream-f2fs-stable-linux-4.4.y: 5f9b3abb911f f2fs: support inode creation time 9fb0de175172 f2fs: rebuild sit page from sit info in mem 1062a0c01829 f2fs: stop issuing discard if fs is readonly fa043fae9030 f2fs: clean up duplicated assignment in init_discard_policy b007190234d6 f2fs: use GFP_F2FS_ZERO for cleanup 35b11839a1ae f2fs: allow to recover node blocks given updated checkpoint e56500860be0 f2fs: recover some i_inline flags 64aa9569a1bf f2fs: correct removexattr behavior for null valued extended attribute 70b3a923daff f2fs: drop page cache after fs shutdown 8069a0e983d9 f2fs: stop gc/discard thread after fs shutdown bb924f777717 f2fs: hanlde error case in f2fs_ioc_shutdown 700b53f21ee8 f2fs: split need_inplace_update f31d52811c1f f2fs: fix to update last_disk_size correctly eeb0118b8340 f2fs: kill F2FS_INLINE_XATTR_ADDRS for cleanup c1b74c967092 f2fs: clean up error path of fill_super d5efd57e013b f2fs: avoid hungtask when GC encrypted block if io_bits is set c4027d08430b f2fs: allow quota to use reserved blocks 18d267c273a9 f2fs: fix to drop all inmem pages correctly 4dca47531eb0 f2fs: speed up defragment on sparse file 999f806a7c9e f2fs: support F2FS_IOC_PRECACHE_EXTENTS 84960fca96c4 f2fs: add an ioctl to disable GC for specific file 292c8e1cfd4d f2fs: prevent newly created inode from being dirtied incorrectly 58b1f5b0fcf1 f2fs: support FIEMAP_FLAG_XATTR 6afa9a94d09b f2fs: fix to cover f2fs_inline_data_fiemap with inode_lock 10f4a4140b61 f2fs: check node page again in write end io b203c58dfd55 f2fs: fix to caclulate required free section correctly d49132d45cb0 f2fs: handle newly created page when revoking inmem pages 2ce6b9d8167e f2fs: add resgid and resuid to reserve root blocks f53dcf6799ab f2fs: implement cgroup writeback support 1338f376d5a3 f2fs: remove unused pend_list_tag d4f19f6266ab f2fs: avoid high cpu usage in discard thread b78e9302e2e3 f2fs: make local functions static 62438ba87b79 f2fs: add reserved blocks for root user 06a366757ff7 f2fs: check segment type in __f2fs_replace_block 4c6bc4be375a f2fs: update inode info to inode page for new file 591b33638733 f2fs: show precise # of blocks that user/root can use b242d7edc537 f2fs: clean up unneeded declaration 87b8168e9ef0 f2fs: continue to do direct IO if we only preallocate partial blocks 2b4d859bd9d8 f2fs: enable quota at remount from r to w 54bf13a0adcd f2fs: skip stop_checkpoint for user data writes 25ef3006ba23 f2fs: fix missing error number for xattr operation cff2c7fe417b f2fs: recover directory operations by fsync e2bb618a0a6b f2fs: return error during fill_super 8a2c11d8658d f2fs: fix an error case of missing update inode page cd38d5ada5a4 f2fs: fix potential hangtask in f2fs_trace_pid e81cafbeba4b f2fs: no need return value in restore summary process 04d44000d633 f2fs: use unlikely for release case 925d0933d8f0 f2fs: don't return value in truncate_data_blocks_range f7986c416d1b f2fs: clean up f2fs_map_blocks e4f5e26cdadf f2fs: clean up hash codes 1f994d47080c f2fs: fix error handling in fill_super e7db649b5fb1 f2fs: spread f2fs_k{m,z}alloc 5d4e487b9929 f2fs: inject fault to kvmalloc 8b33886c37cd f2fs: inject fault to kzalloc d94680798786 f2fs: remove a redundant conditional expression 3bc01114a338 f2fs: apply write hints to select the type of segment for direct write c80f01959114 f2fs: switch to fscrypt_prepare_setattr() bb8b850365ff f2fs: switch to fscrypt_prepare_lookup() 9ab470eaf8a8 f2fs: switch to fscrypt_prepare_rename() aeaac517a12d f2fs: switch to fscrypt_prepare_link() 101c6a96ad1c f2fs: switch to fscrypt_file_open() 6d025237a1f8 f2fs: remove repeated f2fs_bug_on b01e03d724de f2fs: remove an excess variable e1f9be2f7c82 f2fs: fix lock dependency in between dio_rwsem & i_mmap_sem e5c7c8601030 f2fs: remove unused parameter f130dbb98a68 f2fs: still write data if preallocate only partial blocks 47ee9b259811 f2fs: introduce sysfs readdir_ra to readahead inode block in readdir 55e2f89181ce f2fs: fix concurrent problem for updating free bitmap e1398f6554b4 f2fs: remove unneeded memory footprint accounting 2d69561135f2 f2fs: no need to read nat block if nat_block_bitmap is set 4dd2d0733809 f2fs: reserve nid resource for quota sysfile Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2018-03-05FROMLIST: MIPS: Add noexec=on|off kernel parameterMiodrag Dinic
Add a new kernel parameter to override the default behavior related to the decision whether to indicate stack as non-executable or executable (regardless of PT_GNU_STACK entry or CPU RIXI support) in function mips_elf_read_implies_exec(). Allowed values: noexec=on: force indicating non-exec stack & heap noexec=off: force indicating executable stack & heap If this parameter is omitted, kernel behavior remains the same as it was before this patch is applied. This functionality is convenient during debugging and is especially useful for Android development where indication of non-executable stack is required. NOTE: Using noexec=on on a system without CPU XI support is not recommended since there is no actual HW support that provide non-executable stack and heap. Use only for debugging purposes and not in a production environment. Signed-off-by: Miodrag Dinic <miodrag.dinic@mips.com> Signed-off-by: Aleksandar Markovic <aleksandar.markovic@mips.com> (cherry picked from: https://patchwork.linux-mips.org/patch/18218/) Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-03-05FROMLIST: dt-bindings: Document mti,mips-cpc bindingPaul Burton
Document a binding for the MIPS Cluster Power Controller (CPC) that allows the device tree to specify where the CPC registers are located. Signed-off-by: Paul Burton <paul.burton@mips.com> Signed-off-by: Aleksandar Markovic <aleksandar.markovic@mips.com> Reviewed-by: Rob Herring <robh@kernel.org> (cherry picked from: https://patchwork.linux-mips.org/patch/18512/) Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-03-05UPSTREAM: dt-bindings/goldfish-pic: Add device tree binding for Goldfish PIC ↵Miodrag Dinic
driver Add documentation for DT binding of Goldfish PIC driver. The compatible string used by OS for binding the driver is "google,goldfish-pic". Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Miodrag Dinic <miodrag.dinic@mips.com> Signed-off-by: Goran Ferenc <goran.ferenc@mips.com> Signed-off-by: Aleksandar Markovic <aleksandar.markovic@mips.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> (cherry picked from commit c2ba80af4805543ace4928191d877ffe706087e1) Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-03-05UPSTREAM: Documentation: Add device tree binding for Goldfish FB driverAleksandar Markovic
Add documentation for DT binding of Goldfish FB driver. The compatible string used by OS for binding the driver is "google,goldfish-fb". Signed-off-by: Miodrag Dinic <miodrag.dinic@mips.com> Signed-off-by: Goran Ferenc <goran.ferenc@mips.com> Signed-off-by: Aleksandar Markovic <aleksandar.markovic@mips.com> Acked-by: Rob Herring <robh@kernel.org> Cc: David Airlie <airlied@linux.ie> Cc: Douglas Leung <douglas.leung@mips.com> Cc: James Hogan <james.hogan@mips.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Paul Burton <paul.burton@mips.com> Cc: Petar Jovanovic <petar.jovanovic@mips.com> Cc: Raghu Gandham <raghu.gandham@mips.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> (cherry picked from commit bad12f43d0b164aad2a32b48bdc09d0d9680a213) Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-03-05BACKPORT: dt-bindings: Add device tree binding for Goldfish RTC driverAleksandar Markovic
Add documentation for DT binding of Goldfish RTC driver. The compatible string used by OS for binding the driver is "google,goldfish-rtc". Signed-off-by: Miodrag Dinic <miodrag.dinic@imgtec.com> Signed-off-by: Goran Ferenc <goran.ferenc@imgtec.com> Signed-off-by: Aleksandar Markovic <aleksandar.markovic@imgtec.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> (cherry picked from commit 7a08de1d8fd27ac60ed8ce7a15efb88471014080) Conflicts: MAINTAINERS Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-03-05UPSTREAM: MIPS: Add IEEE Std 754 conformance mode selectionMaciej W. Rozycki
Add an `ieee754=' kernel parameter to control IEEE Std 754 conformance mode. Use separate flags copied from the respective CPU feature flags, and adjusted according to the conformance mode selected, to make binaries requesting individual NaN encoding modes accepted or rejected as needed. Update the initial setting for FCSR and, in the full FPU emulation mode, its read-only mask accordingly. Accept the mode selection requested for legacy processors as well. As with the EF_MIPS_NAN2008 ELF file header flag adjust both ABS2008 and NAN2008 bits at the same time, to match the choice made for hardware currently implemented. Signed-off-by: Maciej W. Rozycki <macro@imgtec.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Matthew Fortune <Matthew.Fortune@imgtec.com> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/11481/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org> (cherry picked from commit 503943e0e52bd3fbf014aa1d838ced37adb43121) Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-03-05Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-androidAmit Pundir
Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Conflicts: fs/f2fs/extent_cache.c Pick changes from AOSP Change-Id: Icd8a85ac0c19a8aa25cd2591a12b4e9b85bdf1c5 ("f2fs: catch up to v4.14-rc1") fs/f2fs/namei.c Pick changes from AOSP F2FS backport commit 7d5c08fd9194 ("f2fs: backport from (4c1fad64 - Merge tag 'for-f2fs-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs)")