dt-bindings: clock: Move at91.h to dt-bindigs/clock
Most of the clock related dt-binding header files are located in dt-bindings/clock folder. It would be good to keep all the similar header files at a single location. Signed-off-by: Tushar Behera <tushar.behera@linaro.org> CC: Rob Landley <rob@landley.net> CC: Andrew Victor <linux@maxim.org.za> CC: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> Acked-by: Boris BREZILLON <b.brezillon.dev@gmail.com> [nicolas.ferre@atmel.com: add new at91sam9261 & at91sam9rl] Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
This commit is contained in:
Родитель
d44db494a8
Коммит
35d35aae81
|
@ -62,7 +62,7 @@ Required properties for PMC node:
|
||||||
- interrupt-controller : tell that the PMC is an interrupt controller.
|
- interrupt-controller : tell that the PMC is an interrupt controller.
|
||||||
- #interrupt-cells : must be set to 1. The first cell encodes the interrupt id,
|
- #interrupt-cells : must be set to 1. The first cell encodes the interrupt id,
|
||||||
and reflect the bit position in the PMC_ER/DR/SR registers.
|
and reflect the bit position in the PMC_ER/DR/SR registers.
|
||||||
You can use the dt macros defined in dt-bindings/clk/at91.h.
|
You can use the dt macros defined in dt-bindings/clock/at91.h.
|
||||||
0 (AT91_PMC_MOSCS) -> main oscillator ready
|
0 (AT91_PMC_MOSCS) -> main oscillator ready
|
||||||
1 (AT91_PMC_LOCKA) -> PLL A ready
|
1 (AT91_PMC_LOCKA) -> PLL A ready
|
||||||
2 (AT91_PMC_LOCKB) -> PLL B ready
|
2 (AT91_PMC_LOCKB) -> PLL B ready
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include <dt-bindings/pinctrl/at91.h>
|
#include <dt-bindings/pinctrl/at91.h>
|
||||||
#include <dt-bindings/interrupt-controller/irq.h>
|
#include <dt-bindings/interrupt-controller/irq.h>
|
||||||
#include <dt-bindings/gpio/gpio.h>
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
#include <dt-bindings/clk/at91.h>
|
#include <dt-bindings/clock/at91.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Atmel AT91SAM9261 family SoC";
|
model = "Atmel AT91SAM9261 family SoC";
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
#include "skeleton.dtsi"
|
#include "skeleton.dtsi"
|
||||||
#include <dt-bindings/pinctrl/at91.h>
|
#include <dt-bindings/pinctrl/at91.h>
|
||||||
#include <dt-bindings/clk/at91.h>
|
#include <dt-bindings/clock/at91.h>
|
||||||
#include <dt-bindings/interrupt-controller/irq.h>
|
#include <dt-bindings/interrupt-controller/irq.h>
|
||||||
#include <dt-bindings/gpio/gpio.h>
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#include <dt-bindings/pinctrl/at91.h>
|
#include <dt-bindings/pinctrl/at91.h>
|
||||||
#include <dt-bindings/interrupt-controller/irq.h>
|
#include <dt-bindings/interrupt-controller/irq.h>
|
||||||
#include <dt-bindings/gpio/gpio.h>
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
#include <dt-bindings/clk/at91.h>
|
#include <dt-bindings/clock/at91.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Atmel SAMA5D3 family SoC";
|
model = "Atmel SAMA5D3 family SoC";
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <dt-bindings/pinctrl/at91.h>
|
#include <dt-bindings/pinctrl/at91.h>
|
||||||
#include <dt-bindings/interrupt-controller/irq.h>
|
#include <dt-bindings/interrupt-controller/irq.h>
|
||||||
#include <dt-bindings/clk/at91.h>
|
#include <dt-bindings/clock/at91.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
ahb {
|
ahb {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <dt-bindings/pinctrl/at91.h>
|
#include <dt-bindings/pinctrl/at91.h>
|
||||||
#include <dt-bindings/interrupt-controller/irq.h>
|
#include <dt-bindings/interrupt-controller/irq.h>
|
||||||
#include <dt-bindings/clk/at91.h>
|
#include <dt-bindings/clock/at91.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
aliases {
|
aliases {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <dt-bindings/pinctrl/at91.h>
|
#include <dt-bindings/pinctrl/at91.h>
|
||||||
#include <dt-bindings/interrupt-controller/irq.h>
|
#include <dt-bindings/interrupt-controller/irq.h>
|
||||||
#include <dt-bindings/clk/at91.h>
|
#include <dt-bindings/clock/at91.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
aliases {
|
aliases {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче