Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
36e35cd
riscv: __asm_copy_to-from_user: fix out of boundary memory copy
crab2313 Jul 17, 2021
310c5b0
lib/string: optimized memcpy
teknoraver Jul 16, 2021
c53b530
lib/string: optimized memmove
teknoraver Jul 16, 2021
82b4cf5
lib/string: optimized memset
teknoraver Jul 16, 2021
8502bc0
riscv: use the generic string routines
teknoraver Jun 25, 2021
b2a6d3f
dt-bindings: riscv: add starfive jh7100 bindings
pdp7 Jul 13, 2021
f6d1aaf
[WIP] dt-bindings: clock: starfive: Add JH7100 Clock Definitions
geertu Jun 25, 2021
e455e90
[WIP] dt-bindings: reset: starfive: Add JH7100 Reset Definitions
geertu Jun 25, 2021
f183707
[WIP] dt-bindings: clock: starfive: Add preliminary JH7100 bindings
geertu Jun 1, 2021
bd2a307
[NOT-FOR-UPSTREAM] clk: Make clk_ignore_unused public
geertu Jun 25, 2021
734c1a0
[WIP] clk: starfive: Add preliminary JH7100 Clock Generator Driver
geertu Jun 1, 2021
7822480
dt-bindings: gpio: add starfive,jh7100-gpio bindings
pdp7 May 31, 2021
ae0f88c
gpio: starfive-jh7100: Add StarFive JH7100 GPIO driver
pdp7 Jul 1, 2021
8760bd1
gpio: starfive-jh7100: Add legacy header and code
huanfeng-sf Jan 7, 2021
a86a85c
dt-bindings: hwmon: add starfive,jh7100-temp bindings
esmil Jun 6, 2021
3b5463a
hwmon: (sfctemp) Add StarFive JH7100 temperature sensor
esmil Jun 6, 2021
5b86e6c
dt-bindings: mfd: convert tps65086.txt to YAML
esmil Jun 24, 2021
82d06b4
mfd: tps65086: Make interrupt line optional
esmil May 3, 2021
26df8dc
power: reset: Add TPS65086 restart driver
esmil May 3, 2021
efdfe4a
[WIP] dt-bindings: dma: dw-axi-dmac: Increase DMA channel limit to 16
geertu May 27, 2021
4a3dceb
drivers/hw_random: Add StarFive JH7100 Random Number Generator driver
huanfeng-sf Jan 7, 2021
22ad128
sifive/sifive_l2_cache: Add sifive_l2_flush64_range function
Jan 7, 2021
1bb3ea1
sifive/sifive_l2_cache: Add Starfive support
Feb 15, 2021
ec4c587
sifive/sifive_l2_cache: Add disabling IRQ option (workaround)
Feb 13, 2021
34e31e6
sifive/sifive_l2_cache: Print a backtrace on out-of-range flushes
geertu May 21, 2021
1ca4a31
sifive/sifive_l2_cache: Align the address to cache line
atishp04 Jun 12, 2021
4c28e68
riscv/starfive: Add VIC7100 support
Jan 7, 2021
4a92f09
drivers/pwm: Add SiFive PWM PTC driver
Jan 7, 2021
31a72c9
drivers/pwm/pwm-sifive-ptc: Clear PWM CNTR
Mar 15, 2021
e212f99
drivers/dma: Add dw-axi-dmac-starfive driver for VIC7100
Jan 7, 2021
49dcd7f
drivers/dma: Fix VIC7100 dw-axi-dmac-platform driver addition
mike-scott May 1, 2021
f4b7390
drivers/dma: dw-axi-dmac-starfive: Remove calls specific to ARM64 ACPI
geertu Jun 29, 2021
3531b48
i2c: designware: Add GPIO configuration for JH7100
Mar 13, 2021
4ec6363
net: stmmac: Configure gtxclk based on speed
Apr 6, 2021
a75442c
net: stmmac: use GFP_DMA32
teknoraver May 21, 2021
01c17c8
drivers/video/fbdev and drivers/media/platform: starfive drivers added
jackzhustf Jan 10, 2021
eb34fe0
media: starfive: Remove MODULE_SUPPORTED_DEVICE macro call
Jul 5, 2021
4752d25
video: fbdev: starfive: update fb driver
jackzhustf Mar 5, 2021
7be2505
video: fbdev: starfive: workaround for unavailable pointer of dtb
jackzhustf Mar 16, 2021
5d0e962
video: fbdev: starfive: fix compiler warnings
esmil May 6, 2021
9bfa9c6
video: fbdev: starfive: improve error handling
esmil May 6, 2021
0827a99
video: fbdev: starfive: fix modpost build error (missing license)
sarnold May 13, 2021
9732b70
video: fbdev: starfive: fix fb bug about HDMI display
May 15, 2021
758fb3b
video: fbdev: starfive: FB_STARFIVE_HDMI_TDA998X depends on DRM_FBDEV…
geertu May 18, 2021
3241e5f
video: fbdev: starfive: Fix frame buffer reserved memory resource con…
geertu May 18, 2021
f89c843
video: fbdev: starfive: Use round_up() instead of _ALIGN_UP()
geertu Jun 22, 2021
8116f07
nvdla: add NVDLA driver
farzad64 Sep 21, 2018
a52b124
spi: cadence-quadspi: Allow compilation on RISC-V
esmil Apr 27, 2021
560e12f
RISC-V: Support non-coherent DMA operations
atishp04 Jun 12, 2021
bdbbe7c
riscv: dts: Add JH7100 and BeagleV Starlight support
Jan 22, 2021
b08fe26
[NOT-FOR-UPSTREAM] riscv: Add starfive jh7100 starlight fedora defconfig
Jul 2, 2021
8f1035e
[NOT-FOR-UPSTREAM] Add build instructions
esmil May 5, 2021
cd54a2a
[NOT-FOR-UPSTREAM] beaglev_defconfig: Don't disable CONFIG_GPIO_CDEV_V1
esmil Jul 19, 2021
7c14b1d
riscv: stacktrace: pin the task's stack in get_wchan
xhackerustc Jul 24, 2021
72c2cd9
[NOT-FOR-UPSTREAM] riscv: Update starfive jh7100 starlight fedora def…
Jul 24, 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,52 @@
# 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:
- FIXME <someone@starfivetech.com>
- Geert Uytterhoeven <geert@linux-m68k.org>

properties:
compatible:
const: starfive,jh7100-clkgen

reg:
maxItems: 1

clocks:
items:
- description: Main clock source (default 25 MHz)
- description: Application-specific clock source (12-27 MHz)

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

'#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:
- |
clkgen: clock-controller@11800000 {
compatible = "starfive,jh7100-clkgen";
reg = <0x11800000 0x10000>;
clocks = <&osc_sys>, <&osc_aud>;
clock-names = "osc_sys", "osc_aud";
#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
67 changes: 67 additions & 0 deletions Documentation/devicetree/bindings/gpio/starfive,jh7100-gpio.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/gpio/starfive,jh7100-gpio.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: StarFive JH7100 GPIO controller

maintainers:
- Huan Feng <huan.feng@starfivetech.com>
- Drew Fustini <drew@beagleboard.org>

properties:
compatible:
items:
- const: starfive,jh7100-gpio

reg:
maxItems: 1

clocks:
maxItems: 1

interrupts:
description:
Interrupt mapping, one per GPIO. Maximum 32 GPIOs.
minItems: 1
maxItems: 32

gpio-controller: true

"#gpio-cells":
const: 2

interrupt-controller: true

"#interrupt-cells":
const: 2

required:
- compatible
- reg
- clocks
- interrupts
- interrupt-controller
- "#interrupt-cells"
- "#gpio-cells"
- gpio-controller

additionalProperties: false

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

gpio@11910000 {
compatible = "starfive,jh7100-gpio";
reg = <0x11910000 0x10000>;
clocks = <&clkgen JH7100_CLK_GPIO_APB>;
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
interrupts = <32>;
};

...
43 changes: 43 additions & 0 deletions Documentation/devicetree/bindings/hwmon/starfive,jh7100-temp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# 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 <kernel@esmil.dk>

description: |
StarFive Technology Co. JH7100 embedded temperature sensor

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

reg:
maxItems: 1

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

interrupts:
maxItems: 1

required:
- compatible
- reg
- interrupts

additionalProperties: false

examples:
- |
tmon: tmon@124a0000 {
compatible = "starfive,jh7100-temp";
reg = <0x124a0000 0x10000>;
#thermal-sensor-cells = <0>;
interrupts = <122>;
};
124 changes: 124 additions & 0 deletions Documentation/devicetree/bindings/mfd/ti,tps65086.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/mfd/ti,tps65086.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: TPS65086 Power Management Integrated Circuit (PMIC)

maintainers:
- Emil Renner Berthing <kernel@esmil.dk>

properties:
compatible:
const: ti,tps65086

reg:
const: 0x5e
description: I2C slave address

interrupts:
maxItems: 1

interrupt-controller: true

'#interrupt-cells':
const: 2
description: |
The first cell is the IRQ number. The second cell is the flags,
encoded as trigger masks from ../interrupt-controller/interrupts.txt.

gpio-controller: true

'#gpio-cells':
const: 2
description: |
The first cell is the pin number and the second cell is used to specify
flags. See ../gpio/gpio.txt for more information.

regulators:
type: object
description: |
List of child nodes that specify the regulator initialization data.
Child nodes must be named after their hardware counterparts:
buck[1-6], ldoa[1-3], swa1, swb[1-2], and vtt.
Each child node is defined using the standard binding for regulators and
the optional regulator properties defined below.

patternProperties:
"^buck[1-6]$":
type: object
$ref: ../regulator/regulator.yaml

properties:
regulator-name: true
regulator-boot-on: true
regulator-always-on: true
regulator-min-microvolt: true
regulator-max-microvolt: true
ti,regulator-step-size-25mv:
type: boolean
description: |
Set this if the regulator is factory set with a 25mv step voltage
mapping.
ti,regulator-decay:
type: boolean
description: |
Set this if the output needs to decay, default is for the output
to slew down.

additionalProperties: false

"^(ldoa[1-3]|swa1|swb[1-2]|vtt)$":
type: object
$ref: ../regulator/regulator.yaml

properties:
regulator-name: true
regulator-boot-on: true
regulator-always-on: true
regulator-min-microvolt: true
regulator-max-microvolt: true

additionalProperties: false

additionalProperties: false

required:
- compatible
- reg
- gpio-controller
- '#gpio-cells'
- regulators

examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>
i2c0 {
#address-cells = <1>;
#size-cells = <0>;

pmic: pmic@5e {
compatible = "ti,tps65086";
reg = <0x5e>;
interrupt-parent = <&gpio1>;
interrupts = <28 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller;
#interrupt-cells = <2>;
gpio-controller;
#gpio-cells = <2>;

regulators {
buck1 {
regulator-name = "vcc1";
regulator-min-microvolt = <1600000>;
regulator-max-microvolt = <1600000>;
regulator-boot-on;
ti,regulator-decay;
ti,regulator-step-size-25mv;
};
};
};
};

...
54 changes: 0 additions & 54 deletions Documentation/devicetree/bindings/mfd/tps65086.txt

This file was deleted.

27 changes: 27 additions & 0 deletions Documentation/devicetree/bindings/riscv/starfive.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/riscv/starfive.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: StarFive SoC-based boards

maintainers:
- Michael Zhu <michael.zhu@starfivetech.com>
- Drew Fustini <drew@beagleboard.org>

description:
StarFive SoC-based boards

properties:
$nodename:
const: '/'
compatible:
oneOf:
- items:
- const: beagle,beaglev-starlight-jh7100-r0
- const: starfive,jh7100

additionalProperties: true

...
Loading