Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
aa6174f0
Commit
aa6174f0
authored
Oct 06, 2020
by
Rob Herring
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dt/linus' into dt/next
parents
1b25b207
efe84d40
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
53 additions
and
25 deletions
+53
-25
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
...cetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
+2
-2
Documentation/devicetree/bindings/clock/imx23-clock.yaml
Documentation/devicetree/bindings/clock/imx23-clock.yaml
+1
-1
Documentation/devicetree/bindings/clock/imx28-clock.yaml
Documentation/devicetree/bindings/clock/imx28-clock.yaml
+1
-1
Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml
Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml
+1
-1
Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.yaml
...n/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.yaml
+4
-4
Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml
...ion/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml
+1
-1
Documentation/devicetree/bindings/gpio/gpio-mxs.yaml
Documentation/devicetree/bindings/gpio/gpio-mxs.yaml
+1
-1
Documentation/devicetree/bindings/i2c/i2c-mxs.yaml
Documentation/devicetree/bindings/i2c/i2c-mxs.yaml
+1
-1
Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml
...ion/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml
+1
-1
Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
+1
-1
Documentation/devicetree/bindings/mmc/mxs-mmc.yaml
Documentation/devicetree/bindings/mmc/mxs-mmc.yaml
+1
-1
Documentation/devicetree/bindings/net/ethernet-controller.yaml
...entation/devicetree/bindings/net/ethernet-controller.yaml
+2
-1
Documentation/devicetree/bindings/pci/intel-gw-pcie.yaml
Documentation/devicetree/bindings/pci/intel-gw-pcie.yaml
+8
-0
Documentation/devicetree/bindings/pwm/mxs-pwm.yaml
Documentation/devicetree/bindings/pwm/mxs-pwm.yaml
+1
-1
Documentation/devicetree/bindings/spi/fsl-imx-cspi.yaml
Documentation/devicetree/bindings/spi/fsl-imx-cspi.yaml
+1
-1
Documentation/devicetree/bindings/thermal/imx-thermal.yaml
Documentation/devicetree/bindings/thermal/imx-thermal.yaml
+1
-1
Documentation/devicetree/bindings/vendor-prefixes.yaml
Documentation/devicetree/bindings/vendor-prefixes.yaml
+1
-1
Documentation/devicetree/writing-schema.rst
Documentation/devicetree/writing-schema.rst
+2
-2
arch/arm/boot/dts/bcm2835-rpi.dtsi
arch/arm/boot/dts/bcm2835-rpi.dtsi
+1
-1
drivers/of/address.c
drivers/of/address.c
+20
-1
scripts/dtc/Makefile
scripts/dtc/Makefile
+1
-1
No files found.
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
View file @
aa6174f0
...
...
@@ -23,7 +23,7 @@ properties:
compatible
:
items
:
-
const
:
raspberrypi,bcm2835-firmware
-
const
:
simple-
bus
-
const
:
simple-
mfd
mboxes
:
$ref
:
'
/schemas/types.yaml#/definitions/phandle'
...
...
@@ -57,7 +57,7 @@ required:
examples
:
-
|
firmware {
compatible = "raspberrypi,bcm2835-firmware", "simple-
bus
";
compatible = "raspberrypi,bcm2835-firmware", "simple-
mfd
";
mboxes = <&mailbox>;
firmware_clocks: clocks {
...
...
Documentation/devicetree/bindings/clock/imx23-clock.yaml
View file @
aa6174f0
...
...
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title
:
Clock bindings for Freescale i.MX23
maintainers
:
-
Shawn Guo <shawn
.guo@linaro
.org>
-
Shawn Guo <shawn
guo@kernel
.org>
description
:
|
The clock consumer should specify the desired clock by having the clock
...
...
Documentation/devicetree/bindings/clock/imx28-clock.yaml
View file @
aa6174f0
...
...
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title
:
Clock bindings for Freescale i.MX28
maintainers
:
-
Shawn Guo <shawn
.guo@linaro
.org>
-
Shawn Guo <shawn
guo@kernel
.org>
description
:
|
The clock consumer should specify the desired clock by having the clock
...
...
Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml
View file @
aa6174f0
...
...
@@ -67,7 +67,7 @@ examples:
main_crypto: crypto@4e00000 {
compatible = "ti,j721-sa2ul";
reg = <0x
0 0x4e00000 0x
0 0x1200>;
reg = <0x
4e0000
0 0x1200>;
power-domains = <&k3_pds 264 TI_SCI_PD_EXCLUSIVE>;
dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>,
<&main_udmap 0x4001>;
...
...
Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.yaml
View file @
aa6174f0
...
...
@@ -145,10 +145,10 @@ examples:
display@fd4a0000 {
compatible = "xlnx,zynqmp-dpsub-1.7";
reg = <0x
0 0xfd4a0000 0x
0 0x1000>,
<0x
0 0xfd4aa000 0x
0 0x1000>,
<0x
0 0xfd4ab000 0x
0 0x1000>,
<0x
0 0xfd4ac000 0x
0 0x1000>;
reg = <0x
fd4a000
0 0x1000>,
<0x
fd4aa00
0 0x1000>,
<0x
fd4ab00
0 0x1000>,
<0x
fd4ac00
0 0x1000>;
reg-names = "dp", "blend", "av_buf", "aud";
interrupts = <0 119 4>;
interrupt-parent = <&gic>;
...
...
Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml
View file @
aa6174f0
...
...
@@ -57,7 +57,7 @@ examples:
dma: dma-controller@fd4c0000 {
compatible = "xlnx,zynqmp-dpdma";
reg = <0x
0 0xfd4c0000 0x
0 0x1000>;
reg = <0x
fd4c000
0 0x1000>;
interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&gic>;
clocks = <&dpdma_clk>;
...
...
Documentation/devicetree/bindings/gpio/gpio-mxs.yaml
View file @
aa6174f0
...
...
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title
:
Freescale MXS GPIO controller
maintainers
:
-
Shawn Guo <shawn
.guo@linaro
.org>
-
Shawn Guo <shawn
guo@kernel
.org>
-
Anson Huang <Anson.Huang@nxp.com>
description
:
|
...
...
Documentation/devicetree/bindings/i2c/i2c-mxs.yaml
View file @
aa6174f0
...
...
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title
:
Freescale MXS Inter IC (I2C) Controller
maintainers
:
-
Shawn Guo <shawn
.guo@linaro
.org>
-
Shawn Guo <shawn
guo@kernel
.org>
properties
:
compatible
:
...
...
Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml
View file @
aa6174f0
...
...
@@ -30,7 +30,7 @@ properties:
const
:
0
patternProperties
:
"
^multi-led
[0-9a-f
]$"
:
"
^multi-led
@[0-9a-b
]$"
:
type
:
object
allOf
:
-
$ref
:
leds-class-multicolor.yaml#
...
...
Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
View file @
aa6174f0
...
...
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title
:
Freescale Enhanced Secure Digital Host Controller (eSDHC) for i.MX
maintainers
:
-
Shawn Guo <shawn
.guo@linaro
.org>
-
Shawn Guo <shawn
guo@kernel
.org>
allOf
:
-
$ref
:
"
mmc-controller.yaml"
...
...
Documentation/devicetree/bindings/mmc/mxs-mmc.yaml
View file @
aa6174f0
...
...
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title
:
Freescale MXS MMC controller
maintainers
:
-
Shawn Guo <shawn
.guo@linaro
.org>
-
Shawn Guo <shawn
guo@kernel
.org>
description
:
|
The Freescale MXS Synchronous Serial Ports (SSP) can act as a MMC controller
...
...
Documentation/devicetree/bindings/net/ethernet-controller.yaml
View file @
aa6174f0
...
...
@@ -54,7 +54,8 @@ properties:
phy-connection-type
:
description
:
Operation mode of the PHY interface
Specifies interface type between the Ethernet device and a physical
layer (PHY) device.
enum
:
# There is not a standard bus between the MAC and the PHY,
# something proprietary is being used to embed the PHY in the
...
...
Documentation/devicetree/bindings/pci/intel-gw-pcie.yaml
View file @
aa6174f0
...
...
@@ -9,6 +9,14 @@ title: PCIe RC controller on Intel Gateway SoCs
maintainers
:
-
Dilip Kota <eswara.kota@linux.intel.com>
select
:
properties
:
compatible
:
contains
:
const
:
intel,lgm-pcie
required
:
-
compatible
properties
:
compatible
:
items
:
...
...
Documentation/devicetree/bindings/pwm/mxs-pwm.yaml
View file @
aa6174f0
...
...
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title
:
Freescale MXS PWM controller
maintainers
:
-
Shawn Guo <shawn
.guo@linaro
.org>
-
Shawn Guo <shawn
guo@kernel
.org>
-
Anson Huang <anson.huang@nxp.com>
properties
:
...
...
Documentation/devicetree/bindings/spi/fsl-imx-cspi.yaml
View file @
aa6174f0
...
...
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title
:
Freescale (Enhanced) Configurable Serial Peripheral Interface (CSPI/eCSPI) for i.MX
maintainers
:
-
Shawn Guo <shawn
.guo@linaro
.org>
-
Shawn Guo <shawn
guo@kernel
.org>
allOf
:
-
$ref
:
"
/schemas/spi/spi-controller.yaml#"
...
...
Documentation/devicetree/bindings/thermal/imx-thermal.yaml
View file @
aa6174f0
...
...
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title
:
NXP i.MX Thermal Binding
maintainers
:
-
Shawn Guo <shawn
.guo@linaro
.org>
-
Shawn Guo <shawn
guo@kernel
.org>
-
Anson Huang <Anson.Huang@nxp.com>
properties
:
...
...
Documentation/devicetree/bindings/vendor-prefixes.yaml
View file @
aa6174f0
...
...
@@ -1001,7 +1001,7 @@ patternProperties:
"
^sst,.*"
:
description
:
Silicon Storage Technology, Inc.
"
^sstar,.*"
:
description
:
Xiamen Xingchen(SigmaStar) Technology Co., Ltd.
description
:
Xiamen Xingchen(SigmaStar) Technology Co., Ltd.
(formerly part of MStar Semiconductor, Inc.)
"
^st,.*"
:
description
:
STMicroelectronics
...
...
Documentation/devicetree/writing-schema.rst
View file @
aa6174f0
...
...
@@ -5,7 +5,7 @@ Writing DeviceTree Bindings in json-schema
Devicetree bindings are written using json-schema vocabulary. Schema files are
written in a JSON compatible subset of YAML. YAML is used instead of JSON as it
considered more human readable and has some advantages such as allowing
is
considered more human readable and has some advantages such as allowing
comments (Prefixed with '#').
Schema Contents
...
...
@@ -19,7 +19,7 @@ $id
A json-schema unique identifier string. The string must be a valid
URI typically containing the binding's filename and path. For DT schema, it must
begin with "http://devicetree.org/schemas/". The URL is used in constructing
references to other files specified in schema "$ref" properties. A $ref value
s
references to other files specified in schema "$ref" properties. A $ref value
with a leading '/' will have the hostname prepended. A $ref value a relative
path or filename only will be prepended with the hostname and path components
of the current schema file's '$id' value. A URL is used even for local files,
...
...
arch/arm/boot/dts/bcm2835-rpi.dtsi
View file @
aa6174f0
...
...
@@ -13,7 +13,7 @@ act {
soc {
firmware: firmware {
compatible = "raspberrypi,bcm2835-firmware", "simple-
bus
";
compatible = "raspberrypi,bcm2835-firmware", "simple-
mfd
";
#address-cells = <1>;
#size-cells = <1>;
...
...
drivers/of/address.c
View file @
aa6174f0
...
...
@@ -128,15 +128,29 @@ static unsigned int of_bus_pci_get_flags(const __be32 *addr)
* PCI bus specific translator
*/
static
bool
of_node_is_pcie
(
struct
device_node
*
np
)
{
bool
is_pcie
=
of_node_name_eq
(
np
,
"pcie"
);
if
(
is_pcie
)
pr_warn_once
(
"%pOF: Missing device_type
\n
"
,
np
);
return
is_pcie
;
}
static
int
of_bus_pci_match
(
struct
device_node
*
np
)
{
/*
* "pciex" is PCI Express
* "vci" is for the /chaos bridge on 1st-gen PCI powermacs
* "ht" is hypertransport
*
* If none of the device_type match, and that the node name is
* "pcie", accept the device as PCI (with a warning).
*/
return
of_node_is_type
(
np
,
"pci"
)
||
of_node_is_type
(
np
,
"pciex"
)
||
of_node_is_type
(
np
,
"vci"
)
||
of_node_is_type
(
np
,
"ht"
);
of_node_is_type
(
np
,
"vci"
)
||
of_node_is_type
(
np
,
"ht"
)
||
of_node_is_pcie
(
np
);
}
static
void
of_bus_pci_count_cells
(
struct
device_node
*
np
,
...
...
@@ -985,6 +999,11 @@ int of_dma_get_range(struct device_node *np, u64 *dma_addr, u64 *paddr, u64 *siz
/* Don't error out as we'd break some existing DTs */
continue
;
}
if
(
range
.
cpu_addr
==
OF_BAD_ADDR
)
{
pr_err
(
"translation of DMA address(%llx) to CPU address failed node(%pOF)
\n
"
,
range
.
bus_addr
,
node
);
continue
;
}
dma_offset
=
range
.
cpu_addr
-
range
.
bus_addr
;
/* Take lower and upper limits */
...
...
scripts/dtc/Makefile
View file @
aa6174f0
...
...
@@ -9,7 +9,7 @@ dtc-objs := dtc.o flattree.o fstree.o data.o livetree.o treesource.o \
dtc-objs
+=
dtc-lexer.lex.o dtc-parser.tab.o
# Source files need to get at the userspace version of libfdt_env.h to compile
HOST_EXTRACFLAGS
:
=
-I
$(srctree)
/
$(src)
/libfdt
HOST_EXTRACFLAGS
+
=
-I
$(srctree)
/
$(src)
/libfdt
ifeq
($(shell pkg-config --exists yaml-0.1 2>/dev/null && echo yes),)
ifneq
($(CHECK_DT_BINDING)$(CHECK_DTBS),)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment