Permalink
Commits on Jun 3, 2018
  1. ARM64: dts: rockchip: enable new video driver on rockpro64

    hizukiayaka committed Jun 3, 2018
    Signed-off-by: ayaka <ayaka@soulik.info>
  2. ARM64: dts: rockchip: add support for rockpro64 board

    hizukiayaka committed Jun 1, 2018
    PINE64 Rockpro 64 is a RK3399 development board.
    http://wiki.pine64.org/index.php/ROCKPro64_Main_Page
    
    Signed-off-by: ayaka <ayaka@soulik.info>
Commits on Jun 1, 2018
  1. regulator: fan53555: add SYR83x

    hizukiayaka committed Jun 1, 2018
    Signed-off-by: ayaka <ayaka@soulik.info>
Commits on May 29, 2018
  1. arm64: rockchip_linux_defconfig: disable mali module

    hizukiayaka committed Apr 28, 2018
    Change-Id: I51c21743bab14115a6bfebe1d7dfaa140c305f1d
    Signed-off-by: Randy Li <randy.li@rock-chips.com>
Commits on May 21, 2018
  1. ARM64: dts: rockchip: fix a various of rock64

    hizukiayaka committed Jan 23, 2018
    Change-Id: I8ccb1ff76ff0f0e1a8d2a6c3e7bc33421f6fe9d6
    Signed-off-by: ayaka <ayaka@soulik.info>
  2. ARM: dts: rockchip: enable new media driver at rk3036

    hizukiayaka committed Jan 16, 2018
    Change-Id: I2bbf0523de23c40887b96199e240ed89dd626b1b
    Signed-off-by: Randy Li <randy.li@rock-chips.com>
  3. [WIP]: ARM: dts: rockchip: use the new media driver in rk3036

    hizukiayaka committed Jan 16, 2018
    They can be enabled at the same time but I have not adjusted
    the mpp kernel driver to make them work at the same time.
    
    Change-Id: Ica66e413b98a2f666befde91318b04f22ab9981e
    Signed-off-by: Randy Li <randy.li@rock-chips.com>
  4. ARM64: dts: rockchip: enable new video driver for rock64

    hizukiayaka committed Dec 14, 2017
    Change-Id: I15f632f12ca875331574ae5eefb031ed31c7c5e5
    Signed-off-by: ayaka <ayaka@soulik.info>
  5. ARM64: dts: rockchip: use the new video driver for rk3328 evb

    hizukiayaka committed Nov 29, 2017
    Change-Id: I7b8397175fe65ad5b18a95c85b1f36d2c19c5507
    Signed-off-by: Randy Li <randy.li@rock-chips.com>
  6. [WIP]: ARM64: dts: rockchip: use the new video driver for rk3328

    hizukiayaka committed Nov 29, 2017
    The encoders and avsd decoder are not verified.
    
    Change-Id: Ie6883ee91e2eb7ce2eddafa1d6b42e2712cb1df6
    Signed-off-by: Randy Li <randy.li@rock-chips.com>
  7. ARM: dts: rockchip: enable new media driver for miniarm

    hizukiayaka committed Nov 21, 2017
    Change-Id: I18f5614fda2312826e59f2dfaf9cd7c06e61d619
    Signed-off-by: Randy Li <randy.li@rock-chips.com>
  8. ARM: dts: rockchip: use new video driver for firefly rk3288

    hizukiayaka committed Nov 13, 2017
    Change-Id: I4d65a47ea4bcb1cc82e1bb24dd240c7b5b47fe75
    Signed-off-by: ayaka <ayaka@soulik.info>
  9. ARM: dts: rockchip: use new driver for rk3288

    hizukiayaka committed Nov 11, 2017
    Change-Id: If2b63b8a05d61f7463172bc9c9f77fbf0044bf45
    Signed-off-by: ayaka <ayaka@soulik.info>
  10. [WIP]: ARM64: dts: rockchip: enable new video driver for rk3399

    hizukiayaka committed Jan 23, 2018
    We need to rewrite the firefly board device tree files.
    
    Change-Id: I96e38ff6761b4bc14472574974d2d105def2b1ba
    Signed-off-by: ayaka <ayaka@soulik.info>
  11. ARM64: dts: rockchip: use new video driver for rk3399

    hizukiayaka committed Nov 2, 2017
    The decoders now use the new mpp driver.
    
    Change-Id: I0ca75ff12dad490da8c28e8642c5d9f5727df250
    Signed-off-by: Randy Li <randy.li@rock-chips.com>
  12. video: rockchip/mpp_device: add VPU encoder

    hizukiayaka committed Nov 29, 2017
    It supports the encoder in both VPU1 and VPU2.
    
    TODO:
    1. share node
    
    Change-Id: I2d55e89e38df388b25abc30310ada9ec621a5a60
    Signed-off-by: ayaka <ayaka@soulik.info>
    Signed-off-by: Randy Li <randy.li@rock-chips.com>
  13. video: rockchip/mpp_device: add VPU decoder

    hizukiayaka committed Nov 16, 2017
    There are two modules for the different generation of
    the VPU decoder. The register of  the VPU decoder
    usually have an offset to the VPU base.
    
    Please notice that the encoder of the VPU is supported
    in the other module.
    
    The decoder and encoder of the VPU usually share some
    hardware resources(Not the RK3328, the encoders at that
    platform share the resources), so they will be regarded
    as an combo sharing the same mpp service in this design
    of the mpp driver.
    
    The Post Processor is not supported now (Only work for
     JPEG decoder). I am planning to move it into the
    other module.
    
    Change-Id: Ic5d1f4f6ad9b58bc805e6edeace3a5fa23d74e20
    Signed-off-by: ayaka <ayaka@soulik.info>
    Signed-off-by: Randy Li <randy.li@rock-chips.com>
  14. video: rockchip/mpp_device: add rockchip decoder

    hizukiayaka committed Nov 2, 2017
    Both rockchip video decoder and rockchip HEVC decoder
    are supported by this driver.
    
    Change-Id: Ie5e23db3191a71784aca41f1f7d2d4f89ce27a52
    Signed-off-by: Randy Li <randy.li@rock-chips.com>
    Signed-off-by: ayaka <ayaka@soulik.info>
  15. video: rockchip/mpp_service: switching in multiple sequences

    hizukiayaka committed Apr 18, 2018
    --------------    ---------------    ------------------
    |            |    |             |    | mpp device     |
    | mpp device |<-->| mpp service |<-->|  implementation|
    |    top     |    |             |    |  and buttom    |
    --------------    ---------------    ------------------
    
    The device class of the mpp service will be create at
    the module loading time. But the class for the mpp device
    will create at the mpp common device.
    
    The power and clocks management have been left to the
    power domain, so the combo device won't worry whether
    those things are ready when the device is going to run.
    
    It won't work for the link table mode. The steps of the lock
    are fine at the most of time, but we need a way to push
    a bunch of tasks to run then wait them done. I also need a way
    to insert new task.
    
    TODO:
    1. Device scheduler
    
    Change-Id: I4abae5fa054a583fbb4a49fc68726ce8405f2901
    Signed-off-by: Randy Li <randy.li@rock-chips.com>
    Signed-off-by: ayaka <ayaka@soulik.info>
  16. video: rockchip/mpp_device: new common device design

    hizukiayaka committed Oct 31, 2017
    --------------    ---------------    ------------------
    |            |    |             |    | mpp device     |
    | mpp device |<-->| mpp service |<-->|  implementation|
    |    top     |    |             |    |  and buttom    |
    --------------    ---------------    ------------------
    
    The mpp common device will do the top part, but still allow
    the mpp device implementation change the default behaviour.
    
    The mpp device implementation will register itself to the mpp
    device framework. But the mpp common device is the base
    class not the top class. The  mpp common device framework
    also in charge of the communication with mpp service.
    
    The clocks and power are all moved into the runtime power
    domain management, we don't need to assign the clocks
    in the driver but leaves those work to the rockchip power
    domain and common driver, we just need to configure the clocks
    in our device node.
    
    The link mode will be regard as a bundle of tasks.
    
    The functions with rockchip_mpp_* prefix are used
    internal for the task operation.
    
    This device mode is not just suitable for the video IP but
    also IEP I think.
    
    I now make the mpp common device become a module and
    a different mpp device implementation will be module as well.
    
    The iommu and video acceleration can work independently.
    
    Change-Id: I97dd4eaf20a925f820133a6cb2d954fb97367cb3
    Signed-off-by: Randy Li <randy.li@rock-chips.com>
    Signed-off-by: ayaka <ayaka@soulik.info>
  17. dt-bindings: Update documentation for rockchip media

    hizukiayaka committed Apr 24, 2018
    Change-Id: Iad2ac92108cfa95e0e8ff9b410a548e8dbf85633
    Signed-off-by: Randy Li <randy.li@rock-chips.com>
  18. [WIP]: clk: rockchip: rk3036: add clock mux for hevc and vpu

    hizukiayaka committed Feb 6, 2018
    I add a fake node into the clocks tree.  The HEVC and VPU are
    sharing the same clocks, but iommu doesn't need the clk_hevc_core,
    so I add this fake node at the aclk_vcodec_pre.
    
    Change-Id: I5691b7003c9d5ce03510e7b9784bad8499bb63e0
    Signed-off-by: Randy Li <randy.li@rock-chips.com>
  19. [WIP]: iommu/rockchip: move the clock control to power domain

    hizukiayaka committed Nov 19, 2017
    The runtime power domain management framework can drive the
    clocks of device rely the power state. With help of PM framework,
    we can clock the power more easily.
    
    Change-Id: Ifac5f7b0fc4f53ab4b1b90090b32cee4299dd650
    Signed-off-by: ayaka <ayaka@soulik.info>
  20. [WIP]: iommu/rockchip: add support for of loading

    hizukiayaka committed Jan 12, 2018
    The iommu detach won't work when there are two master devices
    for the iommu.
    
    Change-Id: Iab05a5914cdf3a7c18df9b3fff0a0a003c791aed
    Signed-off-by: Simon Xue <xxm@rock-chips.com>
    Signed-off-by: Randy Li <randy.li@rock-chips.com>
    Signed-off-by: ayaka <ayaka@soulik.info>
  21. [TEST]: ARM64: dts: rockchip: disable vop iommus auto loading

    hizukiayaka committed Jan 11, 2018
    Change-Id: Ia16abca567c9229ac04c09201766f0870e2c446e
    Signed-off-by: Randy Li <randy.li@rock-chips.com>
  22. [WIP]: rockchip: clk: add a new branch for combo device

    hizukiayaka committed Feb 10, 2018
    Change-Id: I4c51dde024d91b7da5a81603f88243ad62ff1c35
    Signed-off-by: Randy Li <randy.li@rock-chips.com>
  23. soc: rockchip: power-domain: ack the idle request

    hizukiayaka committed Feb 6, 2018
    I think the request and ack should match in the idle function.
    
    Change-Id: I2606f96ebd635ec5f63528197454cdc5113e8583
    Signed-off-by: Randy Li <randy.li@rock-chips.com>
