mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
Merge tag 'devicetree-fixes-for-7.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
Pull devicetree fixes from Rob Herring:
"All of these are patches that didn't get picked up for the merge
window. They all fix new warnings because the corresponding .dts
changes did get applied
- Add Altera Agilex5 DWC3 controller and Raspberry Pi RP1 PWM
controller bindings
- Make "peer-hub" property optional on cypress,hx3 USB hubs"
* tag 'devicetree-fixes-for-7.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
dt-bindings: usb: add Altera Agilex5 DWC3 controller
dt-bindings: pwm: Add Raspberry Pi RP1 PWM controller
dt-bindings: usb: cypress,hx3: make peer-hub property optional
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/pwm/raspberrypi,rp1-pwm.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: Raspberry Pi RP1 PWM controller
|
||||
|
||||
maintainers:
|
||||
- Naushir Patuck <[email protected]>
|
||||
- Andrea della Porta <[email protected]>
|
||||
- Stanimir Varbanov <[email protected]>
|
||||
|
||||
allOf:
|
||||
- $ref: pwm.yaml#
|
||||
|
||||
description: |
|
||||
The PWM peripheral is a flexible waveform generator with a
|
||||
variety of operational modes. It has the following features:
|
||||
- four independent output channels
|
||||
- 32-bit counter widths
|
||||
- Seven output generation modes
|
||||
- Optional per-channel output inversion
|
||||
- Optional duty-cycle data FIFO with DMA support
|
||||
- Optional sigma-delta noise shaping engine
|
||||
Serves as a fan speed provider to other nodes for a PWM-connected
|
||||
fan.
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
const: raspberrypi,rp1-pwm
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
clocks:
|
||||
maxItems: 1
|
||||
|
||||
"#pwm-cells":
|
||||
const: 3
|
||||
|
||||
dmas:
|
||||
maxItems: 1
|
||||
description: |
|
||||
Phandle to the DMA controller and the channel specifier for
|
||||
the duty-cycle FIFO.
|
||||
|
||||
dma-names:
|
||||
items:
|
||||
- const: tx
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
- clocks
|
||||
|
||||
unevaluatedProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
pwm@98000 {
|
||||
compatible = "raspberrypi,rp1-pwm";
|
||||
reg = <0x98000 0x100>;
|
||||
clocks = <&rp1_clocks 17>;
|
||||
#pwm-cells = <3>;
|
||||
};
|
||||
@@ -0,0 +1,112 @@
|
||||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/usb/altr,agilex5-dwc3.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: Altera Agilex5 DWC3 USB SoC Controller
|
||||
|
||||
maintainers:
|
||||
- Adrian Ng Ho Yin <[email protected]>
|
||||
|
||||
description:
|
||||
The Altera Agilex5 SoCFPGA integrates a Synopsys DesignWare USB3 (DWC3)
|
||||
controller that supports host, device and DRD modes.
|
||||
|
||||
allOf:
|
||||
- $ref: snps,dwc3-common.yaml#
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
const: altr,agilex5-dwc3
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
clocks:
|
||||
items:
|
||||
- description: Master/Core bus clock
|
||||
- description: Controller reference clock
|
||||
- description: Controller suspend clock
|
||||
|
||||
clock-names:
|
||||
items:
|
||||
- const: bus_early
|
||||
- const: ref
|
||||
- const: suspend
|
||||
|
||||
interrupts:
|
||||
maxItems: 1
|
||||
|
||||
phys:
|
||||
minItems: 2
|
||||
maxItems: 2
|
||||
|
||||
phy-names:
|
||||
items:
|
||||
- const: usb2-phy
|
||||
- const: usb3-phy
|
||||
|
||||
iommus:
|
||||
maxItems: 1
|
||||
|
||||
resets:
|
||||
items:
|
||||
- description: DWC3 core reset
|
||||
- description: DWC3 ECC reset
|
||||
|
||||
reset-names:
|
||||
items:
|
||||
- const: core
|
||||
- const: ecc
|
||||
|
||||
dr_mode: true
|
||||
|
||||
maximum-speed: true
|
||||
|
||||
snps,dis_u2_susphy_quirk: true
|
||||
|
||||
snps,dis_u3_susphy_quirk: true
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
- clocks
|
||||
- clock-names
|
||||
- interrupts
|
||||
- phys
|
||||
- phy-names
|
||||
- resets
|
||||
- reset-names
|
||||
- snps,dis_u2_susphy_quirk
|
||||
- snps,dis_u3_susphy_quirk
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
#include <dt-bindings/reset/altr,rst-mgr-s10.h>
|
||||
#include <dt-bindings/clock/intel,agilex5-clkmgr.h>
|
||||
|
||||
soc {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
usb@11000000 {
|
||||
compatible = "altr,agilex5-dwc3";
|
||||
reg = <0x11000000 0x100000>;
|
||||
interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&clkmgr AGILEX5_USB31_BUS_CLK_EARLY>,
|
||||
<&clkmgr AGILEX5_USB31_SUSPEND_CLK>,
|
||||
<&clkmgr AGILEX5_USB31_SUSPEND_CLK>;
|
||||
clock-names = "bus_early", "ref", "suspend";
|
||||
phys = <&usbphy0>, <&usbphy1>;
|
||||
phy-names = "usb2-phy", "usb3-phy";
|
||||
resets = <&rst USB1_RESET>, <&rst USB1_OCP_RESET>;
|
||||
reset-names = "core", "ecc";
|
||||
iommus = <&smmu 7>;
|
||||
snps,dis_u2_susphy_quirk;
|
||||
snps,dis_u3_susphy_quirk;
|
||||
};
|
||||
};
|
||||
@@ -53,7 +53,6 @@ properties:
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
- peer-hub
|
||||
- vdd-supply
|
||||
- vdd2-supply
|
||||
|
||||
|
||||
Reference in New Issue
Block a user