-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 350575 b: refs/heads/master c: c560dc8 h: refs/heads/master i: 350573: e3a2440 350571: 486609e 350567: 1bbf87d 350559: 205d45b v: v3
- Loading branch information
Linus Torvalds
committed
Feb 20, 2013
1 parent
a054ed5
commit 46dbaec
Showing
1,027 changed files
with
33,253 additions
and
12,791 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 4626dcff78a70258f0064fbdd6d504249f918bcd | ||
refs/heads/master: c560dc8793ecf4c3bb4ba6e7b8cae8a64486d96b |
62 changes: 62 additions & 0 deletions
62
trunk/Documentation/ABI/testing/sysfs-bus-event_source-devices-events
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
What: /sys/devices/cpu/events/ | ||
/sys/devices/cpu/events/branch-misses | ||
/sys/devices/cpu/events/cache-references | ||
/sys/devices/cpu/events/cache-misses | ||
/sys/devices/cpu/events/stalled-cycles-frontend | ||
/sys/devices/cpu/events/branch-instructions | ||
/sys/devices/cpu/events/stalled-cycles-backend | ||
/sys/devices/cpu/events/instructions | ||
/sys/devices/cpu/events/cpu-cycles | ||
|
||
Date: 2013/01/08 | ||
|
||
Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org> | ||
|
||
Description: Generic performance monitoring events | ||
|
||
A collection of performance monitoring events that may be | ||
supported by many/most CPUs. These events can be monitored | ||
using the 'perf(1)' tool. | ||
|
||
The contents of each file would look like: | ||
|
||
event=0xNNNN | ||
|
||
where 'N' is a hex digit and the number '0xNNNN' shows the | ||
"raw code" for the perf event identified by the file's | ||
"basename". | ||
|
||
|
||
What: /sys/devices/cpu/events/PM_LD_MISS_L1 | ||
/sys/devices/cpu/events/PM_LD_REF_L1 | ||
/sys/devices/cpu/events/PM_CYC | ||
/sys/devices/cpu/events/PM_BRU_FIN | ||
/sys/devices/cpu/events/PM_GCT_NOSLOT_CYC | ||
/sys/devices/cpu/events/PM_BRU_MPRED | ||
/sys/devices/cpu/events/PM_INST_CMPL | ||
/sys/devices/cpu/events/PM_CMPLU_STALL | ||
|
||
Date: 2013/01/08 | ||
|
||
Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org> | ||
Linux Powerpc mailing list <linuxppc-dev@ozlabs.org> | ||
|
||
Description: POWER-systems specific performance monitoring events | ||
|
||
A collection of performance monitoring events that may be | ||
supported by the POWER CPU. These events can be monitored | ||
using the 'perf(1)' tool. | ||
|
||
These events may not be supported by other CPUs. | ||
|
||
The contents of each file would look like: | ||
|
||
event=0xNNNN | ||
|
||
where 'N' is a hex digit and the number '0xNNNN' shows the | ||
"raw code" for the perf event identified by the file's | ||
"basename". | ||
|
||
Further, multiple terms like 'event=0xNNNN' can be specified | ||
and separated with comma. All available terms are defined in | ||
the /sys/bus/event_source/devices/<dev>/format file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
What: /sys/devices/platform/ts5500/adc | ||
Date: January 2013 | ||
KernelVersion: 3.7 | ||
Contact: "Savoir-faire Linux Inc." <kernel@savoirfairelinux.com> | ||
Description: | ||
Indicates the presence of an A/D Converter. If it is present, | ||
it will display "1", otherwise "0". | ||
|
||
What: /sys/devices/platform/ts5500/ereset | ||
Date: January 2013 | ||
KernelVersion: 3.7 | ||
Contact: "Savoir-faire Linux Inc." <kernel@savoirfairelinux.com> | ||
Description: | ||
Indicates the presence of an external reset. If it is present, | ||
it will display "1", otherwise "0". | ||
|
||
What: /sys/devices/platform/ts5500/id | ||
Date: January 2013 | ||
KernelVersion: 3.7 | ||
Contact: "Savoir-faire Linux Inc." <kernel@savoirfairelinux.com> | ||
Description: | ||
Product ID of the TS board. TS-5500 ID is 0x60. | ||
|
||
What: /sys/devices/platform/ts5500/jumpers | ||
Date: January 2013 | ||
KernelVersion: 3.7 | ||
Contact: "Savoir-faire Linux Inc." <kernel@savoirfairelinux.com> | ||
Description: | ||
Bitfield showing the jumpers' state. If a jumper is present, | ||
the corresponding bit is set. For instance, 0x0e means jumpers | ||
2, 3 and 4 are set. | ||
|
||
What: /sys/devices/platform/ts5500/rs485 | ||
Date: January 2013 | ||
KernelVersion: 3.7 | ||
Contact: "Savoir-faire Linux Inc." <kernel@savoirfairelinux.com> | ||
Description: | ||
Indicates the presence of the RS485 option. If it is present, | ||
it will display "1", otherwise "0". | ||
|
||
What: /sys/devices/platform/ts5500/sram | ||
Date: January 2013 | ||
KernelVersion: 3.7 | ||
Contact: "Savoir-faire Linux Inc." <kernel@savoirfairelinux.com> | ||
Description: | ||
Indicates the presence of the SRAM option. If it is present, | ||
it will display "1", otherwise "0". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
TPS6507x Power Management Integrated Circuit | ||
|
||
Required properties: | ||
- compatible: "ti,tps6507x" | ||
- reg: I2C slave address | ||
- regulators: This is the list of child nodes that specify the regulator | ||
initialization data for defined regulators. Not all regulators for the | ||
given device need to be present. The definition for each of these nodes | ||
is defined using the standard binding for regulators found at | ||
Documentation/devicetree/bindings/regulator/regulator.txt. | ||
The regulator is matched with the regulator-compatible. | ||
|
||
The valid regulator-compatible values are: | ||
tps6507x: vdcdc1, vdcdc2, vdcdc3, vldo1, vldo2 | ||
- xxx-supply: Input voltage supply regulator. | ||
These entries are required if regulators are enabled for a device. | ||
Missing of these properties can cause the regulator registration | ||
fails. | ||
If some of input supply is powered through battery or always-on | ||
supply then also it is require to have these parameters with proper | ||
node handle of always on power supply. | ||
tps6507x: | ||
vindcdc1_2-supply: VDCDC1 and VDCDC2 input. | ||
vindcdc3-supply : VDCDC3 input. | ||
vldo1_2-supply : VLDO1 and VLDO2 input. | ||
|
||
Regulator Optional properties: | ||
- defdcdc_default: It's property of DCDC2 and DCDC3 regulators. | ||
0: If defdcdc pin of DCDC2/DCDC3 is pulled to GND. | ||
1: If defdcdc pin of DCDC2/DCDC3 is driven HIGH. | ||
If this property is not defined, it defaults to 0 (not enabled). | ||
|
||
Example: | ||
|
||
pmu: tps6507x@48 { | ||
compatible = "ti,tps6507x"; | ||
reg = <0x48>; | ||
|
||
vindcdc1_2-supply = <&vbat>; | ||
vindcdc3-supply = <...>; | ||
vinldo1_2-supply = <...>; | ||
|
||
regulators { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
vdcdc1_reg: regulator@0 { | ||
regulator-compatible = "VDCDC1"; | ||
reg = <0>; | ||
regulator-min-microvolt = <3150000>; | ||
regulator-max-microvolt = <3450000>; | ||
regulator-always-on; | ||
regulator-boot-on; | ||
}; | ||
vdcdc2_reg: regulator@1 { | ||
regulator-compatible = "VDCDC2"; | ||
reg = <1>; | ||
regulator-min-microvolt = <1710000>; | ||
regulator-max-microvolt = <3450000>; | ||
regulator-always-on; | ||
regulator-boot-on; | ||
defdcdc_default = <1>; | ||
}; | ||
vdcdc3_reg: regulator@2 { | ||
regulator-compatible = "VDCDC3"; | ||
reg = <2>; | ||
regulator-min-microvolt = <950000> | ||
regulator-max-microvolt = <1350000>; | ||
regulator-always-on; | ||
regulator-boot-on; | ||
defdcdc_default = <1>; | ||
}; | ||
ldo1_reg: regulator@3 { | ||
regulator-compatible = "LDO1"; | ||
reg = <3>; | ||
regulator-min-microvolt = <1710000>; | ||
regulator-max-microvolt = <1890000>; | ||
regulator-always-on; | ||
regulator-boot-on; | ||
}; | ||
ldo2_reg: regulator@4 { | ||
regulator-compatible = "LDO2"; | ||
reg = <4>; | ||
regulator-min-microvolt = <1140000>; | ||
regulator-max-microvolt = <1320000>; | ||
regulator-always-on; | ||
regulator-boot-on; | ||
}; | ||
}; | ||
|
||
}; |
60 changes: 60 additions & 0 deletions
60
trunk/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
* Allwinner A1X Pin Controller | ||
|
||
The pins controlled by sunXi pin controller are organized in banks, | ||
each bank has 32 pins. Each pin has 7 multiplexing functions, with | ||
the first two functions being GPIO in and out. The configuration on | ||
the pins includes drive strength and pull-up. | ||
|
||
Required properties: | ||
- compatible: "allwinner,<soc>-pinctrl". Supported SoCs for now are: | ||
sun5i-a13. | ||
- reg: Should contain the register physical address and length for the | ||
pin controller. | ||
|
||
Please refer to pinctrl-bindings.txt in this directory for details of the | ||
common pinctrl bindings used by client devices. | ||
|
||
A pinctrl node should contain at least one subnodes representing the | ||
pinctrl groups available on the machine. Each subnode will list the | ||
pins it needs, and how they should be configured, with regard to muxer | ||
configuration, drive strength and pullups. If one of these options is | ||
not set, its actual value will be unspecified. | ||
|
||
Required subnode-properties: | ||
|
||
- allwinner,pins: List of strings containing the pin name. | ||
- allwinner,function: Function to mux the pins listed above to. | ||
|
||
Optional subnode-properties: | ||
- allwinner,drive: Integer. Represents the current sent to the pin | ||
0: 10 mA | ||
1: 20 mA | ||
2: 30 mA | ||
3: 40 mA | ||
- allwinner,pull: Integer. | ||
0: No resistor | ||
1: Pull-up resistor | ||
2: Pull-down resistor | ||
|
||
Examples: | ||
|
||
pinctrl@01c20800 { | ||
compatible = "allwinner,sun5i-a13-pinctrl"; | ||
reg = <0x01c20800 0x400>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
uart1_pins_a: uart1@0 { | ||
allwinner,pins = "PE10", "PE11"; | ||
allwinner,function = "uart1"; | ||
allwinner,drive = <0>; | ||
allwinner,pull = <0>; | ||
}; | ||
|
||
uart1_pins_b: uart1@1 { | ||
allwinner,pins = "PG3", "PG4"; | ||
allwinner,function = "uart1"; | ||
allwinner,drive = <0>; | ||
allwinner,pull = <0>; | ||
}; | ||
}; |
Oops, something went wrong.