Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pinctrl: sunxi: sun7i: fix bad irq assignments on PIO I port #3

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
168 commits
Select commit Hold shift + click to select a range
2676ca3
Merge branch 'sunxi/dt-for-4.3' into sunxi/for-next
mripard Jul 6, 2015
333a0c2
Merge tag 'v4.2-rc2' into sunxi/for-next
mripard Jul 14, 2015
25f4293
Merge branch 'sunxi/dt-for-4.3' into sunxi/for-next
mripard Jul 14, 2015
17806ee
Merge branches 'ib-mfd-base-acpi-dma-4.3' and 'ib-mfd-clocksource-rtc…
Jul 28, 2015
50cf1df
mfd: intel_soc_pmic: Constify ACPI device ids
minipli Jun 13, 2015
b460507
mfd: arizona: Fix race between runtime suspend and IRQs
charleskeepax Jun 14, 2015
9f30ad7
mfd: arizona: Update several pdata members to unsigned
charleskeepax Jun 19, 2015
a184610
mfd: Remove MFD_CROS_EC_SPI depends on OF
Jun 25, 2015
719dc3f
mfd: 880m80x: Make use of BIT() macro
hvaibhav Jun 26, 2015
c5d166e
mfd: arizona: Add support for WM8998 and WM1814
Jul 3, 2015
90c4a5b
mfd: tps6586x: Fix up define for TPS6586X_MAX_REGISTER
AxelLin Jul 7, 2015
e619773
mfd: t7l66xb: Remove unnecessary pdata check
maninder42 Jul 2, 2015
778bc5d
mfd: da9062: Supply core driver
Jul 1, 2015
0c06824
mfd: da9062: dt: Add bindings for DA9062 driver
Jul 1, 2015
6f7b6b1
mfd: arizona: Fixup register table definitions
charleskeepax Jun 30, 2015
cad4d22
mfd: wm8994-regmap: Constify reg_default tables
AxelLin Jul 7, 2015
05cd775
mfd: Drop owner assignment from i2c_drivers
krzk Jul 10, 2015
73c4122
mfd: qcom-rpm: Add apq8064 QDSS clock resource
Jul 8, 2015
ac21991
mfd: axp20x: Add binding documentation for AXP152 PMIC
jwrdegoede Jul 11, 2015
f3e751c
mfd: kempld-core: Add support for COMe-bBL6 and COMe-cBW6 to Kontron …
mibrunner Jul 14, 2015
a50e5ab
mfd: axp20x: Add axp152 support
hramrach Jul 11, 2015
c789409
Merge commit 'd8323c6b0353' into sunxi-next
mripard Jul 28, 2015
72868b8
Merge tag 'v4.2-rc4' into sunxi-next
mripard Jul 28, 2015
5de4b42
Merge branch 'sunxi/dt-for-4.3' into sunxi/for-next
mripard Jul 28, 2015
09dbc2f
Merge branch 'sunxi/for-next' into sunxi-next
mripard Jul 28, 2015
0a472aa
Merge commit '8665c18bece7' into sunxi-next
mripard Jul 30, 2015
4c3bdbf
Merge commit 'd91de093d94e' into sunxi-next
mripard Jul 30, 2015
3d8081b
Merge commit 'a50e5abe10c9' into sunxi-next
mripard Jul 30, 2015
387a2c1
Merge commit 'bc3687982be0' into sunxi-next
mripard Jul 30, 2015
9d73c13
Merge branches 'sunxi/dt-for-4.3' and 'sunxi/defconfig-for-4.3' into …
mripard Aug 1, 2015
1f65379
Merge remote-tracking branch 'mripard-kernel/sunxi/for-next' into sun…
wens Aug 3, 2015
889d093
Merge commit '7167bf8b7f3f' into sunxi-next
wens Aug 3, 2015
7000ee6
Merge commit 'b6e26546cc08' into sunxi-next
wens Aug 4, 2015
9f72e44
Merge commit '8083526e0585' into sunxi-next
wens Aug 4, 2015
0c41728
clk: qcom: Add support for GDSCs
bebarino Aug 6, 2015
c22ce8c
clk: qcom: gdsc: Prepare common clk probe to register gdscs
Aug 6, 2015
f25cfaf
clk: qcom: gdsc: Add support for Memory RET/OFF
Aug 6, 2015
1eb0745
clk: qcom: gdsc: Add support for ON only state
Aug 6, 2015
e376065
clk: qcom: gdsc: Add GDSCs in msm8916 GCC
Aug 6, 2015
c572314
clk: qcom: gdsc: Add GDSCs in msm8974 GCC
bebarino Aug 6, 2015
507465e
clk: qcom: gdsc: Add GDSCs in msm8974 MMCC
bebarino Aug 6, 2015
32b9c87
clk: qcom: gdsc: Add GDSCs in apq8084 GCC
Aug 6, 2015
390bf51
clk: qcom: gdsc: Add GDSCs in apq8084 MMCC
Aug 6, 2015
86740fa
Merge tag 'imx-clk-4.3' of git://git.kernel.org/pub/scm/linux/kernel/…
mturquette Aug 11, 2015
a5f05ef
ARM: sun4i: Add clock indices
mripard Jul 31, 2015
6c5ad79
ARM: sun5i: Add clock indices
mripard Jul 31, 2015
910a77b
ARM: sun6i: Add clock indices
mripard Jul 31, 2015
576d7df
ARM: sun7i: Add clock indices
mripard Jul 31, 2015
2737c22
ARM: sun8i: Add clock indices
mripard Jul 31, 2015
57cced8
ARM: sun9i: Wrap the clock-indices
mripard Jul 31, 2015
6ebd074
clk: sunxi: Add a simple gates driver
mripard Jul 31, 2015
37235bd
clk: track the orphan status of clocks and their children
mmind Apr 22, 2015
f9dafbd
clk: bcm2835: Drop the fixed sys_pclk.
anholt Jul 20, 2015
73d05a5
clk: rockchip: Fix SPIF special clock definition
sjoerdsimons Jul 28, 2015
25950e0
drivers/clk: appropriate __init annotation for const data
Jul 28, 2015
a4f1b16
clk: Add clk_hw_*() APIs for use by clk providers
bebarino Jun 25, 2015
3b69b27
clk: Replace __clk_get_num_parents with clk_hw_get_num_parents()
bebarino Jun 25, 2015
f6f6869
clk: Convert __clk_get_flags() to clk_hw_get_flags()
bebarino Jun 29, 2015
fcd3d9f
clk: ti: Remove CLK_IS_BASIC check
bebarino Jul 21, 2015
4e54592
ARM: OMAP: Convert __clk_get_rate() to provider/consumer APIs
bebarino Jul 31, 2015
d617f8a
MIPS: alchemy: Convert to clk_hw based provider APIs
bebarino Jul 31, 2015
cbc8772
clk: at91: Convert to clk_hw based provider APIs
bebarino Jul 31, 2015
4eb988d
clk: bcm: Convert to clk_hw based provider APIs
bebarino Jul 31, 2015
267d2de
clk: Convert basic types to clk_hw based provider APIs
bebarino Jul 31, 2015
31ab522
clk: mmp: Convert to clk_hw based provider APIs
bebarino Jul 31, 2015
c354b13
clk: mvebu: Convert to clk_hw based provider APIs
bebarino Jul 31, 2015
0a84911
clk: stm32f4: Convert to clk_hw based provider APIs
bebarino Jul 31, 2015
e36fa66
clk: qcom: Convert to clk_hw based provider APIs
bebarino Jul 31, 2015
034a066
clk: rockchip: Convert to clk_hw based provider APIs
bebarino Jul 31, 2015
6a73fbc
clk: samsung: Convert to clk_hw based provider APIs
bebarino Jul 31, 2015
b087f3b
clk: sirf: Convert to clk_hw based provider APIs
bebarino Jul 31, 2015
5cac3f9
clk: spear: Convert to clk_hw based provider APIs
bebarino Jul 31, 2015
2bbd58f
clk: sunxi: Convert to clk_hw based provider APIs
bebarino Jul 31, 2015
13d4d5a
Revert "Merge commit 'a50e5abe10c9' into sunxi-next"
wens Aug 12, 2015
57c778f
Merge remote-tracking branch 'mfd/for-mfd-next' into sunxi-next
wens Aug 12, 2015
74c2ea0
Merge commit '2bbd58fd6cf9' into sunxi-next
wens Aug 12, 2015
89d5708
Merge commit '14fee74ca837' into sunxi-next
wens Aug 13, 2015
7f3b989
Merge tag 'v4.2-rc7' into sunxi-next
wens Aug 17, 2015
d3f1eba
Merge commit 'b096c1377d1e' into sunxi-next
wens Aug 20, 2015
a24ddca
phy: sun4i-usb: Use devm_gpiod_get_optional for optional GPIOs
AxelLin Aug 21, 2015
824ed12
regulator: axp20x: Add module alias
ijc Aug 1, 2015
4d25c24
pinctrl: sun4i: add spdif to pin description.
codekipper Aug 12, 2015
db832df
ubifs: Kill unneeded locking in ubifs_init_security
richardweinberger Jul 8, 2015
083a83d
net: sun4i-emac: Claim emac sram
jwrdegoede Aug 23, 2015
677f529
extcon: Fix attached value returned by is_extcon_changed
jwrdegoede Aug 23, 2015
515ba1f
ARM: dts: Add binding documentation for AXP20x pmic usb power supply
jwrdegoede Jun 13, 2015
a142a60
power: Add an axp20x-usb-power driver
jwrdegoede Jun 7, 2015
2f44251
ARM: dts: sun5i: Add support for the Auxtek-T003 HDMI stick
jwrdegoede Aug 7, 2015
89a0fea
ARM: dts: sun6i: Turn on gmac on Colombus
jwrdegoede Aug 6, 2015
841aeff
ARM: dts: sun6i: Columbus: Add i2c controller for communicating with …
jwrdegoede Aug 7, 2015
13ca47b
ARM: dts: sun4i: Enable i2c1 and i2c2 on the Chuwi V7-CW0825 tablet
jwrdegoede Aug 7, 2015
f897504
ARM: dts: sun5i: Add simplefb node for tvencoder output
jwrdegoede Aug 11, 2015
3346b8f
ARM: dts: sun7i: Add regulator configuration to the pcduino3 dts file
jelly Aug 9, 2015
49b1303
ARM: dts: sun7i: Enable USB DRC on pcDuino 3
jelly Aug 9, 2015
b6f20d6
ARM: dts: sun7i: Enable USB DRC on cubieboard2
benadski Aug 9, 2015
2633cfc
ARM: dts: sun8i: Add support for qt90h-v4 tablets
jwrdegoede Aug 14, 2015
24e435b
ARM: dts: axp209: Add usb_power_supply child node to the ax209 node
jwrdegoede Jun 7, 2015
35dee4d
ARM: dts: sunxi: Add regulators for LeMaker BananaPi
silentcreek Aug 2, 2015
73f2cb1
ARM: dts: sun7i: Enable USB DRC on Bananapi
jwrdegoede Mar 21, 2015
c8cb69b
ARM: dts: sun7i: Enable USB DRC on orangepi-mini
jwrdegoede Jun 13, 2015
4470a01
ARM: dts: sun7i: Enable USB DRC on the Orange pi
Jul 26, 2015
bc384f0
ARM: dts: sun7i: Enable USB DRC on Wexler TAB7200
reinforce Jul 30, 2015
1226c66
ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT
tuxcrafter Jul 26, 2015
153718b
musb: sunxi: Ignore VBus errors in host-only mode
jwrdegoede Aug 4, 2015
eb2e0ea
ARM: dts: sun4i: Enable otg in host only mode on Jesurun Q5
jwrdegoede Aug 4, 2015
8628e3d
clk: sunxi: PLL2 support for sun4i, sun5i and sun7i
elopez Jul 18, 2014
ad47fd6
clk: sunxi: codec clock support
elopez Jul 18, 2014
623ca6b
clk: sunxi: mod1 clock support
elopez Jul 18, 2014
479ad95
ARM: dts: sunxi: Add PLL2 support
elopez Jul 18, 2014
fd287c5
ARM: dts: sunxi: Add codec clock support
elopez Jul 18, 2014
58fb6c5
ARM: dts: sun7i: Add mod1 clock nodes
elopez Jul 18, 2014
c1aae2a
ASoC: sunxi: add support for the on-chip codec on early Allwinner SoCs
elopez Jul 14, 2014
9c28925
ASoC: sunxi-codec: Fix distortion on 16-bit mono
Sep 6, 2014
f96f3ab
ARM: dts: sun4i: Add sunxi codec device node
codekipper Jul 22, 2014
aa0974d
ARM: dts: sun4i: Enable audio-codec on Mele A1000
codekipper Jun 10, 2015
4dcb2b2
ARM: dts: sun7i: Add sunxi codec device node
elopez Aug 18, 2014
5fbd8a7
ARM: dts: sun7i: Enable audio codec on Cubietruck
elopez Aug 18, 2014
858c9f0
ARM: dts: sun7i: Enable audio codec on pcDuino
jelly Aug 9, 2015
3d037e8
ARM: dts: sun7i: Enable audio codec on cubieboard2
benadski Aug 14, 2015
2e099e9
mtd: nand: Take nand_ecc_ctrl initialization out of nand_scan_tail
Jul 28, 2014
d706cf2
mtd: nand: Add support for NAND partitions
Jul 28, 2014
29ad1fa
mtd: nand: Add DT NAND partition parser
Jul 28, 2014
95f28e5
mtd: nand: Add page status table (pst)
Jul 28, 2014
c925cf4
mtd: nand: Introduce a randomizer layer in the NAND framework
Jul 28, 2014
8de0672
of: mtd: Add NAND randomizer mode retrieval
Jul 28, 2014
4351149
mtd: nand: Add manufacturer specific init code infrastructure
Feb 24, 2014
99453de
mtd: nand: Add hynix specific initializer
Feb 24, 2014
408f743
mtd: nand: nand_decode_ext_id(): Fill in ecc strength and size for Sa…
jwrdegoede May 24, 2015
58f4aee
mtd: nand: nand_get_flash_type: Print detected ECC strength and size
jwrdegoede May 25, 2015
2c06a05
mtd: nand: print full chip ID
hramrach Dec 31, 2014
de9fa8d
mtd: nand: sunxi: Add NAND partition support
Oct 21, 2014
20d8219
mtd: nand: sunxi: Add HW randomizer support
Oct 21, 2014
ddc9cf6
mtd: nand: sunxi: Fallback to chip config when partition config is no…
Aug 24, 2014
4c4ba54
nand: sunxi: fix write to USER_DATA reg
Jun 15, 2015
5e8effe
mtd: nand: hynix: add read-retry support for H27Q chips
Jun 23, 2015
c4d99c9
mtd: adapt nand_ecclayout eccpos table size
Jun 24, 2015
e11ebe2
mtd: nand: add full id for H27Q chips
Jun 24, 2015
081f806
ARM: dts: sun4i: Add NAND controller pin definitions
hramrach May 26, 2015
d255130
ARM: dts: sun4i: Add NFC node to Allwinner A10 SoC
hramrach May 26, 2015
6b1d22e
ARM: dts: sun4i: Enable NAND on cubieboard
hramrach Dec 12, 2014
9135fc6
ARM: dts: sun5i: Add NAND controller pin definitions
jwrdegoede May 26, 2015
fe90a0e
ARM: dts: sun5i: Add NFC node to Allwinner A13/A10s SoC
jwrdegoede May 26, 2015
6307e37
ARM: dts: sun5i: Enable NAND on A13 OLinuxIno board
jwrdegoede May 26, 2015
86fe9e2
ARM: dts: sun7i: Add NAND controller pin definitions
Jul 28, 2014
86f6d43
ARM: dts: sun7i: Add NFC node to Allwinner A20 SoC
Jul 28, 2014
8189618
ARM: dts: sun7i: Enable NAND on cubietruck board
Jul 28, 2014
b6a80d4
ARM: dts: sun7i: Enable NAND on cubieboard2
petrosagg Aug 25, 2014
c611a1e
mmc: sunxi: Don't start commands while the card is busy
jwrdegoede Jul 10, 2015
72fd041
ARM: sunxi: Add R8 support
mripard Jun 9, 2015
08976f7
ARM: sun5i: Add C.H.I.P DTS
mripard Jun 9, 2015
a73ef67
ARM: sunxi: chip: Add regulators
mripard Jun 16, 2015
117a828
ARM: sunxi: chip: Enable USB host
mripard Jun 16, 2015
8268120
ARM: sunxi: chip: Add GPIO expander
mripard Jun 17, 2015
02b34fa
ARM: sunxi: chip: Enable the i2c1 bus
mripard Jun 17, 2015
b356679
ARM: sunxi: chip: Enable OTG controller
mripard Jun 19, 2015
366b31b
ARM: sun5i: dt: Move uart3 pinctrl node to common DTSI
mripard Jun 22, 2015
4455404
ARM: sun5i: dt: Add UART3 CTS and RTS pins
mripard Jun 22, 2015
290f575
ARM: sun5i: chip: Enable the UART3
mripard Jun 22, 2015
cd9ce55
ARM: sun5i: chip: Enable MMC0
mripard Jun 22, 2015
85c04be
ARM: sunxi: chip: Add Wifi Regulator
mripard Jul 22, 2015
e3d1dce
ARM: sunxi/dt: add nand defs to sun5i-r8-chip dts
Jun 24, 2015
a8bfbd8
ARM: dts: sun4i: inet97fv2: Disable unused usb controllers
jwrdegoede Aug 23, 2015
2442c1a
ARM: dts: sun4i: inet97fv2: Add regulator nodes
jwrdegoede Aug 23, 2015
7f0c893
ARM: dts: sun4i: inet97fv2: Enable otg controller
jwrdegoede Aug 23, 2015
40b34e0
ARM: dts: sun4i: inet97fv2: Enable support for tablet keys
jwrdegoede Aug 23, 2015
1f12f4f
ARM: dts: sun4i: inet97fv2: Enable i2c1 and i2c2 controllers
jwrdegoede Aug 23, 2015
4d58a62
ARM:m dts: sun5i: Add dts file for inet98v_rev2 based tablets
jwrdegoede Aug 25, 2015
b18f7d2
pinctrl: sunxi: sun7i: fix bad irq assignments on PIO I port
fredericgermain Jul 9, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions Documentation/DocBook/crypto-API.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ kernel crypto API | IPSEC Layer
+-----------+ |
| | (1)
| aead | <----------------------------------- esp_output
| (seqniv) | ---+
| (seqiv) | ---+
+-----------+ |
| (2)
+-----------+ |
Expand Down Expand Up @@ -1101,7 +1101,7 @@ kernel crypto API | Caller
</para>

