- Mar 23, 2023
-
-
Lucas Anibal Tanure Alves authored
Signed-off-by:
Lucas Tanure <lucas.tanure@collabora.com> Change-Id: I669a1f4509dd4ac452bc64556b67b7de256fc5fb
-
Lucas Anibal Tanure Alves authored
Signed-off-by:
Lucas Tanure <lucas.tanure@collabora.com> Change-Id: Ic4711d33140dbb4bb7c6a67306dab1c12dc6802d
-
- Mar 16, 2023
-
-
Lucas Anibal Tanure Alves authored
Enable PCIE2.0x1 @fe190000 for RTL8125 network controller in Rock 5B board. This is based on prior work from XiaoDong Huang and Peter Geis fixing this issue specifically for Rockchip 356x. Signed-off-by:
Lucas Tanure <lucas.tanure@collabora.com> Change-Id: Ib01a1a49234167932ea89c8ac5f830e4385ecf75
-
Lucas Anibal Tanure Alves authored
Add PCIE2.0x1 lane @fe190000 phy node for RK3588s. This lane is used for network controller RTL8125 in ROCK 5B. This is based on prior work from XiaoDong Huang and Peter Geis fixing this issue specifically for Rockchip 356x. Signed-off-by:
Lucas Tanure <lucas.tanure@collabora.com> Change-Id: Ib4e9373b0898514d5cf1f0ae3c6964bbd13286ce
-
Lucas Anibal Tanure Alves authored
Add support for Interrupts to be translated by the GIC-600 Interrupt Translation Service (ITS). ITS provides a software mechanism for translating message-based interrupts into Locality-specific Peripheral Interrupts (LPIs). This is based on prior work from XiaoDong Huang and Peter Geis fixing this issue specifically for Rockchip 356x. Plus comments of Robin Murphy about Non-Coherent properties. Signed-off-by:
Lucas Tanure <lucas.tanure@collabora.com> Change-Id: I0efa949d79f26119d129b9e55a1fefa4946ed3b6
-
Lucas Anibal Tanure Alves authored
Add support for RK3588 combo phy This is based on prior work from XiaoDong Huang and Peter Geis fixing this issue specifically for Rockchip 356x. Co-developed-by:
Andrew Powers-Holmes <aholmes@omnom.net> Signed-off-by:
Andrew Powers-Holmes <aholmes@omnom.net> Signed-off-by:
Lucas Tanure <lucas.tanure@collabora.com>
-
Lucas Anibal Tanure Alves authored
RK3568 Naneng Combo Phy driver can support RK3588 with the additional clocks and initial configuration, so add the compatible line. Signed-off-by:
Lucas Tanure <lucas.tanure@collabora.com> Acked-by:
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Change-Id: I90aef072ef11729c8b1346aa4d8cdf792894f498
-
Lucas Anibal Tanure Alves authored
PCIe for RK3588 is the same as RK3568. Signed-off-by:
Lucas Tanure <lucas.tanure@collabora.com> Change-Id: Ibbda0f21d052b447ee633f6b21f6baeca9c7eb5a
-
Lucas Anibal Tanure Alves authored
The GIC600 integration in RK356x, used in rk3588, doesn't support any of the shareability or cacheability attributes, and requires both values to be set to 0b00 for all the ITS and Redistributor tables. This is loosely based on prior work from XiaoDong Huang and Peter Geis fixing this issue specifically for Rockchip 356x. Suggested-by:
Robin Murphy <robin.murphy@arm.com> Signed-off-by:
Lucas Tanure <lucas.tanure@collabora.com> Change-Id: I4821086a9723bbe163b81775b85120aefc8d69d5
-
- Mar 15, 2023
-
-
Sebastian Reichel authored
Merge Cristian Ciocaltea's patches adding analog audio support to Rock 5B. Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-
Add sdmmc node and it's regulators for sd card support Signed-off-by:
Lucas Tanure <lucas.tanure@collabora.com> Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-
Add sdmmc support for Rock Pi 5A board. Signed-off-by:
Lucas Tanure <lucas.tanure@collabora.com> Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-
Add support for rk806 single configuration PMIC in Rock Pi 5A and 5B. Signed-off-by:
Lucas Tanure <lucas.tanure@collabora.com> Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-
Add SD Card node for RK3588s and RK3588. Co-developed-by:
Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by:
Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by:
Lucas Tanure <lucas.tanure@collabora.com> Link: https://lore.kernel.org/r/20230228103610.25108-1-lucas.tanure@collabora.com Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-
Build a Kernel .deb pacakge in GitLab CI. Signed-off-by:
Christopher Obbard <chris.obbard@collabora.com>
-
Add regulator information for the CPU and enable the thermal sensor to have working cpu frequency scaling. Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-
Add required bits for CPU frequency scaling to the Rockchip 3588 devicetree. This is missing the 2.4 GHz operating point for the big cpu clusters, since that does not work well on all SoCs. Downstream has a driver for PVTM, which reduces the requested frequencies based on (among other things) silicon quality. Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-
This is a heavily modified port from the downstream driver. Downstream used it for multiple rockchip generations, while upstream just used the generic cpufreq-dt driver so far. For rk3588 this is no longer good enough, since two regulators need to be controlled. Also during shutdown the correct frequency needs to be configured for the big CPU cores to avoid a system hang when firmware tries to bring them up at reboot time. Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-
This adds PMIC support for the RK3588 EVB. Signed-off-by:
shengfei Xu <xsf@rock-chips.com> Co-developed-by:
shengfei Xu <xsf@rock-chips.com> Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-
Update the defconfig for the new RK8XX MFD config name, which got split to add SPI support. Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-
Cristian Ciocaltea authored
Add the necessary DT nodes for the Rock 5B board to enable the analog audio support provided by the Everest Semi ES8316 codec. Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
-
Cristian Ciocaltea authored
In addition to the five I2S/PCM/TDM controllers and the two I2S/PCM controllers shared between the RK3588 and RK3588S SoCs, RK3588 contains another four I2S/PCM/TDM controllers. Add the DT nodes corresponding to the additional controllers. Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
-
Cristian Ciocaltea authored
There are five I2S/PCM/TDM controllers and two I2S/PCM controllers embedded in the RK3588 and RK3588S SoCs. Add the DT nodes corresponding to the above mentioned Rockchip controllers. Also note RK3588 SoC contains four additional I2S/PCM/TDM controllers, which are handled via a separate patch. Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
-
Cristian Ciocaltea authored
The Rockchip I2S driver supports the RK3588/RK3588S SoCs, hence add the corresponding compatible string. Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
-
Cristian Ciocaltea authored
Add new compatible string for the Rockchip I2S/PCM controller found on RK3588 and RK3588S SoCs. Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
-
Cristian Ciocaltea authored
The binding document is missing the power-domains property. Add it. Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
-
Cristian Ciocaltea authored
Document the 'port' property to allow the Rockchip I2S TDM controller to be used in conjunction with the audio-graph-card. The property will be used to provide an endpoint for binding to the other side of the audio link. Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
-
Cristian Ciocaltea authored
The Rockchip I2S controller is currently used in conjunction with audio-graph-card to provide an endpoint for binding with the other side of the audio link. This is achieved via the 'port' property, which is not allowed: rk3399-rockpro64.dtb: i2s@ff890000: Unevaluated properties are not allowed ('port' was unexpected) Fix the issue by documenting the missing property. Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
-
Cristian Ciocaltea authored
The ES8316 codec is currently used in conjunction with audio-graph-card to provide an endpoint for binding with the other side of the audio link. This is achieved via the 'port' property, which is not allowed: rk3399-rockpro64.dtb: codec@11: Unevaluated properties are not allowed ('port' was unexpected) Fix the issue by documenting the missing property. Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
-
Cristian Ciocaltea authored
Commit 370f696e ("dt-bindings: serial: snps-dw-apb-uart: add dma & dma-names properties") documented dma-names property to handle Allwiner D1 dtbs_check warnings, but relies on a strict rx->tx ordering, which is the reverse of what a different board expects: rk3326-odroid-go2.dtb: serial@ff030000: dma-names:0: 'rx' was expected A quick and incomplete check shows the inconsistency is present in many other DT files: $ git grep -A10 snps,dw-apb-uart | grep dma-names | sort -u arch/arm64/boot/dts/rockchip/px30.dtsi- dma-names = "tx", "rx"; arch/arm64/boot/dts/rockchip/rk3328.dtsi- dma-names = "tx", "rx"; arch/arm64/boot/dts/rockchip/rk3588s.dtsi- dma-names = "tx", "rx"; arch/arm/boot/dts/rk3066a.dtsi- dma-names = "tx", "rx"; arch/arm/boot/dts/rk3128.dtsi- dma-names = "tx", "rx"; arch/arm/boot/dts/rk3288.dtsi- dma-names = "tx", "rx"; arch/arm/boot/dts/rv1126.dtsi- dma-names = "tx", "rx"; arch/arm/boot/dts/socfpga.dtsi- dma-names = "tx", "rx"; arch/arm/boot/dts/sun6i-a31.dtsi- dma-names = "rx", "tx"; arch/arm/boot/dts/sun8i-a23-a33.dtsi- dma-names = "rx", "tx"; arch/arm/boot/dts/sun8i-v3s.dtsi- dma-names = "rx", "tx"; arch/arm/boot/dts/sunxi-h3-h5.dtsi- dma-names = "rx", "tx"; arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi- dma-names = "rx", "tx"; Do not enforce the order of the dma-names items. Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
-
Cristian Ciocaltea authored
Since commit df4fdd0d ("dt-bindings: firmware: arm,scmi: Restrict protocol child node properties") the following dtbs_check warning is shown: rk3588-rock-5b.dtb: scmi: protocol@14: Unevaluated properties are not allowed ('assigned-clock-rates', 'assigned-clocks' were unexpected) Add the missing properties. Signed-off-by:
Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
-
- Mar 07, 2023
-
-
Add a new compatible for the thermal sensor device on RK3588 SoCs. Reviewed-by:
Heiko Stuebner <heiko@sntech.de> Acked-by:
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-
The RK3588 SoC has seven temperature sensor ADC channels: - Chip Center - CPU Cluster 1 (Dual A76 "Big" Cores) - CPU Cluster 2 (Dual A76 "Big" Cores) - CPU Cluster 0 (Quad A55 "Little" Cores) - Power Domain Center - Graphics Processing Unit - Neural Processing Unit Signed-off-by:
Finley Xiao <finley.xiao@rock-chips.com> [rebase, squash fixes] Reviewed-by:
Heiko Stuebner <heiko@sntech.de> Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-
Dynamically allocate the sensors array based on the amount of platform sensors in preparation for rk3588 support, which needs 7 sensors. Reviewed-by:
Heiko Stuebner <heiko@sntech.de> Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-
Replace the channel ID lookup table by a simple offset, since the channel IDs are consecutive. Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-
Use dev_err_probe to simplify error printing in the driver's probe routine. Reviewed-by:
Heiko Stuebner <heiko@sntech.de> Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-
By using devm_clk_get_enabled() the clock acquisition and enabling can be done in one step with automatic error handling. Reviewed-by:
Heiko Stuebner <heiko@sntech.de> Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-
It's possible to directly get the match data in a generic way nowadays. Reviewed-by:
Heiko Stuebner <heiko@sntech.de> Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-
Add rk806 support to the existing rk808 regulator driver. This has been implemented using shengfei Xu's rk806 specific driver from the vendor tree as reference. Co-Developed-by:
shengfei Xu <xsf@rock-chips.com> Signed-off-by:
shengfei Xu <xsf@rock-chips.com> Reviewed-by:
Matti Vaittinen <mazziesaccount@gmail.com> Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-
Expose and document the table lookup logic used by regulator_set_ramp_delay_regmap, so that it can be reused for devices that cannot be configured via regulator_set_ramp_delay_regmap. Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-