aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Brack <fb@ltec.ch>2017-09-22 14:27:28 +0200
committerTom Rini <trini@konsulko.com>2017-10-06 11:28:17 -0400
commitbd2259e3c40c097c47e1dfc58a03b1df66b44840 (patch)
treec20cb97ac9d4a608f676535fdbb3d64a7ae668fb
parent268577669a01b9156d9d634f4314f5f56bdc031a (diff)
downloadu-boot-bd2259e3c40c097c47e1dfc58a03b1df66b44840.zip
u-boot-bd2259e3c40c097c47e1dfc58a03b1df66b44840.tar.gz
u-boot-bd2259e3c40c097c47e1dfc58a03b1df66b44840.tar.bz2
doc: Fix statements on case sensitivity for regulator prefix
The regulator bindings state that regulator prefixes are allowd to be in upper or lower case. However pmic_bind_children from pmic_uclass uses strncmp to compare DT node name against prefix. This comparison is case sensitive hence the regulator driver prefix case matters. Signed-off-by: Felix Brack <fb@ltec.ch>
-rw-r--r--doc/device-tree-bindings/regulator/regulator.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/device-tree-bindings/regulator/regulator.txt b/doc/device-tree-bindings/regulator/regulator.txt
index 2cf4b9d..918711e 100644
--- a/doc/device-tree-bindings/regulator/regulator.txt
+++ b/doc/device-tree-bindings/regulator/regulator.txt
@@ -10,10 +10,10 @@ pmic: drivers/power/pmic/max77686.c
regulator: drivers/power/regulator/max77686.c
For the node name e.g.: "prefix[:alpha:]num { ... }":
-- the driver prefix should be: "prefix" or "PREFIX" - case insensitive
+- the driver prefix should be: "prefix" - case sensitive
- the node name's "num" is set as "dev->driver_data" on bind
-Example the prefix "ldo" will pass for: "ldo1", "ldo@1", "LDO1", "LDOREG@1"...
+Example the prefix "ldo" will pass for: "ldo1", "ldo@1", "ldoreg@1, ...
Optional properties:
- regulator-name: a string, required by the regulator uclass