<para>
[1] http://www.chronox.de/libkcapi.html
[1] <ulink url="http://www.chronox.de/libkcapi.html">http://www.chronox.de/libkcapi.html</ulink>
</para>

</sect1>
Expand Down Expand Up @@ -1661,7 +1661,7 @@ read(opfd, out, outlen);
</para>

<para>
[1] http://www.chronox.de/libkcapi.html
[1] <ulink url="http://www.chronox.de/libkcapi.html">http://www.chronox.de/libkcapi.html</ulink>
</para>

</sect1>
Expand All @@ -1687,7 +1687,7 @@ read(opfd, out, outlen);
!Pinclude/linux/crypto.h Block Cipher Algorithm Definitions
!Finclude/linux/crypto.h crypto_alg
!Finclude/linux/crypto.h ablkcipher_alg
!Finclude/linux/crypto.h aead_alg
!Finclude/crypto/aead.h aead_alg
!Finclude/linux/crypto.h blkcipher_alg
!Finclude/linux/crypto.h cipher_alg
!Finclude/crypto/rng.h rng_alg
Expand Down
8 changes: 2 additions & 6 deletions Documentation/clk.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,8 @@ the operations defined in clk.h:
long (*round_rate)(struct clk_hw *hw,
unsigned long rate,
unsigned long *parent_rate);
long (*determine_rate)(struct clk_hw *hw,
unsigned long rate,
unsigned long min_rate,
unsigned long max_rate,
unsigned long *best_parent_rate,
struct clk_hw **best_parent_clk);
int (*determine_rate)(struct clk_hw *hw,
struct clk_rate_request *req);
int (*set_parent)(struct clk_hw *hw, u8 index);
u8 (*get_parent)(struct clk_hw *hw);
int (*set_rate)(struct clk_hw *hw,
Expand Down
19 changes: 19 additions & 0 deletions Documentation/devicetree/bindings/clock/gpio-mux-clock.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Binding for simple gpio clock multiplexer.

This binding uses the common clock binding[1].

[1] Documentation/devicetree/bindings/clock/clock-bindings.txt

Required properties:
- compatible : shall be "gpio-mux-clock".
- clocks: list of two references to parent clocks.
- #clock-cells : from common clock binding; shall be set to 0.
- select-gpios : GPIO reference for selecting the parent clock.

Example:
clock {
compatible = "gpio-mux-clock";
clocks = <&parentclk1>, <&parentclk2>;
#clock-cells = <0>;
select-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
};
61 changes: 61 additions & 0 deletions Documentation/devicetree/bindings/clock/rockchip,rk3368-cru.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
* Rockchip RK3368 Clock and Reset Unit

The RK3368 clock controller generates and supplies clock to various
controllers within the SoC and also implements a reset controller for SoC
peripherals.

Required Properties:

- compatible: should be "rockchip,rk3368-cru"
- reg: physical base address of the controller and length of memory mapped
region.
- #clock-cells: should be 1.
- #reset-cells: should be 1.

Optional Properties:

- rockchip,grf: phandle to the syscon managing the "general register files"
If missing, pll rates are not changeable, due to the missing pll lock status.

Each clock is assigned an identifier and client nodes can use this identifier
to specify the clock which they consume. All available clocks are defined as
preprocessor macros in the dt-bindings/clock/rk3368-cru.h headers and can be
used in device tree sources. Similar macros exist for the reset sources in
these files.

External clocks:

There are several clocks that are generated outside the SoC. It is expected
that they are defined using standard clock bindings with following
clock-output-names:
- "xin24m" - crystal input - required,
- "xin32k" - rtc clock - optional,
- "ext_i2s" - external I2S clock - optional,
- "ext_gmac" - external GMAC clock - optional
- "ext_hsadc" - external HSADC clock - optional,
- "ext_isp" - external ISP clock - optional,
- "ext_jtag" - external JTAG clock - optional
- "ext_vip" - external VIP clock - optional,
- "usbotg_out" - output clock of the pll in the otg phy

Example: Clock controller node:

cru: clock-controller@ff760000 {
compatible = "rockchip,rk3368-cru";
reg = <0x0 0xff760000 0x0 0x1000>;
rockchip,grf = <&grf>;
#clock-cells = <1>;
#reset-cells = <1>;
};

Example: UART controller node that consumes the clock generated by the clock
controller:

uart0: serial@10124000 {
compatible = "snps,dw-apb-uart";
reg = <0x10124000 0x400>;
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
reg-shift = <2>;
reg-io-width = <1>;
clocks = <&cru SCLK_UART0>;
};
17 changes: 17 additions & 0 deletions Documentation/devicetree/bindings/crypto/fsl-sec4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,18 @@ PROPERTIES
to the interrupt parent to which the child domain
is being mapped.

- clocks
Usage: required if SEC 4.0 requires explicit enablement of clocks
Value type: <prop_encoded-array>
Definition: A list of phandle and clock specifier pairs describing
the clocks required for enabling and disabling SEC 4.0.

- clock-names
Usage: required if SEC 4.0 requires explicit enablement of clocks
Value type: <string>
Definition: A list of clock name strings in the same order as the
clocks property.

Note: All other standard properties (see the ePAPR) are allowed
but are optional.

Expand All @@ -120,6 +132,11 @@ EXAMPLE
ranges = <0 0x300000 0x10000>;
interrupt-parent = <&mpic>;
interrupts = <92 2>;
clocks = <&clks IMX6QDL_CLK_CAAM_MEM>,
<&clks IMX6QDL_CLK_CAAM_ACLK>,
<&clks IMX6QDL_CLK_CAAM_IPG>,
<&clks IMX6QDL_CLK_EIM_SLOW>;
clock-names = "mem", "aclk", "ipg", "emi_slow";
};

