summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2018-05-25rk3399-puma-peafowl.dts: use tx1rx1 name consistentlyJakob Unterwurzacher
2018-05-24Add pclkJakob Unterwurzacher
2018-05-24Add rk3399-puma-peafowl.dtsJakob Unterwurzacher
Theobroma Systems RK3399-Q7 "Puma" with HDMI to CSI adapter "Peafowl". Uses the Toshiba TC358749 chip.
2018-05-14arm64: rockchip: rk3399-puma: enable memory frequency scalingJakob Unterwurzacher
DDR memory frequency scaling is called DMC (dynamic memory controller) in the RK3399 SoC. Enable it in the DTS and in the defconfig. To improve the reaction time of the rockchip_dmc governor, CONFIG_HZ_PERIODIC is enabled, at the cost of a 3% idle power increase. I see worst case reaction times of tens of seconds without it, because devfreq_dmc_ondemand_func does not get to run. The upthreshold and downdifferential values in the DTS are more aggressive than what rockchip uses. This improves U-Boot make -j6 compile time by 8%. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2018-05-09arm64: rockchip: add rk3399-puma-spidev.dtsKlaus Goger
This devicetree adds spidev nodes to the spi5 bus as enhancement to the rk3399-puma.dts. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2018-05-09arm64: dts: rockchip: set powerdomain for spi5 on rk3399Klaus Goger
Access to the spi5 peripheral when powered down halts the system rendering it unresponsive. Define the powerdomain in the rk3399.dtsi to prevent a shutdown when the peripheral is used. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2018-05-09Reduce SD IO Voltage to 3.0VKlaus 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>
2018-05-09arm64: rockchip: add dts + defconfig for RK3399-Q7 (Puma) SoMJakob Unterwurzacher
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>
2018-04-28arm64: rk3308_linux_defconfig: enable HARDLOCKUP_PANIC/PANIC_ON_OOPS and ↵Tao Huang
PANIC_TIMEOUT=1 Make sure kernel panic and reboot when something wrong. Change-Id: Iaed051431fa4ae2fb5bdd952737deb07a24a33c1 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2018-04-27arm64: dts: rockchip: Enable dmc for rk3308-evb-10 boardFinley Xiao
The ATF must contain the following commit: 35e0de42e8ac ("plat: rk3308: dfs: add ddr_get_rate implement") Change-Id: Idf22418b830c9a1f4ebd2c9b19dc7345bc4cf1c6 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-04-27arm64: dts: rockchip: rk3368: add spdif nodeXinhuang Li
Change-Id: Ife612c36f3249cc44a97525eff9f4d3c3d751812 Signed-off-by: Xinhuang Li <buluess.li@rock-chips.com>
2018-04-27arm64: rockchip_defconfig: enable vop dump buf debug nodeShixiang Zheng
Change-Id: I4149982d553b11fc9dedc51d45df5864880ffca0 Signed-off-by: Shixiang Zheng <shixiang.zheng@rock-chips.com>
2018-04-27arm: rockchip_linux_defconfig: enable MALI_PWRSOFT_765 for midgard DDK r18Zhen Chen
Change-Id: Ic2e643dfa991bf24a6be509b42fa4056c794f699 Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
2018-04-27arm: dts: rockchip: Change cpu opp-microvolt form one entry to threeFinley Xiao
Single entry is for target voltage and three entries are for <target min max> voltages. Change cpu opp-microvolt form one entry to three entries and set maximum acceptable voltage to a high value so that regulator device can supply multiple consumers at the same time. Change-Id: I3a0dc4e161bae33e36b232c36a0a05a3102359ef Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-04-27ARM64: dts: rockchip: px5: fix pmu and ddr configs.Jason Song
Change-Id: I7bed4caac70b430752bc6338d15554901892144a Signed-off-by: Jason Song <sxj@rock-chips.com>
2018-04-27ARM64: dts: rockchip: add ramoops support for rk3368-androidJason Song
Change-Id: If570260ce12fd2afc678cefcbfe1a2641b5253d9 Signed-off-by: Jason Song <sxj@rock-chips.com>
2018-04-27arm64: dts: rockchip: rk3326-evb-linux-lp3-v10: add the ov5695 for rk3326 mipiCaesar Wang
This patch adds the ov5695 releated configure with rk3326 mipi/isp. Change-Id: I62d6d8854d7e66fac521b3fea0f4dd35dc2799c4 Signed-off-by: Caesar Wang <wxt@rock-chips.com>
2018-04-27arm: dts: rockchip: update tsadc's pinctrl for rk3288Rocky Hao
we set cru reset as tshut's default mode, i.e. hw-tshut-mode = <0>, and otp_gpio mode is set accordingly. if gpio mode is set, i.e. hw-tshut-mode = <1>, otp_out is set accordingly. Change-Id: I3cb4588fec171e2867a326f55c2115b1da927ac3 Signed-off-by: Rocky Hao <rocky.hao@rock-chips.com>
2018-04-26arm64: dts: rockchip: support board-irdrop for rk3326-863 boardTony Xie
Change-Id: I3ccb3c6426d08dc1a186f86d86391a8e307e6e1b Signed-off-by: Tony Xie <xxx@rock-chips.com>
2018-04-26arm64: dts: rockchip: px30: modify voltage for gpu 200MHz and 300MhzFinley Xiao
Change-Id: Ifbd3117d3999b322951df458a12cfe488954803d Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-04-26arm64: dts: rockchip: Enable dmc for px30/rk3326Liang Chen
Change-Id: I47c08b9fcd12c21c3cc4731617ebfe4331a0ac72 Signed-off-by: Liang Chen <cl@rock-chips.com> Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-04-26arm64: dts: rockchip: support complete_irq in dmc node for px30.Tony Xie
Change-Id: I99e474f323cf57a15e1ed7431bafe3514aedc603 Signed-off-by: Tony Xie <tony.xie@rock-chips.com>
2018-04-26arm64: dts: rockchip: increase mcu frequency to 97mhz for rk3399CanYang He
mcu run at 97MHz to reduce lpddr4 scale frequency elapsed time Change-Id: Ie2805eaf0d902c9531819217d05a86775d85f809 Signed-off-by: CanYang He <hcy@rock-chips.com>
2018-04-26arm64: dts: rockchip: support lpddr4 for rk3399CanYang He
1. modify lpddr4 setting in rk3399-dram-default-timing.dts 2. add a dts file for evb-rev3 lpddr4 3. using sram buffer for pcm buffer Change-Id: Id52e9e4b5c366ec61bfb4818d3a14a4ea2024806 Signed-off-by: CanYang He <hcy@rock-chips.com> Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2018-04-25arm64: rockchip_linux_defconfig: enable the gt1x for linuxCaesar Wang
As the rk3326 board used panel with the gt1x tp for working, Change-Id: Id46765922a6986b34100c20db0b218090b36aa07 Signed-off-by: Caesar Wang <wxt@rock-chips.com>
2018-04-25arm64: rockchip_linux_defconfig: enable BIFROST Mali for linuxCaesar Wang
In order to support the rk3326 mali on linux platform, enabling the BIFROST Mali config for linux. As the mali driver had supported for linux with the below commits[0]. And the linux platform didn't need to loade the mali module for working. commits[0]: 2aee160 MALI: bifrost: RK: There are a few modifications in some 'Kbuild' and 'Kconfig' files. e5ccb3a MALI: bifrost: RK: add separate src dir of Bifrost driver for RK Linux device Change-Id: I1cbd8515aab8a7bd23ab31db1743a4b8c723d81d Signed-off-by: Caesar Wang <wxt@rock-chips.com>
2018-04-25arm: rockchip_defconfig: enable CONFIG_MALI_PWRSOFT_765 for midgard DDK r18Zhen Chen
Change-Id: Ica3b4a1feef6acd9e2d0881091ced3dc086465d3 Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
2018-04-25arm64: dts: rockchip: add headphone detection by codec for RK3308 EVBXing Zheng
This patch using codec detect headphone via simple-card on RK3308 EVB, it needs add the default widgets "Headphones" for registering soc-jack. Change-Id: I9819aa05e8d186d32d9363cfe619782783c67dd0 Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2018-04-24arm: rockchip_linux_config: enable scsi scan asyncWilliam Wu
Enable CONFIG_SCSI_SCAN_ASYNC to probe device on different buses in parallel, it can speed up the USB 3.0 UAS disk enumeration on rockchip platform. Change-Id: I0db76b9326b9ea2700f925ed9d79c2c9470228e7 Signed-off-by: William Wu <william.wu@rock-chips.com>
2018-04-24arm64: rockchip_linux_defconfig: enable scsi scan asyncWilliam Wu
Enable CONFIG_SCSI_SCAN_ASYNC to probe device on different buses in parallel, it can speed up the USB 3.0 UAS disk enumeration on rockchip platform. Change-Id: I30afc13928c8ea6eac16e3a96ef1f79b6bda56ae Signed-off-by: William Wu <william.wu@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-21arm64: dts: rockchip: move acodec sound node to rk3308-evb-v10.dtsiXing Zheng
The acodec part is shared with the RK3308 EVB, so that users can select an external sound card device as required. Change-Id: I42c1de879ba14a693c161a401ecf5ba6a8d39cd0 Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2018-04-19ARM: dts: rockchip: add hdmi node for rk3128Huicong Xu
Change-Id: I56437be5982740605052bc5d06e801996b198478 Signed-off-by: Huicong Xu <xhc@rock-chips.com>
2018-04-19arm64: dts: rockchip: update opp-table for rk3308shengfei Xu
Analysis the data of different leakage, if the frequency is 1.2G, then the voltage must be 1200mV. Change-Id: I5160cf2ec7bab48172f549b138881656b9538cd3 Signed-off-by: shengfei Xu <xsf@rock-chips.com>
2018-04-19arm: dts: rockchip: add grf reference for vopSandy Huang
add grf reference for rk3288,rk3368,px30 vop Change-Id: I89b620b2df45f83bdfc36dd64168107beee9b9fb Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2018-04-19arm64: dts: rockchip: update pinctrl for px30Rocky Hao
1 move pinctrl into board level dts file. 2 remove pinctrl for sleep state. in sleep state we do not change pin control and keep the pin control in otp state, which is used by atf as a flag to control pmic's state. Change-Id: Ib68b20d4f4ba79d99255f1deb509ff8a741deef2 Signed-off-by: Rocky Hao <rocky.hao@rock-chips.com>
2018-04-19Revert "arm64: dts: rockchip: rk3308-evb-v10: Add ↵Finley Xiao
regulator-early-min-microvolt for core" This reverts commit 602e4a09691e24def020709bb59b6bb4a10847ea. Change-Id: If70202a1f8b6837c8804f054e0350b5a63c2e6c2 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-04-19arm64: dts: rockchip: assign 400KHz to i2c bus clock for rk3308-evbZiyuan Xu
Reduce about 8ms for led driver initialization time before: initcall is31fl32xx_driver_init+0x0/0x20 returned 0 after 14832 usecs after: initcall is31fl32xx_driver_init+0x0/0x20 returned 0 after 6270 usecs Change-Id: I3154efa154a484ccf8f9974c8148ff9895b1f68a Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
2018-04-19arm: dts: rockchip: force the bootargs for rk3288 linuxNickey Yang
Force bootargs for bring up rk3288-linux with RKIMG_BOOT. Change-Id: I43d03e51abddeb4c29fb4c94bbd2dba774b4abe5 Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
2018-04-18arm64: dts: rockchip: rk3326-evb-ai-va-v10lanshh
1. add lsensor and psensor 2. remove unused sensors 3. add unprepare-delay-ms up to 40 for panel device 4. add bt sco audio support Change-Id: Iedde0567f0cf4eaa099f7323e812a58f88c58d1e Signed-off-by: lanshh <lsh@rock-chips.com>
2018-04-18arm64: dts: rockchip: rk3308-evb-v10: Add regulator-early-min-microvolt for coreFinley Xiao
Change-Id: I2938c0ab6cbf383d49a2f41a6013c1df2567c22c Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-04-18arm64: dts: rockchip: rk3308: Add dmc nodeFinley Xiao
Change-Id: I50a9b7efaf1a1556bd4aed669a30477f292d06b8 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-04-18arm64: dts: rockchip: rk3308: Change cpu opp-microvolt form one entry to threeFinley Xiao
Single entry is for target voltage and three entries are for <target min max> voltages. Change cpu opp-microvolt form one entry to three entries and set maximum acceptable voltage to a high value so that regulator device can supply multiple consumers at the same time. Change-Id: I72e2efb9828432ee29773c8e1939a59062127ff7 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-04-18ARM: dts: add secure drm buffer for rk3229Xuhanrui
default disabled Change-Id: Iea0bfa746de22ba59e356e9eb1f2f957fabcda50 Signed-off-by: Hery Xu <xhr@rock-chips.com>
2018-04-18ARM: dts: add dts files for rk3128hZhangbin Tong
Add initial device tree nodes for rk3128h SoC Change-Id: If2e5e53e3b78ee6272b94be273b90f0b4861341a Signed-off-by: Zhangbin Tong <zebulun.tong@rock-chips.com>
2018-04-18arm64: dts: rockchip: support for rk3326 linuxLeo Wen
Change-Id: Idb2133eb6f2d99eaa69def1909968cded6a9c215 Signed-off-by: Leo Wen <leo.wen@rock-chips.com>
2018-04-18arm64: rockchip_linux_defconfig: add some configs for rk3326 linuxLeo Wen
Change-Id: I52bfb345e64cf8ae0bbd24ff737e50cbfbfb5861 Signed-off-by: Leo Wen <leo.wen@rock-chips.com>
2018-04-17arm64: dts: rockchip: clean up output ctl gpios for rk3308Xing Zheng
Add support hp-ctl gpio for amic board, and rename to spk-ctl from dtsi file. Usually, we should assign these output ctl gpios according to the specific product type. Change-Id: Icf0c29f61bed3c0f48069b9e38ddf47d921fed26 Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2018-04-17arm: dts: fix typo on nvmem-cell-names of gpu for rk3228Liang Chen
Change-Id: I4e54f11981c7ab7a8a96d28934f757136c986065 Signed-off-by: Liang Chen <cl@rock-chips.com>
2018-04-17ARM64: dts: rk3328-evb-android: Add inno hdmi phy configAlgea Cao
Change-Id: I9b1c4be3bbc69faafd1c8e605db03e4ff520b2ee Signed-off-by: Algea Cao <algea.cao@rock-chips.com>