Commits on May 19, 2018
  1. UPSTREAM: iio: light: vl6180: Correct ALS scale for non-default gain/…

    StefanBruens authored and Ziyuan Xu committed Sep 24, 2017
    …integration time
    
    The reported scale was only correct for the default settings of 100 ms
    integration time and gain 1.
    
    This aligns the reported scale with the behaviour of any other IIO driver
    and the documented ABI, but may require userspace changes if someone uses
    non-default settings.
    
    Change-Id: I969d50d317f20d05d26db74d497dba790b5a7c25
    Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
    Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
    Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
    (cherry picked from commit 3525d7c)
  2. UPSTREAM: iio: light: vl6180: Cleanup als_gain lookup, avoid register…

    StefanBruens authored and Ziyuan Xu committed Sep 24, 2017
    … readback
    
    Instead of manually iterating the array of allowed gain values, use
    find_closest. Storing the current gain setting avoids accessing the
    hardware on each query.
    
    Change-Id: Ibd41d58d50c29fdf17609d0323d8d54bdf3109a7
    Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
    Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
    Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
    (cherry picked from commit e794bf6)
  3. UPSTREAM: iio: light: vl6180: Avoid readback of integration time regi…

    StefanBruens authored and Ziyuan Xu committed Sep 24, 2017
    …ster
    
    Instead of reading the value from the register on each query, store the
    set value.
    
    Change-Id: If7930543623f78abb67f33106c0c0a12d4e1ac33
    Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
    Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
    Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
    (cherry picked from commit df698c0)
  4. UPSTREAM: iio: light: vl6180: Move range check to integration time se…

    StefanBruens authored and Ziyuan Xu committed Sep 24, 2017
    …tter, cleanup
    
    This improves code uniformity (range checks for als_gain are also done
    in the setter). Also unmangle rounding and calculation of register value.
    
    The calculated integration time it_ms is required in the next patch of
    the series.
    
    Change-Id: I5a315428927056b72899e303019d64f20ee34cbf
    Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
    Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
    Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
    (cherry picked from commit 1e2ed3d)
  5. UPSTREAM: iio:light: Add support for STMicro VL6180 sensor

    Mani-Sadhasivam authored and Ziyuan Xu committed Mar 19, 2017
    This patch adds support for STMicro VL6180 - ALS, range and proximity sensor. Sensor is capable of measuring the light
    intensity as well as object distance using TOF (Time of Flight) technology.
    
    Change-Id: I5ad6d2c2a93d5906aebfda6cb2cff332bc7c2462
    Signed-off-by: Manivannan Sadhasivam <manivannanece23@gmail.com>
    Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
    Acked-by: Rob Herring <robh@kernel.org>
    Signed-off-by: Jonathan Cameron <jic23@kernel.org>
    Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
    (cherry picked from commit 5e7f47e)
Commits on May 18, 2018
  1. arm: dts: rockchip: remove lane-rate and mipi_dsi_num defined of rk32…

    Zorro Liu authored and rkhuangtao committed May 18, 2018
    …88-th804 board
    
    Change-Id: Ic987f8d95e188579813e15b1622ac9f2f998b33b
    Signed-off-by: Zorro Liu <lyx@rock-chips.com>
  2. phy/rockchip: inno-hdmi: round rk3328 recalc frac rate by 1000Hz

    Zheng Yang authored and rkhuangtao committed May 18, 2018
    For pixel clock is rounded by 1000Hz, the recalcated clock rate
    of fractional frame rate mode, such 59.94/29.97/23.97Hz, is need
    to take the 1000Hz rounding. Otherwise it will not find the pre-pll
    settings when powering up phy.
    
    Change-Id: I0f02bbede9314d57d97c539cd995eb0f67295cfd
    Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
  3. power: cw201x: add power_supply property for CTS.

    Shunqing Chen
    Shunqing Chen committed May 18, 2018
    Change-Id: Ia342ef45a4e936be3e9ba200b41cfabfcbe5f927
    Signed-off-by: Shunqing Chen <csq@rock-chips.com>