=====================================================================
Expand Down
23 changes: 23 additions & 0 deletions Documentation/devicetree/bindings/crypto/sun4i-ss.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
* Allwinner Security System found on A20 SoC

Required properties:
- compatible : Should be "allwinner,sun4i-a10-crypto".
- reg: Should contain the Security System register location and length.
- interrupts: Should contain the IRQ line for the Security System.
- clocks : List of clock specifiers, corresponding to ahb and ss.
- clock-names : Name of the functional clock, should be
* "ahb" : AHB gating clock
* "mod" : SS controller clock

Optional properties:
- resets : phandle + reset specifier pair
- reset-names : must contain "ahb"

Example:
crypto: crypto-engine@01c15000 {
compatible = "allwinner,sun4i-a10-crypto";
reg = <0x01c15000 0x1000>;
interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ahb_gates 5>, <&ss_clk>;
clock-names = "ahb", "mod";
};
54 changes: 54 additions & 0 deletions Documentation/devicetree/bindings/dma/arm-pl08x.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
* ARM PrimeCells PL080 and PL081 and derivatives DMA controller

Required properties:
- compatible: "arm,pl080", "arm,primecell";
"arm,pl081", "arm,primecell";
- reg: Address range of the PL08x registers
- interrupt: The PL08x interrupt number
- clocks: The clock running the IP core clock
- clock-names: Must contain "apb_pclk"
- lli-bus-interface-ahb1: if AHB master 1 is eligible for fetching LLIs
- lli-bus-interface-ahb2: if AHB master 2 is eligible for fetching LLIs
- mem-bus-interface-ahb1: if AHB master 1 is eligible for fetching memory contents
- mem-bus-interface-ahb2: if AHB master 2 is eligible for fetching memory contents
- #dma-cells: must be <2>. First cell should contain the DMA request,
second cell should contain either 1 or 2 depending on
which AHB master that is used.

