-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add "WITH Linux-syscall-note" to SPDX tag of uapi headers #94
base: JH7110_VisionFive2_upstream
Are you sure you want to change the base?
add "WITH Linux-syscall-note" to SPDX tag of uapi headers #94
Commits on Mar 20, 2023
-
clk: starfive: Replace SOC_STARFIVE with ARCH_STARFIVE
Using ARCH_FOO symbol is preferred than SOC_FOO. Set obj-y for starfive/ in Makefile, so the StarFive drivers can be compiled with COMPILE_TEST=y but ARCH_STARFIVE=n. Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fc34f41 - Browse repository at this point
Copy the full SHA fc34f41View commit details -
clk: starfive: Factor out common JH7100 and JH7110 code
The clock control registers on the StarFive JH7100 and JH7110 work identically, so factor out the code then drivers for the two SoCs can share it without depending on each other. No functional change. Tested-by: Tommaso Merciai <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a0178bf - Browse repository at this point
Copy the full SHA a0178bfView commit details -
clk: starfive: Rename clk-starfive-jh7100.h to clk-starfive-jh71x0.h
Rename clk-starfive-jh7100.h to clk-starfive-jh71x0.h for making the code to be common. Tested-by: Tommaso Merciai <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f402fe - Browse repository at this point
Copy the full SHA 3f402feView commit details -
clk: starfive: Rename "jh7100" to "jh71x0" for the common code
Rename some variables from "jh7100" or "JH7100" to "jh71x0" or "JH71X0". Tested-by: Tommaso Merciai <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5aa27d1 - Browse repository at this point
Copy the full SHA 5aa27d1View commit details -
reset: starfive: Replace SOC_STARFIVE with ARCH_STARFIVE
Using ARCH_FOO symbol is preferred than SOC_FOO. Reviewed-by: Philipp Zabel <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3100fda - Browse repository at this point
Copy the full SHA 3100fdaView commit details -
reset: Create subdirectory for StarFive drivers
This moves the StarFive JH7100 reset driver to a new subdirectory in preparation for adding more StarFive reset drivers. Reviewed-by: Philipp Zabel <[email protected]> Tested-by: Tommaso Merciai <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 970f77a - Browse repository at this point
Copy the full SHA 970f77aView commit details -
reset: starfive: Factor out common JH71X0 reset code
The StarFive JH7100 SoC has additional reset controllers for audio and video, but the registers follow the same structure. On the JH7110 the reset registers don't get their own memory range, but instead follow the clock control registers. The registers still follow the same structure though, so let's factor out the common code to handle all these cases. Tested-by: Tommaso Merciai <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c2766bd - Browse repository at this point
Copy the full SHA c2766bdView commit details -
reset: starfive: Extract the common JH71X0 reset code
Extract the common JH71X0 reset code for reusing them to support JH7110 SoC. Tested-by: Tommaso Merciai <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 60825d5 - Browse repository at this point
Copy the full SHA 60825d5View commit details -
reset: starfive: Rename "jh7100" to "jh71x0" for the common code
For the common code will be shared with the StarFive JH7110 SoC. Tested-by: Tommaso Merciai <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f28947 - Browse repository at this point
Copy the full SHA 3f28947View commit details -
reset: starfive: jh71x0: Use 32bit I/O on 32bit registers
We currently use 64bit I/O on the 32bit registers. This works because there are an even number of assert and status registers, so they're only ever accessed in pairs on 64bit boundaries. There are however other reset controllers for audio and video on the JH7100 SoC with only one status register that isn't 64bit aligned so 64bit I/O results in an unaligned access exception. Switch to 32bit I/O in preparation for supporting these resets too. Tested-by: Tommaso Merciai <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d7759ec - Browse repository at this point
Copy the full SHA d7759ecView commit details -
dt-bindings: clock: Add StarFive JH7110 system clock and reset generator
Add bindings for the system clock and reset generator (SYSCRG) on the JH7110 RISC-V SoC by StarFive Ltd. Reviewed-by: Conor Dooley <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3ec262a - Browse repository at this point
Copy the full SHA 3ec262aView commit details -
dt-bindings: clock: Add StarFive JH7110 always-on clock and reset gen…
…erator Add bindings for the always-on clock and reset generator (AONCRG) on the JH7110 RISC-V SoC by StarFive Ltd. Reviewed-by: Conor Dooley <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 02592e1 - Browse repository at this point
Copy the full SHA 02592e1View commit details -
clk: starfive: Add StarFive JH7110 system clock driver
Add driver for the StarFive JH7110 system clock controller and register an auxiliary device for system reset controller which is named as "reset-sys". Tested-by: Tommaso Merciai <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Co-developed-by: Hal Feng <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5e91e89 - Browse repository at this point
Copy the full SHA 5e91e89View commit details -
clk: starfive: Add StarFive JH7110 always-on clock driver
Add driver for the StarFive JH7110 always-on clock controller and register an auxiliary device for always-on reset controller which is named as "reset-aon". Tested-by: Tommaso Merciai <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Co-developed-by: Hal Feng <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5f48958 - Browse repository at this point
Copy the full SHA 5f48958View commit details -
reset: starfive: Add StarFive JH7110 reset driver
Add auxiliary driver to support StarFive JH7110 system and always-on resets. Tested-by: Tommaso Merciai <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4e1b69a - Browse repository at this point
Copy the full SHA 4e1b69aView commit details -
dt-bindings: timer: Add StarFive JH7110 clint
Add compatible string for the StarFive JH7110 clint. Reviewed-by: Conor Dooley <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0bdb168 - Browse repository at this point
Copy the full SHA 0bdb168View commit details -
dt-bindings: interrupt-controller: Add StarFive JH7110 plic
Add compatible string for StarFive JH7110 plic. Reviewed-by: Conor Dooley <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c048fd4 - Browse repository at this point
Copy the full SHA c048fd4View commit details -
dt-bindings: riscv: Add SiFive S7 compatible
Add a new compatible string in cpu.yaml for SiFive S7 CPU core which is used on SiFive U74-MC core complex etc. Reviewed-by: Conor Dooley <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c4261b - Browse repository at this point
Copy the full SHA 6c4261bView commit details -
riscv: dts: starfive: Add initial StarFive JH7110 device tree
Add initial device tree for the JH7110 RISC-V SoC by StarFive Technology Ltd. Tested-by: Tommaso Merciai <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Co-developed-by: Jianlong Huang <[email protected]> Signed-off-by: Jianlong Huang <[email protected]> Co-developed-by: Hal Feng <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb1d449 - Browse repository at this point
Copy the full SHA eb1d449View commit details -
riscv: dts: starfive: Add StarFive JH7110 pin function definitions
Add pin function definitions for StarFive JH7110 SoC. Tested-by: Tommaso Merciai <[email protected]> Co-developed-by: Emil Renner Berthing <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Jianlong Huang <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 66e0703 - Browse repository at this point
Copy the full SHA 66e0703View commit details -
riscv: dts: starfive: Add StarFive JH7110 VisionFive 2 board device tree
Add a minimal device tree for StarFive JH7110 VisionFive 2 board which has version A and version B. Support booting and basic clock/reset/pinctrl/uart drivers. Tested-by: Tommaso Merciai <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Acked-by: Conor Dooley <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Co-developed-by: Jianlong Huang <[email protected]> Signed-off-by: Jianlong Huang <[email protected]> Co-developed-by: Hal Feng <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e280d0c - Browse repository at this point
Copy the full SHA e280d0cView commit details
Commits on Mar 21, 2023
-
riscv: dts: starfive: add pmu controller node
Add the pmu controller node for the Starfive JH7110 SoC. The PMU needs to be used by other modules such as VPU, ISP, etc. Signed-off-by: Walker Chen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d0f1483 - Browse repository at this point
Copy the full SHA d0f1483View commit details -
dt-bindings: soc: starfive: Add StarFive syscon doc
Add documentation to describe StarFive System Controller Registers. Signed-off-by: William Qiu <[email protected]> Reviewed-by: Conor Dooley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3748bac - Browse repository at this point
Copy the full SHA 3748bacView commit details -
riscv: dts: starfive: Add syscon node
Add stg_syscon/sys_syscon/aon_syscon node for JH7110 Soc. Signed-off-by: William Qiu <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Reviewed-by: Emil Renner Berthing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4eb32e1 - Browse repository at this point
Copy the full SHA 4eb32e1View commit details -
dt-bindings: clock: Add StarFive JH7110 System-Top-Group clock and re…
…set generator Add bindings for the System-Top-Group clock and reset generator (STGCRG) on the JH7110 RISC-V SoC by StarFive Ltd. Signed-off-by: Xingyu Wu <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4170791 - Browse repository at this point
Copy the full SHA 4170791View commit details -
reset: starfive: jh7110: Add StarFive System-Top-Group reset support
Add auxiliary_device_id to support StarFive JH7110 System-Top-Group resets of which the auxiliary device name is "clk_starfive_jh71x0.reset-stg". Signed-off-by: Xingyu Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c049246 - Browse repository at this point
Copy the full SHA c049246View commit details -
clk: starfive: Add StarFive JH7110 System-Top-Group clock driver
Add driver for the StarFive JH7110 System-Top-Group clock controller. Signed-off-by: Emil Renner Berthing <[email protected]> Co-developed-by: Xingyu Wu <[email protected]> Signed-off-by: Xingyu Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 99f2ae6 - Browse repository at this point
Copy the full SHA 99f2ae6View commit details -
dt-bindings: clock: Add StarFive JH7110 Image-Signal-Process clock an…
…d reset generator Add bindings for the Image-Signal-Process clock and reset generator (ISPCRG) on the JH7110 RISC-V SoC by StarFive Ltd. Signed-off-by: Xingyu Wu <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 16d1466 - Browse repository at this point
Copy the full SHA 16d1466View commit details -
reset: starfive: jh7110: Add StarFive Image-Signal-Process reset support
Add auxiliary_device_id to support StarFive JH7110 Image-Signal-Process resets of which the auxiliary device name is "clk_starfive_jh71x0.reset-isp". Signed-off-by: Xingyu Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d6a5d69 - Browse repository at this point
Copy the full SHA d6a5d69View commit details -
clk: starfive: Add StarFive JH7110 Image-Signal-Process clock driver
Add driver for the StarFive JH7110 Image-Signal-Process clock controller. Signed-off-by: Xingyu Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb5792e - Browse repository at this point
Copy the full SHA cb5792eView commit details -
dt-bindings: clock: Add StarFive JH7110 Video-Output clock and reset …
…generator Add bindings for the Video-Output clock and reset generator (VOUTCRG) on the JH7110 RISC-V SoC by StarFive Ltd. Signed-off-by: Xingyu Wu <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 87db461 - Browse repository at this point
Copy the full SHA 87db461View commit details -
reset: starfive: jh7110: Add StarFive Video-Output reset support
Add auxiliary_device_id to support StarFive JH7110 Video-Output resets of which the auxiliary device name is "clk_starfive_jh71x0.reset-vout". Signed-off-by: Xingyu Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e612495 - Browse repository at this point
Copy the full SHA e612495View commit details -
clk: starfive: Add StarFive JH7110 Video-Output clock driver
Add driver for the StarFive JH7110 Video-Output clock controller. Signed-off-by: Xingyu Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b111ca3 - Browse repository at this point
Copy the full SHA b111ca3View commit details -
riscv: dts: starfive: jh7110: Add DVP and HDMI TX pixel external clocks
Add DVP and HDMI TX pixel external fixed clocks and the rates are 74.25MHz and 297MHz. Signed-off-by: Xingyu Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 51232aa - Browse repository at this point
Copy the full SHA 51232aaView commit details -
riscv: dts: starfive: jh7110: Add STGCRG/ISPCRG/VOUTCRG nodes
Add STGCRG/ISPCRG/VOUTCRG new node to support JH7110 System-Top-Group, Image-Signal-Process and Video-Output clock and reset drivers for the JH7110 RISC-V SoC. Signed-off-by: Xingyu Wu <[email protected]> Reviewed-by: Conor Dooley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e26044 - Browse repository at this point
Copy the full SHA 2e26044View commit details -
dt-bindings: clock: Add StarFive JH7110 PLL clock generator
Add bindings for the PLL clock generator on the JH7110 RISC-V SoC. Signed-off-by: Xingyu Wu <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 496b3dc - Browse repository at this point
Copy the full SHA 496b3dcView commit details -
clk: starfive: Add StarFive JH7110 PLL clock driver
Add driver for the StarFive JH7110 PLL clock controller. Signed-off-by: Xingyu Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 770a9bd - Browse repository at this point
Copy the full SHA 770a9bdView commit details -
dt-bindings: soc: starfive: syscon: Add optional patternProperties
Add optional compatible and patternProperties. Signed-off-by: Xingyu Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a15b8db - Browse repository at this point
Copy the full SHA a15b8dbView commit details -
dt-bindings: clock: jh7110-syscrg: Add PLL clock inputs
Add PLL clock inputs from PLL clock generator. Signed-off-by: Xingyu Wu <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d4c14c1 - Browse repository at this point
Copy the full SHA d4c14c1View commit details -
clk: starfive: jh7110-sys: Modify PLL clocks source
Modify PLL clocks source to be got from dts instead of the fixed factor clocks. Signed-off-by: Xingyu Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3503fa9 - Browse repository at this point
Copy the full SHA 3503fa9View commit details -
riscv: dts: starfive: jh7110: Add PLL clock node and modify syscrg node
Add the PLL clock node for the Starfive JH7110 SoC and modify the SYSCRG node to add PLL clocks. Signed-off-by: Xingyu Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e7f175c - Browse repository at this point
Copy the full SHA e7f175cView commit details -
dt-bindings: watchdog: Add watchdog for StarFive JH7100 and JH7110
Add bindings to describe the watchdog for the StarFive JH7100/JH7110 SoC. And Use JH7100 as first StarFive SoC with watchdog. Signed-off-by: Xingyu Wu <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab78365 - Browse repository at this point
Copy the full SHA ab78365View commit details -
drivers: watchdog: Add StarFive Watchdog driver
Add watchdog driver for the StarFive JH7100 and JH7110 SoC. Signed-off-by: Xingyu Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 213dc21 - Browse repository at this point
Copy the full SHA 213dc21View commit details -
riscv: dts: starfive: jh7100: Add watchdog node
Add watchdog node for the StarFive JH7100 RISC-V SoC. Signed-off-by: Xingyu Wu <[email protected]> Reviewed-by: Emil Renner Berthing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e95a0a4 - Browse repository at this point
Copy the full SHA e95a0a4View commit details -
riscv: dts: starfive: jh7110: Add watchdog node
Add the watchdog node for the Starfive JH7110 SoC. Signed-off-by: Xingyu Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7224e0c - Browse repository at this point
Copy the full SHA 7224e0cView commit details -
dt-bindings: timer: Add timer for StarFive JH7110 SoC
Add bindings for the timer on the JH7110 RISC-V SoC by StarFive Technology Ltd. Signed-off-by: Xingyu Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e9efa99 - Browse repository at this point
Copy the full SHA e9efa99View commit details -
clocksource: Add StarFive timer driver
Add timer driver for the StarFive JH7110 SoC. Signed-off-by: Xingyu Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 13eefc4 - Browse repository at this point
Copy the full SHA 13eefc4View commit details -
riscv: dts: jh7110: starfive: Add timer node
Add the timer node for the Starfive JH7110 SoC. Signed-off-by: Xingyu Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 112004f - Browse repository at this point
Copy the full SHA 112004fView commit details -
riscv: dts: starfive: Add mmc node
Adds the mmc node for the StarFive JH7110 SoC. Set mmco node to emmc and set mmc1 node to sd. Signed-off-by: William Qiu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1565d66 - Browse repository at this point
Copy the full SHA 1565d66View commit details -
dt-bindings: qspi: cdns,qspi-nor: constrain minItems/maxItems of resets
The QSPI controller needs three reset items to work properly on JH7110 SoC, so there is need to change the maxItems's value to 3 and add minItems whose value is equal to 2. Other platforms do not have this constraint. Signed-off-by: William Qiu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 04907f5 - Browse repository at this point
Copy the full SHA 04907f5View commit details -
spi: cadence-quadspi: Add support for StarFive JH7110 QSPI
Add QSPI reset operation in device probe and add RISCV support to QUAD SPI Kconfig. Co-developed-by: Ziv Xu <[email protected]> Signed-off-by: Ziv Xu <[email protected]> Signed-off-by: William Qiu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a02af44 - Browse repository at this point
Copy the full SHA a02af44View commit details -
riscv: dts: starfive: jh7110: Add qspi controller node
Add the quad spi controller node for the Starfive JH7110 SoC. Signed-off-by: William Qiu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 78b7ec3 - Browse repository at this point
Copy the full SHA 78b7ec3View commit details -
dt-bindings: PWM: Add StarFive PWM module
Add documentation to describe StarFive Pulse Width Modulation controller driver. Signed-off-by: William Qiu <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5f55e7d - Browse repository at this point
Copy the full SHA 5f55e7dView commit details -
pwm: starfive: Add PWM driver support
Add Pulse Width Modulation driver support for StarFive JH7110 soc. Signed-off-by: Hal Feng <[email protected]> Signed-off-by: William Qiu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 50d9b82 - Browse repository at this point
Copy the full SHA 50d9b82View commit details -
riscv: dts: starfive: Add PWM node
Adding StarFive PWM controller node to VisionFive 2 SoC. Signed-off-by: William Qiu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a81b079 - Browse repository at this point
Copy the full SHA a81b079View commit details -
dt-bindings: net: snps,dwmac: Add dwmac-5.20 version
Add dwmac-5.20 IP version to snps.dwmac.yaml Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Samin Guo <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Tested-by: Tommaso Merciai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7f13b47 - Browse repository at this point
Copy the full SHA 7f13b47View commit details -
net: stmmac: platform: Add snps,dwmac-5.20 IP compatible string
Add "snps,dwmac-5.20" compatible string for 5.20 version that can avoid to define some platform data in the glue layer. Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Samin Guo <[email protected]> Tested-by: Tommaso Merciai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 87ec231 - Browse repository at this point
Copy the full SHA 87ec231View commit details -
dt-bindings: net: snps,dwmac: Add 'ahb' reset/reset-name
According to: stmmac_platform.c: stmmac_probe_config_dt stmmac_main.c: stmmac_dvr_probe dwmac controller may require one (stmmaceth) or two (stmmaceth+ahb) reset signals, and the maxItems of resets/reset-names is going to be 2. The gmac of Starfive Jh7110 SOC must have two resets. it uses snps,dwmac-5.20 IP. Signed-off-by: Samin Guo <[email protected]> Tested-by: Tommaso Merciai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d457a2a - Browse repository at this point
Copy the full SHA d457a2aView commit details -
dt-bindings: net: Add support StarFive dwmac
Add documentation to describe StarFive dwmac driver(GMAC). Signed-off-by: Yanhong Wang <[email protected]> Signed-off-by: Samin Guo <[email protected]> Tested-by: Tommaso Merciai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 072bb0f - Browse repository at this point
Copy the full SHA 072bb0fView commit details -
net: stmmac: Add glue layer for StarFive JH7110 SoC
This adds StarFive dwmac driver support on the StarFive JH7110 SoC. Co-developed-by: Emil Renner Berthing <[email protected]> Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Samin Guo <[email protected]> Tested-by: Tommaso Merciai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4cdcc13 - Browse repository at this point
Copy the full SHA 4cdcc13View commit details -
net: stmmac: starfive_dmac: Add phy interface settings
dwmac supports multiple modess. When working under rmii and rgmii, you need to set different phy interfaces. According to the dwmac document, when working in rmii, it needs to be set to 0x4, and rgmii needs to be set to 0x1. The phy interface needs to be set in syscon, the format is as follows: starfive,syscon: <&syscon, offset, shift> Signed-off-by: Samin Guo <[email protected]> Tested-by: Tommaso Merciai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e39c57 - Browse repository at this point
Copy the full SHA 6e39c57View commit details -
riscv: dts: starfive: jh7110: Add ethernet device nodes
Add JH7110 ethernet device node to support gmac driver for the JH7110 RISC-V SoC. Signed-off-by: Yanhong Wang <[email protected]> Signed-off-by: Samin Guo <[email protected]> Tested-by: Tommaso Merciai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e3ef8f - Browse repository at this point
Copy the full SHA 1e3ef8fView commit details -
riscv: dts: starfive: visionfive 2: Add configuration of gmac and phy
v1.3B: v1.3B uses motorcomm YT8531(rgmii-id phy) x2, need delay and inverse configurations. The tx_clk of v1.3B uses an external clock and needs to be switched to an external clock source. v1.2A: v1.2A gmac0 uses motorcomm YT8531(rgmii-id) PHY, and needs delay configurations. v1.2A gmac1 uses motorcomm YT8512(rmii) PHY, and needs to switch rx and rx to external clock sources. Signed-off-by: Samin Guo <[email protected]> Tested-by: Tommaso Merciai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 754b157 - Browse repository at this point
Copy the full SHA 754b157View commit details -
dt-bindings: hwmon: Add starfive,jh71x0-temp
Add bindings for the temperature sensor on the StarFive JH7100 and JH7110 SoCs. Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Hal Feng <[email protected]> Reviewed-by: Rob Herring <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d7afd3d - Browse repository at this point
Copy the full SHA d7afd3dView commit details -
hwmon: (sfctemp) Add StarFive JH71x0 temperature sensor
Add driver for the StarFive JH71x0 temperature sensor. You can enable/disable it and read temperature in milli Celcius through sysfs. Signed-off-by: Emil Renner Berthing <[email protected]> Co-developed-by: Samin Guo <[email protected]> Signed-off-by: Samin Guo <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a4c544 - Browse repository at this point
Copy the full SHA 8a4c544View commit details -
riscv: dts: starfive: jh7110: Add temperature sensor node
Add temperature sensor support for StarFive JH7110 SoC. Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 06ade2d - Browse repository at this point
Copy the full SHA 06ade2dView commit details -
riscv: dts: starfive: visionfive-2: Add thermal-zones
Add thermal-zones for StarFive VisionFive 2 board. Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Hal Feng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aba4738 - Browse repository at this point
Copy the full SHA aba4738View commit details
Commits on Mar 22, 2023
-
dt-bindings: dma: snps,dw-axi-dmac: constrain the items of resets for…
… JH7110 dma The DMA controller needs two reset items to work properly on JH7110 SoC, so there is need to constrain the items' value to 2, other platforms have 1 reset item at most. Signed-off-by: Walker Chen <[email protected]> Reviewed-by: Rob Herring <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9539bcf - Browse repository at this point
Copy the full SHA 9539bcfView commit details -
dmaengine: dw-axi-dmac: Add support for StarFive JH7110 DMA
Add DMA reset operation in device probe and use different configuration on CH_CFG registers according to match data. Update all uses of of_device_is_compatible with of_device_get_match_data. Signed-off-by: Walker Chen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a8a131e - Browse repository at this point
Copy the full SHA a8a131eView commit details -
riscv: dts: starfive: add dma controller node
Add the dma controller node for the Starfive JH7110 SoC. Signed-off-by: Walker Chen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 62d3103 - Browse repository at this point
Copy the full SHA 62d3103View commit details -
riscv: dts: starfive: Add TRNG node for VisionFive 2
Adding StarFive TRNG controller node to VisionFive 2 board. Co-developed-by: Jenny Zhang <[email protected]> Signed-off-by: Jenny Zhang <[email protected]> Signed-off-by: Jia Jie Ho <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fd6ede5 - Browse repository at this point
Copy the full SHA fd6ede5View commit details -
dt-bindings: crypto: Add StarFive crypto module
Add documentation to describe StarFive cryptographic engine. Co-developed-by: Huan Feng <[email protected]> Signed-off-by: Huan Feng <[email protected]> Signed-off-by: Jia Jie Ho <[email protected]> Reviewed-by: Rob Herring <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b30df28 - Browse repository at this point
Copy the full SHA b30df28View commit details -
crypto: starfive - Add crypto engine support
Adding device probe and DMA init for StarFive cryptographic module. Co-developed-by: Huan Feng <[email protected]> Signed-off-by: Huan Feng <[email protected]> Signed-off-by: Jia Jie Ho <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 63a7e88 - Browse repository at this point
Copy the full SHA 63a7e88View commit details -
riscv: dts: starfive: Add crypto and DMA node for VisionFive 2
Add StarFive cryptographic module and dedicated DMA controller node to VisionFive 2 SoCs. Co-developed-by: Huan Feng <[email protected]> Signed-off-by: Huan Feng <[email protected]> Signed-off-by: Jia Jie Ho <[email protected]> Acked-by: Palmer Dabbelt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5702dde - Browse repository at this point
Copy the full SHA 5702ddeView commit details -
crypto: starfive - Add hash and HMAC support
Adding hash/HMAC support for SHA-2 and SM3 to StarFive cryptographic module. Co-developed-by: Huan Feng <[email protected]> Signed-off-by: Huan Feng <[email protected]> Signed-off-by: Jia Jie Ho <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bd03e8a - Browse repository at this point
Copy the full SHA bd03e8aView commit details -
dt-bindings: phy: Add starfive,jh7110-dphy-rx
StarFive SoCs like the jh7110 use a MIPI D-PHY RX controller based on a M31 IP. Add a binding for it. Signed-off-by: Changhuang Liang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3970ccd - Browse repository at this point
Copy the full SHA 3970ccdView commit details -
phy: starfive: Add mipi dphy rx support
Add mipi dphy rx support for the StarFive JH7110 SoC. It is used to transfer CSI camera data. Signed-off-by: Changhuang Liang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a62573f - Browse repository at this point
Copy the full SHA a62573fView commit details -
riscv: dts: starfive: Add dphy rx node
Add dphy rx node for the StarFive JH7110 SoC. It is used to transfer CSI camera data. Signed-off-by: Changhuang Liang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d94aef1 - Browse repository at this point
Copy the full SHA d94aef1View commit details -
media: dt-bindings: Add bindings for JH7110 Camera Subsystem
Add the bindings documentation for Starfive JH7110 Camera Subsystem which is used for handing image sensor data. Signed-off-by: Jack Zhu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c996239 - Browse repository at this point
Copy the full SHA c996239View commit details -
media: dt-bindings: cadence-csi2rx: Convert to DT schema
Convert DT bindings document for Cadence MIPI-CSI2 RX controller to DT schema format and add new properties. Signed-off-by: Jack Zhu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 618208a - Browse repository at this point
Copy the full SHA 618208aView commit details -
media: admin-guide: Add starfive_camss.rst for Starfive Camera Subsystem
Add the file 'starfive_camss.rst' that documents the Starfive Camera Subsystem driver which is used for handing image sensor data. Signed-off-by: Jack Zhu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aedbdd6 - Browse repository at this point
Copy the full SHA aedbdd6View commit details -
media: cadence: Add support for external dphy and JH7110 SoC
Add support for external MIPI D-PHY and Starfive JH7110 SoC which has the cadence csi2 receiver. Signed-off-by: Jack Zhu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8bfe758 - Browse repository at this point
Copy the full SHA 8bfe758View commit details -
MAINTAINERS: Add Starfive Camera Subsystem driver
Add an entry for Starfive Camera Subsystem driver. Signed-off-by: Jack Zhu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 106091c - Browse repository at this point
Copy the full SHA 106091cView commit details -
media: starfive: Add Starfive Camera Subsystem driver
Add the driver for Starfive Camera Subsystem found on Starfive JH7110 SoC. It is used for handing image sensor data. Signed-off-by: Jack Zhu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5cf8a5f - Browse repository at this point
Copy the full SHA 5cf8a5fView commit details -
dt-bindings: phy: Add StarFive JH7110 USB/PCIe document
Add StarFive JH7110 SoC USB 2.0/3.0 and PCIe 2.0 PHY dt-binding. PCIe 2.0 phy can use as USB 3.0 PHY. Signed-off-by: Minda Chen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e1c46d7 - Browse repository at this point
Copy the full SHA e1c46d7View commit details -
phy: starfive: add JH7110 PCIE 2.0 and USB 2.0 PHY driver.
Add Starfive JH7110 SoC PCIe 2.0 and USB 2.0 PHY driver support. PCIe 2.0 PHY can used as USB 3.0 PHY Signed-off-by: Minda Chen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0b65149 - Browse repository at this point
Copy the full SHA 0b65149View commit details -
dt-binding: Add JH7110 USB wrapper layer doc.
The dt-binding doc of Cadence USBSS-DRD controller wrapper layer. Signed-off-by: Minda Chen <[email protected]> Reviewed-by: Peter Chen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a20f830 - Browse repository at this point
Copy the full SHA a20f830View commit details -
usb: cdns3: add StarFive JH7110 USB driver.
There is a Cadence USB3 core for JH7110 SoCs, the cdns core is the child of this USB wrapper module device. Signed-off-by: Minda Chen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b61c783 - Browse repository at this point
Copy the full SHA b61c783View commit details -
dts: usb: add StarFive JH7110 USB dts configuration.
USB Glue layer and Cadence USB subnode configuration, also includes USB and PCIe phy dts configuration. Signed-off-by: Minda Chen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d87fc09 - Browse repository at this point
Copy the full SHA d87fc09View commit details -
RISC-V: Change suspend_save_csrs and suspend_restore_csrs to public f…
…unction Currently suspend_save_csrs() and suspend_restore_csrs() functions are statically defined in the suspend.c. Change the function's attribute to public so that the functions can be used by hibernation as well. Signed-off-by: Sia Jee Heng <[email protected]> Reviewed-by: Ley Foon Tan <[email protected]> Reviewed-by: Mason Huo <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Reviewed-by: Andrew Jones <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 32b615c - Browse repository at this point
Copy the full SHA 32b615cView commit details -
RISC-V: Factor out common code of __cpu_resume_enter()
The cpu_resume() function is very similar for the suspend to disk and suspend to ram cases. Factor out the common code into suspend_restore_csrs macro and suspend_restore_regs macro. Signed-off-by: Sia Jee Heng <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Reviewed-by: Conor Dooley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2c651b1 - Browse repository at this point
Copy the full SHA 2c651b1View commit details -
RISC-V: mm: Enable huge page support to kernel_page_present() function
Currently kernel_page_present() function doesn't support huge page detection causes the function to mistakenly return false to the hibernation core. Add huge page detection to the function to solve the problem. Fixes: 9e953cd ("riscv: Introduce huge page support for 32/64bit kernel") Signed-off-by: Sia Jee Heng <[email protected]> Reviewed-by: Ley Foon Tan <[email protected]> Reviewed-by: Mason Huo <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Reviewed-by: Alexandre Ghiti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c7f2a3 - Browse repository at this point
Copy the full SHA 7c7f2a3View commit details -
RISC-V: Add arch functions to support hibernation/suspend-to-disk
Low level Arch functions were created to support hibernation. swsusp_arch_suspend() relies code from __cpu_suspend_enter() to write cpu state onto the stack, then calling swsusp_save() to save the memory image. Arch specific hibernation header is implemented and is utilized by the arch_hibernation_header_restore() and arch_hibernation_header_save() functions. The arch specific hibernation header consists of satp, hartid, and the cpu_resume address. The kernel built version is also need to be saved into the hibernation image header to making sure only the same kernel is restore when resume. swsusp_arch_resume() creates a temporary page table that covering only the linear map. It copies the restore code to a 'safe' page, then start to restore the memory image. Once completed, it restores the original kernel's page table. It then calls into __hibernate_cpu_resume() to restore the CPU context. Finally, it follows the normal hibernation path back to the hibernation core. To enable hibernation/suspend to disk into RISCV, the below config need to be enabled: - CONFIG_ARCH_HIBERNATION_HEADER - CONFIG_ARCH_HIBERNATION_POSSIBLE Signed-off-by: Sia Jee Heng <[email protected]> Reviewed-by: Ley Foon Tan <[email protected]> Reviewed-by: Mason Huo <[email protected]> Reviewed-by: Conor Dooley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 197b506 - Browse repository at this point
Copy the full SHA 197b506View commit details -
Configuration menu - View commit details
-
Copy full SHA for cea31b2 - Browse repository at this point
Copy the full SHA cea31b2View commit details
Commits on Mar 29, 2023
-
media: starfive: add "WITH Linux-syscall-note" to SPDX tag of uapi he…
…aders UAPI headers licensed under GPL are supposed to have exception "WITH Linux-syscall-note" so that they can be included into non-GPL user space application code. Signed-off-by: Łukasz Stelmach <[email protected]>
Łukasz Stelmach committedMar 29, 2023 Configuration menu - View commit details
-
Copy full SHA for 90ef854 - Browse repository at this point
Copy the full SHA 90ef854View commit details