Skip to content
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

[NOT-FOR-UPSTREAM] riscv: Fix StarFive JH7100 Fedora defconfig #39

Open
wants to merge 80 commits into
base: visionfive
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
1176e44
RISC-V: Add StarFive SoC Kconfig option
esmil Oct 10, 2021
2d71a39
dt-bindings: timer: Add StarFive JH7100 clint
esmil Oct 10, 2021
cfb9670
dt-bindings: interrupt-controller: Add StarFive JH7100 plic
esmil Oct 10, 2021
845aa48
dt-bindings: clock: starfive: Add JH7100 clock definitions
geertu Jun 25, 2021
608ac45
dt-bindings: clock: starfive: Add JH7100 bindings
geertu Jun 1, 2021
fc4f8c1
clk: starfive: Add JH7100 clock generator driver
geertu Jun 1, 2021
5bd2429
dt-bindings: reset: Add StarFive JH7100 reset definitions
geertu Jun 25, 2021
30fbb88
dt-bindings: reset: Add Starfive JH7100 reset bindings
esmil Sep 19, 2021
8acdff1
reset: starfive-jh7100: Add StarFive JH7100 reset driver
esmil Sep 19, 2021
1c0610c
dt-bindings: pinctrl: Add StarFive pinctrl definitions
esmil Jul 6, 2021
87998ea
dt-bindings: pinctrl: Add StarFive JH7100 bindings
esmil Jul 27, 2021
7ca8ecd
pinctrl: starfive: Add pinctrl driver for StarFive SoCs
esmil Jul 6, 2021
13b6b78
dt-bindings: serial: snps-dw-apb-uart: Add JH7100 uarts
esmil Oct 7, 2021
967bfb7
serial: 8250_dw: Add StarFive JH7100 quirk
esmil Oct 4, 2021
20115db
RISC-V: Add initial StarFive JH7100 device tree
esmil Oct 10, 2021
1b75a47
RISC-V: Add BeagleV Starlight Beta device tree
esmil Oct 10, 2021
3e80572
reset: starfive-jh7100: Fix 32bit compilation
esmil Dec 20, 2021
4bfa262
riscv: add ARCH_DMA_MINALIGN support
Aug 7, 2021
7961e2b
riscv: optimized memcpy
teknoraver Sep 29, 2021
2506d86
riscv: optimized memmove
teknoraver Sep 29, 2021
b08d751
riscv: optimized memset
teknoraver Sep 29, 2021
19d5ffc
riscv: Add -ffreestanding for string functions
esmil Dec 6, 2021
367e473
clk: starfive: jh7100: Don't round divisor up twice
esmil Dec 2, 2021
f1fe4d2
clk: starfive: jh7100: Handle audio_div clock properly
esmil Dec 4, 2021
97d86a8
riscv: dts: starfive: Group tuples in interrupt properties
geertu Nov 25, 2021
c936e32
dt-bindings: clock: Add JH7100 audio clock definitions
esmil Nov 24, 2021
1aa3aa6
dt-bindings: clock: Add starfive,jh7100-audclk bindings
esmil Dec 7, 2021
43cfd06
clk: starfive: jh7100: Make hw clock implementation reusable
esmil Nov 20, 2021
72d458c
clk: starfive: jh7100: Support more clock types
esmil Nov 20, 2021
476b25d
clk: starfive: Add JH7100 audio clock driver
esmil Nov 24, 2021
27f13a4
RISC-V: Add StarFive JH7100 audio clock node
esmil Nov 20, 2021
10d23f9
dt-bindings: reset: Add StarFive JH7100 audio reset definitions
esmil Nov 20, 2021
30416e5
dt-bindings: reset: Add starfive,jh7100-audrst bindings
esmil Dec 7, 2021
09ed909
reset: Create subdirectory for StarFive drivers
esmil Nov 20, 2021
b796dcd
reset: starfive: Use 32bit I/O on 32bit registers
esmil Nov 24, 2021
142ffc2
reset: starfive: Add JH7100 audio reset driver
esmil Nov 20, 2021
43977e9
RISC-V: Add StarFive JH7100 audio reset node
esmil Nov 20, 2021
e31cc37
clk: starfive: jh7100: Keep more clocks alive
esmil Oct 14, 2021
a074868
pinctrl: starfive: Reset pinmux settings
esmil Jul 17, 2021
b276123
serial: 8250_dw: Use device tree match data
esmil Nov 30, 2021
74c674b
serial: 8250_dw: Add starfive,jh7100-hsuart compatible
esmil Oct 14, 2021
218d018
dt-bindings: hwmon: add starfive,jh7100-temp bindings
esmil Jun 6, 2021
b7cf049
hwmon: (sfctemp) Add StarFive JH7100 temperature sensor
esmil Jun 6, 2021
d982bad
watchdog: Add StarFive SI5 watchdog driver
SaminGuo Nov 17, 2021
a72e326
drivers/hw_random: Add StarFive JH7100 Random Number Generator driver
huanfeng-sf Jan 7, 2021
b35b122
sifive/sifive_l2_cache: Add sifive_l2_flush64_range function
Jan 7, 2021
f521121
sifive/sifive_l2_cache: Add Starfive support
Feb 15, 2021
e090c47
sifive/sifive_l2_cache: Add disabling IRQ option (workaround)
Feb 13, 2021
4e0ad81
sifive/sifive_l2_cache: Print a backtrace on out-of-range flushes
geertu May 21, 2021
79f7e2e
sifive/sifive_l2_cache: Align the address to cache line
atishp04 Jun 12, 2021
f6ef3e5
drivers/tty/serial/8250: update driver for JH7100
SaminGuo Jan 7, 2021
5bf95df
drivers/pwm: Add SiFive PWM PTC driver
Jan 7, 2021
5f695a7
drivers/pwm/pwm-sifive-ptc: Clear PWM CNTR
Mar 15, 2021
1cf4fd3
[WIP] dt-bindings: dma: dw-axi-dmac: Increase DMA channel limit to 16
geertu May 27, 2021
15f35d6
dmaengine: dw-axi-dmac: Fix RMW on channel suspend register
esmil Dec 17, 2021
8661504
dmaengine: dw-axi-dmac: Handle xfer start while non-idle
SaminGuo Nov 17, 2021
fc78080
dmaengine: dw-axi-dmac: Add StarFive JH7100 support
SaminGuo Nov 17, 2021
3550e6e
dmaengine: Add dw-axi-dmac-starfive driver for JH7100
Jan 7, 2021
d6951bf
dmaengine: dw-axi-dmac-starfive: Remove calls specific to ARM64 ACPI
geertu Jun 29, 2021
8d4395b
net: phy: motorcomm: Support the YT8521 gigabit PHY
WalkerChenL Nov 17, 2021
d84397a
net: stmmac: Configure gtxclk based on speed
Apr 6, 2021
9ed64a0
net: stmmac: use GFP_DMA32
teknoraver May 21, 2021
ebcaa4f
ASoC: starfive: Add StarFive JH7100 audio drivers
WalkerChenL Nov 17, 2021
d0d3267
drm/starfive: Add StarFive drm driver
Aug 31, 2021
baa7cb4
drm/i2c/tda998x: Hardcode register values for Starlight
Aug 31, 2021
e4b380e
drm/starfive: crtc: Use devm_platform_ioremap_resource_byname
esmil Sep 20, 2021
bab456b
drm/starfive: Use clock api
esmil Sep 20, 2021
96d3465
drm/starfive: Use reset api
esmil Sep 20, 2021
99a0ff5
drm/starfive: Use actual clock rate
esmil Sep 20, 2021
dab9495
[WIP] drm/starfive: Support DRM_FORMAT_XRGB8888
esmil Sep 22, 2021
3355a80
drm/starfive: Propagate bridge error properly
esmil Oct 20, 2021
97b488e
nvdla: add NVDLA driver
farzadfch Sep 21, 2018
c12f9d9
nvdla: Support compilation as module
esmil Sep 25, 2021
c6bb76d
spi: cadence-quadspi: Allow compilation on RISC-V
esmil Apr 27, 2021
1af2a00
RISC-V: Enable SIFIVE_L2_FLUSH for StarFive SoCs
esmil Oct 14, 2021
15572b3
RISC-V: Support non-coherent DMA operations
atishp04 Jun 12, 2021
9083436
riscv: dts: Add full JH7100, Starlight and VisionFive support
esmil Oct 31, 2021
228e6a6
[NOT-FOR-UPSTREAM] riscv: Add StarFive JH7100 Fedora defconfig
tekkamanninja Nov 15, 2021
311c58e
[NOT-FOR-UPSTREAM] Add build instructions
esmil May 5, 2021
384d6cd
[NOT-FOR-UPSTREAM] riscv: Fix StarFive JH7100 Fedora defconfig
tekkamanninja Dec 29, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/starfive,jh7100-audclk.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: StarFive JH7100 Audio Clock Generator