Optional properties:
- dma-channels: contains the total number of DMA channels supported by the DMAC
- dma-requests: contains the total number of DMA requests supported by the DMAC
- memcpy-burst-size: the size of the bursts for memcpy: 1, 4, 8, 16, 32
64, 128 or 256 bytes are legal values
- memcpy-bus-width: the bus width used for memcpy: 8, 16 or 32 are legal
values

Clients
Required properties:
- dmas: List of DMA controller phandle, request channel and AHB master id
- dma-names: Names of the aforementioned requested channels

Example:

dmac0: dma-controller@10130000 {
compatible = "arm,pl080", "arm,primecell";
reg = <0x10130000 0x1000>;
interrupt-parent = <&vica>;
interrupts = <15>;
clocks = <&hclkdma0>;
clock-names = "apb_pclk";
lli-bus-interface-ahb1;
lli-bus-interface-ahb2;
mem-bus-interface-ahb2;
memcpy-burst-size = <256>;
memcpy-bus-width = <32>;
#dma-cells = <2>;
};

device@40008000 {
...
dmas = <&dmac0 0 2
&dmac0 1 2>;
dma-names = "tx", "rx";
...
};
54 changes: 54 additions & 0 deletions Documentation/devicetree/bindings/dma/lpc1850-dmamux.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
NXP LPC18xx/43xx DMA MUX (DMA request router)

