diff options
author | Tom Rini <trini@konsulko.com> | 2018-12-10 10:19:09 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-12-10 10:19:09 -0500 |
commit | 8bf3c2442b59aedd1e58b7013fc12180cab0b541 (patch) | |
tree | 40aa7037d11543969c05a5fbd187b1ca4a3af050 /doc | |
parent | 7ff485c68b7e5573e5a4a877066e98398283a24f (diff) | |
parent | eff43904b7f0c05ed316755e83b5474792059a5c (diff) | |
download | u-boot-8bf3c2442b59aedd1e58b7013fc12180cab0b541.zip u-boot-8bf3c2442b59aedd1e58b7013fc12180cab0b541.tar.gz u-boot-8bf3c2442b59aedd1e58b7013fc12180cab0b541.tar.bz2 |
Merge tag 'for-master-20181210' of git://git.denx.de/u-boot-rockchip
Improvements:
- init DRAM for RK322x in SPL
- add FAN53555 PMIC/regulator driver
- update MicroCrystal RV3029 driver to Kconfig and sync from Linux
- add bootcount uclass and first DM-driver for bootcount
Diffstat (limited to 'doc')
-rw-r--r-- | doc/device-tree-bindings/chosen.txt | 30 | ||||
-rw-r--r-- | doc/device-tree-bindings/regulator/fan53555.txt | 23 |
2 files changed, 53 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/chosen.txt b/doc/device-tree-bindings/chosen.txt index 86c533a..395c950 100644 --- a/doc/device-tree-bindings/chosen.txt +++ b/doc/device-tree-bindings/chosen.txt @@ -42,6 +42,36 @@ Example }; }; +u-boot,bootcount-device property +-------------------------------- + +In a DM-based system, the bootcount may be stored in a device known to +the DM framework (e.g. in a battery-backed SRAM area within a RTC +device) managed by a device conforming to UCLASS_BOOTCOUNT. If +multiple such devices are present in a system concurrently, then the +u-boot,bootcount-device property can select the preferred target. + +Example +------- +/ { + chosen { + u-boot,bootcount-device = &bootcount-rv3029; + }; + + bootcount-rv3029: bootcount@0 { + compatible = "u-boot,bootcount-rtc"; + rtc = &rv3029; + offset = <0x38>; + }; + + i2c2 { + rv3029: rtc@56 { + compatible = "mc,rv3029"; + reg = <0x56>; + }; + }; +}; + u-boot,spl-boot-order property ------------------------------ diff --git a/doc/device-tree-bindings/regulator/fan53555.txt b/doc/device-tree-bindings/regulator/fan53555.txt new file mode 100644 index 0000000..b183738 --- /dev/null +++ b/doc/device-tree-bindings/regulator/fan53555.txt @@ -0,0 +1,23 @@ +Binding for Fairchild FAN53555 regulators + +Required properties: + - compatible: "fcs,fan53555" + - reg: I2C address + +Optional properties: + - fcs,suspend-voltage-selector: declare which of the two available + voltage selector registers should be used for the suspend + voltage. The other one is used for the runtime voltage setting + Possible values are either <0> or <1> + - vin-supply: regulator supplying the vin pin + +Example: + + regulator@40 { + compatible = "fcs,fan53555"; + regulator-name = "fan53555"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&parent_reg>; + fcs,suspend-voltage-selector = <1>; + }; |