mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 10:01:39 -05:00
Pull DeviceTree updates from Rob Herring:
"There's a few orphans in the conversion to %pOF printf specifiers
included here that no one else picked up.
Summary:
- Convert more DT code to use of_property_read_* API.
- Improve DT overlay support when adding multiple overlays
- Convert printk's to %pOF format specifiers. Most went via subsystem
trees, but picked up the remaining orphans
- Correct unittests to use preferred "okay" for "status" property
value
- Add a KASLR seed property
- Vendor prefixes for Mellanox, Theobroma System, Adaptrum, Moxa
- Fix modalias buffer handling
- Clean-up of include paths for building dtbs
- Add bindings for amc6821, isl1208, tsl2x7x, srf02, and srf10
devices
- Add nvmem bindings for MediaTek MT7623 and MT7622 SoC
- Add compatible string for Allwinner H5 Mali-450 GPU
- Fix links to old OpenFirmware docs with new mirror on
devicetree.org
- Remove status property from binding doc examples"
* tag 'devicetree-for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (45 commits)
devicetree: Adjust status "ok" -> "okay" under drivers/of/
dt-bindings: Remove "status" from examples
dt-bindings: pinctrl: sh-pfc: Use generic node name
dt-bindings: Add vendor Mellanox
dt-binding: net/phy: fix interrupts description
virt: Convert to using %pOF instead of full_name
macintosh: Convert to using %pOF instead of full_name
ide: pmac: Convert to using %pOF instead of full_name
microblaze: Convert to using %pOF instead of full_name
dt-bindings: usb: musb: Grammar s/the/to/, s/is/are/
of: Use PLATFORM_DEVID_NONE definition
of/device: Fix of_device_get_modalias() buffer handling
of/device: Prevent buffer overflow in of_device_modalias()
dt-bindings: add amc6821, isl1208 trivial bindings
dt-bindings: add vendor prefix for Theobroma Systems
of: search scripts/dtc/include-prefixes path for both CPP and DTC
of: remove arch/$(SRCARCH)/boot/dts from include search path for CPP
of: remove drivers/of/testcase-data from include search path for CPP
of: return of_get_cpu_node from of_cpu_device_node_get if CPUs are not registered
iio: srf08: add device tree binding for srf02 and srf10
...
68 lines
1.7 KiB
Plaintext
68 lines
1.7 KiB
Plaintext
* Dialog DA9052/53 Power Management Integrated Circuit (PMIC)
|
|
|
|
Required properties:
|
|
- compatible : Should be "dlg,da9052", "dlg,da9053-aa",
|
|
"dlg,da9053-ab", or "dlg,da9053-bb"
|
|
|
|
Optional properties:
|
|
- dlg,tsi-as-adc : Boolean, if set the X+, X-, Y+, Y- touchscreen
|
|
input lines are used as general purpose analogue
|
|
input.
|
|
- tsiref-supply: Phandle to the regulator, which provides the reference
|
|
voltage for the TSIREF pin. Must be provided when the
|
|
touchscreen pins are used for ADC purposes.
|
|
|
|
Sub-nodes:
|
|
- regulators : Contain the regulator nodes. The DA9052/53 regulators are
|
|
bound using their names as listed below:
|
|
|
|
buck1 : regulator BUCK CORE
|
|
buck2 : regulator BUCK PRO
|
|
buck3 : regulator BUCK MEM
|
|
buck4 : regulator BUCK PERI
|
|
ldo1 : regulator LDO1
|
|
ldo2 : regulator LDO2
|
|
ldo3 : regulator LDO3
|
|
ldo4 : regulator LDO4
|
|
ldo5 : regulator LDO5
|
|
ldo6 : regulator LDO6
|
|
ldo7 : regulator LDO7
|
|
ldo8 : regulator LDO8
|
|
ldo9 : regulator LDO9
|
|
ldo10 : regulator LDO10
|
|
|
|
The bindings details of individual regulator device can be found in:
|
|
Documentation/devicetree/bindings/regulator/regulator.txt
|
|
|
|
Examples:
|
|
|
|
i2c@63fc8000 { /* I2C1 */
|
|
|
|
pmic: dialog@48 {
|
|
compatible = "dlg,da9053-aa";
|
|
reg = <0x48>;
|
|
|
|
regulators {
|
|
buck1 {
|
|
regulator-min-microvolt = <500000>;
|
|
regulator-max-microvolt = <2075000>;
|
|
};
|
|
|
|
buck2 {
|
|
regulator-min-microvolt = <500000>;
|
|
regulator-max-microvolt = <2075000>;
|
|
};
|
|
|
|
buck3 {
|
|
regulator-min-microvolt = <925000>;
|
|
regulator-max-microvolt = <2500000>;
|
|
};
|
|
|
|
buck4 {
|
|
regulator-min-microvolt = <925000>;
|
|
regulator-max-microvolt = <2500000>;
|
|
};
|
|
};
|
|
};
|
|
};
|