Required properties:
- compatible: "nxp,lpc1850-dmamux"
- reg: Memory map for accessing module
- #dma-cells: Should be set to <3>.
* 1st cell contain the master dma request signal
* 2nd cell contain the mux value (0-3) for the peripheral
* 3rd cell contain either 1 or 2 depending on the AHB
master used.
- dma-requests: Number of DMA requests for the mux
- dma-masters: phandle pointing to the DMA controller

The DMA controller node need to have the following poroperties:
- dma-requests: Number of DMA requests the controller can handle

Example:

dmac: dma@40002000 {
compatible = "nxp,lpc1850-gpdma", "arm,pl080", "arm,primecell";
arm,primecell-periphid = <0x00041080>;
reg = <0x40002000 0x1000>;
interrupts = <2>;
clocks = <&ccu1 CLK_CPU_DMA>;
clock-names = "apb_pclk";
#dma-cells = <2>;
dma-channels = <8>;
dma-requests = <16>;
lli-bus-interface-ahb1;
lli-bus-interface-ahb2;
mem-bus-interface-ahb1;
mem-bus-interface-ahb2;
memcpy-burst-size = <256>;
memcpy-bus-width = <32>;
};

dmamux: dma-mux {
compatible = "nxp,lpc1850-dmamux";
#dma-cells = <3>;
dma-requests = <64>;
dma-masters = <&dmac>;
};

