f83ccb9358
A large part of the arm-soc patches are nowadays DT changes, adding support for new SoCs, boards and devices without changing kernel source. The plan is still to move the devicetree files out of the kernel tree and reduce the amount of churn going on here, but we keep finding reasons to delay doing that. Changes are really all over the place, with little sticking out particularly. We have contributions from a total of 116 people in this branch. Unfortunately, the size of this branch also causes a significant number of conflicts at the moment, typically when subsystem maintainers merge patches that change the driver at the same time as the dts files. In most cases this could be avoided because the dts changes are supposed to be compatible in both ways, and we are asking everyone to send ARM dts changes through our tree only. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIVAwUAUz/11WCrR//JCVInAQIIyRAA0DjdNNQ/A4G2i1nZCiTFH6a4oZy4JarN ATVPkW/V8avhh+yVNe5FWA44Xe6CDC5TXwMaIsbK+w3Iclj3fplh/MsBkQ9ZT9Sl LAjJoOjuYucCeDy0WLVioRKZ4PJEDoCu/oZTauIMnmWCOCRxLYpOM3FkAT9oN/Ti lswpTSLiV1/U3ZSI4M3qn+Sx1VJL8c/hAIWbvf5if2diYkWPk3VOSKyxmD9zLWdD Iqtb79J+ETVeOIM4sHnx79cG4ZCdpOfRAl7qx6hkJu0YATXESxWhpXVE2McTJuzM qHKsRRNSfsfSWPeF4angll9o06X/qgdT6C4P2dfH49lGeG7llOttw3OaCx3hWCTe U5bt26qtbwG2ZbzocaqvideP+rbpQrCH2vdO1embPv5Lu6peMoBWjxy6twSVXJBG LIymJ0IbiGYxL7BReGqRXt6ehy0BDWBeTSTdsGqgEl2TnxHuS/kgGfJc4D5riiEk aRPVq10p/k+yo4BZtq2GqXIOG6cqkIQ5lhl5Tg9+MfUlquAONqJP70FgRJDBIw9L 9uJp71bgSsA6eYg2tXoqJtpdjKplDWavgtACzIkFg2qFLyYmKvx+F0AXbeTIsrri /mIchTyG+dgiIjWvj/Xsf7jhrdzRcl3uKsJwFmk927pIsh24HV8T+LKgHrf+sVcO qEsEnKGYA6s= =zl/N -----END PGP SIGNATURE----- Merge tag 'dt-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc Pull ARM SoC device tree changes from Arnd Bergmann: "A large part of the arm-soc patches are nowadays DT changes, adding support for new SoCs, boards and devices without changing kernel source. The plan is still to move the devicetree files out of the kernel tree and reduce the amount of churn going on here, but we keep finding reasons to delay doing that. Changes are really all over the place, with little sticking out particularly. We have contributions from a total of 116 people in this branch. Unfortunately, the size of this branch also causes a significant number of conflicts at the moment, typically when subsystem maintainers merge patches that change the driver at the same time as the dts files. In most cases this could be avoided because the dts changes are supposed to be compatible in both ways, and we are asking everyone to send ARM dts changes through our tree only" * tag 'dt-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (541 commits) dts: stmmac: Document the clocks property in the stmmac base document dts: socfpga: Add DTS entry for adding the stmmac glue layer for stmmac. ARM: STi: stih41x: Add support for the FSM Serial Flash Controller ARM: STi: stih416: Add support for the FSM Serial Flash Controller ARM: tegra: fix Dalmore pinctrl configuration ARM: dts: keystone: use common "ti,keystone" compatible instead of -evm ARM: dts: k2hk-evm: set ubifs partition size for 512M NAND ARM: dts: Build all keystone dt blobs ARM: dts: keystone: Fix control register range for clktsip ARM: dts: keystone: Fix domain register range for clkfftc1 ARM: dts: bcm28155-ap: leave camldo1 on to fix reboot ARM: dts: add bcm590xx pmu support and enable for bcm28155-ap ARM: dts: bcm21664: Add device tree files. ARM: DT: bcm21664: Device tree bindings ARM: efm32: properly namespace i2c location property ARM: efm32: fix unit address part in USART2 device nodes' names ARM: mvebu: Enable NAND controller in Armada 385-DB ARM: mvebu: Add support for NAND controller in Armada 38x SoC ARM: mvebu: Add the Core Divider clock to Armada 38x SoCs ARM: mvebu: Add a 2 GHz fixed-clock on Armada 38x SoCs ...
87 lines
3 KiB
Text
87 lines
3 KiB
Text
* AT91's Analog to Digital Converter (ADC)
|
|
|
|
Required properties:
|
|
- compatible: Should be "atmel,<chip>-adc"
|
|
<chip> can be "at91sam9260", "at91sam9g45" or "at91sam9x5"
|
|
- reg: Should contain ADC registers location and length
|
|
- interrupts: Should contain the IRQ line for the ADC
|
|
- clock-names: tuple listing input clock names.
|
|
Required elements: "adc_clk", "adc_op_clk".
|
|
- clocks: phandles to input clocks.
|
|
- atmel,adc-channels-used: Bitmask of the channels muxed and enabled for this
|
|
device
|
|
- atmel,adc-startup-time: Startup Time of the ADC in microseconds as
|
|
defined in the datasheet
|
|
- atmel,adc-vref: Reference voltage in millivolts for the conversions
|
|
- atmel,adc-res: List of resolutions in bits supported by the ADC. List size
|
|
must be two at least.
|
|
- atmel,adc-res-names: Contains one identifier string for each resolution
|
|
in atmel,adc-res property. "lowres" and "highres"
|
|
identifiers are required.
|
|
|
|
Optional properties:
|
|
- atmel,adc-use-external-triggers: Boolean to enable the external triggers
|
|
- atmel,adc-use-res: String corresponding to an identifier from
|
|
atmel,adc-res-names property. If not specified, the highest
|
|
resolution will be used.
|
|
- atmel,adc-sleep-mode: Boolean to enable sleep mode when no conversion
|
|
- atmel,adc-sample-hold-time: Sample and Hold Time in microseconds
|
|
- atmel,adc-ts-wires: Number of touchscreen wires. Should be 4 or 5. If this
|
|
value is set, then the adc driver will enable touchscreen
|
|
support.
|
|
NOTE: when adc touchscreen is enabled, the adc hardware trigger will be
|
|
disabled. Since touchscreen will occupy the trigger register.
|
|
- atmel,adc-ts-pressure-threshold: a pressure threshold for touchscreen. It
|
|
makes touch detection more precise.
|
|
|
|
Optional trigger Nodes:
|
|
- Required properties:
|
|
* trigger-name: Name of the trigger exposed to the user
|
|
* trigger-value: Value to put in the Trigger register
|
|
to activate this trigger
|
|
- Optional properties:
|
|
* trigger-external: Is the trigger an external trigger?
|
|
|
|
Examples:
|
|
adc0: adc@fffb0000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "atmel,at91sam9260-adc";
|
|
reg = <0xfffb0000 0x100>;
|
|
interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
|
|
clocks = <&adc_clk>, <&adc_op_clk>;
|
|
clock-names = "adc_clk", "adc_op_clk";
|
|
atmel,adc-channels-used = <0xff>;
|
|
atmel,adc-startup-time = <40>;
|
|
atmel,adc-use-external-triggers;
|
|
atmel,adc-vref = <3300>;
|
|
atmel,adc-res = <8 10>;
|
|
atmel,adc-res-names = "lowres", "highres";
|
|
atmel,adc-use-res = "lowres";
|
|
|
|
trigger@0 {
|
|
reg = <0>;
|
|
trigger-name = "external-rising";
|
|
trigger-value = <0x1>;
|
|
trigger-external;
|
|
};
|
|
trigger@1 {
|
|
reg = <1>;
|
|
trigger-name = "external-falling";
|
|
trigger-value = <0x2>;
|
|
trigger-external;
|
|
};
|
|
|
|
trigger@2 {
|
|
reg = <2>;
|
|
trigger-name = "external-any";
|
|
trigger-value = <0x3>;
|
|
trigger-external;
|
|
};
|
|
|
|
trigger@3 {
|
|
reg = <3>;
|
|
trigger-name = "continuous";
|
|
trigger-value = <0x6>;
|
|
};
|
|
};
|