Skip to content

Commit

Permalink
dt-bindings: Rename Ingenic CGU headers to ingenic,*.h
Browse files Browse the repository at this point in the history
Tidy up a bit the tree, by prefixing all include/dt-bindings/clock/ files
related to Ingenic SoCs with 'ingenic,'.

Signed-off-by: Paul Cercueil <[email protected]>
Acked-by: Rob Herring <[email protected]>
Acked-by: Stephen Boyd <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
pcercuei authored and robherring committed Nov 12, 2021
1 parent 5833291 commit c4a11bf
Show file tree
Hide file tree
Showing 43 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/clock/ingenic,cgu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ additionalProperties: false

examples:
- |
#include <dt-bindings/clock/jz4770-cgu.h>
#include <dt-bindings/clock/ingenic,jz4770-cgu.h>
cgu: clock-controller@10000000 {
compatible = "ingenic,jz4770-cgu", "simple-mfd";
reg = <0x10000000 0x100>;
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/display/ingenic,ipu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ additionalProperties: false

examples:
- |
#include <dt-bindings/clock/jz4770-cgu.h>
#include <dt-bindings/clock/ingenic,jz4770-cgu.h>
ipu@13080000 {
compatible = "ingenic,jz4770-ipu", "ingenic,jz4760-ipu";
reg = <0x13080000 0x800>;
Expand Down
4 changes: 2 additions & 2 deletions Documentation/devicetree/bindings/display/ingenic,lcd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ additionalProperties: false

examples:
- |
#include <dt-bindings/clock/jz4740-cgu.h>
#include <dt-bindings/clock/ingenic,jz4740-cgu.h>
lcd-controller@13050000 {
compatible = "ingenic,jz4740-lcd";
reg = <0x13050000 0x1000>;
Expand All @@ -107,7 +107,7 @@ examples:
};
- |
#include <dt-bindings/clock/jz4725b-cgu.h>
#include <dt-bindings/clock/ingenic,jz4725b-cgu.h>
lcd-controller@13050000 {
compatible = "ingenic,jz4725b-lcd";
reg = <0x13050000 0x1000>;
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/dma/ingenic,dma.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ unevaluatedProperties: false

examples:
- |
#include <dt-bindings/clock/jz4780-cgu.h>
#include <dt-bindings/clock/ingenic,jz4780-cgu.h>
dma: dma-controller@13420000 {
compatible = "ingenic,jz4780-dma";
reg = <0x13420000 0x400>, <0x13421000 0x40>;
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ unevaluatedProperties: false

examples:
- |
#include <dt-bindings/clock/jz4780-cgu.h>
#include <dt-bindings/clock/ingenic,jz4780-cgu.h>
#include <dt-bindings/dma/jz4780-dma.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2c@10054000 {
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ additionalProperties: false

examples:
- |
#include <dt-bindings/clock/jz4740-cgu.h>
#include <dt-bindings/clock/ingenic,jz4740-cgu.h>
#include <dt-bindings/iio/adc/ingenic,adc.h>
adc@10070000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ additionalProperties: false

examples:
- |
#include <dt-bindings/clock/jz4780-cgu.h>
#include <dt-bindings/clock/ingenic,jz4780-cgu.h>
#include <dt-bindings/gpio/gpio.h>
nemc: memory-controller@13410000 {
compatible = "ingenic,jz4780-nemc";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ additionalProperties: false

examples:
- |
#include <dt-bindings/clock/jz4780-cgu.h>
#include <dt-bindings/clock/ingenic,jz4780-cgu.h>
cpus {
#address-cells = <1>;
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ unevaluatedProperties: false

examples:
- |
#include <dt-bindings/clock/jz4780-cgu.h>
#include <dt-bindings/clock/ingenic,jz4780-cgu.h>
#include <dt-bindings/dma/jz4780-dma.h>
mmc0: mmc@13450000 {
compatible = "ingenic,jz4780-mmc";
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/mtd/ingenic,nand.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ unevaluatedProperties: false

examples:
- |
#include <dt-bindings/clock/jz4780-cgu.h>
#include <dt-bindings/clock/ingenic,jz4780-cgu.h>
memory-controller@13410000 {
compatible = "ingenic,jz4780-nemc";
reg = <0x13410000 0x10000>;
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/net/ingenic,mac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ additionalProperties: false

examples:
- |
#include <dt-bindings/clock/x1000-cgu.h>
#include <dt-bindings/clock/ingenic,x1000-cgu.h>
mac: ethernet@134b0000 {
compatible = "ingenic,x1000-mac";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ unevaluatedProperties: false

examples:
- |
#include <dt-bindings/clock/jz4780-cgu.h>
#include <dt-bindings/clock/ingenic,jz4780-cgu.h>
efuse@134100d0 {
compatible = "ingenic,jz4780-efuse";
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/phy/ingenic,phy-usb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ additionalProperties: false

examples:
- |
#include <dt-bindings/clock/jz4770-cgu.h>
#include <dt-bindings/clock/ingenic,jz4770-cgu.h>
otg_phy: usb-phy@3c {
compatible = "ingenic,jz4770-phy";
reg = <0x3c 0x10>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ additionalProperties: false

examples:
- |
#include <dt-bindings/clock/jz4770-cgu.h>
#include <dt-bindings/clock/ingenic,jz4770-cgu.h>
vpu: video-decoder@132a0000 {
compatible = "ingenic,jz4770-vpu-rproc";
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/rng/ingenic,trng.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ additionalProperties: false

examples:
- |
#include <dt-bindings/clock/x1830-cgu.h>
#include <dt-bindings/clock/ingenic,x1830-cgu.h>
dtrng: trng@10072000 {
compatible = "ingenic,x1830-dtrng";
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ unevaluatedProperties: false

examples:
- |
#include <dt-bindings/clock/jz4740-cgu.h>
#include <dt-bindings/clock/ingenic,jz4740-cgu.h>
rtc_dev: rtc@10003000 {
compatible = "ingenic,jz4740-rtc";
reg = <0x10003000 0x40>;
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/serial/ingenic,uart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ unevaluatedProperties: false

examples:
- |
#include <dt-bindings/clock/jz4780-cgu.h>
#include <dt-bindings/clock/ingenic,jz4780-cgu.h>
#include <dt-bindings/dma/jz4780-dma.h>
#include <dt-bindings/gpio/gpio.h>
serial@10032000 {
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/ingenic,aic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ required:

examples:
- |
#include <dt-bindings/clock/jz4740-cgu.h>
#include <dt-bindings/clock/ingenic,jz4740-cgu.h>
aic: audio-controller@10020000 {
compatible = "ingenic,jz4740-i2s";
reg = <0x10020000 0x38>;
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/sound/ingenic,codec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ required:

examples:
- |
#include <dt-bindings/clock/jz4740-cgu.h>
#include <dt-bindings/clock/ingenic,jz4740-cgu.h>
codec: audio-codec@10020080 {
compatible = "ingenic,jz4740-codec";
reg = <0x10020080 0x8>;
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/spi/ingenic,spi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ unevaluatedProperties: false

examples:
- |
#include <dt-bindings/clock/jz4770-cgu.h>
#include <dt-bindings/clock/ingenic,jz4770-cgu.h>
spi@10043000 {
compatible = "ingenic,jz4770-spi", "ingenic,jz4750-spi";
reg = <0x10043000 0x1c>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ additionalProperties: false

examples:
- |
#include <dt-bindings/clock/x1000-cgu.h>
#include <dt-bindings/clock/ingenic,x1000-cgu.h>
ost: timer@12000000 {
compatible = "ingenic,x1000-ost";
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/timer/ingenic,tcu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ additionalProperties: false

examples:
- |
#include <dt-bindings/clock/jz4770-cgu.h>
#include <dt-bindings/clock/ingenic,jz4770-cgu.h>
#include <dt-bindings/clock/ingenic,tcu.h>
tcu: timer@10002000 {
compatible = "ingenic,jz4770-tcu", "ingenic,jz4760-tcu", "simple-mfd";
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/usb/ingenic,musb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ additionalProperties: false

examples:
- |
#include <dt-bindings/clock/jz4740-cgu.h>
#include <dt-bindings/clock/ingenic,jz4740-cgu.h>
usb_phy: usb-phy {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/boot/dts/ingenic/jz4725b.dtsi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
#include <dt-bindings/clock/jz4725b-cgu.h>
#include <dt-bindings/clock/ingenic,jz4725b-cgu.h>
#include <dt-bindings/clock/ingenic,tcu.h>

/ {
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/boot/dts/ingenic/jz4740.dtsi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
#include <dt-bindings/clock/jz4740-cgu.h>
#include <dt-bindings/clock/ingenic,jz4740-cgu.h>
#include <dt-bindings/clock/ingenic,tcu.h>

/ {
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/boot/dts/ingenic/jz4770.dtsi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
#include <dt-bindings/clock/jz4770-cgu.h>
#include <dt-bindings/clock/ingenic,jz4770-cgu.h>
#include <dt-bindings/clock/ingenic,tcu.h>

/ {
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/boot/dts/ingenic/jz4780.dtsi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
#include <dt-bindings/clock/jz4780-cgu.h>
#include <dt-bindings/clock/ingenic,jz4780-cgu.h>
#include <dt-bindings/clock/ingenic,tcu.h>
#include <dt-bindings/dma/jz4780-dma.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/mips/boot/dts/ingenic/x1000.dtsi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include <dt-bindings/clock/ingenic,tcu.h>
#include <dt-bindings/clock/x1000-cgu.h>
#include <dt-bindings/clock/ingenic,x1000-cgu.h>
#include <dt-bindings/dma/x1000-dma.h>

/ {
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/boot/dts/ingenic/x1830.dtsi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include <dt-bindings/clock/ingenic,tcu.h>
#include <dt-bindings/clock/x1830-cgu.h>
#include <dt-bindings/clock/ingenic,x1830-cgu.h>
#include <dt-bindings/dma/x1830-dma.h>

/ {
Expand Down
2 changes: 1 addition & 1 deletion drivers/clk/ingenic/jz4725b-cgu.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <linux/delay.h>
#include <linux/of.h>

#include <dt-bindings/clock/jz4725b-cgu.h>
#include <dt-bindings/clock/ingenic,jz4725b-cgu.h>

#include "cgu.h"
#include "pm.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/clk/ingenic/jz4740-cgu.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <linux/io.h>
#include <linux/of.h>

#include <dt-bindings/clock/jz4740-cgu.h>
#include <dt-bindings/clock/ingenic,jz4740-cgu.h>

#include "cgu.h"
#include "pm.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/clk/ingenic/jz4760-cgu.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <linux/clk.h>

#include <dt-bindings/clock/jz4760-cgu.h>
#include <dt-bindings/clock/ingenic,jz4760-cgu.h>

#include "cgu.h"
#include "pm.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/clk/ingenic/jz4770-cgu.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <linux/io.h>
#include <linux/of.h>

#include <dt-bindings/clock/jz4770-cgu.h>
#include <dt-bindings/clock/ingenic,jz4770-cgu.h>

#include "cgu.h"
#include "pm.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/clk/ingenic/jz4780-cgu.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <linux/iopoll.h>
#include <linux/of.h>

#include <dt-bindings/clock/jz4780-cgu.h>
#include <dt-bindings/clock/ingenic,jz4780-cgu.h>

#include "cgu.h"
#include "pm.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/clk/ingenic/x1000-cgu.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <linux/io.h>
#include <linux/of.h>

#include <dt-bindings/clock/x1000-cgu.h>
#include <dt-bindings/clock/ingenic,x1000-cgu.h>

#include "cgu.h"
#include "pm.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/clk/ingenic/x1830-cgu.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <linux/io.h>
#include <linux/of.h>

#include <dt-bindings/clock/x1830-cgu.h>
#include <dt-bindings/clock/ingenic,x1830-cgu.h>

#include "cgu.h"
#include "pm.h"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit c4a11bf

Please sign in to comment.