uart0: serial@40081000 {
compatible = "nxp,lpc1850-uart", "ns16550a";
reg = <0x40081000 0x1000>;
reg-shift = <2>;
interrupts = <24>;
clocks = <&ccu2 CLK_APB0_UART0>, <&ccu1 CLK_CPU_UART0>;
clock-names = "uartclk", "reg";
dmas = <&dmamux 1 1 2
&dmamux 2 1 2>;
dma-names = "tx", "rx";
};
10 changes: 4 additions & 6 deletions Documentation/devicetree/bindings/dma/mv-xor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ XOR engine has. Those sub-nodes have the following required
properties:
- interrupts: interrupt of the XOR channel

And the following optional properties:
The sub-nodes used to contain one or several of the following
properties, but they are now deprecated:
- dmacap,memcpy to indicate that the XOR channel is capable of memcpy operations
- dmacap,memset to indicate that the XOR channel is capable of memset operations
- dmacap,xor to indicate that the XOR channel is capable of xor operations
- dmacap,interrupt to indicate that the XOR channel is capable of
generating interrupts

Example:

Expand All @@ -28,13 +31,8 @@ xor@d0060900 {

xor00 {
interrupts = <51>;
dmacap,memcpy;
dmacap,xor;
};
xor01 {
interrupts = <52>;
dmacap,memcpy;
dmacap,xor;
dmacap,memset;
};
};
46 changes: 46 additions & 0 deletions Documentation/devicetree/bindings/dma/sun4i-dma.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
Allwinner A10 DMA Controller

This driver follows the generic DMA bindings defined in dma.txt.

Required properties:

- compatible: Must be "allwinner,sun4i-a10-dma"
- reg: Should contain the registers base address and length
- interrupts: Should contain a reference to the interrupt used by this device
- clocks: Should contain a reference to the parent AHB clock
- #dma-cells : Should be 2, first cell denoting normal or dedicated dma,
second cell holding the request line number.

Example:
dma: dma-controller@01c02000 {
compatible = "allwinner,sun4i-a10-dma";
reg = <0x01c02000 0x1000>;
interrupts = <27>;
clocks = <&ahb_gates 6>;
#dma-cells = <2>;
};

Clients:

DMA clients connected to the Allwinner A10 DMA controller must use the
format described in the dma.txt file, using a three-cell specifier for
each channel: a phandle plus two integer cells.
The three cells in order are:

1. A phandle pointing to the DMA controller.
2. Whether it is using normal (0) or dedicated (1) channels
3. The port ID as specified in the datasheet

Example:
spi2: spi@01c17000 {
compatible = "allwinner,sun4i-a10-spi";
reg = <0x01c17000 0x1000>;
interrupts = <0 12 4>;
clocks = <&ahb_gates 22>, <&spi2_clk>;
clock-names = "ahb", "mod";
dmas = <&dma 1 29>, <&dma 1 28>;
dma-names = "rx", "tx";
status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
};
4 changes: 4 additions & 0 deletions Documentation/devicetree/bindings/mfd/atmel-hlcdc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ Device-Tree bindings for Atmel's HLCDC (High LCD Controller) MFD driver

Required properties:
- compatible: value should be one of the following:
"atmel,at91sam9n12-hlcdc"
"atmel,at91sam9x5-hlcdc"
"atmel,sama5d2-hlcdc"
"atmel,sama5d3-hlcdc"
"atmel,sama5d4-hlcdc"
- reg: base address and size of the HLCDC device registers.
- clock-names: the name of the 3 clocks requested by the HLCDC device.
Should contain "periph_clk", "sys_clk" and "slow_clk".
Expand Down
Loading