maintainers:
- Emil Renner Berthing <[email protected]>

properties:
compatible:
const: starfive,jh7100-audclk

reg:
maxItems: 1

clocks:
items:
- description: Audio source clock
- description: External 12.228MHz clock
- description: Domain 7 AHB bus clock

clock-names:
items:
- const: audio_src
- const: audio_12288
- const: dom7ahb_bus

'#clock-cells':
const: 1
description:
See <dt-bindings/clock/starfive-jh7100-audio.h> for valid indices.

required:
- compatible
- reg
- clocks
- clock-names
- '#clock-cells'

additionalProperties: false

examples:
- |
#include <dt-bindings/clock/starfive-jh7100.h>

clock-controller@10480000 {
compatible = "starfive,jh7100-audclk";
reg = <0x10480000 0x10000>;
clocks = <&clkgen JH7100_CLK_AUDIO_SRC>,
<&clkgen JH7100_CLK_AUDIO_12288>,
<&clkgen JH7100_CLK_DOM7AHB_BUS>;
clock-names = "audio_src", "audio_12288", "dom7ahb_bus";
#clock-cells = <1>;
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/starfive,jh7100-clkgen.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: StarFive JH7100 Clock Generator

maintainers:
- Geert Uytterhoeven <[email protected]>
- Emil Renner Berthing <[email protected]>

properties:
compatible:
const: starfive,jh7100-clkgen

reg:
maxItems: 1

clocks:
items:
- description: Main clock source (25 MHz)
- description: Application-specific clock source (12-27 MHz)
- description: RMII reference clock (50 MHz)
- description: RGMII RX clock (125 MHz)

clock-names:
items:
- const: osc_sys
- const: osc_aud
- const: gmac_rmii_ref
- const: gmac_gr_mii_rxclk

'#clock-cells':
const: 1
description:
See <dt-bindings/clock/starfive-jh7100.h> for valid indices.

required:
- compatible
- reg
- clocks
- clock-names
- '#clock-cells'

additionalProperties: false

examples:
- |
clock-controller@11800000 {
compatible = "starfive,jh7100-clkgen";
reg = <0x11800000 0x10000>;
clocks = <&osc_sys>, <&osc_aud>, <&gmac_rmii_ref>, <&gmac_gr_mii_rxclk>;
clock-names = "osc_sys", "osc_aud", "gmac_rmii_ref", "gmac_gr_mii_rxclk";
#clock-cells = <1>;
};
6 changes: 3 additions & 3 deletions Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ properties:

dma-channels:
minimum: 1
maximum: 8
maximum: 16

snps,dma-masters:
description: |
Expand All @@ -71,14 +71,14 @@ properties:
Channel priority specifier associated with the DMA channels.
$ref: /schemas/types.yaml#/definitions/uint32-array
minItems: 1
maxItems: 8
maxItems: 16

snps,block-size:
description: |
Channel block size specifier associated with the DMA channels.
$ref: /schemas/types.yaml#/definitions/uint32-array
minItems: 1
maxItems: 8
maxItems: 16

snps,axi-max-burst-len:
description: |
Expand Down
74 changes: 74 additions & 0 deletions Documentation/devicetree/bindings/hwmon/starfive,jh7100-temp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/hwmon/starfive,jh7100-temp.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: StarFive JH7100 Temperature Sensor

maintainers:
- Emil Renner Berthing <[email protected]>

description: |
StarFive Technology Co. JH7100 embedded temperature sensor

properties:
compatible:
enum:
- starfive,jh7100-temp

reg:
maxItems: 1

clocks:
minItems: 2
maxItems: 2

clock-names:
items:
- const: "sense"
- const: "bus"

'#thermal-sensor-cells':
const: 0

interrupts:
maxItems: 1

resets:
minItems: 2
maxItems: 2

reset-names:
items:
- const: "sense"
- const: "bus"

required:
- compatible
- reg
- clocks
- clock-names
- interrupts
- resets
- reset-names

additionalProperties: false

examples:
- |
#include <dt-bindings/clock/starfive-jh7100.h>
#include <dt-bindings/reset/starfive-jh7100.h>

tmon: tmon@124a0000 {
compatible = "starfive,jh7100-temp";
reg = <0x124a0000 0x10000>;
clocks = <&clkgen JH7100_CLK_TEMP_SENSE>,
<&clkgen JH7100_CLK_TEMP_APB>;
clock-names = "sense", "bus";
#thermal-sensor-cells = <0>;
interrupts = <122>;
resets = <&rstgen JH7100_RSTN_TEMP_SENSE>,
<&rstgen JH7100_RSTN_TEMP_APB>;
reset-names = "sense", "bus";
};
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ properties:
items:
- enum:
- sifive,fu540-c000-plic
- starfive,jh7100-plic
- canaan,k210-plic
- const: sifive,plic-1.0.0

Expand Down
Loading