diff options
author | Dave Airlie <airlied@redhat.com> | 2015-04-13 03:28:16 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-04-13 03:28:16 -0400 |
commit | bb1dc08c94ead1b98e750caf535422f79363c1a2 (patch) | |
tree | 8e1db4d7b2de470223c7a98aca3e2f47d6d5ed83 /Documentation | |
parent | a7d6883619584c2dbeeb5f6a1cf86cde6a3993de (diff) | |
parent | ecaa4902222fd4d28692203bec028513fbac29c7 (diff) |
Merge tag 'of-graph-drm-2015-04-08' of git://git.pengutronix.de/git/pza/linux into drm-next
drm: Use of-graph helpers to loop over endpoints
Convert all drm callers that use of_graph_get_next_endpoint to loop over
of-graph endpoints to the newly introduced for_each_endpoint_of_node
helper macro.
* tag 'of-graph-drm-2015-04-08' of git://git.pengutronix.de/git/pza/linux:
drm/rockchip: use for_each_endpoint_of_node macro, drop endpoint reference on break
drm/rcar-du: use for_each_endpoint_of_node macro
drm/imx: use for_each_endpoint_of_node macro in imx_drm_encoder_get_mux_id
drm: use for_each_endpoint_of_node macro in drm_of_find_possible_crtcs
of: Explicitly include linux/types.h in of_graph.h
dt-bindings: brcm: rationalize Broadcom documentation naming
of/unittest: replace 'selftest' with 'unittest'
Documentation: rename of_selftest.txt to of_unittest.txt
Documentation: update the of_selftest.txt
dt: OF_UNITTEST make dependency broken
MAINTAINERS: Pantelis Antoniou device tree overlay maintainer
of: Add of_graph_get_port_by_id function
of: Add for_each_endpoint_of_node helper macro
of: Decrement refcount of previous endpoint in of_graph_get_next_endpoint
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351-cpu-method.txt (renamed from Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351-cpu-method) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.txt (renamed from Documentation/devicetree/bindings/arm/bcm/bcm11351.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.txt (renamed from Documentation/devicetree/bindings/arm/bcm/bcm21664.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt (renamed from Documentation/devicetree/bindings/arm/bcm2835.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt (renamed from Documentation/devicetree/bindings/arm/bcm4708.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/arm/bcm/brcm,bcm63138.txt (renamed from Documentation/devicetree/bindings/arm/bcm/bcm63138.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/arm/bcm/brcm,brcmstb.txt (renamed from Documentation/devicetree/bindings/arm/brcm-brcmstb.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.txt (renamed from Documentation/devicetree/bindings/arm/bcm/cygnus.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/bus/brcm,bus-axi.txt (renamed from Documentation/devicetree/bindings/bus/bcma.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/clock/brcm,kona-ccu.txt (renamed from Documentation/devicetree/bindings/clock/bcm-kona-clock.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt (renamed from Documentation/devicetree/bindings/dma/bcm2835-dma.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/gpio/brcm,kona-gpio.txt (renamed from Documentation/devicetree/bindings/gpio/gpio-bcm-kona.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/i2c/brcm,kona-i2c.txt (renamed from Documentation/devicetree/bindings/i2c/i2c-bcm-kona.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/mfd/brcm,bcm59056.txt (renamed from Documentation/devicetree/bindings/mfd/bcm590xx.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/mips/brcm/brcm,bcm3384-intc.txt (renamed from Documentation/devicetree/bindings/mips/brcm/bcm3384-intc.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/mips/brcm/brcm,bmips.txt (renamed from Documentation/devicetree/bindings/mips/brcm/bmips.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/mips/brcm/brcm,cm-dsl.txt (renamed from Documentation/devicetree/bindings/mips/brcm/cm-dsl.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/misc/brcm,kona-smc.txt (renamed from Documentation/devicetree/bindings/misc/smc.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.txt (renamed from Documentation/devicetree/bindings/mmc/kona-sdhci.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/net/brcm,bcm7445-switch-v4.0.txt (renamed from Documentation/devicetree/bindings/net/broadcom-sf2.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/net/brcm,bcmgenet.txt (renamed from Documentation/devicetree/bindings/net/broadcom-bcmgenet.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/net/brcm,systemport.txt (renamed from Documentation/devicetree/bindings/net/broadcom-systemport.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/net/brcm,unimac-mdio.txt (renamed from Documentation/devicetree/bindings/net/broadcom-mdio-unimac.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/phy/brcm,kona-usb2-phy.txt (renamed from Documentation/devicetree/bindings/phy/bcm-phy.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/pwm/brcm,kona-pwm.txt (renamed from Documentation/devicetree/bindings/pwm/bcm-kona-pwm.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/reset/brcm,bcm21664-resetmgr.txt (renamed from Documentation/devicetree/bindings/arm/bcm/kona-resetmgr.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/serial/brcm,bcm6345-uart.txt (renamed from Documentation/devicetree/bindings/serial/bcm63xx-uart.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/sound/brcm,bcm2835-i2s.txt (renamed from Documentation/devicetree/bindings/sound/bcm2835-i2s.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/timer/brcm,kona-timer.txt (renamed from Documentation/devicetree/bindings/arm/bcm/kona-timer.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/unittest.txt | 44 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/usb/brcm,bcm3384-usb.txt (renamed from Documentation/devicetree/bindings/mips/brcm/usb.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.txt (renamed from Documentation/devicetree/bindings/arm/bcm/kona-wdt.txt) | 0 | ||||
-rw-r--r-- | Documentation/devicetree/of_unittest.txt (renamed from Documentation/devicetree/of_selftest.txt) | 28 |
33 files changed, 36 insertions, 36 deletions
diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351-cpu-method b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351-cpu-method.txt index 8240c023e202..8240c023e202 100644 --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351-cpu-method +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351-cpu-method.txt | |||
diff --git a/Documentation/devicetree/bindings/arm/bcm/bcm11351.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.txt index 0ff6560e6094..0ff6560e6094 100644 --- a/Documentation/devicetree/bindings/arm/bcm/bcm11351.txt +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.txt | |||
diff --git a/Documentation/devicetree/bindings/arm/bcm/bcm21664.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.txt index e0774255e1a6..e0774255e1a6 100644 --- a/Documentation/devicetree/bindings/arm/bcm/bcm21664.txt +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.txt | |||
diff --git a/Documentation/devicetree/bindings/arm/bcm2835.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt index ac683480c486..ac683480c486 100644 --- a/Documentation/devicetree/bindings/arm/bcm2835.txt +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt | |||
diff --git a/Documentation/devicetree/bindings/arm/bcm4708.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt index 6b0f49f6f499..6b0f49f6f499 100644 --- a/Documentation/devicetree/bindings/arm/bcm4708.txt +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt | |||
diff --git a/Documentation/devicetree/bindings/arm/bcm/bcm63138.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm63138.txt index bd49987a8812..bd49987a8812 100644 --- a/Documentation/devicetree/bindings/arm/bcm/bcm63138.txt +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm63138.txt | |||
diff --git a/Documentation/devicetree/bindings/arm/brcm-brcmstb.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,brcmstb.txt index 430608ec09f0..430608ec09f0 100644 --- a/Documentation/devicetree/bindings/arm/brcm-brcmstb.txt +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,brcmstb.txt | |||
diff --git a/Documentation/devicetree/bindings/arm/bcm/cygnus.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.txt index 4c77169bb534..4c77169bb534 100644 --- a/Documentation/devicetree/bindings/arm/bcm/cygnus.txt +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.txt | |||
diff --git a/Documentation/devicetree/bindings/bus/bcma.txt b/Documentation/devicetree/bindings/bus/brcm,bus-axi.txt index edd44d802139..edd44d802139 100644 --- a/Documentation/devicetree/bindings/bus/bcma.txt +++ b/Documentation/devicetree/bindings/bus/brcm,bus-axi.txt | |||
diff --git a/Documentation/devicetree/bindings/clock/bcm-kona-clock.txt b/Documentation/devicetree/bindings/clock/brcm,kona-ccu.txt index 5286e260fcae..5286e260fcae 100644 --- a/Documentation/devicetree/bindings/clock/bcm-kona-clock.txt +++ b/Documentation/devicetree/bindings/clock/brcm,kona-ccu.txt | |||
diff --git a/Documentation/devicetree/bindings/dma/bcm2835-dma.txt b/Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt index 1396078d15ac..1396078d15ac 100644 --- a/Documentation/devicetree/bindings/dma/bcm2835-dma.txt +++ b/Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | |||
diff --git a/Documentation/devicetree/bindings/gpio/gpio-bcm-kona.txt b/Documentation/devicetree/bindings/gpio/brcm,kona-gpio.txt index 4a63bc96b687..4a63bc96b687 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-bcm-kona.txt +++ b/Documentation/devicetree/bindings/gpio/brcm,kona-gpio.txt | |||
diff --git a/Documentation/devicetree/bindings/i2c/i2c-bcm-kona.txt b/Documentation/devicetree/bindings/i2c/brcm,kona-i2c.txt index 1b87b741fa8e..1b87b741fa8e 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-bcm-kona.txt +++ b/Documentation/devicetree/bindings/i2c/brcm,kona-i2c.txt | |||
diff --git a/Documentation/devicetree/bindings/mfd/bcm590xx.txt b/Documentation/devicetree/bindings/mfd/brcm,bcm59056.txt index be51a15e05f9..be51a15e05f9 100644 --- a/Documentation/devicetree/bindings/mfd/bcm590xx.txt +++ b/Documentation/devicetree/bindings/mfd/brcm,bcm59056.txt | |||
diff --git a/Documentation/devicetree/bindings/mips/brcm/bcm3384-intc.txt b/Documentation/devicetree/bindings/mips/brcm/brcm,bcm3384-intc.txt index d4e0141d3620..d4e0141d3620 100644 --- a/Documentation/devicetree/bindings/mips/brcm/bcm3384-intc.txt +++ b/Documentation/devicetree/bindings/mips/brcm/brcm,bcm3384-intc.txt | |||
diff --git a/Documentation/devicetree/bindings/mips/brcm/bmips.txt b/Documentation/devicetree/bindings/mips/brcm/brcm,bmips.txt index 8ef71b4085ca..8ef71b4085ca 100644 --- a/Documentation/devicetree/bindings/mips/brcm/bmips.txt +++ b/Documentation/devicetree/bindings/mips/brcm/brcm,bmips.txt | |||
diff --git a/Documentation/devicetree/bindings/mips/brcm/cm-dsl.txt b/Documentation/devicetree/bindings/mips/brcm/brcm,cm-dsl.txt index 8a139cb3c0b5..8a139cb3c0b5 100644 --- a/Documentation/devicetree/bindings/mips/brcm/cm-dsl.txt +++ b/Documentation/devicetree/bindings/mips/brcm/brcm,cm-dsl.txt | |||
diff --git a/Documentation/devicetree/bindings/misc/smc.txt b/Documentation/devicetree/bindings/misc/brcm,kona-smc.txt index 6c9f176f3571..6c9f176f3571 100644 --- a/Documentation/devicetree/bindings/misc/smc.txt +++ b/Documentation/devicetree/bindings/misc/brcm,kona-smc.txt | |||
diff --git a/Documentation/devicetree/bindings/mmc/kona-sdhci.txt b/Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.txt index aaba2483b4ff..aaba2483b4ff 100644 --- a/Documentation/devicetree/bindings/mmc/kona-sdhci.txt +++ b/Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.txt | |||
diff --git a/Documentation/devicetree/bindings/net/broadcom-sf2.txt b/Documentation/devicetree/bindings/net/brcm,bcm7445-switch-v4.0.txt index 30d487597ecb..30d487597ecb 100644 --- a/Documentation/devicetree/bindings/net/broadcom-sf2.txt +++ b/Documentation/devicetree/bindings/net/brcm,bcm7445-switch-v4.0.txt | |||
diff --git a/Documentation/devicetree/bindings/net/broadcom-bcmgenet.txt b/Documentation/devicetree/bindings/net/brcm,bcmgenet.txt index 451fef26b4df..451fef26b4df 100644 --- a/Documentation/devicetree/bindings/net/broadcom-bcmgenet.txt +++ b/Documentation/devicetree/bindings/net/brcm,bcmgenet.txt | |||
diff --git a/Documentation/devicetree/bindings/net/broadcom-systemport.txt b/Documentation/devicetree/bindings/net/brcm,systemport.txt index 877da34145b0..877da34145b0 100644 --- a/Documentation/devicetree/bindings/net/broadcom-systemport.txt +++ b/Documentation/devicetree/bindings/net/brcm,systemport.txt | |||
diff --git a/Documentation/devicetree/bindings/net/broadcom-mdio-unimac.txt b/Documentation/devicetree/bindings/net/brcm,unimac-mdio.txt index ab0bb4247d14..ab0bb4247d14 100644 --- a/Documentation/devicetree/bindings/net/broadcom-mdio-unimac.txt +++ b/Documentation/devicetree/bindings/net/brcm,unimac-mdio.txt | |||
diff --git a/Documentation/devicetree/bindings/phy/bcm-phy.txt b/Documentation/devicetree/bindings/phy/brcm,kona-usb2-phy.txt index 3dc8b3d2ffbb..3dc8b3d2ffbb 100644 --- a/Documentation/devicetree/bindings/phy/bcm-phy.txt +++ b/Documentation/devicetree/bindings/phy/brcm,kona-usb2-phy.txt | |||
diff --git a/Documentation/devicetree/bindings/pwm/bcm-kona-pwm.txt b/Documentation/devicetree/bindings/pwm/brcm,kona-pwm.txt index 8eae9fe7841c..8eae9fe7841c 100644 --- a/Documentation/devicetree/bindings/pwm/bcm-kona-pwm.txt +++ b/Documentation/devicetree/bindings/pwm/brcm,kona-pwm.txt | |||
diff --git a/Documentation/devicetree/bindings/arm/bcm/kona-resetmgr.txt b/Documentation/devicetree/bindings/reset/brcm,bcm21664-resetmgr.txt index 93f31ca1ef4b..93f31ca1ef4b 100644 --- a/Documentation/devicetree/bindings/arm/bcm/kona-resetmgr.txt +++ b/Documentation/devicetree/bindings/reset/brcm,bcm21664-resetmgr.txt | |||
diff --git a/Documentation/devicetree/bindings/serial/bcm63xx-uart.txt b/Documentation/devicetree/bindings/serial/brcm,bcm6345-uart.txt index 5c52e5eef16d..5c52e5eef16d 100644 --- a/Documentation/devicetree/bindings/serial/bcm63xx-uart.txt +++ b/Documentation/devicetree/bindings/serial/brcm,bcm6345-uart.txt | |||
diff --git a/Documentation/devicetree/bindings/sound/bcm2835-i2s.txt b/Documentation/devicetree/bindings/sound/brcm,bcm2835-i2s.txt index 65783de0aedf..65783de0aedf 100644 --- a/Documentation/devicetree/bindings/sound/bcm2835-i2s.txt +++ b/Documentation/devicetree/bindings/sound/brcm,bcm2835-i2s.txt | |||
diff --git a/Documentation/devicetree/bindings/arm/bcm/kona-timer.txt b/Documentation/devicetree/bindings/timer/brcm,kona-timer.txt index 39adf54b4388..39adf54b4388 100644 --- a/Documentation/devicetree/bindings/arm/bcm/kona-timer.txt +++ b/Documentation/devicetree/bindings/timer/brcm,kona-timer.txt | |||
diff --git a/Documentation/devicetree/bindings/unittest.txt b/Documentation/devicetree/bindings/unittest.txt index 8933211f32f9..3bf58c20fe94 100644 --- a/Documentation/devicetree/bindings/unittest.txt +++ b/Documentation/devicetree/bindings/unittest.txt | |||
@@ -1,60 +1,60 @@ | |||
1 | 1) OF selftest platform device | 1 | 1) OF unittest platform device |
2 | 2 | ||
3 | ** selftest | 3 | ** unittest |
4 | 4 | ||
5 | Required properties: | 5 | Required properties: |
6 | - compatible: must be "selftest" | 6 | - compatible: must be "unittest" |
7 | 7 | ||
8 | All other properties are optional. | 8 | All other properties are optional. |
9 | 9 | ||
10 | Example: | 10 | Example: |
11 | selftest { | 11 | unittest { |
12 | compatible = "selftest"; | 12 | compatible = "unittest"; |
13 | status = "okay"; | 13 | status = "okay"; |
14 | }; | 14 | }; |
15 | 15 | ||
16 | 2) OF selftest i2c adapter platform device | 16 | 2) OF unittest i2c adapter platform device |
17 | 17 | ||
18 | ** platform device unittest adapter | 18 | ** platform device unittest adapter |
19 | 19 | ||
20 | Required properties: | 20 | Required properties: |
21 | - compatible: must be selftest-i2c-bus | 21 | - compatible: must be unittest-i2c-bus |
22 | 22 | ||
23 | Children nodes contain selftest i2c devices. | 23 | Children nodes contain unittest i2c devices. |
24 | 24 | ||
25 | Example: | 25 | Example: |
26 | selftest-i2c-bus { | 26 | unittest-i2c-bus { |
27 | compatible = "selftest-i2c-bus"; | 27 | compatible = "unittest-i2c-bus"; |
28 | status = "okay"; | 28 | status = "okay"; |
29 | }; | 29 | }; |
30 | 30 | ||
31 | 3) OF selftest i2c device | 31 | 3) OF unittest i2c device |
32 | 32 | ||
33 | ** I2C selftest device | 33 | ** I2C unittest device |
34 | 34 | ||
35 | Required properties: | 35 | Required properties: |
36 | - compatible: must be selftest-i2c-dev | 36 | - compatible: must be unittest-i2c-dev |
37 | 37 | ||
38 | All other properties are optional | 38 | All other properties are optional |
39 | 39 | ||
40 | Example: | 40 | Example: |
41 | selftest-i2c-dev { | 41 | unittest-i2c-dev { |
42 | compatible = "selftest-i2c-dev"; | 42 | compatible = "unittest-i2c-dev"; |
43 | status = "okay"; | 43 | status = "okay"; |
44 | }; | 44 | }; |
45 | 45 | ||
46 | 4) OF selftest i2c mux device | 46 | 4) OF unittest i2c mux device |
47 | 47 | ||
48 | ** I2C selftest mux | 48 | ** I2C unittest mux |
49 | 49 | ||
50 | Required properties: | 50 | Required properties: |
51 | - compatible: must be selftest-i2c-mux | 51 | - compatible: must be unittest-i2c-mux |
52 | 52 | ||
53 | Children nodes contain selftest i2c bus nodes per channel. | 53 | Children nodes contain unittest i2c bus nodes per channel. |
54 | 54 | ||
55 | Example: | 55 | Example: |
56 | selftest-i2c-mux { | 56 | unittest-i2c-mux { |
57 | compatible = "selftest-i2c-mux"; | 57 | compatible = "unittest-i2c-mux"; |
58 | status = "okay"; | 58 | status = "okay"; |
59 | #address-cells = <1>; | 59 | #address-cells = <1>; |
60 | #size-cells = <0>; | 60 | #size-cells = <0>; |
@@ -64,7 +64,7 @@ Example: | |||
64 | #size-cells = <0>; | 64 | #size-cells = <0>; |
65 | i2c-dev { | 65 | i2c-dev { |
66 | reg = <8>; | 66 | reg = <8>; |
67 | compatible = "selftest-i2c-dev"; | 67 | compatible = "unittest-i2c-dev"; |
68 | status = "okay"; | 68 | status = "okay"; |
69 | }; | 69 | }; |
70 | }; | 70 | }; |
diff --git a/Documentation/devicetree/bindings/mips/brcm/usb.txt b/Documentation/devicetree/bindings/usb/brcm,bcm3384-usb.txt index 452c45c7bf29..452c45c7bf29 100644 --- a/Documentation/devicetree/bindings/mips/brcm/usb.txt +++ b/Documentation/devicetree/bindings/usb/brcm,bcm3384-usb.txt | |||
diff --git a/Documentation/devicetree/bindings/arm/bcm/kona-wdt.txt b/Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.txt index 2b86a00e351d..2b86a00e351d 100644 --- a/Documentation/devicetree/bindings/arm/bcm/kona-wdt.txt +++ b/Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.txt | |||
diff --git a/Documentation/devicetree/of_selftest.txt b/Documentation/devicetree/of_unittest.txt index 57a808b588bf..3e4e7d48ae93 100644 --- a/Documentation/devicetree/of_selftest.txt +++ b/Documentation/devicetree/of_unittest.txt | |||
@@ -1,11 +1,11 @@ | |||
1 | Open Firmware Device Tree Selftest | 1 | Open Firmware Device Tree Unittest |
2 | ---------------------------------- | 2 | ---------------------------------- |
3 | 3 | ||
4 | Author: Gaurav Minocha <gaurav.minocha.os@gmail.com> | 4 | Author: Gaurav Minocha <gaurav.minocha.os@gmail.com> |
5 | 5 | ||
6 | 1. Introduction | 6 | 1. Introduction |
7 | 7 | ||
8 | This document explains how the test data required for executing OF selftest | 8 | This document explains how the test data required for executing OF unittest |
9 | is attached to the live tree dynamically, independent of the machine's | 9 | is attached to the live tree dynamically, independent of the machine's |
10 | architecture. | 10 | architecture. |
11 | 11 | ||
@@ -22,31 +22,31 @@ most of the device drivers in various use cases. | |||
22 | 22 | ||
23 | 2. Test-data | 23 | 2. Test-data |
24 | 24 | ||
25 | The Device Tree Source file (drivers/of/testcase-data/testcases.dts) contains | 25 | The Device Tree Source file (drivers/of/unittest-data/testcases.dts) contains |
26 | the test data required for executing the unit tests automated in | 26 | the test data required for executing the unit tests automated in |
27 | drivers/of/selftests.c. Currently, following Device Tree Source Include files | 27 | drivers/of/unittest.c. Currently, following Device Tree Source Include files |
28 | (.dtsi) are included in testcase.dts: | 28 | (.dtsi) are included in testcases.dts: |
29 | 29 | ||
30 | drivers/of/testcase-data/tests-interrupts.dtsi | 30 | drivers/of/unittest-data/tests-interrupts.dtsi |
31 | drivers/of/testcase-data/tests-platform.dtsi | 31 | drivers/of/unittest-data/tests-platform.dtsi |
32 | drivers/of/testcase-data/tests-phandle.dtsi | 32 | drivers/of/unittest-data/tests-phandle.dtsi |
33 | drivers/of/testcase-data/tests-match.dtsi | 33 | drivers/of/unittest-data/tests-match.dtsi |
34 | 34 | ||
35 | When the kernel is build with OF_SELFTEST enabled, then the following make rule | 35 | When the kernel is build with OF_SELFTEST enabled, then the following make rule |
36 | 36 | ||
37 | $(obj)/%.dtb: $(src)/%.dts FORCE | 37 | $(obj)/%.dtb: $(src)/%.dts FORCE |
38 | $(call if_changed_dep, dtc) | 38 | $(call if_changed_dep, dtc) |
39 | 39 | ||
40 | is used to compile the DT source file (testcase.dts) into a binary blob | 40 | is used to compile the DT source file (testcases.dts) into a binary blob |
41 | (testcase.dtb), also referred as flattened DT. | 41 | (testcases.dtb), also referred as flattened DT. |
42 | 42 | ||
43 | After that, using the following rule the binary blob above is wrapped as an | 43 | After that, using the following rule the binary blob above is wrapped as an |
44 | assembly file (testcase.dtb.S). | 44 | assembly file (testcases.dtb.S). |
45 | 45 | ||
46 | $(obj)/%.dtb.S: $(obj)/%.dtb | 46 | $(obj)/%.dtb.S: $(obj)/%.dtb |
47 | $(call cmd, dt_S_dtb) | 47 | $(call cmd, dt_S_dtb) |
48 | 48 | ||
49 | The assembly file is compiled into an object file (testcase.dtb.o), and is | 49 | The assembly file is compiled into an object file (testcases.dtb.o), and is |
50 | linked into the kernel image. | 50 | linked into the kernel image. |
51 | 51 | ||
52 | 52 | ||
@@ -98,7 +98,7 @@ child11 -> sibling12 -> sibling13 -> sibling14 -> null | |||
98 | Figure 1: Generic structure of un-flattened device tree | 98 | Figure 1: Generic structure of un-flattened device tree |
99 | 99 | ||
100 | 100 | ||
101 | Before executing OF selftest, it is required to attach the test data to | 101 | Before executing OF unittest, it is required to attach the test data to |
102 | machine's device tree (if present). So, when selftest_data_add() is called, | 102 | machine's device tree (if present). So, when selftest_data_add() is called, |
103 | at first it reads the flattened device tree data linked into the kernel image | 103 | at first it reads the flattened device tree data linked into the kernel image |
104 | via the following kernel symbols: | 104 | via the following kernel symbols: |