diff options
Diffstat (limited to 'Documentation')
21 files changed, 363 insertions, 14 deletions
diff --git a/Documentation/ABI/testing/ima_policy b/Documentation/ABI/testing/ima_policy index 986946613542..ec0a38ef3145 100644 --- a/Documentation/ABI/testing/ima_policy +++ b/Documentation/ABI/testing/ima_policy | |||
| @@ -23,7 +23,7 @@ Description: | |||
| 23 | lsm: [[subj_user=] [subj_role=] [subj_type=] | 23 | lsm: [[subj_user=] [subj_role=] [subj_type=] |
| 24 | [obj_user=] [obj_role=] [obj_type=]] | 24 | [obj_user=] [obj_role=] [obj_type=]] |
| 25 | 25 | ||
| 26 | base: func:= [BPRM_CHECK][FILE_MMAP][FILE_CHECK] | 26 | base: func:= [BPRM_CHECK][FILE_MMAP][FILE_CHECK][MODULE_CHECK] |
| 27 | mask:= [MAY_READ] [MAY_WRITE] [MAY_APPEND] [MAY_EXEC] | 27 | mask:= [MAY_READ] [MAY_WRITE] [MAY_APPEND] [MAY_EXEC] |
| 28 | fsmagic:= hex value | 28 | fsmagic:= hex value |
| 29 | uid:= decimal value | 29 | uid:= decimal value |
| @@ -53,6 +53,7 @@ Description: | |||
| 53 | measure func=BPRM_CHECK | 53 | measure func=BPRM_CHECK |
| 54 | measure func=FILE_MMAP mask=MAY_EXEC | 54 | measure func=FILE_MMAP mask=MAY_EXEC |
| 55 | measure func=FILE_CHECK mask=MAY_READ uid=0 | 55 | measure func=FILE_CHECK mask=MAY_READ uid=0 |
| 56 | measure func=MODULE_CHECK uid=0 | ||
| 56 | appraise fowner=0 | 57 | appraise fowner=0 |
| 57 | 58 | ||
| 58 | The default policy measures all executables in bprm_check, | 59 | The default policy measures all executables in bprm_check, |
diff --git a/Documentation/devicetree/bindings/arm/davinci/nand.txt b/Documentation/devicetree/bindings/arm/davinci/nand.txt index 49fc7ada929a..3545ea704b50 100644 --- a/Documentation/devicetree/bindings/arm/davinci/nand.txt +++ b/Documentation/devicetree/bindings/arm/davinci/nand.txt | |||
| @@ -23,6 +23,9 @@ Recommended properties : | |||
| 23 | - ti,davinci-nand-buswidth: buswidth 8 or 16 | 23 | - ti,davinci-nand-buswidth: buswidth 8 or 16 |
| 24 | - ti,davinci-nand-use-bbt: use flash based bad block table support. | 24 | - ti,davinci-nand-use-bbt: use flash based bad block table support. |
| 25 | 25 | ||
| 26 | nand device bindings may contain additional sub-nodes describing | ||
| 27 | partitions of the address space. See partition.txt for more detail. | ||
| 28 | |||
| 26 | Example(da850 EVM ): | 29 | Example(da850 EVM ): |
| 27 | nand_cs3@62000000 { | 30 | nand_cs3@62000000 { |
| 28 | compatible = "ti,davinci-nand"; | 31 | compatible = "ti,davinci-nand"; |
| @@ -35,4 +38,9 @@ nand_cs3@62000000 { | |||
| 35 | ti,davinci-ecc-mode = "hw"; | 38 | ti,davinci-ecc-mode = "hw"; |
| 36 | ti,davinci-ecc-bits = <4>; | 39 | ti,davinci-ecc-bits = <4>; |
| 37 | ti,davinci-nand-use-bbt; | 40 | ti,davinci-nand-use-bbt; |
| 41 | |||
| 42 | partition@180000 { | ||
| 43 | label = "ubifs"; | ||
| 44 | reg = <0x180000 0x7e80000>; | ||
| 45 | }; | ||
| 38 | }; | 46 | }; |
diff --git a/Documentation/devicetree/bindings/mtd/denali-nand.txt b/Documentation/devicetree/bindings/mtd/denali-nand.txt new file mode 100644 index 000000000000..b04d03a1d499 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/denali-nand.txt | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | * Denali NAND controller | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible : should be "denali,denali-nand-dt" | ||
| 5 | - reg : should contain registers location and length for data and reg. | ||
| 6 | - reg-names: Should contain the reg names "nand_data" and "denali_reg" | ||
| 7 | - interrupts : The interrupt number. | ||
| 8 | - dm-mask : DMA bit mask | ||
| 9 | |||
| 10 | The device tree may optionally contain sub-nodes describing partitions of the | ||
| 11 | address space. See partition.txt for more detail. | ||
| 12 | |||
| 13 | Examples: | ||
| 14 | |||
| 15 | nand: nand@ff900000 { | ||
| 16 | #address-cells = <1>; | ||
| 17 | #size-cells = <1>; | ||
| 18 | compatible = "denali,denali-nand-dt"; | ||
| 19 | reg = <0xff900000 0x100000>, <0xffb80000 0x10000>; | ||
| 20 | reg-names = "nand_data", "denali_reg"; | ||
| 21 | interrupts = <0 144 4>; | ||
| 22 | dma-mask = <0xffffffff>; | ||
| 23 | }; | ||
diff --git a/Documentation/devicetree/bindings/mtd/flctl-nand.txt b/Documentation/devicetree/bindings/mtd/flctl-nand.txt new file mode 100644 index 000000000000..427f46dc60ad --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/flctl-nand.txt | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | FLCTL NAND controller | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible : "renesas,shmobile-flctl-sh7372" | ||
| 5 | - reg : Address range of the FLCTL | ||
| 6 | - interrupts : flste IRQ number | ||
| 7 | - nand-bus-width : bus width to NAND chip | ||
| 8 | |||
| 9 | Optional properties: | ||
| 10 | - dmas: DMA specifier(s) | ||
| 11 | - dma-names: name for each DMA specifier. Valid names are | ||
| 12 | "data_tx", "data_rx", "ecc_tx", "ecc_rx" | ||
| 13 | |||
| 14 | The DMA fields are not used yet in the driver but are listed here for | ||
| 15 | completing the bindings. | ||
| 16 | |||
| 17 | The device tree may optionally contain sub-nodes describing partitions of the | ||
| 18 | address space. See partition.txt for more detail. | ||
| 19 | |||
| 20 | Example: | ||
| 21 | |||
| 22 | flctl@e6a30000 { | ||
| 23 | #address-cells = <1>; | ||
| 24 | #size-cells = <1>; | ||
| 25 | compatible = "renesas,shmobile-flctl-sh7372"; | ||
| 26 | reg = <0xe6a30000 0x100>; | ||
| 27 | interrupts = <0x0d80>; | ||
| 28 | |||
| 29 | nand-bus-width = <16>; | ||
| 30 | |||
| 31 | dmas = <&dmac 1 /* data_tx */ | ||
| 32 | &dmac 2;> /* data_rx */ | ||
| 33 | dma-names = "data_tx", "data_rx"; | ||
| 34 | |||
| 35 | system@0 { | ||
| 36 | label = "system"; | ||
| 37 | reg = <0x0 0x8000000>; | ||
| 38 | }; | ||
| 39 | |||
| 40 | userdata@8000000 { | ||
| 41 | label = "userdata"; | ||
| 42 | reg = <0x8000000 0x10000000>; | ||
| 43 | }; | ||
| 44 | |||
| 45 | cache@18000000 { | ||
| 46 | label = "cache"; | ||
| 47 | reg = <0x18000000 0x8000000>; | ||
| 48 | }; | ||
| 49 | }; | ||
diff --git a/Documentation/devicetree/bindings/mtd/fsmc-nand.txt b/Documentation/devicetree/bindings/mtd/fsmc-nand.txt index e2c663b354d2..e3ea32e7de3e 100644 --- a/Documentation/devicetree/bindings/mtd/fsmc-nand.txt +++ b/Documentation/devicetree/bindings/mtd/fsmc-nand.txt | |||
| @@ -3,9 +3,7 @@ | |||
| 3 | Required properties: | 3 | Required properties: |
| 4 | - compatible : "st,spear600-fsmc-nand" | 4 | - compatible : "st,spear600-fsmc-nand" |
| 5 | - reg : Address range of the mtd chip | 5 | - reg : Address range of the mtd chip |
| 6 | - reg-names: Should contain the reg names "fsmc_regs" and "nand_data" | 6 | - reg-names: Should contain the reg names "fsmc_regs", "nand_data", "nand_addr" and "nand_cmd" |
| 7 | - st,ale-off : Chip specific offset to ALE | ||
| 8 | - st,cle-off : Chip specific offset to CLE | ||
| 9 | 7 | ||
| 10 | Optional properties: | 8 | Optional properties: |
| 11 | - bank-width : Width (in bytes) of the device. If not present, the width | 9 | - bank-width : Width (in bytes) of the device. If not present, the width |
| @@ -19,10 +17,10 @@ Example: | |||
| 19 | #address-cells = <1>; | 17 | #address-cells = <1>; |
| 20 | #size-cells = <1>; | 18 | #size-cells = <1>; |
| 21 | reg = <0xd1800000 0x1000 /* FSMC Register */ | 19 | reg = <0xd1800000 0x1000 /* FSMC Register */ |
| 22 | 0xd2000000 0x4000>; /* NAND Base */ | 20 | 0xd2000000 0x0010 /* NAND Base DATA */ |
| 23 | reg-names = "fsmc_regs", "nand_data"; | 21 | 0xd2020000 0x0010 /* NAND Base ADDR */ |
| 24 | st,ale-off = <0x20000>; | 22 | 0xd2010000 0x0010>; /* NAND Base CMD */ |
| 25 | st,cle-off = <0x10000>; | 23 | reg-names = "fsmc_regs", "nand_data", "nand_addr", "nand_cmd"; |
| 26 | 24 | ||
| 27 | bank-width = <1>; | 25 | bank-width = <1>; |
| 28 | nand-skip-bbtscan; | 26 | nand-skip-bbtscan; |
diff --git a/Documentation/devicetree/bindings/mtd/m25p80.txt b/Documentation/devicetree/bindings/mtd/m25p80.txt new file mode 100644 index 000000000000..6d3d57609470 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/m25p80.txt | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | * MTD SPI driver for ST M25Pxx (and similar) serial flash chips | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - #address-cells, #size-cells : Must be present if the device has sub-nodes | ||
| 5 | representing partitions. | ||
| 6 | - compatible : Should be the manufacturer and the name of the chip. Bear in mind | ||
| 7 | the DT binding is not Linux-only, but in case of Linux, see the | ||
| 8 | "m25p_ids" table in drivers/mtd/devices/m25p80.c for the list of | ||
| 9 | supported chips. | ||
| 10 | - reg : Chip-Select number | ||
| 11 | - spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at | ||
| 12 | |||
| 13 | Optional properties: | ||
| 14 | - m25p,fast-read : Use the "fast read" opcode to read data from the chip instead | ||
| 15 | of the usual "read" opcode. This opcode is not supported by | ||
| 16 | all chips and support for it can not be detected at runtime. | ||
| 17 | Refer to your chips' datasheet to check if this is supported | ||
| 18 | by your chip. | ||
| 19 | |||
| 20 | Example: | ||
| 21 | |||
| 22 | flash: m25p80@0 { | ||
| 23 | #address-cells = <1>; | ||
| 24 | #size-cells = <1>; | ||
| 25 | compatible = "spansion,m25p80"; | ||
| 26 | reg = <0>; | ||
| 27 | spi-max-frequency = <40000000>; | ||
| 28 | m25p,fast-read; | ||
| 29 | }; | ||
diff --git a/Documentation/devicetree/bindings/mtd/mtd-physmap.txt b/Documentation/devicetree/bindings/mtd/mtd-physmap.txt index 94de19b8f16b..dab7847fc800 100644 --- a/Documentation/devicetree/bindings/mtd/mtd-physmap.txt +++ b/Documentation/devicetree/bindings/mtd/mtd-physmap.txt | |||
| @@ -23,6 +23,9 @@ file systems on embedded devices. | |||
| 23 | unaligned accesses as implemented in the JFFS2 code via memcpy(). | 23 | unaligned accesses as implemented in the JFFS2 code via memcpy(). |
| 24 | By defining "no-unaligned-direct-access", the flash will not be | 24 | By defining "no-unaligned-direct-access", the flash will not be |
| 25 | exposed directly to the MTD users (e.g. JFFS2) any more. | 25 | exposed directly to the MTD users (e.g. JFFS2) any more. |
| 26 | - linux,mtd-name: allow to specify the mtd name for retro capability with | ||
| 27 | physmap-flash drivers as boot loader pass the mtd partition via the old | ||
| 28 | device name physmap-flash. | ||
| 26 | 29 | ||
| 27 | For JEDEC compatible devices, the following additional properties | 30 | For JEDEC compatible devices, the following additional properties |
| 28 | are defined: | 31 | are defined: |
diff --git a/Documentation/devicetree/bindings/pwm/pwm-tiecap.txt b/Documentation/devicetree/bindings/pwm/pwm-tiecap.txt new file mode 100644 index 000000000000..131e8c11d26f --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | TI SOC ECAP based APWM controller | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: Must be "ti,am33xx-ecap" | ||
| 5 | - #pwm-cells: Should be 3. Number of cells being used to specify PWM property. | ||
| 6 | First cell specifies the per-chip index of the PWM to use, the second | ||
| 7 | cell is the period in nanoseconds and bit 0 in the third cell is used to | ||
| 8 | encode the polarity of PWM output. Set bit 0 of the third in PWM specifier | ||
| 9 | to 1 for inverse polarity & set to 0 for normal polarity. | ||
| 10 | - reg: physical base address and size of the registers map. | ||
| 11 | |||
| 12 | Optional properties: | ||
| 13 | - ti,hwmods: Name of the hwmod associated to the ECAP: | ||
| 14 | "ecap<x>", <x> being the 0-based instance number from the HW spec | ||
| 15 | |||
| 16 | Example: | ||
| 17 | |||
| 18 | ecap0: ecap@0 { | ||
| 19 | compatible = "ti,am33xx-ecap"; | ||
| 20 | #pwm-cells = <3>; | ||
| 21 | reg = <0x48300100 0x80>; | ||
| 22 | ti,hwmods = "ecap0"; | ||
| 23 | }; | ||
diff --git a/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt b/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt new file mode 100644 index 000000000000..4fc7079d822e --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | TI SOC EHRPWM based PWM controller | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible : Must be "ti,am33xx-ehrpwm" | ||
| 5 | - #pwm-cells: Should be 3. Number of cells being used to specify PWM property. | ||
| 6 | First cell specifies the per-chip index of the PWM to use, the second | ||
| 7 | cell is the period in nanoseconds and bit 0 in the third cell is used to | ||
| 8 | encode the polarity of PWM output. Set bit 0 of the third in PWM specifier | ||
| 9 | to 1 for inverse polarity & set to 0 for normal polarity. | ||
| 10 | - reg: physical base address and size of the registers map. | ||
| 11 | |||
| 12 | Optional properties: | ||
| 13 | - ti,hwmods: Name of the hwmod associated to the EHRPWM: | ||
| 14 | "ehrpwm<x>", <x> being the 0-based instance number from the HW spec | ||
| 15 | |||
| 16 | Example: | ||
| 17 | |||
| 18 | ehrpwm0: ehrpwm@0 { | ||
| 19 | compatible = "ti,am33xx-ehrpwm"; | ||
| 20 | #pwm-cells = <3>; | ||
| 21 | reg = <0x48300200 0x100>; | ||
| 22 | ti,hwmods = "ehrpwm0"; | ||
| 23 | }; | ||
diff --git a/Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt b/Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt new file mode 100644 index 000000000000..f7eae77f8354 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | TI SOC based PWM Subsystem | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: Must be "ti,am33xx-pwmss"; | ||
| 5 | - reg: physical base address and size of the registers map. | ||
| 6 | - address-cells: Specify the number of u32 entries needed in child nodes. | ||
| 7 | Should set to 1. | ||
| 8 | - size-cells: specify number of u32 entries needed to specify child nodes size | ||
| 9 | in reg property. Should set to 1. | ||
| 10 | - ranges: describes the address mapping of a memory-mapped bus. Should set to | ||
| 11 | physical address map of child's base address, physical address within | ||
| 12 | parent's address space and length of the address map. For am33xx, | ||
| 13 | 3 set of child register maps present, ECAP register space, EQEP | ||
| 14 | register space, EHRPWM register space. | ||
| 15 | |||
| 16 | Also child nodes should also populated under PWMSS DT node. | ||
| 17 | |||
| 18 | Example: | ||
| 19 | pwmss0: pwmss@48300000 { | ||
| 20 | compatible = "ti,am33xx-pwmss"; | ||
| 21 | reg = <0x48300000 0x10>; | ||
| 22 | ti,hwmods = "epwmss0"; | ||
| 23 | #address-cells = <1>; | ||
| 24 | #size-cells = <1>; | ||
| 25 | status = "disabled"; | ||
| 26 | ranges = <0x48300100 0x48300100 0x80 /* ECAP */ | ||
| 27 | 0x48300180 0x48300180 0x80 /* EQEP */ | ||
| 28 | 0x48300200 0x48300200 0x80>; /* EHRPWM */ | ||
| 29 | |||
| 30 | /* child nodes go here */ | ||
| 31 | }; | ||
diff --git a/Documentation/devicetree/bindings/pwm/pwm.txt b/Documentation/devicetree/bindings/pwm/pwm.txt index 73ec962bfe8c..06e67247859a 100644 --- a/Documentation/devicetree/bindings/pwm/pwm.txt +++ b/Documentation/devicetree/bindings/pwm/pwm.txt | |||
| @@ -37,10 +37,21 @@ device: | |||
| 37 | pwm-names = "backlight"; | 37 | pwm-names = "backlight"; |
| 38 | }; | 38 | }; |
| 39 | 39 | ||
| 40 | Note that in the example above, specifying the "pwm-names" is redundant | ||
| 41 | because the name "backlight" would be used as fallback anyway. | ||
| 42 | |||
| 40 | pwm-specifier typically encodes the chip-relative PWM number and the PWM | 43 | pwm-specifier typically encodes the chip-relative PWM number and the PWM |
| 41 | period in nanoseconds. Note that in the example above, specifying the | 44 | period in nanoseconds. |
| 42 | "pwm-names" is redundant because the name "backlight" would be used as | 45 | |
| 43 | fallback anyway. | 46 | Optionally, the pwm-specifier can encode a number of flags in a third cell: |
| 47 | - bit 0: PWM signal polarity (0: normal polarity, 1: inverse polarity) | ||
| 48 | |||
| 49 | Example with optional PWM specifier for inverse polarity | ||
| 50 | |||
| 51 | bl: backlight { | ||
| 52 | pwms = <&pwm 0 5000000 1>; | ||
| 53 | pwm-names = "backlight"; | ||
| 54 | }; | ||
| 44 | 55 | ||
| 45 | 2) PWM controller nodes | 56 | 2) PWM controller nodes |
| 46 | ----------------------- | 57 | ----------------------- |
diff --git a/Documentation/devicetree/bindings/pwm/spear-pwm.txt b/Documentation/devicetree/bindings/pwm/spear-pwm.txt new file mode 100644 index 000000000000..3ac779d83386 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/spear-pwm.txt | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | == ST SPEAr SoC PWM controller == | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: should be one of: | ||
| 5 | - "st,spear320-pwm" | ||
| 6 | - "st,spear1340-pwm" | ||
| 7 | - reg: physical base address and length of the controller's registers | ||
| 8 | - #pwm-cells: number of cells used to specify PWM which is fixed to 2 on | ||
| 9 | SPEAr. The first cell specifies the per-chip index of the PWM to use and | ||
| 10 | the second cell is the period in nanoseconds. | ||
| 11 | |||
| 12 | Example: | ||
| 13 | |||
| 14 | pwm: pwm@a8000000 { | ||
| 15 | compatible ="st,spear320-pwm"; | ||
| 16 | reg = <0xa8000000 0x1000>; | ||
| 17 | #pwm-cells = <2>; | ||
| 18 | }; | ||
diff --git a/Documentation/devicetree/bindings/pwm/ti,twl-pwm.txt b/Documentation/devicetree/bindings/pwm/ti,twl-pwm.txt new file mode 100644 index 000000000000..2943ee5fce00 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/ti,twl-pwm.txt | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | Texas Instruments TWL series PWM drivers | ||
| 2 | |||
| 3 | Supported PWMs: | ||
| 4 | On TWL4030 series: PWM1 and PWM2 | ||
| 5 | On TWL6030 series: PWM0 and PWM1 | ||
| 6 | |||
| 7 | Required properties: | ||
| 8 | - compatible: "ti,twl4030-pwm" or "ti,twl6030-pwm" | ||
| 9 | - #pwm-cells: should be 2. The first cell specifies the per-chip index | ||
| 10 | of the PWM to use and the second cell is the period in nanoseconds. | ||
| 11 | |||
| 12 | Example: | ||
| 13 | |||
| 14 | twl_pwm: pwm { | ||
| 15 | compatible = "ti,twl6030-pwm"; | ||
| 16 | #pwm-cells = <2>; | ||
| 17 | }; | ||
diff --git a/Documentation/devicetree/bindings/pwm/ti,twl-pwmled.txt b/Documentation/devicetree/bindings/pwm/ti,twl-pwmled.txt new file mode 100644 index 000000000000..cb64f3acc10f --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/ti,twl-pwmled.txt | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | Texas Instruments TWL series PWM drivers connected to LED terminals | ||
| 2 | |||
| 3 | Supported PWMs: | ||
| 4 | On TWL4030 series: PWMA and PWMB (connected to LEDA and LEDB terminals) | ||
| 5 | On TWL6030 series: LED PWM (mainly used as charging indicator LED) | ||
| 6 | |||
| 7 | Required properties: | ||
| 8 | - compatible: "ti,twl4030-pwmled" or "ti,twl6030-pwmled" | ||
| 9 | - #pwm-cells: should be 2. The first cell specifies the per-chip index | ||
| 10 | of the PWM to use and the second cell is the period in nanoseconds. | ||
| 11 | |||
| 12 | Example: | ||
| 13 | |||
| 14 | twl_pwmled: pwmled { | ||
| 15 | compatible = "ti,twl6030-pwmled"; | ||
| 16 | #pwm-cells = <2>; | ||
| 17 | }; | ||
diff --git a/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt b/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt new file mode 100644 index 000000000000..bcc63678a9a5 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | VIA/Wondermedia VT8500/WM8xxx series SoC PWM controller | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: should be "via,vt8500-pwm" | ||
| 5 | - reg: physical base address and length of the controller's registers | ||
| 6 | - #pwm-cells: should be 2. The first cell specifies the per-chip index | ||
| 7 | of the PWM to use and the second cell is the period in nanoseconds. | ||
| 8 | - clocks: phandle to the PWM source clock | ||
| 9 | |||
| 10 | Example: | ||
| 11 | |||
| 12 | pwm1: pwm@d8220000 { | ||
| 13 | #pwm-cells = <2>; | ||
| 14 | compatible = "via,vt8500-pwm"; | ||
| 15 | reg = <0xd8220000 0x1000>; | ||
| 16 | clocks = <&clkpwm>; | ||
| 17 | }; | ||
diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.txt b/Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.txt index 8cf24f6f0a99..7b53da5cb75b 100644 --- a/Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.txt +++ b/Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.txt | |||
| @@ -13,7 +13,7 @@ Recommended properties: | |||
| 13 | 13 | ||
| 14 | Example: | 14 | Example: |
| 15 | 15 | ||
| 16 | spi@7000d600 { | 16 | spi@7000c380 { |
| 17 | compatible = "nvidia,tegra20-sflash"; | 17 | compatible = "nvidia,tegra20-sflash"; |
| 18 | reg = <0x7000c380 0x80>; | 18 | reg = <0x7000c380 0x80>; |
| 19 | interrupts = <0 39 0x04>; | 19 | interrupts = <0 39 0x04>; |
diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra20-slink.txt b/Documentation/devicetree/bindings/spi/nvidia,tegra20-slink.txt index f5b1ad1a1ec3..eefe15e3d95e 100644 --- a/Documentation/devicetree/bindings/spi/nvidia,tegra20-slink.txt +++ b/Documentation/devicetree/bindings/spi/nvidia,tegra20-slink.txt | |||
| @@ -13,7 +13,7 @@ Recommended properties: | |||
| 13 | 13 | ||
| 14 | Example: | 14 | Example: |
| 15 | 15 | ||
| 16 | slink@7000d600 { | 16 | spi@7000d600 { |
| 17 | compatible = "nvidia,tegra20-slink"; | 17 | compatible = "nvidia,tegra20-slink"; |
| 18 | reg = <0x7000d600 0x200>; | 18 | reg = <0x7000d600 0x200>; |
| 19 | interrupts = <0 82 0x04>; | 19 | interrupts = <0 82 0x04>; |
diff --git a/Documentation/devicetree/bindings/spi/spi_atmel.txt b/Documentation/devicetree/bindings/spi/spi_atmel.txt new file mode 100644 index 000000000000..07e04cdc0c9e --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi_atmel.txt | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | Atmel SPI device | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible : should be "atmel,at91rm9200-spi". | ||
| 5 | - reg: Address and length of the register set for the device | ||
| 6 | - interrupts: Should contain spi interrupt | ||
| 7 | - cs-gpios: chipselects | ||
| 8 | |||
| 9 | Example: | ||
| 10 | |||
| 11 | spi1: spi@fffcc000 { | ||
| 12 | compatible = "atmel,at91rm9200-spi"; | ||
| 13 | reg = <0xfffcc000 0x4000>; | ||
| 14 | interrupts = <13 4 5>; | ||
| 15 | #address-cells = <1>; | ||
| 16 | #size-cells = <0>; | ||
| 17 | cs-gpios = <&pioB 3 0>; | ||
| 18 | status = "okay"; | ||
| 19 | |||
| 20 | mmc-slot@0 { | ||
| 21 | compatible = "mmc-spi-slot"; | ||
| 22 | reg = <0>; | ||
| 23 | gpios = <&pioC 4 0>; /* CD */ | ||
| 24 | spi-max-frequency = <25000000>; | ||
| 25 | }; | ||
| 26 | }; | ||
diff --git a/Documentation/hwmon/it87 b/Documentation/hwmon/it87 index 87850d86c559..8386aadc0a82 100644 --- a/Documentation/hwmon/it87 +++ b/Documentation/hwmon/it87 | |||
| @@ -209,3 +209,13 @@ doesn't use CPU cycles. | |||
| 209 | Trip points must be set properly before switching to automatic fan speed | 209 | Trip points must be set properly before switching to automatic fan speed |
| 210 | control mode. The driver will perform basic integrity checks before | 210 | control mode. The driver will perform basic integrity checks before |
| 211 | actually switching to automatic control mode. | 211 | actually switching to automatic control mode. |
| 212 | |||
| 213 | |||
| 214 | Temperature offset attributes | ||
| 215 | ----------------------------- | ||
| 216 | |||
| 217 | The driver supports temp[1-3]_offset sysfs attributes to adjust the reported | ||
| 218 | temperature for thermal diodes or diode-connected thermal transistors. | ||
| 219 | If a temperature sensor is configured for thermistors, the attribute values | ||
| 220 | are ignored. If the thermal sensor type is Intel PECI, the temperature offset | ||
| 221 | must be programmed to the critical CPU temperature. | ||
diff --git a/Documentation/x86/boot.txt b/Documentation/x86/boot.txt index f15cb74c4f78..406d82d5d2bb 100644 --- a/Documentation/x86/boot.txt +++ b/Documentation/x86/boot.txt | |||
| @@ -373,7 +373,7 @@ Protocol: 2.00+ | |||
| 373 | 1 Loadlin | 373 | 1 Loadlin |
| 374 | 2 bootsect-loader (0x20, all other values reserved) | 374 | 2 bootsect-loader (0x20, all other values reserved) |
| 375 | 3 Syslinux | 375 | 3 Syslinux |
| 376 | 4 Etherboot/gPXE | 376 | 4 Etherboot/gPXE/iPXE |
| 377 | 5 ELILO | 377 | 5 ELILO |
| 378 | 7 GRUB | 378 | 7 GRUB |
| 379 | 8 U-Boot | 379 | 8 U-Boot |
| @@ -381,6 +381,7 @@ Protocol: 2.00+ | |||
| 381 | A Gujin | 381 | A Gujin |
| 382 | B Qemu | 382 | B Qemu |
| 383 | C Arcturus Networks uCbootloader | 383 | C Arcturus Networks uCbootloader |
| 384 | D kexec-tools | ||
| 384 | E Extended (see ext_loader_type) | 385 | E Extended (see ext_loader_type) |
| 385 | F Special (0xFF = undefined) | 386 | F Special (0xFF = undefined) |
| 386 | 10 Reserved | 387 | 10 Reserved |
diff --git a/Documentation/xtensa/atomctl.txt b/Documentation/xtensa/atomctl.txt new file mode 100644 index 000000000000..10a8d1ff35ec --- /dev/null +++ b/Documentation/xtensa/atomctl.txt | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | We Have Atomic Operation Control (ATOMCTL) Register. | ||
| 2 | This register determines the effect of using a S32C1I instruction | ||
| 3 | with various combinations of: | ||
| 4 | |||
| 5 | 1. With and without an Coherent Cache Controller which | ||
| 6 | can do Atomic Transactions to the memory internally. | ||
| 7 | |||
| 8 | 2. With and without An Intelligent Memory Controller which | ||
| 9 | can do Atomic Transactions itself. | ||
| 10 | |||
| 11 | The Core comes up with a default value of for the three types of cache ops: | ||
| 12 | |||
| 13 | 0x28: (WB: Internal, WT: Internal, BY:Exception) | ||
| 14 | |||
| 15 | On the FPGA Cards we typically simulate an Intelligent Memory controller | ||
| 16 | which can implement RCW transactions. For FPGA cards with an External | ||
| 17 | Memory controller we let it to the atomic operations internally while | ||
| 18 | doing a Cached (WB) transaction and use the Memory RCW for un-cached | ||
| 19 | operations. | ||
| 20 | |||
| 21 | For systems without an coherent cache controller, non-MX, we always | ||
| 22 | use the memory controllers RCW, thought non-MX controlers likely | ||
| 23 | support the Internal Operation. | ||
| 24 | |||
| 25 | CUSTOMER-WARNING: | ||
| 26 | Virtually all customers buy their memory controllers from vendors that | ||
| 27 | don't support atomic RCW memory transactions and will likely want to | ||
| 28 | configure this register to not use RCW. | ||
| 29 | |||
| 30 | Developers might find using RCW in Bypass mode convenient when testing | ||
| 31 | with the cache being bypassed; for example studying cache alias problems. | ||
| 32 | |||
| 33 | See Section 4.3.12.4 of ISA; Bits: | ||
| 34 | |||
| 35 | WB WT BY | ||
| 36 | 5 4 | 3 2 | 1 0 | ||
| 37 | 2 Bit | ||
| 38 | Field | ||
| 39 | Values WB - Write Back WT - Write Thru BY - Bypass | ||
| 40 | --------- --------------- ----------------- ---------------- | ||
| 41 | 0 Exception Exception Exception | ||
| 42 | 1 RCW Transaction RCW Transaction RCW Transaction | ||
| 43 | 2 Internal Operation Exception Reserved | ||
| 44 | 3 Reserved Reserved Reserved | ||
